1 2014-05-09 Will Newton <will.newton@linaro.org>
3 * sysdeps/arm/armv7/strcmp.S: New file.
4 * NEWS: Mention addition of ARMv7 optimized strcmp.
6 2014-05-08 Roland McGrath <roland@hack.frob.com>
8 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9 look for %.ac rather than %.in.
11 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13 * sysdeps/mach/hurd/configure: Regenerated.
14 * sysdeps/unix/sysv/linux/configure: Regenerated.
16 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18 2014-05-07 Steve Ellcey <sellcey@mips.com>
21 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25 2014-05-07 Andreas Schwab <schwab@suse.de>
27 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28 when skipping over non-matching result from nscd.
30 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
33 * nptl/sockperf.c (client): Check socket return value.
36 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39 2014-05-06 Roland McGrath <roland@hack.frob.com>
41 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42 * sysdeps/arm/unwind.h: ... here.
44 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
47 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
50 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
54 multiarch strncpy for PPC64.
55 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
56 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
57 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
58 multiarch optimizations.
59 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
60 (__libc_ifunc_impl_list): Likewise.
61 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
62 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
63 multiarch stpncpy for PPC64.
64 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
65 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
67 2014-05-06 Andreas Schwab <schwab@suse.de>
70 * gmon/mcount.c (_MCOUNT_DECL): Use
71 atomic_compare_and_exchange_bool_acq instead of
72 catomic_compare_and_exchange_bool_acq.
74 2014-05-05 Roland McGrath <roland@hack.frob.com>
76 * elf/Makefile (others, install-bin): Remove pldd.
77 (pldd-modules): Variable removed.
78 ($(objpfx)pldd): Target removed.
79 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
80 (others, install-bin): Append pldd here.
81 ($(objpfx)pldd): New target.
83 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
84 to 0, so the first #if test emitted later doesn't see it undefined.
85 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
86 * sysdeps/gnu/errlist.c: Regenerated.
88 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
91 [libc_hidden_builtin_def]: Define to empty value.
92 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
93 [libc_hidden_builtin_def]: Likewise.
94 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
95 [libc_hidden_builtin_def]: Likewise.
96 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
97 [libc_hidden_builtin_def]: Likewise.
98 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
99 __redirect_memcpy and define ifunc as default hidden symbol.
100 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
101 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
103 2014-05-04 Adam Conrad <adconrad@0c3.net>
105 * locale/iso-4217.def: Reintroduce XDR currency.
107 2014-05-04 Allan McRae <allan@archlinux.org>
109 * po/eo.po: Update Esperanto translation from translation project.
111 2014-05-02 Carlos O'Donell <carlos@redhat.com>
113 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
114 and FEATURE_INDEX_MAX to 1.
115 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
117 2014-05-01 Steve Ellcey <sellcey@mips.com>
119 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
120 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
121 * iconvdata/big5.c (ONE_DIRECTION): Define.
122 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
123 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
124 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
125 * iconvdata/cp932.c (ONE_DIRECTION): Define.
126 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
127 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
128 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
129 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
130 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
131 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
132 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
133 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
134 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
135 * iconvdata/gbk.c (ONE_DIRECTION): Define.
136 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
137 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
138 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
139 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
140 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
141 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
142 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
143 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
144 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
145 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
146 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
147 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
148 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
149 * iconvdata/iso646.c (ONE_DIRECTION): Define.
150 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
151 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
152 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
153 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
154 * iconvdata/johab.c (ONE_DIRECTION): Define.
155 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
156 * iconvdata/sjis.c (ONE_DIRECTION): Define.
157 * iconvdata/t.61.c (ONE_DIRECTION): Define.
158 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
159 * iconvdata/tscii.c (ONE_DIRECTION): Define.
160 * iconvdata/uhc.c (ONE_DIRECTION): Define.
161 * iconvdata/unicode.c (ONE_DIRECTION): Define.
162 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
163 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
164 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
166 2014-05-01 Roland McGrath <roland@hack.frob.com>
168 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
169 (_IO_JUMPS_OFFSET): Define to 0.
171 * nptl/sysdeps/pthread/bits/libc-lock.h
172 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
173 (__libc_lock_define_initialized_recursive): Always define using
174 initializer. Modern compilers treat uninitialized (implicit zero) and
175 explicit zero initializers the same (i.e. put the datum in bss).
177 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
179 * nscd/nscd-client.h: Include <string.h>.
181 2014-05-01 David S. Miller <davem@davemloft.net>
184 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
185 multiple zero bytes exist at the end of a string.
186 Reported by Aurelien Jarno <aurelien@aurel32.net>
188 * string/test-strcmp.c (check): Add explicit test for situations where
189 there are multiple zero bytes after the first.
191 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
194 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
195 when compiling wprintf.
196 * stdio-common/tstdiomisc.c (t3): New function.
199 2014-05-01 Steve Ellcey <sellcey@mips.com>
201 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
202 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
203 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
204 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
206 2014-05-01 Steve Ellcey <sellcey@mips.com>
208 * stdlib/longlong.h: Updated from GCC.
210 2014-05-01 Will Newton <will.newton@linaro.org>
211 Bernard Ogden <bernie.ogden@linaro.org>
213 * NEWS: Update fixed bug list.
216 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
218 2014-04-30 David S. Miller <davem@davemloft.net>
220 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
221 (libc_feholdexcept_setround_sparc_ctx): New function.
222 (libc_fesetenv_sparc_ctx): Likewise.
223 (libc_feupdateenv_sparc_ctx): Likewise.
224 (libc_feholdsetround_sparc_ctx): Likewise.
225 (libc_feholdexcept_setround_ctx): Define.
226 (libc_feholdexcept_setroundf_ctx): Likewise.
227 (libc_feholdexcept_setroundl_ctx): Likewise.
228 (libc_fesetenv_ctx): Likewise.
229 (libc_fesetenvf_ctx): Likewise.
230 (libc_fesetenvl_ctx): Likewise.
231 (libc_feupdateenv_ctx): Likewise.
232 (libc_feupdateenvf_ctx): Likewise.
233 (libc_feupdateenvl_ctx): Likewise.
234 (libc_feresetround_ctx): Likewise.
235 (libc_feresetroundf_ctx): Likewise.
236 (libc_feresetroundl_ctx): Likewise.
237 (libc_feholdsetround_ctx): Likewise.
238 (libc_feholdsetroundf_ctx): Likewise.
239 (libc_feholdsetroundl_ctx): Likewise.
241 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
242 with __USE_GNU instead of XOPEN cpp guards.
244 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
247 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
248 with XOPEN cpp guards.
250 2014-04-30 Julian Brown <julian@codesourcery.com>
253 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
256 2014-04-30 Joseph Myers <joseph@codesourcery.com>
259 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
261 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
262 * sysdeps/unix/sysv/linux/configure: Regenerated.
263 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
264 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
265 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
266 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
267 * README: Update reference to required Linux kernel version.
268 * manual/install.texi (Linux): Update reference to required Linux
269 kernel headers version.
270 * INSTALL: Regenerated.
272 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
274 [POSIX] (limits.h): Likewise.
275 [POSIX] (math.h): Likewise.
276 [POSIX] (sys/wait.h): Likewise.
277 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
279 [POSIX] (stddef.h): Do not allow header inclusion.
281 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
283 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
285 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
287 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
288 Return immediately after lll_futex_wake.
290 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
293 * nscd/nscd-client.h (datahead_init_common): Initialize entire
295 (datahead_init_pos): Call datahead_init_common early.
296 (datahead_init_neg): Likewise.
298 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
299 datahead_init_neg): New functions.
300 * nscd/aicache.c (addhstaiX): Use them.
301 * nscd/grpcache.c (cache_addgr): Likewise.
302 * nscd/hstcache.c (cache_addhst): Likewise.
303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
304 * nscd/netgroupcache.c (do_notfound): Likewise.
305 (addgetnetgrentX): Likewise.
306 (addinnetgrX): Likewise.
307 * nscd/pwdcache.c (cache_addpw): Likewise.
308 * nscd/servicescache.c (cache_addserv): Likewise.
310 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
311 Atsushi Onoe <atsushi@onoe.org>
316 * resolv/res_query.c (__libc_res_nsearch): Return if at least
317 one response is valid.
318 * resolv/res_send.c (send_dg): Check for validity of other
319 response if the current response is a referral.
321 2014-04-29 Steve Ellcey <sellcey@mips.com>
323 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
325 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
328 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
329 Always divide by positive zero when computing -Inf result.
330 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
331 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
333 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
335 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
336 FPSCR if value do not change.
337 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
338 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
339 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
340 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
341 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
342 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
345 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
347 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
348 * sysdeps/unix/sysv/linux/hppa: Move directory from
349 ports/systeps/unix/sysv/linux/hppa.
350 * README: Update listing for hppa-*-linux-gnu.
352 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
355 * manual/stdio.texi (Hook functions): Fix types of stream hook
358 * socket/sys/socket.h: Fix typo in comment.
360 2014-04-28 Wilco <wdijkstr@arm.com>
362 * sysdeps/arm/fenv_private.h: New file.
363 * sysdeps/arm/math_private.h: New file.
364 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
366 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
368 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
370 (La_x86_64_retval): Likewise.
372 2014-04-24 Ian Bolton <ian.bolton@arm.com>
374 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
375 fpsr if value didn't change.
376 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
377 to fpcr if value didn't change.
378 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
379 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
380 fpsr or fpcr if value didn't change.
381 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
382 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
383 fpcr if value didn't change.
384 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
385 to fpsr if value didn't change.
387 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
389 * nptl/tst-sem3.c: Use test-skeleton.c
390 (main): Rename to do_test. Use return instead of
392 * nptl/tst-sem4.c: Use test-skeleton.c
393 (main): Rename to do_test.
395 2014-04-22 David S. Miller <davem@davemloft.net>
397 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
398 (struct sigaction): New struct member __glibc_reserved0, change
399 type of sa_flags to int.
401 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
403 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
404 (COUNT_LEADING_ZEROS_0): Define for AArch64.
406 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
408 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
409 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
411 2014-04-22 Will Newton <will.newton@linaro.org>
412 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
414 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
415 (__longjmp): Add longjmp and longjmp_target SystemTap
417 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
418 (__sigsetjmp): Add setjmp SystemTap probe.
420 2014-04-17 Carlos O'Donell <carlos@redhat.com>
422 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
425 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
427 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
429 * sysdeps/powerpc/fpu/fenv_private.h
430 (libc_feholdexcept_setroundl_ctx): Define to
431 libc_feholdexcept_setround_ppc_ctx.
432 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
433 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
434 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
435 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
437 2014-04-17 Ian Bolton <ian.bolton@arm.com>
439 * sysdeps/aarch64/math-tests.h: New file.
441 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
443 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
446 Check and set bit_AVX2_Usable.
447 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
449 (bit_AVX2): Likewise.
450 (index_AVX2_Usable): Likewise.
451 (CPUID_AVX2): Likewise.
452 (HAS_AVX2): Likewise.
454 2014-04-17 Will Newton <will.newton@linaro.org>
456 * manual/setjmp.texi (System V contexts): Add note that
457 calling setcontext on a context created by a call to a
458 signal handler is undefined. Update text to note that
459 setcontext from a signal handler is possible but not
463 * stdlib/tst-setcontext.c: Include signal.h.
464 (main): Check that the signal stack before and
465 after swapcontext is the same.
467 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
468 Re-implement to restore registers in user code and avoid
469 rt_sigreturn system call.
471 2014-04-17 Wilco <wdijkstr@arm.com>
473 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
474 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
475 * math/test-fenv.c: Skip exception trap tests on targets which only
476 support non-stop mode.
478 2014-04-17 Ian Bolton <ian.bolton@arm.com>
479 Wilco Dijkstra <wilco.dijkstra@arm.com>
481 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
482 (libc_feholdsetround_aarch64_ctx)
483 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
484 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
485 (libc_feresetround_ctx, libc_feresetroundf_ctx)
486 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
487 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
488 (libc_feresetround_noexl_ctx): Define.
490 2014-04-16 Richard Henderson <rth@redhat.com>
492 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
494 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
497 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
498 const from the non-libc, non-ldso copy.
500 * sysdeps/alpha/libm-test-ulps: Regenerate.
502 2014-04-16 Ian Bolton <ian.bolton@arm.com>
503 Wilco Dijkstra <wilco.dijkstra@arm.com>
505 * sysdeps/aarch64/fpu/math_private.h: New file.
507 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
509 * sysdeps/aarch64/libm-test-ulps: Regenerate.
511 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
513 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
514 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
516 Intel MPX bound registers before _dl_profile_fixup.
517 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
518 registers after _dl_profile_fixup. Save and restore bound
519 registers bnd0/bnd1 when calling _dl_call_pltexit.
520 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
521 (LR_BND_OFFSET): Likewise.
522 (LRV_BND0_OFFSET): Likewise.
523 (LRV_BND1_OFFSET): Likewise.
525 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
527 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
529 * sysdeps/mach/hurd/i386/tls.h: ... here.
530 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
531 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
534 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
536 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
538 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
540 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
542 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
545 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
546 * sysdeps/s390/configure: Regenerate.
549 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
550 Set round-to-nearest internally to reduce error accumulation.
552 2014-04-16 Alan Modra <amodra@gmail.com>
556 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
557 * math/libm-test.inc (frexp_test_data): Add tests.
558 * NEWS: Update fixed bug list.
560 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
562 * benchtests/Makefile: Depend on libraries in build directory.
563 (bench-math): Separate out math tests.
564 (bench-pthread): Separate out pthread tests.
565 (bench): Include math and pthread tests.
567 2014-04-14 Carlos O'Donell <carlos@redhat.com>
570 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
571 _dl_debug_initialize.
573 * configure.ac: Remove SELinux header check.
574 * configure: Regenerate.
575 * nscd/selinux.c (perms): Array of const char* to permission names.
576 (nscd_request_avc_has_perm): Call security_deny_unknown to find
577 default policy. Call string_to_security_class and string_to_av_perm to
578 translate strings. Enforce default policy and call avs_has_perm with
579 results of translated strings.
581 2014-04-13 David S. Miller <davem@davemloft.net>
583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
585 2014-04-12 Allan McRae <allan@archlinux.org>
588 * manual/string.texi (Collation Functions): Fix qsort argument
590 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
592 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
594 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
595 Make the test a no-op if there are no exceptions defined.
597 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
599 * elf/Makefile (tests): make tst-dlopen-aout conditional on
600 enable-hardcoded-path-in-tests
602 2014-04-11 Will Newton <will.newton@linaro.org>
604 * benchtests/Makefile (extra-objs): Add json-lib.o.
605 (bench-func): Tidy up JSON output.
606 * benchtests/bench-skeleton.c: Include json-lib.h.
607 (main): Use JSON library functions to do output of
609 * benchtests/bench-timing-type.c (main): Output the
610 timing type simply, leaving formatting to the user.
611 * benchtests/json-lib.c: New file.
612 * benchtests/json-lib.h: Likewise.
614 2014-04-11 Torvald Riegel <triegel@redhat.com>
617 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
618 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
619 memory barriers. Add comments.
620 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
621 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
622 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
623 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
624 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
625 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
627 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
629 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
630 * sysdeps/s390/s390-64/configure.ac: ... this ...
631 * sysdeps/s390/configure.ac: ... to here.
632 * sysdeps/s390/s390-32/configure: Delete file.
633 * sysdeps/s390/s390-64/configure: Delete file.
634 * sysdeps/s390/configure: Regenerate.
636 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
638 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
640 2014-04-11 Will Newton <will.newton@linaro.org>
642 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
643 to zero if it is not defined elsewhere. (mtrim): Test
644 the value of MALLOC_DEBUG with #if rather than #ifdef.
646 2014-04-10 Torvald Riegel <triegel@redhat.com>
648 * benchtests/pthread_once-inputs: New file.
649 * benchtests/pthread_once-source.c: New file.
650 * benchtests/README: Update documentation.
652 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
653 H.J. Lu <hongjiu.lu@intel.com>
655 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
656 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
657 * sysdeps/x86_64/configure: Regenerated.
658 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
660 (REGISTER_SAVE_RAX): Likewise.
661 (REGISTER_SAVE_RCX): Likewise.
662 (REGISTER_SAVE_RDX): Likewise.
663 (REGISTER_SAVE_RSI): Likewise.
664 (REGISTER_SAVE_RDI): Likewise.
665 (REGISTER_SAVE_R8): Likewise.
666 (REGISTER_SAVE_R9): Likewise.
667 (REGISTER_SAVE_BND0): Likewise.
668 (REGISTER_SAVE_BND1): Likewise.
669 (REGISTER_SAVE_BND2): Likewise.
670 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
671 bound registers when calling _dl_fixup.
673 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
676 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
678 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
679 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
680 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
681 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
682 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
683 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
684 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
686 2014-04-09 Peter Brett <peter@peter-b.co.uk>
689 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
690 pathconf(_PC_NAME_MAX).
692 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
694 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
696 (__PTHREAD_SPINS): Move definition to ...
697 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
698 (__PTHREAD_SPINS): ... here.
699 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
700 (__PTHREAD_SPIN): Likewise.
701 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
702 (__PTHREAD_SPIN): Likewise.
703 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
704 (__PTHREAD_SPIN): Likewise.
705 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
706 (__PTHREAD_SPIN): Likewise.
707 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
708 (__PTHREAD_SPIN): Likewise.
709 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
710 (__PTHREAD_SPIN): Likewise.
711 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
712 (__PTHREAD_SPIN): Likewise.
713 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
714 (__PTHREAD_SPIN): Likewise.
715 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
716 (__PTHREAD_SPIN): Likewise.
717 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
718 (__PTHREAD_SPIN): Likewise.
719 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
720 (__PTHREAD_SPIN): Likewise.
721 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
722 (__PTHREAD_SPIN): Likewise.
724 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
725 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
726 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
727 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
729 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
730 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
731 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
732 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
734 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
735 strlen symbol for non multi-arch builds.
736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
737 missing hidden_def and weak_alias.
739 2014-04-08 Carlos O'Donell <carlos@redhat.com>
741 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
743 2014-04-07 Will Newton <will.newton@linaro.org>
745 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
746 and contents. [!_LIBC] Remove #ifndef and contents.
747 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
748 * string/memccpy.c (__memccpy): Use ANSI prototype.
749 * string/memfrob.c (memfrob): Likewise.
750 * string/strcoll.c (STRCOLL): Likewise.
751 * string/strlen.c (strlen): Likewise.
752 * string/strtok.c (STRTOK): Likewise.
753 * string/strcat.c: Remove unused #include of memcopy.h.
754 (strcat): Use ANSI prototype.
755 * string/strchr.c: Remove unused #include of memcopy.h.
756 (strchr): Use ANSI prototype.
757 * string/strcmp.c: Remove unused #include of memcopy.h.
758 (strcmp): Use ANSI prototype.
759 * string/strcpy.c: Remove unused #include of memcopy.h.
760 (strcpy): Use ANSI prototype.
762 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
764 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
765 * config.make.in (config-extra-cppflags): Set it from
767 * configure.ac (libc_extra_cflags): Make it accumulate over
769 (libc_extra_cppflags): New flag.
770 * configure. Regenerate.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
772 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
773 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
777 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
778 result for FE_DOWNWARD rounding mode.
779 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
783 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
785 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
786 in function argument name.
788 2014-04-03 David Svoboda <svoboda@cert.org>
791 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
794 2014-04-03 Roland McGrath <roland@hack.frob.com>
796 * elf/dl-unmap-segments.h: New file.
797 * sysdeps/generic/ldsodefs.h
798 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
799 * elf/dl-close.c: Include <dl-unmap-segments.h>.
800 * elf/dl-fptr.c: Likewise.
801 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
802 * sysdeps/aarch64/tlsdesc.c: Likewise.
803 * sysdeps/arm/tlsdesc.c: Likewise.
804 * sysdeps/i386/tlsdesc.c: Likewise.
805 * sysdeps/tile/dl-runtime.c: Likewise.
806 * sysdeps/x86_64/tlsdesc.c: Likewise.
807 * elf/dl-load.h: New file.
808 * elf/dl-load.c: Include it.
809 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
810 Macros moved to dl-load.h.
811 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
812 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
813 Use _dl_unmap_segments in place of __munmap.
814 Break out segment-mapping loop into ...
815 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
817 2014-04-03 Will Newton <will.newton@linaro.org>
819 * elf/dl-lookup.c (do_lookup_x): Remove comment
820 referring to nested function and move variable
821 declarations down to before first use.
823 2014-04-02 Joseph Myers <joseph@codesourcery.com>
827 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
829 * math/s_catanf.c (__catanf): Likewise.
830 * math/s_catanh.c (__catanh): Likewise.
831 * math/s_catanhf.c (__catanhf): Likewise.
832 * math/s_catanhl.c (__catanhl): Likewise.
833 * math/s_catanl.c (__catanl): Likewise.
834 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
835 by positive zero when computing -Inf result.
836 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
837 (catanh_test): Likewise.
838 * sysdeps/i386/fpu/libm-test-ulps: Update.
839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
842 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
843 instead of using underflowing value in computing result.
844 * math/s_clog10.c (__clog10): Likewise.
845 * math/s_clog10f.c (__clog10f): Likewise.
846 * math/s_clog10l.c (__clog10l): Likewise.
847 * math/s_clogf.c (__clogf): Likewise.
848 * math/s_clogl.c (__clogl): Likewise.
849 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
850 (clog10_test): Likewise.
851 * sysdeps/i386/fpu/libm-test-ulps: Update.
852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
854 2014-04-02 Alan Modra <amodra@gmail.com>
857 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
858 output when value is near a power of two. Use int64_t for lx and
859 remove casts. Use decimal rather than hex exponent constants.
860 Don't use long double multiplication when double will suffice.
861 * math/libm-test.inc (nextafter_test_data): Add tests.
862 * NEWS: Add 16739 and 16786 to bug list.
864 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
866 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
868 2014-04-01 Will Newton <will.newton@linaro.org>
870 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
871 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
873 2014-04-01 Florian Weimer <fweimer@redhat.com>
876 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
877 * nptl/tst-setuid2.c: New file.
878 * nptl/Makefile (xtests): Add tst-setuid2.
880 2014-04-01 Alan Modra <amodra@gmail.com>
883 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
885 2014-03-31 Joseph Myers <joseph@codesourcery.com>
889 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
890 set errno as appropriate.
891 * math/w_scalbf.c (__scalbf): Likewise.
892 * math/w_scalbl.c (__scalbl): Likewise.
893 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
894 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
895 * math/libm-test.inc (scalb_test_data): Add errno expectations.
899 * math/w_atan2.c: Include <errno.h>.
900 (__atan2): Set errno for result underflowing to zero.
901 * math/w_atan2f.c: Include <errno.h>.
902 (__atan2f): Set errno for result underflowing to zero.
903 * math/w_atan2l.c: Include <errno.h>.
904 (__atan2l): Set errno for result underflowing to zero.
905 * math/auto-libm-test-in: Don't allow missing errno for some atan2
907 * math/auto-libm-test-out: Regenerated.
909 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
911 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
912 Encode instruction correctly in little endian.
913 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
917 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
919 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
922 2014-03-31 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/unix/sysv/linux/kernel-features.h
926 [__sparc__ && !__arch64__ && !__sparc_v9__]
927 (__ASSUME_SET_ROBUST_LIST): Do not define.
928 [__sparc__ && !__arch64__ && !__sparc_v9__]
929 (__ASSUME_FUTEX_LOCK_PI): Likewise.
930 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
932 * sysdeps/unix/sysv/linux/arm/kernel-features.h
933 (__ASSUME_FUTEX_LOCK_PI): Undefine.
934 (__ASSUME_REQUEUE_PI): Likewise.
935 (__ASSUME_SET_ROBUST_LIST): Likewise.
936 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
937 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
940 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
942 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
944 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
946 * sysdeps/unix/sysv/linux/mips/kernel-features.h
947 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
949 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
950 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
955 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
956 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
958 2014-03-31 Will Newton <will.newton@linaro.org>
960 * benchtests/Makefile (bench): Add ffs and ffsll to list
962 * benchtests/ffs-inputs: New file.
963 * benchtests/ffsll-inputs: Likewise.
965 2014-03-29 Joseph Myers <joseph@codesourcery.com>
968 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
969 too large before casting to int.
970 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
971 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
972 * math/libm-test.inc (scalb_test_data): Add more tests.
974 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
976 * benchtests/Makefile (DETAILED_OPT): New make option.
977 (bench-func): Run benchmark program with -d if DETAILED_OPT is
979 * benchtests/bench-skeleton.c: Include stdbool.h.
980 (main): Store and print timings per input.
981 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
982 member to each argument value.
983 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
984 (_print_arg_data): Initialize per-input timing to 0.
986 * benchtests/Makefile (timing-type): New binary.
987 (bench-clean): Also remove bench-timing-type.
988 (bench): New target for timing-type.
989 (bench-func): Print output in JSON format.
990 * benchtests/bench-skeleton.c (main): Print output in JSON
992 * benchtests/bench-timing-type.c: New file.
993 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
994 (TIMING_PRINT_STATS): Remove.
995 * benchtests/scripts/bench.py (_print_arg_data): Store variant
998 * benchtests/bench-modf.c: Remove.
999 * benchtests/modf-inputs: New inputs file.
1001 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1004 * math/s_clog10.c (M_PI_LOG10E): New macro.
1005 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1006 imaginary parts are 0.
1007 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1008 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1009 imaginary parts are 0.
1010 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1011 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1012 imaginary parts are 0.
1013 * math/libm-test.inc (clog10_test_data): Update expected results
1014 for when real and imaginary parts are 0.
1016 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1018 * elf/dl-load.c: Finish conversion of __builtin_expect into
1021 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1024 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1025 1+x for argument with exponent below -67.
1026 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1028 * math/auto-libm-test-in: Add more tests of exp.
1029 * math/auto-libm-test-out: Regenerated.
1031 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1034 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1035 (nscd_getnetgrent): Use it.
1038 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1041 2014-03-27 Andi Kleen <ak@linux.intel.com>
1043 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1044 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1045 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1046 (lll_robust_unlock): Remove out of line section. Use cfi
1048 (LLL_STUB_UNWIND_INFO*): Remove.
1049 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1050 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1051 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1052 (lll_robust_unlock): Remove out of line section. Use cfi
1054 (LLL_STUB_UNWIND_INFO*): Remove.
1056 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1059 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1062 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1064 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1066 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1069 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1071 * math/test-fenv-preserve.c: New file.
1072 * math/Makefile (tests): Add test-fenv-preserve.
1074 2014-03-26 Will Newton <will.newton@linaro.org>
1076 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1078 2014-03-25 Roland McGrath <roland@hack.frob.com>
1080 * scripts/versionlist.awk: Partition the version sets and emit all
1081 GLIBC_* (sorted) before all others (sorted).
1083 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1085 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1086 GLIBC_2.2.5 version.
1088 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1090 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1093 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1098 2014-03-25 Andreas Schwab <schwab@suse.de>
1100 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1101 label to be used after in6ailist is initialized.
1103 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1105 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1106 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1108 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1112 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1114 (fp_formats): Update initializers.
1115 (init_fp_formats): Initialize new field.
1116 (output_for_one_input_case): Allow underflow for results up to
1118 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1119 * math/auto-libm-test-in: Don't mark some underflows from asin and
1121 * math/auto-libm-test-out: Regenerated.
1122 * sysdeps/i386/fpu/libm-test-ulps: Update.
1123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1125 2014-03-25 Andreas Schwab <schwab@suse.de>
1127 * libio/Makefile (tst-ftell-partial-wide-ENV)
1128 (tst-ftell-active-handler-ENV): Define.
1130 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1132 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1134 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1136 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1138 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1140 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1141 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1142 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1144 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1147 * elf/dl-load.c (open_verify): Add mode parameter.
1148 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1149 (open_path): Change from boolean 'secure' to complete flag 'mode'
1150 (_dl_map_object): Adjust.
1151 * elf/Makefile (tests): Add tst-dlopen-aout.
1152 * elf/tst-dlopen-aout.c: New test.
1154 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1157 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1158 (struct stat): Rename member pad0 to __glibc_reserved0.
1161 * sysdeps/s390/s390-32/bits/wordsize.h
1162 (__WORDSIZE32_SIZE_ULONG): New define.
1163 * sysdeps/s390/s390-64/bits/wordsize.h
1164 (__WORDSIZE32_SIZE_ULONG): Likewise.
1165 * sysdeps/generic/stdint.h (SIZE_MAX):
1166 Define as UL if __WORDSIZE32_SIZE_ULONG.
1169 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1170 (__glibc_reserved0): New variable.
1171 (sa_flags): Change type to int.
1173 * posix/Makefile (before-compile): Use += before-compile instead
1176 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1177 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1179 2014-03-20 Andreas Schwab <schwab@suse.de>
1182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1183 non-matching result from nscd.
1185 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1187 * scripts/bench.py: Moved to ...
1188 * benchtests/scripts/bench.py: ... here.
1189 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1191 2014-03-24 Andreas Schwab <schwab@suse.de>
1194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1195 alloca_account and account alloca use for struct in6ailist.
1197 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1200 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1201 rounding mode to recompute results that overflow to infinity or
1203 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1205 * math/auto-libm-test-out: Regenerated.
1206 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1207 (ccosh_test): Likewise.
1208 (csin_test_data): Use plus_oflow.
1209 (csin_test): Use ALL_RM_TEST.
1210 (csinh_test_data): Use plus_oflow.
1211 (csinh_test): Use ALL_RM_TEST.
1212 * sysdeps/i386/fpu/libm-test-ulps: Update.
1213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1215 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1217 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1218 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1219 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1222 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1224 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1225 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1226 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1229 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1230 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1232 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1236 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1238 * scripts/bench.pl: Remove file.
1239 * scripts/bench.py: New benchmark script.
1240 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1241 * benchtests/README: Mention python dependency.
1242 * scripts/pylintrc: New file.
1243 * scripts/pylint: New file.
1245 * bits/mathdef.h: Use #ifdef instead of #if.
1246 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1247 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1248 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1249 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1250 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1251 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1253 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1254 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1256 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1258 and strpbrk-ppc64 objects.
1259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1260 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1261 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1262 multiarch strpbrk for POWER7.
1263 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1264 multiarch strpbrk for PPC64.
1265 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1267 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1270 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1272 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1273 (atan_test): Likewise.
1274 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1275 (atanh_test): Use ALL_RM_TEST.
1276 (atan2_test_data): Likewise.
1277 (cabs_test): Likewise.
1278 (cacosh_test): Likewise.
1279 (carg_test): Likewise.
1280 (casin_test): Likewise.
1281 (casinh_test): Likewise.
1282 (cbrt_test): Likewise.
1283 (csqrt_test): Likewise.
1284 (erf_test): Likewise.
1285 (erfc_test): Likewise.
1286 (pow10_test): Likewise.
1287 (exp2_test): Likewise.
1288 (hypot_test): Likewise.
1289 (j0_test): Likewise.
1290 (j1_test): Likewise.
1291 (lgamma_test): Likewise.
1292 (gamma_test): Likewise.
1293 (sincos_test): Likewise.
1294 (tanh_test): Likewise.
1295 (y0_test): Likewise.
1296 (y1_test): Likewise.
1297 * sysdeps/i386/fpu/libm-test-ulps: Update.
1298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1300 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1302 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1304 and strcspn-ppc64 objects.
1305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1306 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1307 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1308 multiarch strcspn for POWER7.
1309 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1310 multiarch strcspn for PPC64.
1311 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1313 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1316 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1318 * math/gen-libm-test.pl (generate_testfile): Expect only function
1319 name as argument to AUTO_TESTS_* and pass results for all rounding
1320 modes to parse_args.
1321 (parse_auto_input): Separate inputs of automatic tests from
1322 outputs before storing in %auto_tests.
1323 * math/libm-test.inc (acos_test_data): Update call to
1325 (acos_test): Use ALL_RM_TEST.
1326 (acos_tonearest_test_data): Remove.
1327 (acos_test_tonearest): Likewise.
1328 (acos_towardzero_test_data): Likewise.
1329 (acos_test_towardzero): Likewise.
1330 (acos_downward_test_data): Likewise.
1331 (acos_test_downward): Likewise.
1332 (acos_upward_test_data): Likewise.
1333 (acos_test_upward): Likewise.
1334 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1335 (asin_test_data): Likewise.
1336 (asin_test): Use ALL_RM_TEST.
1337 (asin_tonearest_test_data): Remove.
1338 (asin_test_tonearest): Likewise.
1339 (asin_towardzero_test_data): Likewise.
1340 (asin_test_towardzero): Likewise.
1341 (asin_downward_test_data): Likewise.
1342 (asin_test_downward): Likewise.
1343 (asin_upward_test_data): Likewise.
1344 (asin_test_upward): Likewise.
1345 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1346 (atan_test_data): Likewise.
1347 (atanh_test_data): Likewise.
1348 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1349 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1350 (carg_test_data): Likewise.
1351 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1352 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1353 (ccosh_test_data): Likewise.
1354 (cexp_test_data): Likewise.
1355 (clog_test_data): Likewise.
1356 (clog10_test_data): Likewise.
1357 (cos_test_data): Update call to AUTO_TESTS_f_f.
1358 (cos_test): Use ALL_RM_TEST.
1359 (cos_tonearest_test_data): Remove.
1360 (cos_test_tonearest): Likewise.
1361 (cos_towardzero_test_data): Likewise.
1362 (cos_test_towardzero): Likewise.
1363 (cos_downward_test_data): Likewise.
1364 (cos_test_downward): Likewise.
1365 (cos_upward_test_data): Likewise.
1366 (cos_test_upward): Likewise.
1367 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1368 (cosh_test): Use ALL_RM_TEST.
1369 (cosh_tonearest_test_data): Remove.
1370 (cosh_test_tonearest): Likewise.
1371 (cosh_towardzero_test_data): Likewise.
1372 (cosh_test_towardzero): Likewise.
1373 (cosh_downward_test_data): Likewise.
1374 (cosh_test_downward): Likewise.
1375 (cosh_upward_test_data): Likewise.
1376 (cosh_test_upward): Likewise.
1377 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1378 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1379 (ctan_test_data): Likewise.
1380 (ctan_test): Use ALL_RM_TEST.
1381 (ctan_tonearest_test_data): Remove.
1382 (ctan_test_tonearest): Likewise.
1383 (ctan_towardzero_test_data): Likewise.
1384 (ctan_test_towardzero): Likewise.
1385 (ctan_downward_test_data): Likewise.
1386 (ctan_test_downward): Likewise.
1387 (ctan_upward_test_data): Likewise.
1388 (ctan_test_upward): Likewise.
1389 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1390 (ctanh_test): Use ALL_RM_TEST.
1391 (ctanh_tonearest_test_data): Remove.
1392 (ctanh_test_tonearest): Likewise.
1393 (ctanh_towardzero_test_data): Likewise.
1394 (ctanh_test_towardzero): Likewise.
1395 (ctanh_downward_test_data): Likewise.
1396 (ctanh_test_downward): Likewise.
1397 (ctanh_upward_test_data): Likewise.
1398 (ctanh_test_upward): Likewise.
1399 (erf_test_data): Update call to AUTO_TESTS_f_f.
1400 (erfc_test_data): Likewise.
1401 (exp_test_data): Likewise.
1402 (exp_test): Use ALL_RM_TEST.
1403 (exp_tonearest_test_data): Remove.
1404 (exp_test_tonearest): Likewise.
1405 (exp_towardzero_test_data): Likewise.
1406 (exp_test_towardzero): Likewise.
1407 (exp_downward_test_data): Likewise.
1408 (exp_test_downward): Likewise.
1409 (exp_upward_test_data): Likewise.
1410 (exp_test_upward): Likewise.
1411 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1412 (exp10_test): Use ALL_RM_TEST.
1413 (exp10_tonearest_test_data): Remove.
1414 (exp10_test_tonearest): Likewise.
1415 (exp10_towardzero_test_data): Likewise.
1416 (exp10_test_towardzero): Likewise.
1417 (exp10_downward_test_data): Likewise.
1418 (exp10_test_downward): Likewise.
1419 (exp10_upward_test_data): Likewise.
1420 (exp10_test_upward): Likewise.
1421 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1422 (expm1_test_data): Likewise.
1423 (expm1_test): Use ALL_RM_TEST.
1424 (expm1_tonearest_test_data): Remove.
1425 (expm1_test_tonearest): Likewise.
1426 (expm1_towardzero_test_data): Likewise.
1427 (expm1_test_towardzero): Likewise.
1428 (expm1_downward_test_data): Likewise.
1429 (expm1_test_downward): Likewise.
1430 (expm1_upward_test_data): Likewise.
1431 (expm1_test_upward): Likewise.
1432 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1433 (fma_test): Use ALL_RM_TEST.
1434 (fma_towardzero_test_data): Remove.
1435 (fma_test_towardzero): Likewise.
1436 (fma_downward_test_data): Likewise.
1437 (fma_test_downward): Likewise.
1438 (fma_upward_test_data): Likewise.
1439 (fma_test_upward): Likewise.
1440 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1441 (j0_test_data): Update call to AUTO_TESTS_f_f.
1442 (j1_test_data): Likewise.
1443 (jn_test_data): Update call to AUTO_TESTS_if_f.
1444 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1445 (log_test_data): Update call to AUTO_TESTS_f_f.
1446 (log10_test_data): Likewise.
1447 (log1p_test_data): Likewise.
1448 (log2_test_data): Likewise.
1449 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1450 (pow_tonearest_test_data): Likewise.
1451 (sin_test_data): Update call to AUTO_TESTS_f_f.
1452 (sin_test): Use ALL_RM_TEST.
1453 (sin_tonearest_test_data): Remove.
1454 (sin_test_tonearest): Likewise.
1455 (sin_towardzero_test_data): Likewise.
1456 (sin_test_towardzero): Likewise.
1457 (sin_downward_test_data): Likewise.
1458 (sin_test_downward): Likewise.
1459 (sin_upward_test_data): Likewise.
1460 (sin_test_upward): Likewise.
1461 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1462 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1463 (sinh_test): Use ALL_RM_TEST.
1464 (sinh_tonearest_test_data): Remove.
1465 (sinh_test_tonearest): Likewise.
1466 (sinh_towardzero_test_data): Likewise.
1467 (sinh_test_towardzero): Likewise.
1468 (sinh_downward_test_data): Likewise.
1469 (sinh_test_downward): Likewise.
1470 (sinh_upward_test_data): Likewise.
1471 (sinh_test_upward): Likewise.
1472 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1473 (sqrt_test): Use ALL_RM_TEST.
1474 (sqrt_tonearest_test_data): Remove.
1475 (sqrt_test_tonearest): Likewise.
1476 (sqrt_towardzero_test_data): Likewise.
1477 (sqrt_test_towardzero): Likewise.
1478 (sqrt_downward_test_data): Likewise.
1479 (sqrt_test_downward): Likewise.
1480 (sqrt_upward_test_data): Likewise.
1481 (sqrt_test_upward): Likewise.
1482 (tan_test_data): Update call to AUTO_TESTS_f_f.
1483 (tan_test): Use ALL_RM_TEST.
1484 (tan_tonearest_test_data): Remove.
1485 (tan_test_tonearest): Likewise.
1486 (tan_towardzero_test_data): Likewise.
1487 (tan_test_towardzero): Likewise.
1488 (tan_downward_test_data): Likewise.
1489 (tan_test_downward): Likewise.
1490 (tan_upward_test_data): Likewise.
1491 (tan_test_upward): Likewise.
1492 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1493 (tgamma_test_data): Likewise.
1494 (y0_test_data): Likewise.
1495 (y1_test_data): Likewise.
1496 (yn_test_data): Update call to AUTO_TESTS_if_f.
1497 (main): Do not call removed functions.
1499 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1501 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1502 (ldexp_test_data): Remove.
1503 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1505 (scalb_test): Use ALL_RM_TEST.
1507 2014-03-19 Andreas Schwab <schwab@suse.de>
1509 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1511 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1514 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1515 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1516 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1517 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1518 (__ASSUME_PREADV): Undefine.
1519 (__ASSUME_PWRITEV): Likewise.
1521 2014-03-18 Roland McGrath <roland@hack.frob.com>
1523 * bits/mman-linux.h: Add comment about non-Linux use.
1524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1525 bits/mman-linux.h resting place.
1527 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1528 * bits/mman-linux.h: ... here.
1530 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532 * conform/conformtest.pl: Add standard definition when calling C
1533 preprocessor on data files.
1534 (checknamespace): Remove unused variable.
1536 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1538 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1539 minus_oflow, plus_uflow and minus_uflow in expected results.
1540 * math/libm-test.inc (scalbn_test_data): Add more tests of
1541 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1543 (scalbn_test): Use ALL_RM_TEST.
1544 (scalbln_test_data): Add more tests of negative arguments. Use
1545 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1546 (scalbln_test): Use ALL_RM_TEST.
1548 2014-03-18 Roland McGrath <roland@hack.frob.com>
1550 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1552 2014-03-18 Will Newton <will.newton@linaro.org>
1554 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1557 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1559 * Makerules [!subdir] (check-abi): Exit with error status if a
1562 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1564 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1565 for rint. Include results for all rounding modes.
1566 (nearbyint_test): Use ALL_RM_TEST.
1567 (rint_test_data): Include all tests used for nearbyint.
1569 2014-03-17 Will Newton <will.newton@linaro.org>
1571 * nptl/sysdeps/pthread/pthread.h: Revert previous
1574 * sysdeps/generic/ldsodefs.h: Revert previous
1577 * libio/genops.c: Revert previous change.
1578 * libio/libioP.h: Likewise.
1579 * stdio-common/vfprintf.c: Likewise.
1581 * sysdeps/generic/math_private.h: Revert previous
1584 * sysdeps/generic/math_private.h: Check whether
1585 HAVE_RM_CTX is defined with #ifdef rather
1588 * argp/argp-fmtstream.h: Check whether
1589 __STRICT_ANSI__ is defined with #ifdef rather
1591 * argp/argp.h: Likewise.
1593 * libio/genops.c: Check whether
1594 _IO_JUMPS_OFFSET is defined with #ifdef rather
1596 * libio/libioP.h: Likewise.
1597 * stdio-common/vfprintf.c: Likewise.
1599 * sysdeps/generic/ldsodefs.h: Check whether
1600 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1603 * nptl/sysdeps/pthread/pthread.h: Check
1604 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1607 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1609 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1611 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1615 * libio/fileops.c (_IO_file_open): Seek to end of file but
1616 don't cache the offset.
1617 (get_file_offset): Remove function.
1618 (do_ftell): Use cached offset when available.
1619 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1620 don't cache the offset.
1621 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1623 (do_one_test): Call it.
1624 (do_ftell_test): Fix up expected old offset for a+ mode.
1625 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1628 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1629 up test status with function return status.
1630 (do_write_test): Likewise.
1631 (do_append_test): Likewise.
1633 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1634 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1637 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1639 * math/gen-libm-test.pl (parse_args): Handle results specified for
1640 each rounding mode separately.
1641 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1642 tests and results from lrint_tonearest_test_data,
1643 lrint_towardzero_test_data, lrint_downward_test_data and
1644 lrint_upward_test_data.
1645 (lrint_test): Use ALL_RM_TEST.
1646 (lrint_tonearest_test_data): Remove.
1647 (lrint_test_tonearest): Likewise.
1648 (lrint_towardzero_test_data): Likewise.
1649 (lrint_test_towardzero): Likewise.
1650 (lrint_downward_test_data): Likewise.
1651 (lrint_test_downward): Likewise.
1652 (lrint_upward_test_data): Likewise.
1653 (lrint_test_upward): Likewise.
1654 (llrint_test_data): Merge in per-rounding-mode tests and results
1655 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1656 llrint_downward_test_data and llrint_upward_test_data.
1657 (llrint_test): Use ALL_RM_TEST.
1658 (llrint_tonearest_test_data): Remove.
1659 (llrint_test_tonearest): Likewise.
1660 (llrint_towardzero_test_data): Likewise.
1661 (llrint_test_towardzero): Likewise.
1662 (llrint_downward_test_data): Likewise.
1663 (llrint_test_downward): Likewise.
1664 (llrint_upward_test_data): Likewise.
1665 (llrint_test_upward): Likewise.
1666 (rint_test_data): Merge in per-rounding-mode tests and results
1667 from rint_tonearest_test_data, rint_towardzero_test_data,
1668 rint_downward_test_data and rint_upward_test_data. Add
1669 per-rounding-mode results for tests not in those arrays.
1670 (rint_test): Use ALL_RM_TEST.
1671 (rint_tonearest_test_data): Remove.
1672 (rint_test_tonearest): Likewise.
1673 (rint_towardzero_test_data): Likewise.
1674 (rint_test_towardzero): Likewise.
1675 (rint_downward_test_data): Likewise.
1676 (rint_test_downward): Likewise.
1677 (rint_upward_test_data): Likewise.
1678 (rint_test_upward): Likewise.
1679 (main): Don't call removed functions.
1681 2014-03-14 Roland McGrath <roland@hack.frob.com>
1683 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1684 "Compiled on ..." crapola. It is anti-useful.
1686 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1688 * scripts/evaluate-test.sh: Handle fourth argument to determine
1689 whether test run should stop on failure.
1690 * Makeconfig (stop-on-test-failure): New variable.
1691 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1692 $(stop-on-test-failure).
1693 * Makefile (tests): Give a summary of results from testing and
1694 exit with failure status if they include an ERROR or FAIL.
1696 * manual/install.texi (Configuring and compiling): Mention
1697 stop-on-test-failure=y.
1698 * INSTALL: Regenerated.
1700 2014-03-14 Roland McGrath <roland@hack.frob.com>
1702 * scripts/versionlist.awk: New file.
1703 * Makerules [$(build-shared) = yes]
1704 (postclean-generated): Add Versions.def, not Versions.def.v and
1706 ($(common-objpfx)Versions.def.v.i): Target removed.
1707 ($(common-objpfx)Versions.def): New target.
1708 ($(common-objpfx)Versions.all): Depend on that rather that
1709 $(common-objpfx)Versions.def.v.
1710 * Versions.def: File removed.
1712 * Makeconfig (+gccwarn): Add -Wundef.
1713 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1714 a dl-sysdep.h breaking its contract.
1715 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1716 * include/stackinfo.h: New file.
1717 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1718 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1719 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1720 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1721 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1722 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1723 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1724 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1725 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1726 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1727 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1728 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1729 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1730 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1731 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1733 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1736 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1738 * math/libm-test.inc (round_test_data): Add more tests.
1741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1743 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1746 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1748 * math/libm-test.inc (ceil_test_data): Add more tests.
1750 * math/libm-test.inc (trunc_test_data): Add more tests related to
1753 2014-03-14 Roland McGrath <roland@hack.frob.com>
1755 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1756 with #if rather than #ifdef.
1757 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1759 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1761 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1762 first. Disable AVX-512 GCC support if assembler doesn't support
1764 * sysdeps/x86_64/configure: Regenerated.
1766 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1768 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1769 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1770 (__old_pthread_attr_setstack): Likewise.
1771 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1772 [!_STACK_GROWS_DOWN]: Likewise.
1774 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1776 * config.make.in (have-bash2): Delete.
1777 * configure.ac (libc_cv_have_bash2): Delete.
1778 * configure: Regenerate.
1779 * elf/Makefile (common-ldd-rewrite): Rename to ...
1780 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1781 (sh-ldd-rewrite): Delete.
1782 (bash-ldd-rewrite): Delete.
1783 (have-bash2): Delete checks.
1784 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1787 * config.make.in (have-ksh): Delete.
1789 * configure.ac (libc_cv_have_ksh): Delete.
1790 * configure: Regenerate.
1792 * elf/Makefile: Delete $(have-ksh) check.
1793 ($(objpfx)sotruss): Change KSH to BASH.
1794 * elf/sotruss.ksh: Rename to ...
1795 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1796 function style to match POSIX. Drop ksh vim mode setting.
1798 * manual/time.texi (Specifying the Time Zone with TZ): Change
1799 Tuesday to Thursday.
1801 * debug/tst-longjmp_chk2.c: Update header comment.
1802 (stackoverflow_handler): Add comment. Call assert on pass value.
1804 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1806 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1807 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1808 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1809 (La_x86_64_vector): Add zmm.
1810 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1811 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1812 ($(objpfx)tst-audit10): New target.
1813 ($(objpfx)tst-audit10.out): Likewise.
1814 (tst-audit10-ENV): New.
1815 (AVX512-CFLAGS): Likewise.
1816 (CFLAGS-tst-audit10.c): Likewise.
1817 (CFLAGS-tst-auditmod10a.c): Likewise.
1818 (CFLAGS-tst-auditmod10b.c): Likewise.
1819 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1820 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1821 * sysdeps/x86_64/configure: Regenerated.
1822 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1823 AVX-512 zmm register support.
1824 (_dl_x86_64_save_sse): Likewise.
1825 (_dl_x86_64_restore_sse): Likewise.
1826 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1827 size vector registers.
1828 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1829 (ZMM_SIZE): Likewise.
1830 * sysdeps/x86_64/tst-audit10.c: New file.
1831 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1832 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1834 2014-03-13 Roland McGrath <roland@hack.frob.com>
1836 * configure.ac (HAVE_EHDR_START): New check.
1837 * configure: Regenerated.
1838 * config.h.in (HAVE_EHDR_START): New #undef.
1839 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1840 assuming the lowest-addressed segment maps the start of the file.
1842 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1844 * INSTALL: Regenerated.
1846 2014-03-13 Will Newton <will.newton@linaro.org>
1848 * manual/setjmp.texi (System V contexts): Improve
1849 clarity and grammar of documentation.
1851 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1854 * elf/Makefile (tests): Add tst-pie2.
1855 (tests-pie): Add tst-pie2.
1856 * elf/tst-pie2.c: New file.
1857 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1859 * elf/rtld.c (map_doit): Load executable as lt_executable.
1860 (dl_main): Likewise.
1862 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1865 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1866 (__ASSUME_PSELECT): Undefine.
1868 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1872 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1875 selector for static builds.
1877 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1880 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1883 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1885 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1886 IFUNC selector for static builds.
1888 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1890 * sysdeps/mips/math_private.h [__mips_hard_float]
1891 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1892 libc_feresetround_mips_ctx.
1893 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1894 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1895 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1898 * math/s_nextafter.c (__nextafter): Do not return value from
1899 overflowing computation.
1900 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1901 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1902 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1906 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1907 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1909 2014-03-11 Roland McGrath <roland@hack.frob.com>
1911 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1912 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1913 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1914 the new mov targetting sp.
1916 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1919 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1920 Define it for static builds as well.
1921 (NO_BZERO_IMPL): Likewise.
1923 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1925 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1926 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1927 multiarch strspn for PPC64.
1928 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1929 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1931 (__libc_ifunc_impl_list): Likewise.
1932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1933 multiarch optimizations
1934 * string/strspn.c (strspn): Using macro to redefine symbol name.
1936 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1937 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1939 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1940 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1941 multiarch strncat for PPC64.
1942 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1943 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1945 (__libc_ifunc_impl_list): Likewise.
1946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1947 multiarch optimizations
1949 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1952 * nscd/nscd.service: Make service type forking.
1954 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1956 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1957 sign in non default rounding modes.
1958 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1960 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1962 * math/libm-test.inc (ALL_RM_TEST): New macro.
1963 (ceil_test): Use ALL_RM_TEST.
1964 (cimag_test): Likewise.
1965 (conj_test): Likewise.
1966 (copysign_test): Likewise.
1967 (cproj_test): Likewise.
1968 (creal_test): Likewise.
1969 (fabs_test): Likewise.
1970 (floor_test): Likewise.
1971 (fmax_test): Likewise.
1972 (fmin_test): Likewise.
1973 (fmod_test): Likewise.
1974 (fpclassify_test): Likewise.
1975 (frexp_test): Likewise.
1976 (ilogb_test): Likewise.
1977 (isfinite_test): Likewise.
1978 (finite_test): Likewise.
1979 (isgreater_test): Likewise.
1980 (isgreaterequal_test): Likewise.
1981 (isinf_test): Likewise.
1982 (isless_test): Likewise.
1983 (islessequal_test): Likewise.
1984 (islessgreater_test): Likewise.
1985 (isnan_test): Likewise.
1986 (isnormal_test): Likewise.
1987 (issignaling_test): Likewise.
1988 (isunordered_test): Likewise.
1989 (logb_test): Likewise.
1990 (logb_downward_test_data): Remove.
1991 (logb_test_downward): Likewise.
1992 (lround_test): Use ALL_RM_TEST.
1993 (llround_test): Likewise.
1994 (modf_test): Likewise.
1995 (nexttoward_test): Likewise.
1996 (remainder_test): Likewise.
1997 (drem_test): Likewise.
1998 (remainder_tonearest_test_data): Likewise.
1999 (remainder_test_tonearest): Likewise.
2000 (drem_test_tonearest): Likewise.
2001 (remainder_towardzero_test_data): Likewise.
2002 (remainder_test_towardzero): Likewise.
2003 (drem_test_towardzero): Likewise.
2004 (remainder_downward_test_data): Likewise.
2005 (remainder_test_downward): Likewise.
2006 (drem_test_downward): Likewise.
2007 (remainder_upward_test_data): Likewise.
2008 (remainder_test_upward): Likewise.
2009 (drem_test_upward): Likewise.
2010 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2011 (round_test): Use ALL_RM_TEST.
2012 (signbit_test): Likewise.
2013 (trunc_test): Likewise.
2014 (significand_test): Likewise.
2015 (main): Don't call removed functions.
2017 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2020 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2022 (ILL_ILLOPN): Likewise.
2023 (ILL_ILLADR): Likewise.
2024 (ILL_ILLTRP): Likewise.
2025 (ILL_PRVOPC): Likewise.
2026 (ILL_PRVREG): Likewise.
2027 (ILL_COPROC): Likewise.
2028 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
2038 (SEGV_ACCERR): Likewise.
2039 (BUS_ADRALN): Likewise.
2040 (BUS_ADRERR): Likewise.
2041 (BUS_OBJERR): Likewise.
2042 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2043 (TRAP_TRACE): Likewise.
2044 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2046 (CLD_KILLED): Likewise.
2047 (CLD_DUMPED): Likewise.
2048 (CLD_TRAPPED): Likewise.
2049 (CLD_STOPPED): Likewise.
2050 (CLD_CONTINUED): Likewise.
2051 (POLL_IN): Likewise.
2052 (POLL_OUT): Likewise.
2053 (POLL_MSG): Likewise.
2054 (POLL_ERR): Likewise.
2055 (POLL_PRI): Likewise.
2056 (POLL_HUP): Likewise.
2057 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2059 (ILL_ILLOPN): Likewise.
2060 (ILL_ILLADR): Likewise.
2061 (ILL_ILLTRP): Likewise.
2062 (ILL_PRVOPC): Likewise.
2063 (ILL_PRVREG): Likewise.
2064 (ILL_COPROC): Likewise.
2065 (ILL_BADSTK): Likewise.
2066 (FPE_INTDIV): Likewise.
2067 (FPE_INTOVF): Likewise.
2068 (FPE_FLTDIV): Likewise.
2069 (FPE_FLTOVF): Likewise.
2070 (FPE_FLTUND): Likewise.
2071 (FPE_FLTRES): Likewise.
2072 (FPE_FLTINV): Likewise.
2073 (FPE_FLTSUB): Likewise.
2074 (SEGV_MAPERR): Likewise.
2075 (SEGV_ACCERR): Likewise.
2076 (BUS_ADRALN): Likewise.
2077 (BUS_ADRERR): Likewise.
2078 (BUS_OBJERR): Likewise.
2079 (BUS_MCEERR_AR): Likewise.
2080 (BUS_MCEERR_AO): Likewise.
2081 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2082 (TRAP_TRACE): Likewise.
2083 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2085 (CLD_KILLED): Likewise.
2086 (CLD_DUMPED): Likewise.
2087 (CLD_TRAPPED): Likewise.
2088 (CLD_STOPPED): Likewise.
2089 (CLD_CONTINUED): Likewise.
2090 (POLL_IN): Likewise.
2091 (POLL_OUT): Likewise.
2092 (POLL_MSG): Likewise.
2093 (POLL_ERR): Likewise.
2094 (POLL_PRI): Likewise.
2095 (POLL_HUP): Likewise.
2096 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2097 (ILL_ILLOPN): Likewise.
2098 (ILL_ILLADR): Likewise.
2099 (ILL_ILLTRP): Likewise.
2100 (ILL_PRVOPC): Likewise.
2101 (ILL_PRVREG): Likewise.
2102 (ILL_COPROC): Likewise.
2103 (ILL_BADSTK): Likewise.
2104 (FPE_INTDIV): Likewise.
2105 (FPE_INTOVF): Likewise.
2106 (FPE_FLTDIV): Likewise.
2107 (FPE_FLTOVF): Likewise.
2108 (FPE_FLTUND): Likewise.
2109 (FPE_FLTRES): Likewise.
2110 (FPE_FLTINV): Likewise.
2111 (FPE_FLTSUB): Likewise.
2112 (SEGV_MAPERR): Likewise.
2113 (SEGV_ACCERR): Likewise.
2114 (BUS_ADRALN): Likewise.
2115 (BUS_ADRERR): Likewise.
2116 (BUS_OBJERR): Likewise.
2117 (BUS_MCEERR_AR): Likewise.
2118 (BUS_MCEERR_AO): Likewise.
2119 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2120 (TRAP_TRACE): Likewise.
2121 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2123 (CLD_KILLED): Likewise.
2124 (CLD_DUMPED): Likewise.
2125 (CLD_TRAPPED): Likewise.
2126 (CLD_STOPPED): Likewise.
2127 (CLD_CONTINUED): Likewise.
2128 (POLL_IN): Likewise.
2129 (POLL_OUT): Likewise.
2130 (POLL_MSG): Likewise.
2131 (POLL_ERR): Likewise.
2132 (POLL_PRI): Likewise.
2133 (POLL_HUP): Likewise.
2134 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2136 (ILL_ILLOPN): Likewise.
2137 (ILL_ILLADR): Likewise.
2138 (ILL_ILLTRP): Likewise.
2139 (ILL_PRVOPC): Likewise.
2140 (ILL_PRVREG): Likewise.
2141 (ILL_COPROC): Likewise.
2142 (ILL_BADSTK): Likewise.
2143 (ILL_BADIADDR): Likewise.
2144 (ILL_BREAK): Likewise.
2145 (FPE_INTDIV): Likewise.
2146 (FPE_INTOVF): Likewise.
2147 (FPE_FLTDIV): Likewise.
2148 (FPE_FLTOVF): Likewise.
2149 (FPE_FLTUND): Likewise.
2150 (FPE_FLTRES): Likewise.
2151 (FPE_FLTINV): Likewise.
2152 (FPE_FLTSUB): Likewise.
2153 (FPE_DECOVF): Likewise.
2154 (FPE_DECDIV): Likewise.
2155 (FPE_DECERR): Likewise.
2156 (FPE_INVASC): Likewise.
2157 (FPE_INVDEC): Likewise.
2158 (SEGV_MAPERR): Likewise.
2159 (SEGV_ACCERR): Likewise.
2160 (SEGV_PSTKOVF): 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 (TRAP_BRANCH): Likewise.
2169 (TRAP_HWBKPT): Likewise.
2170 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2172 (CLD_KILLED): Likewise.
2173 (CLD_DUMPED): Likewise.
2174 (CLD_TRAPPED): Likewise.
2175 (CLD_STOPPED): Likewise.
2176 (CLD_CONTINUED): Likewise.
2177 (POLL_IN): Likewise.
2178 (POLL_OUT): Likewise.
2179 (POLL_MSG): Likewise.
2180 (POLL_ERR): Likewise.
2181 (POLL_PRI): Likewise.
2182 (POLL_HUP): Likewise.
2183 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2184 (ILL_ILLOPN): Likewise.
2185 (ILL_ILLADR): Likewise.
2186 (ILL_ILLTRP): Likewise.
2187 (ILL_PRVOPC): Likewise.
2188 (ILL_PRVREG): Likewise.
2189 (ILL_COPROC): Likewise.
2190 (ILL_BADSTK): 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/s390/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 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2260 (ILL_ILLOPN): Likewise.
2261 (ILL_ILLADR): Likewise.
2262 (ILL_ILLTRP): Likewise.
2263 (ILL_PRVOPC): Likewise.
2264 (ILL_PRVREG): Likewise.
2265 (ILL_COPROC): Likewise.
2266 (ILL_BADSTK): Likewise.
2267 (FPE_INTDIV): Likewise.
2268 (FPE_INTOVF): Likewise.
2269 (FPE_FLTDIV): Likewise.
2270 (FPE_FLTOVF): Likewise.
2271 (FPE_FLTUND): Likewise.
2272 (FPE_FLTRES): Likewise.
2273 (FPE_FLTINV): Likewise.
2274 (FPE_FLTSUB): Likewise.
2275 (SEGV_MAPERR): Likewise.
2276 (SEGV_ACCERR): Likewise.
2277 (BUS_ADRALN): Likewise.
2278 (BUS_ADRERR): Likewise.
2279 (BUS_OBJERR): Likewise.
2280 (BUS_MCEERR_AR): Likewise.
2281 (BUS_MCEERR_AO): Likewise.
2282 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2283 (TRAP_TRACE): Likewise.
2284 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2286 (CLD_KILLED): Likewise.
2287 (CLD_DUMPED): Likewise.
2288 (CLD_TRAPPED): Likewise.
2289 (CLD_STOPPED): Likewise.
2290 (CLD_CONTINUED): Likewise.
2291 (POLL_IN): Likewise.
2292 (POLL_OUT): Likewise.
2293 (POLL_MSG): Likewise.
2294 (POLL_ERR): Likewise.
2295 (POLL_PRI): Likewise.
2296 (POLL_HUP): Likewise.
2297 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2298 (ILL_ILLOPN): Likewise.
2299 (ILL_ILLADR): Likewise.
2300 (ILL_ILLTRP): Likewise.
2301 (ILL_PRVOPC): Likewise.
2302 (ILL_PRVREG): Likewise.
2303 (ILL_COPROC): Likewise.
2304 (ILL_BADSTK): Likewise.
2305 (ILL_DBLFLT): Likewise.
2306 (ILL_HARDWALL): Likewise.
2307 (FPE_INTDIV): Likewise.
2308 (FPE_INTOVF): Likewise.
2309 (FPE_FLTDIV): Likewise.
2310 (FPE_FLTOVF): Likewise.
2311 (FPE_FLTUND): Likewise.
2312 (FPE_FLTRES): Likewise.
2313 (FPE_FLTINV): Likewise.
2314 (FPE_FLTSUB): Likewise.
2315 (SEGV_MAPERR): Likewise.
2316 (SEGV_ACCERR): Likewise.
2317 (BUS_ADRALN): Likewise.
2318 (BUS_ADRERR): Likewise.
2319 (BUS_OBJERR): Likewise.
2320 (BUS_MCEERR_AR): Likewise.
2321 (BUS_MCEERR_AO): Likewise.
2322 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2323 (TRAP_TRACE): Likewise.
2324 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2326 (CLD_KILLED): Likewise.
2327 (CLD_DUMPED): Likewise.
2328 (CLD_TRAPPED): Likewise.
2329 (CLD_STOPPED): Likewise.
2330 (CLD_CONTINUED): Likewise.
2331 (POLL_IN): Likewise.
2332 (POLL_OUT): Likewise.
2333 (POLL_MSG): Likewise.
2334 (POLL_ERR): Likewise.
2335 (POLL_PRI): Likewise.
2336 (POLL_HUP): Likewise.
2337 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2338 (ILL_ILLOPN): Likewise.
2339 (ILL_ILLADR): Likewise.
2340 (ILL_ILLTRP): Likewise.
2341 (ILL_PRVOPC): Likewise.
2342 (ILL_PRVREG): Likewise.
2343 (ILL_COPROC): Likewise.
2344 (ILL_BADSTK): Likewise.
2345 (FPE_INTDIV): Likewise.
2346 (FPE_INTOVF): Likewise.
2347 (FPE_FLTDIV): Likewise.
2348 (FPE_FLTOVF): Likewise.
2349 (FPE_FLTUND): Likewise.
2350 (FPE_FLTRES): Likewise.
2351 (FPE_FLTINV): Likewise.
2352 (FPE_FLTSUB): Likewise.
2353 (SEGV_MAPERR): Likewise.
2354 (SEGV_ACCERR): Likewise.
2355 (BUS_ADRALN): Likewise.
2356 (BUS_ADRERR): Likewise.
2357 (BUS_OBJERR): Likewise.
2358 (BUS_MCEERR_AR): Likewise.
2359 (BUS_MCEERR_AO): Likewise.
2360 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2361 (TRAP_TRACE): Likewise.
2362 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2364 (CLD_KILLED): Likewise.
2365 (CLD_DUMPED): Likewise.
2366 (CLD_TRAPPED): Likewise.
2367 (CLD_STOPPED): Likewise.
2368 (CLD_CONTINUED): Likewise.
2369 (POLL_IN): Likewise.
2370 (POLL_OUT): Likewise.
2371 (POLL_MSG): Likewise.
2372 (POLL_ERR): Likewise.
2373 (POLL_PRI): Likewise.
2374 (POLL_HUP): Likewise.
2375 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2376 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2379 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2380 before #include of <time.h>.
2381 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2382 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2383 (test-xfail-UNIX98/sched.h/conform): Likewise.
2385 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2387 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2388 error absence of trapping exception support.
2389 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2391 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2393 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2394 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2395 * timezone/Makefile (testdata): Move definition above include of
2397 (test-zones): New variable.
2398 (tests-special): Add zone files.
2399 (build-testdata): Use $(evaluate-test).
2401 * elf/Makefile (tests-special): Rename tests to end with .out.
2402 ($(objpfx)noload-mem): Likewise.
2403 ($(objpfx)tst-leaks1-mem): Likewise.
2404 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2405 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2406 $(objpfx)test-iconvconfig.out.
2407 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2408 set -e inside subshell and redirect output to file.
2409 * iconvdata/Makefile (generated): Rename tests to end with .out.
2411 (tests-special): Rename tests to end with .out.
2412 ($(objpfx)mtrace-tst-loading): Likewise.
2413 * intl/Makefile (generated): Likewise.
2414 (tests-special): Likewise.
2415 ($(objpfx)mtrace-tst-gettext): Likewise.
2416 * misc/Makefile (generated): Likewise.
2417 (tests-special): Likewise.
2418 ($(objpfx)tst-error1-mem): Likewise.
2419 * nptl/Makefile (tests-special): Likewise.
2420 ($(objpfx)tst-stack3-mem): Likewise.
2421 (generated): Likewise.
2422 * posix/Makefile (generated): Likewise.
2423 (tests-special): Likewise.
2424 (xtests-special): Likewise.
2425 ($(objpfx)tst-fnmatch-mem): Likewise.
2426 ($(objpfx)bug-regex2-mem): Likewise.
2427 ($(objpfx)bug-regex14-mem): Likewise.
2428 ($(objpfx)bug-regex21-mem): Likewise.
2429 ($(objpfx)bug-regex31-mem): Likewise.
2430 ($(objpfx)tst-vfork3-mem): Likewise.
2431 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2432 ($(objpfx)tst-pcre-mem): Likewise.
2433 ($(objpfx)tst-boost-mem): Likewise.
2434 ($(objpfx)bug-ga2-mem): Likewise.
2435 ($(objpfx)bug-glob2-mem): Likewise.
2436 * resolv/Makefile (generate): Likewise.
2437 (tests-special): Likewise.
2438 (xtests-special): Likewise.
2439 (generated): Likewise.
2440 ($(objpfx)mtrace-tst-leaks): Likewise.
2441 ($(objpfx)mtrace-tst-leaks2): Likewise.
2443 * scripts/merge-test-results.sh: New file.
2444 * Makefile (tests-special-notdir): New variable.
2445 (tests): Run merge-test-results.sh.
2447 * Rules (tests-special-notdir): New variable.
2448 (xtests-special-notdir): Likewise.
2449 (tests): Run merge-test-results.sh
2452 * Makeconfig (test-xfail-name): New variable.
2453 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2454 compute variable name for expected failures.
2455 * conform/Makefile (conformtest-headers-data): New variable.
2456 (conformtest-standards): Likewise.
2457 (conformtest-headers-ISO): Likewise.
2458 (conformtest-headers-ISO99): Likewise.
2459 (conformtest-headers-ISO11): Likewise.
2460 (conformtest-headers-POSIX): Likewise.
2461 (conformtest-headers-XPG3): Likewise.
2462 (conformtest-headers-XPG4): Likewise.
2463 (conformtest-headers-UNIX98): Likewise.
2464 (conformtest-headers-XOPEN2K): Likewise.
2465 (conformtest-headers-POSIX2008): Likewise.
2466 (conformtest-headers-XOPEN2K8): Likewise.
2467 (conformtest-header-list-base): Likewise.
2468 (conformtest-header-list-tests): Likewise.
2469 (conformtest-header-base): Likewise.
2470 (conformtest-header-tests): Likewise.
2471 (tests-special): Add $(conformtest-header-list-tests). If
2472 [$(fast-check) && !$(cross-compiling)], add
2473 $(conformtest-header-tests) instead of
2474 $(objpfx)run-conformtest.out.
2475 (generated): Add $(conformtest-header-list-base). If
2476 [$(fast-check) && !$(cross-compiling)], add
2477 $(conformtest-header-base). Remove previous setting.
2478 ($(conformtest-header-list-tests)): New target.
2479 (test-xfail-run-conformtest): Remove variable.
2480 ($(objpfx)run-conformtest.out): Remove target.
2481 (test-xfail-ISO11/complex.h/conform): New variable.
2482 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2483 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2484 (test-xfail-XPG3/varargs.h/conform): Likewise.
2485 (test-xfail-XPG4/varargs.h/conform): Likewise.
2486 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2487 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2488 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2489 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2490 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2491 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2492 (test-xfail-XPG3/ftw.h/conform): Likewise.
2493 (test-xfail-XPG3/grp.h/conform): Likewise.
2494 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2495 (test-xfail-XPG3/limits.h/conform): Likewise.
2496 (test-xfail-XPG3/pwd.h/conform): Likewise.
2497 (test-xfail-XPG3/search.h/conform): Likewise.
2498 (test-xfail-XPG3/signal.h/conform): Likewise.
2499 (test-xfail-XPG3/stdio.h/conform): Likewise.
2500 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2501 (test-xfail-XPG3/string.h/conform): Likewise.
2502 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2503 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2504 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2505 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2506 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2507 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2508 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2509 (test-xfail-XPG3/termios.h/conform): Likewise.
2510 (test-xfail-XPG3/time.h/conform): Likewise.
2511 (test-xfail-XPG3/unistd.h/conform): Likewise.
2512 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2513 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2514 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2515 (test-xfail-XPG4/netdb.h/conform): Likewise.
2516 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2517 (test-xfail-XPG4/signal.h/conform): Likewise.
2518 (test-xfail-XPG4/stdio.h/conform): Likewise.
2519 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2520 (test-xfail-XPG4/stropts.h/conform): Likewise.
2521 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2522 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2523 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2524 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2525 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2526 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2527 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2528 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2529 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2530 (test-xfail-XPG4/termios.h/conform): Likewise.
2531 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2532 (test-xfail-XPG4/unistd.h/conform): Likewise.
2533 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2534 (test-xfail-POSIX/sched.h/conform): Likewise.
2535 (test-xfail-POSIX/signal.h/conform): Likewise.
2536 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2537 (test-xfail-POSIX/tar.h/conform): Likewise.
2538 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2539 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2540 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2541 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2542 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2543 (test-xfail-UNIX98/sched.h/conform): Likewise.
2544 (test-xfail-UNIX98/signal.h/conform): Likewise.
2545 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2546 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2547 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2548 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2549 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2550 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2551 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2552 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2553 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2554 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2555 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2556 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2557 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2558 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2559 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2560 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2561 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2562 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2563 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2564 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2565 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2566 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2567 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2568 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2569 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2570 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2571 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2572 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2573 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2574 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2575 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2576 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2577 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2578 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2579 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2580 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2581 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2582 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2583 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2584 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2585 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2586 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2587 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2588 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2589 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2590 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2591 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2592 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2593 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2594 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2595 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2596 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2597 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2598 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2599 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2600 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2601 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2602 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2603 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2604 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2605 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2606 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2607 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2608 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2609 (conformtest-cc-flags): Likewise.
2610 ($(conformtest-header-tests): New target.
2611 * conform/check-header-lists.sh: New file.
2612 * conform/run-conformtest.sh: Remove.
2614 * conform/conformtest.pl: Allow ' and \ in values given for
2616 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2618 [POSIX] (sys/types.h): Likewise.
2619 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2621 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2623 * conform/data/signal.h-data (SIGIO): Remove expectation.
2624 [XPG3] (SIGBUS): Do not expect.
2625 [POSIX || XPG3] (SIGPOLL): Likewise.
2626 [POSIX || XPG3] (SIGPROF): Likewise.
2627 [POSIX || XPG3] (SIGSYS): Likewise.
2628 [XPG3] (SIGTRAP): Likewise.
2629 [POSIX || XPG3] (SIGURG): Likewise.
2630 [POSIX || XPG3] (SIGVTALRM): Likewise.
2631 [POSIX || XPG3] (SIGXCPU): Likewise.
2632 [POSIX || XPG3] (SIGXFSZ): Likewise.
2633 [POSIX] (SA_SIGINFO): Expect.
2634 [XPG3] (siginfo_t): Do not expect type or contents.
2635 [POSIX] (si_pid): Do not expect element.
2636 [POSIX] (si_uid): Likewise.
2637 [POSIX] (si_addr): Likewise.
2638 [POSIX] (si_status): Likewise.
2639 [POSIX] (si_band): Likewise.
2640 [XPG4] (si_value): Likewise.
2641 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2642 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2643 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2644 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2645 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2646 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2647 [POSIX || XPG3] (ILL_COPROC): Likewise.
2648 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2649 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2650 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2651 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2652 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2653 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2654 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2655 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2656 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2657 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2658 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2659 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2660 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2661 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2662 [POSIX || XPG3] (CLD_EXITED): Likewise.
2663 [POSIX || XPG3] (CLD_KILLED): Likewise.
2664 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2665 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2666 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2667 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2668 [POSIX || XPG3] (POLL_IN): Likewise.
2669 [POSIX || XPG3] (POLL_OUT): Likewise.
2670 [POSIX || XPG3] (POLL_MSG): Likewise.
2671 [POSIX || XPG3] (POLL_ERR): Likewise.
2672 [POSIX || XPG3] (POLL_PRI): Likewise.
2673 [POSIX || XPG3] (POLL_HUP): Likewise.
2674 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2675 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2676 (SIG*): Do not allow.
2677 [XPG3] (si_*): Likewise.
2678 [XPG3] (SI_*): Likewise.
2679 [XPG3 || XPG4] (sigev_*): Likewise.
2680 [XPG3 || XPG4] (SIGEV_*): Likewise.
2681 [XPG3 || XPG4] (sival_*): Likewise.
2682 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2683 [POSIX || XPG3] (BUS_*): Likewise.
2684 [POSIX || XPG3] (CLD_*): Likewise.
2685 [POSIX || XPG3] (FPE_*): Likewise.
2686 [POSIX || XPG3] (ILL_*): Likewise.
2687 [POSIX || XPG3] (POLL_*): Likewise.
2688 [POSIX || XPG3] (SEGV_*): Likewise.
2689 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2690 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2691 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2692 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2693 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2694 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2695 Specify type and value.
2696 (TVERSLEN): Likewise.
2697 (REGTYPE): Likewise.
2698 (AREGTYPE): Likewise.
2699 (LNKTYPE): Likewise.
2700 (SYMTYPE): Likewise.
2701 (CHRTYPE): Likewise.
2702 (BLKTYPE): Likewise.
2703 (DIRTYPE): Likewise.
2704 (FIFOTYPE): Likewise.
2705 (CONTTYPE): Likewise.
2710 (TUWRITE): Likewise.
2713 (TGWRITE): Likewise.
2716 (TOWRITE): Likewise.
2718 [POSIX] (TSVTX): Expect constant.
2720 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2722 * Makefile (tests): Change dependencies to ....
2723 (tests-special): ... additions to this variable.
2724 (tests): Depend on $(tests-special).
2725 * Makerules (check-abi-list): New variable.
2726 (check-abi): Depend on $(check-abi-list).
2727 [$(subdir) = elf] (tests-special): Add
2728 $(objpfx)check-abi-libc.out.
2729 [$(build-shared) = yes && subdir] (tests-special): Add
2731 [$(build-shared) = yes && subdir] (tests): Do not depend on
2733 * Rules (tests): Depend on $(tests-special).
2734 (xtests): Depend on $(xtests-special).
2735 * catgets/Makefile (tests): Change dependencies to ....
2736 (tests-special): ... additions to this variable.
2737 * conform/Makefile (tests): Change dependencies to ....
2738 (tests-special): ... additions to this variable.
2739 * elf/Makefile (tests): Change dependencies to ....
2740 (tests-special): ... additions to this variable.
2741 * grp/Makefile (tests): Change dependencies to ....
2742 (tests-special): ... additions to this variable.
2743 * iconv/Makefile (xtests): Change dependencies to ....
2744 (xtests-special): ... additions to this variable.
2745 * iconvdata/Makefile (tests): Change dependencies to ....
2746 (tests-special): ... additions to this variable.
2747 * intl/Makefile (tests): Change dependencies to ....
2748 (tests-special): ... additions to this variable. Also add
2749 $(objpfx)tst-gettext.out.
2750 * io/Makefile (tests): Change dependencies to ....
2751 (tests-special): ... additions to this variable.
2752 * libio/Makefile (tests): Change dependencies to ....
2753 (tests-special): ... additions to this variable.
2754 * malloc/Makefile (tests): Change dependencies to ....
2755 (tests-special): ... additions to this variable.
2756 * misc/Makefile (tests): Change dependencies to ....
2757 (tests-special): ... additions to this variable.
2758 * nptl/Makefile (tests): Change dependencies to ....
2759 (tests-special): ... additions to this variable.
2760 * nptl_db/Makefile (tests): Change dependencies to ....
2761 (tests-special): ... additions to this variable.
2762 * posix/Makefile (tests): Change dependencies to ....
2763 (tests-special): ... additions to this variable.
2764 (xtests): Change dependencies to ....
2765 (xtests-special): ... additions to this variable.
2766 * resolv/Makefile (tests): Change dependencies to ....
2767 (tests-special): ... additions to this variable.
2768 (xtests): Change dependencies to ....
2769 (xtests-special): ... additions to this variable.
2770 * stdio-common/Makefile (tests): Change dependencies to ....
2771 (tests-special): ... additions to this variable.
2772 (do-tst-unbputc): Remove target.
2773 (do-tst-printf): Likewise.
2774 * stdlib/Makefile (tests): Change dependencies to ....
2775 (tests-special): ... additions to this variable.
2776 * string/Makefile (tests): Change dependencies to ....
2777 (tests-special): ... additions to this variable.
2778 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2779 (tests-special): ... additions to this variable.
2781 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2783 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2785 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2786 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2788 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2789 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2790 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2791 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2792 * conform/data/libgen.h-data [XPG3]: Likewise.
2793 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2794 * conform/data/ndbm.h-data [XPG3]: Likewise.
2795 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2796 * conform/data/netdb.h-data [XPG3]: Likewise.
2797 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2798 * conform/data/poll.h-data [XPG3]: Likewise.
2799 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2800 * conform/data/strings.h-data [XPG3]: Likewise.
2801 * conform/data/stropts.h-data [XPG3]: Likewise.
2802 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2803 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2804 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2806 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2807 * conform/data/sys/time.h-data [XPG3]: Likewise.
2808 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2809 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2810 * conform/data/sys/un.h-data [XPG3]: Likewise.
2811 * conform/data/syslog.h-data [XPG3]: Likewise.
2812 * conform/data/ucontext.h-data [XPG3]: Likewise.
2813 * conform/data/utmpx.h-data [XPG3]: Likewise.
2814 * conform/data/varargs.h-data [UNIX98]: Enable file.
2816 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2818 * math/libm-test.inc (struct test_f_f_data): Move expected results
2819 into structure for each rounding mode.
2820 (struct test_ff_f_data): Likewise.
2821 (struct test_ff_f_data_nexttoward): Likewise.
2822 (struct test_fi_f_data): Likewise.
2823 (struct test_fl_f_data): Likewise.
2824 (struct test_if_f_data): Likewise.
2825 (struct test_fff_f_data): Likewise.
2826 (struct test_c_f_data): Likewise.
2827 (struct test_f_f1_data): Likewise.
2828 (struct test_fF_f1_data): Likewise.
2829 (struct test_ffI_f1_data): Likewise.
2830 (struct test_c_c_data): Likewise.
2831 (struct test_cc_c_data): Likewise.
2832 (struct test_f_i_data): Likewise.
2833 (struct test_ff_i_data): Likewise.
2834 (struct test_f_l_data): Likewise.
2835 (struct test_f_L_data): Likewise.
2836 (struct test_fFF_11_data): Likewise.
2838 (RM_FE_DOWNWARD): Likewise.
2839 (RM_FE_TONEAREST): Likewise.
2840 (RM_FE_TOWARDZERO): Likewise.
2841 (RM_FE_UPWARD): Likewise.
2842 (RUN_TEST_LOOP_f_f): Update references to expected results.
2843 (RUN_TEST_LOOP_2_f): Likewise.
2844 (RUN_TEST_LOOP_fff_f): Likewise.
2845 (RUN_TEST_LOOP_c_f): Likewise.
2846 (RUN_TEST_LOOP_f_f1): Likewise.
2847 (RUN_TEST_LOOP_fF_f1): Likewise.
2848 (RUN_TEST_LOOP_fI_f1): Likewise.
2849 (RUN_TEST_LOOP_ffI_f1): Likewise.
2850 (RUN_TEST_LOOP_c_c): Likewise.
2851 (RUN_TEST_LOOP_cc_c): Likewise.
2852 (RUN_TEST_LOOP_f_i): Likewise.
2853 (RUN_TEST_LOOP_f_i_tg): Likewise.
2854 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2855 (RUN_TEST_LOOP_f_b): Likewise.
2856 (RUN_TEST_LOOP_f_b_tg): Likewise.
2857 (RUN_TEST_LOOP_f_l): Likewise.
2858 (RUN_TEST_LOOP_f_L): Likewise.
2859 (RUN_TEST_LOOP_fFF_11): Likewise.
2860 * math/gen-libm-test.pl (parse_args): Output four copies of
2861 expected results for each test.
2863 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2864 (__ASSUME_UTIMES): Remove.
2865 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2866 (__ASSUME_UTIMES): Likewise.
2868 * math/gen-auto-libm-tests.c: Update comment on output format.
2869 (output_for_one_input_case): Generate before-rounding and
2870 after-rounding information as conditions on output flags not
2871 floating-point format.
2872 * math/auto-libm-test-out: Regenerated.
2873 * math/gen-libm-test.pl (cond_value): New function.
2874 (or_cond_value): Use cond_value.
2875 (generate_testfile): Handle conditional exceptions.
2877 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2879 * math/libm-test.inc (max_valid_error): New variable.
2880 (init_max_error): Take new argument specifying whether function
2881 results are exactly determined. Set max_valid_error and bound
2882 other variables for errors based on this argument.
2883 (set_max_error): Do not record results above max_valid_error.
2884 (check_float_internal): Only accept errors of up to 0.5ulps if
2885 also at most max_valid_error.
2886 (START): Take new argument EXACT and pass it to init_max_error.
2887 (acos_test): Update call to START.
2888 (acos_test_tonearest): Likewise.
2889 (acos_test_towardzero): Likewise.
2890 (acos_test_downward): Likewise.
2891 (acos_test_upward): Likewise.
2892 (acosh_test): Likewise.
2893 (asin_test): Likewise.
2894 (asin_test_tonearest): Likewise.
2895 (asin_test_towardzero): Likewise.
2896 (asin_test_downward): Likewise.
2897 (asin_test_upward): Likewise.
2898 (asinh_test): Likewise.
2899 (atan_test): Likewise.
2900 (atanh_test): Likewise.
2901 (atan2_test): Likewise.
2902 (cabs_test): Likewise.
2903 (cacos_test): Likewise.
2904 (cacosh_test): Likewise.
2905 (carg_test): Likewise.
2906 (casin_test): Likewise.
2907 (casinh_test): Likewise.
2908 (catan_test): Likewise.
2909 (catanh_test): Likewise.
2910 (cbrt_test): Likewise.
2911 (ccos_test): Likewise.
2912 (ccosh_test): Likewise.
2913 (ceil_test): Likewise.
2914 (cexp_test): Likewise.
2915 (cimag_test): Likewise.
2916 (clog_test): Likewise.
2917 (clog10_test): Likewise.
2918 (conj_test): Likewise.
2919 (copysign_test): Likewise.
2920 (cos_test): Likewise.
2921 (cos_test_tonearest): Likewise.
2922 (cos_test_towardzero): Likewise.
2923 (cos_test_downward): Likewise.
2924 (cos_test_upward): Likewise.
2925 (cosh_test): Likewise.
2926 (cosh_test_tonearest): Likewise.
2927 (cosh_test_towardzero): Likewise.
2928 (cosh_test_downward): Likewise.
2929 (cosh_test_upward): Likewise.
2930 (cpow_test): Likewise.
2931 (cproj_test): Likewise.
2932 (creal_test): Likewise.
2933 (csin_test): Likewise.
2934 (csinh_test): Likewise.
2935 (csqrt_test): Likewise.
2936 (ctan_test): Likewise.
2937 (ctan_test_tonearest): Likewise.
2938 (ctan_test_towardzero): Likewise.
2939 (ctan_test_downward): Likewise.
2940 (ctan_test_upward): Likewise.
2941 (ctanh_test): Likewise.
2942 (ctanh_test_tonearest): Likewise.
2943 (ctanh_test_towardzero): Likewise.
2944 (ctanh_test_downward): Likewise.
2945 (ctanh_test_upward): Likewise.
2946 (erf_test): Likewise.
2947 (erfc_test): Likewise.
2948 (exp_test): Likewise.
2949 (exp_test_tonearest): Likewise.
2950 (exp_test_towardzero): Likewise.
2951 (exp_test_downward): Likewise.
2952 (exp_test_upward): Likewise.
2953 (exp10_test): Likewise.
2954 (exp10_test_tonearest): Likewise.
2955 (exp10_test_towardzero): Likewise.
2956 (exp10_test_downward): Likewise.
2957 (exp10_test_upward): Likewise.
2958 (pow10_test): Likewise.
2959 (exp2_test): Likewise.
2960 (expm1_test): Likewise.
2961 (expm1_test_tonearest): Likewise.
2962 (expm1_test_towardzero): Likewise.
2963 (expm1_test_downward): Likewise.
2964 (expm1_test_upward): Likewise.
2965 (fabs_test): Likewise.
2966 (fdim_test): Likewise.
2967 (floor_test): Likewise.
2968 (fma_test): Likewise.
2969 (fma_test_towardzero): Likewise.
2970 (fma_test_downward): Likewise.
2971 (fma_test_upward): Likewise.
2972 (fmax_test): Likewise.
2973 (fmin_test): Likewise.
2974 (fmod_test): Likewise.
2975 (fpclassify_test): Likewise.
2976 (frexp_test): Likewise.
2977 (hypot_test): Likewise.
2978 (ilogb_test): Likewise.
2979 (isfinite_test): Likewise.
2980 (finite_test): Likewise.
2981 (isgreater_test): Likewise.
2982 (isgreaterequal_test): Likewise.
2983 (isinf_test): Likewise.
2984 (isless_test): Likewise.
2985 (islessequal_test): Likewise.
2986 (islessgreater_test): Likewise.
2987 (isnan_test): Likewise.
2988 (isnormal_test): Likewise.
2989 (issignaling_test): Likewise.
2990 (isunordered_test): Likewise.
2991 (j0_test): Likewise.
2992 (j1_test): Likewise.
2993 (jn_test): Likewise.
2994 (ldexp_test): Likewise.
2995 (lgamma_test): Likewise.
2996 (gamma_test): Likewise.
2997 (lrint_test): Likewise.
2998 (lrint_test_tonearest): Likewise.
2999 (lrint_test_towardzero): Likewise.
3000 (lrint_test_downward): Likewise.
3001 (lrint_test_upward): Likewise.
3002 (llrint_test): Likewise.
3003 (llrint_test_tonearest): Likewise.
3004 (llrint_test_towardzero): Likewise.
3005 (llrint_test_downward): Likewise.
3006 (llrint_test_upward): Likewise.
3007 (log_test): Likewise.
3008 (log10_test): Likewise.
3009 (log1p_test): Likewise.
3010 (log2_test): Likewise.
3011 (logb_test): Likewise.
3012 (logb_test_downward): Likewise.
3013 (lround_test): Likewise.
3014 (llround_test): Likewise.
3015 (modf_test): Likewise.
3016 (nearbyint_test): Likewise.
3017 (nextafter_test): Likewise.
3018 (nexttoward_test): Likewise.
3019 (pow_test): Likewise.
3020 (pow_test_tonearest): Likewise.
3021 (pow_test_towardzero): Likewise.
3022 (pow_test_downward): Likewise.
3023 (pow_test_upward): Likewise.
3024 (remainder_test): Likewise.
3025 (drem_test): Likewise.
3026 (remainder_test_tonearest): Likewise.
3027 (drem_test_tonearest): Likewise.
3028 (remainder_test_towardzero): Likewise.
3029 (drem_test_towardzero): Likewise.
3030 (remainder_test_downward): Likewise.
3031 (drem_test_downward): Likewise.
3032 (remainder_test_upward): Likewise.
3033 (drem_test_upward): Likewise.
3034 (remquo_test): Likewise.
3035 (rint_test): Likewise.
3036 (rint_test_tonearest): Likewise.
3037 (rint_test_towardzero): Likewise.
3038 (rint_test_downward): Likewise.
3039 (rint_test_upward): Likewise.
3040 (round_test): Likewise.
3041 (scalb_test): Likewise.
3042 (scalbn_test): Likewise.
3043 (scalbln_test): Likewise.
3044 (signbit_test): Likewise.
3045 (sin_test): Likewise.
3046 (sin_test_tonearest): Likewise.
3047 (sin_test_towardzero): Likewise.
3048 (sin_test_downward): Likewise.
3049 (sin_test_upward): Likewise.
3050 (sincos_test): Likewise.
3051 (sinh_test): Likewise.
3052 (sinh_test_tonearest): Likewise.
3053 (sinh_test_towardzero): Likewise.
3054 (sinh_test_downward): Likewise.
3055 (sinh_test_upward): Likewise.
3056 (sqrt_test): Likewise.
3057 (sqrt_test_tonearest): Likewise.
3058 (sqrt_test_towardzero): Likewise.
3059 (sqrt_test_downward): Likewise.
3060 (sqrt_test_upward): Likewise.
3061 (tan_test): Likewise.
3062 (tan_test_tonearest): Likewise.
3063 (tan_test_towardzero): Likewise.
3064 (tan_test_downward): Likewise.
3065 (tan_test_upward): Likewise.
3066 (tanh_test): Likewise.
3067 (tgamma_test): Likewise.
3068 (trunc_test): Likewise.
3069 (y0_test): Likewise.
3070 (y1_test): Likewise.
3071 (yn_test): Likewise.
3072 (significand_test): Likewise.
3074 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3075 individual tests in comment.
3076 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3077 (prev_max_error): New variable.
3078 (prev_real_max_error): Likewise.
3079 (prev_imag_max_error): Likewise.
3080 (compare_ulp_data): Don't refer to test names in comment.
3081 (find_test_ulps): Remove function.
3082 (find_function_ulps): Likewise.
3083 (find_complex_function_ulps): Likewise.
3084 (init_max_error): Take function name as argument. Look up ulps
3086 (print_ulps): Remove function.
3087 (print_max_error): Use prev_max_error instead of calling
3089 (print_complex_max_error): Use prev_real_max_error and
3090 prev_imag_max_error instead of calling find_complex_function_ulps.
3091 (check_float_internal): Take max_ulp parameter instead of calling
3092 find_test_ulps. Don't call print_ulps.
3093 (check_float): Update call to check_float_internal.
3094 (check_complex): Update calls to check_float_internal.
3095 (START): Pass argument to init_max_error.
3096 * math/gen-libm-test.pl (%results): Don't include "kind"
3098 (parse_ulps): Don't handle ulps of individual tests.
3099 (print_ulps_file): Likewise.
3100 (output_ulps): Likewise.
3101 * math/README.libm-test: Update.
3102 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3104 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3105 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3106 * sysdeps/arm/libm-test-ulps: Likewise.
3107 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3108 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3109 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3110 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3111 * sysdeps/microblaze/libm-test-ulps: Likewise.
3112 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3113 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3114 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3115 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3116 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3117 * sysdeps/sh/libm-test-ulps: Likewise.
3118 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3119 * sysdeps/tile/libm-test-ulps: Likewise.
3120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3122 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3124 * math/libm-test.inc (print_complex_max_error): Check separately
3125 whether real and imaginary errors are within allowed range and
3126 pass 0 to print_complex_function_ulps instead of value within
3129 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3131 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3133 (get_handles_fopen): Likewise.
3134 (do_write_test): Likewise.
3136 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3138 * libio/fileops.c (do_ftell): Use cached offset when
3140 * libio/iofwide.c (do_ftell_wide): Likewise.
3141 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3143 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3146 * libio/libioP.h (get_file_offset): New function.
3147 * libio/fileops.c (get_file_offset): Likewise.
3148 (do_ftell): Likewise.
3149 (_IO_new_file_seekoff): Split out ftell logic.
3150 * libio/wfileops.c (do_ftell_wide): Likewise.
3151 (_IO_wfile_seekoff): Split out ftell logic.
3152 * libio/tst-ftell-active-handler.c: New test case.
3153 * libio/Makefile (tests): Add it.
3155 2014-03-03 Roland McGrath <roland@hack.frob.com>
3157 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3158 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3160 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3163 * nscd/connections.c (nscd_init): Call do_exit.
3164 (start_threads): Call do_exit and notify_parent.
3165 (begin_drop_privileges): Call do_exit.
3166 (finish_drop_privileges): Likewise.
3167 * nscd/selinux.c (preserve_capabilities): Likewise.
3168 (install_real_capabilities): Likewise.
3169 (nscd_selinux_enabled): Likewise.
3170 (avc_create_thread): Likewise.
3171 (avc_alloc_lock): Likewise.
3172 (nscd_avc_init): Likewise.
3173 * nscd/nscd.c (parent_fd): New static variable.
3174 (main): Create a pipe between parent and child processes.
3175 Skip closing parent_fd.
3176 (monitor_child): New function.
3177 (do_exit): Likewise.
3178 (notify_parent): Likewise.
3179 * nscd/nscd.h (notify_parent): Likewise.
3180 (do_exit): Likewise.
3182 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3184 * malloc/malloc.c (__libc_calloc): Revert last change.
3186 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3190 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3192 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3196 (__libc_ifunc_impl_list): Likewise.
3197 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3198 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3199 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3200 * string/strrchr.c: Define STRRCHR.
3202 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3204 * benchtest/bench-strtok.c (simple_strtok): Delete.
3205 (strtok_string): Use as benchmark.
3206 * string/strtok (STRTOK): New macro.
3208 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3210 * manual/threads.texi: Add header and standard comments to all
3213 * elf/dl-lookup.c (check_match): New function.
3214 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3215 (do_lookup_x): Remove nested function check_match. Use non-nested
3216 function check_match.
3218 2014-02-28 Roland McGrath <roland@hack.frob.com>
3220 * csu/Makefile (generated, before-compile): Use += rather than =.
3221 * catgets/Makefile (generated, generated-dirs): Likewise.
3222 * debug/Makefile (generated): Likewise.
3223 * dlfcn/Makefile (generated): Likewise.
3224 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3225 * iconvdata/Makefile (before-compile, generated): Likewise.
3226 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3227 * libio/Makefile (generated): Likewise.
3228 * malloc/Makefile (generated): Likewise.
3229 * manual/Makefile (generated, generated-dirs): Likewise.
3230 * misc/Makefile (generated): Likewise.
3231 * posix/Makefile (generated): Likewise.
3232 * resolv/Makefile (generated): Likewise.
3233 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3234 * timezone/Makefile (generated, generated-dirs): Likewise.
3236 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3238 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3241 power8 implementation.
3242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3243 file: POWER8 llround ifunc implementation.
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3245 (__lllround): Add POWER8 implementation.
3246 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3247 POWER8 llround implementation.
3249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3250 power8 implementation.
3251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3252 file: POWER8 llrint ifunc implementation.
3253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3254 Add POWER8 implementation.
3255 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3256 POWER8 llrint implementation.
3258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3259 power8 implementation.
3260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3261 file: POWER8 finite ifunc implementation.
3262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3263 Add POWER8 implementation.
3264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3266 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3267 POWER8 finite implementation.
3268 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3271 power8 implementation.
3272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3273 file: POWER8 isinf ifunc implementation.
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3275 POWER8 implementation.
3276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3278 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3279 isinf implementation.
3280 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3282 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3283 (INIT_ARCH): Add hwcap2 initialization.
3284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3285 power8 implementation.
3286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3287 file: POWER8 isnan ifunc implementation.
3288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3289 POWER8 implementation.
3290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3293 isnan implementation.
3294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3296 2014-02-27 Joey Ye <joey.ye@arm.com>
3298 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3299 (_FP_NANFRAC_Q): Set to zero.
3301 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3304 * math/auto-libm-test-in: New test inputs.
3305 * math/auto-libm-test-out: Regenerate.
3306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3309 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3311 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3313 * scripts/evaluate-test.sh: Take new argument indicating whether
3314 failure is expected.
3315 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3316 indicating whether failure is expected.
3317 * conform/Makefile (test-xfail-run-conformtest): New variable.
3318 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3320 * posix/Makefile (test-xfail-annexc): New variable.
3321 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3323 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3325 * argp/Makefile: Include Makeconfig immediately after defining
3327 * assert/Makefile: Likewise.
3328 * benchtests/Makefile: Likewise.
3329 * catgets/Makefile: Likewise.
3330 * conform/Makefile: Likewise.
3331 * crypt/Makefile: Likewise.
3332 * csu/Makefile: Likewise.
3333 (all): Remove target.
3334 * ctype/Makefile: Include Makeconfig immediately after defining
3336 * debug/Makefile: Likewise.
3337 * dirent/Makefile: Likewise.
3338 * dlfcn/Makefile: Likewise.
3339 * gmon/Makefile: Likewise.
3340 * gnulib/Makefile: Likewise.
3341 * grp/Makefile: Likewise.
3342 * gshadow/Makefile: Likewise.
3343 * hesiod/Makefile: Likewise.
3344 * hurd/Makefile: Likewise.
3345 (all): Remove target.
3346 * iconvdata/Makefile: Include Makeconfig immediately after
3348 * inet/Makefile: Likewise.
3349 * intl/Makefile: Likewise.
3350 * io/Makefile: Likewise.
3351 * libio/Makefile: Likewise.
3352 (all): Remove target.
3353 * locale/Makefile: Include Makeconfig immediately after defining
3355 * login/Makefile: Likewise.
3356 * mach/Makefile: Likewise.
3357 (all): Remove target.
3358 * malloc/Makefile: Include Makeconfig immediately after defining
3360 (all): Remove target.
3361 * manual/Makefile: Include Makeconfig immediately after defining
3363 * math/Makefile: Likewise.
3364 * misc/Makefile: Likewise.
3365 * nis/Makefile: Likewise.
3366 * nss/Makefile: Likewise.
3367 * po/Makefile: Likewise.
3368 (all): Remove target.
3369 * posix/Makefile: Include Makeconfig immediately after defining
3371 * pwd/Makefile: Likewise.
3372 * resolv/Makefile: Likewise.
3373 * resource/Makefile: Likewise.
3374 * rt/Makefile: Likewise.
3375 * setjmp/Makefile: Likewise.
3376 * shadow/Makefile: Likewise.
3377 * signal/Makefile: Likewise.
3378 * socket/Makefile: Likewise.
3379 * soft-fp/Makefile: Likewise.
3380 * stdio-common/Makefile: Likewise.
3381 * stdlib/Makefile: Likewise.
3382 * streams/Makefile: Likewise.
3383 * string/Makefile: Likewise.
3384 * sunrpc/Makefile: Likewise.
3385 (all): Remove target.
3386 * sysvipc/Makefile: Include Makeconfig immediately after defining
3388 * termios/Makefile: Likewise.
3389 * time/Makefile: Likewise.
3390 * timezone/Makefile: Likewise.
3391 (all): Remove target.
3392 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3394 * wctype/Makefile: Likewise.
3396 2014-02-26 Steve Ellcey <sellcey@mips.com>
3398 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3399 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3400 (libc_feholdexcept_setround_mips): Ditto.
3401 (libc_feholdsetround): New.
3402 (libc_feholdsetroundf): New.
3403 (libc_feholdsetroundl): New.
3404 (libc_feupdateenv_test_mips): New.
3405 (libc_feupdateenv_test): New.
3406 (libc_feupdateenv_testf): New.
3407 (libc_feupdateenv_testl): New.
3408 (libc_feresetround): New.
3409 (libc_feresetroundf): New.
3410 (libc_feresetroundl): New.
3411 (libc_fetestexcept_mips): New.
3412 (libc_fetestexcept): New.
3413 (libc_fetestexceptf): New.
3414 (libc_fetestexceptl): New.
3416 (libc_feholdexcept_setround_mips_ctx): New.
3417 (libc_feholdexcept_setround_ctx): New.
3418 (libc_feholdexcept_setroundf_ctx): New.
3419 (libc_feholdexcept_setroundl_ctx): New.
3420 (libc_fesetenv_mips_ctx): New.
3421 (libc_fesetenv_ctx): New.
3422 (libc_fesetenv_ctxf): New.
3423 (libc_fesetenv_ctxl): New.
3424 (libc_feupdateenv_mips_ctx): New.
3425 (libc_feupdateenv_ctx): New.
3426 (libc_feupdateenvf_ctx): New.
3427 (libc_feupdateenvl_ctx): New.
3428 (libc_feholdsetround_mips_ctx): New.
3429 (libc_feholdsetround_ctx): New.
3430 (libc_feholdsetroundf_ctx): New.
3431 (libc_feholdsetroundl_ctx): New.
3432 (libc_feresetround_mips_ctx): New.
3433 (libc_feresetround_ctx): New.
3434 (libc_feresetroundf_ctx): New.
3435 (libc_feresetroundl_ctx): New.
3437 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3439 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3441 * manual/ipc.texi: New file.
3442 * manual/Makefile (chapters): Add ipc.
3443 * manual/job.texi: Add "Inter-Process Communication" to next.
3444 * manual/process.texi: Add "Inter-Process Communication" to prev.
3446 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3450 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3452 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3454 * manual/arith.texi: Fix spaces after sentences.
3455 * manual/charset.texi: Likewise.
3456 * manual/errno.texi: Likewise.
3457 * manual/install.texi: Likewise.
3458 * manual/llio.texi: Likewise.
3459 * manual/locale.texi: Likewise.
3460 * manual/maint.texi: Likewise.
3461 * manual/math.texi: Likewise.
3462 * manual/memory.texi: Likewise.
3463 * manual/message.texi: Likewise.
3464 * manual/probes.texi: Likewise.
3465 * manual/resource.texi: Likewise.
3466 * manual/signal.texi: Likewise.
3467 * manual/socket.texi: Likewise.
3468 * manual/stdio.texi: Likewise.
3469 * manual/string.texi: Likewise.
3470 * manual/time.texi: Likewise.
3471 * manual/users.texi: Likewise.
3473 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3476 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3477 _DEFAULT_SOURCE is defined.
3479 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3480 Carlos O'Donell <carlos@redhat.com>
3483 * elf/dl-tls.c (_dl_count_modids): New function.
3484 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3485 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3486 audit library and increment generation counter.
3487 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3488 * elf/tst-audit9.c: New file.
3489 * elf/tst-auditmod9a.c: New file.
3490 * elf/tst-auditmod9b.c: New file.
3491 * elf/Makefile: Add rules to build and run tst-audit9.
3493 2014-02-25 Florian Weimer <fweimer@redhat.com>
3496 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3498 2014-02-25 Will Newton <will.newton@linaro.org>
3500 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3501 (__longjmp): Restore sp and lr before restoring callee
3502 saved registers. Add longjmp and longjmp_target
3503 SystemTap probe point.
3504 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3505 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3506 Define to zero to match jmpbuf layout.
3507 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3508 (__sigsetjmp): Save sp and lr before saving callee
3509 saved registers. Add setjmp SystemTap probe point.
3511 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3513 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3515 2014-02-24 Andreas Schwab <schwab@suse.de>
3518 * elf/pldd.c (wait_for_ptrace_stop): New function.
3519 (main): Call it after attaching.
3521 2014-02-22 Roland McGrath <roland@hack.frob.com>
3523 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3524 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3525 Versions files is now verboten.
3526 * hurd/Versions (libc: GLIBC_2.0):
3527 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3528 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3529 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3530 * mach/Versions: Likewise.
3532 * csu/Versions: Remove unused %include.
3533 * resolv/Versions: Likewise.
3535 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3537 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3538 ($(objpfx)check-local-headers.out): Likewise.
3539 ($(objpfx)begin-end-check.out): Likewise.
3540 * Makerules (check-abi-%.out): Likewise.
3541 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3542 ($(objpfx)test2.cat): Likewise.
3543 ($(objpfx)de/libc.cat): Likewise.
3544 ($(objpfx)test-gencat.out): Likewise.
3545 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3546 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3547 ($(objpfx)noload-mem): Likewise.
3548 ($(objpfx)tst-pathopt.out): Likewise.
3549 ($(objpfx)tst-rtld-load-self.out): Likewise.
3550 ($(objpfx)tst-array1-cmp.out): Likewise.
3551 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3552 ($(objpfx)tst-array2-cmp.out): Likewise.
3553 ($(objpfx)tst-array3-cmp.out): Likewise.
3554 ($(objpfx)tst-array4-cmp.out): Likewise.
3555 ($(objpfx)tst-array5-cmp.out): Likewise.
3556 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3557 ($(objpfx)check-textrel.out): Likewise.
3558 ($(objpfx)check-execstack.out): Likewise.
3559 ($(objpfx)check-localplt.out): Likewise.
3560 ($(objpfx)order2-cmp.out): Likewise.
3561 ($(objpfx)tst-leaks1-mem): Likewise.
3562 ($(objpfx)tst-leaks1-static-mem): Likewise.
3563 ($(objpfx)tst-initorder-cmp.out): Likewise.
3564 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3565 ($(objpfx)tst-unused-dep.out): Likewise.
3566 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3567 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3568 * iconv/Makefile (test-iconvconfig): Likewise.
3569 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3570 ($(objpfx)iconv-test.out): Likewise.
3571 ($(objpfx)tst-tables.out): Likewise.
3572 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3573 ($(objpfx)tst-gettext.out): Likewise.
3574 ($(objpfx)tst-translit.out): Likewise.
3575 ($(objpfx)tst-gettext2.out): Likewise.
3576 ($(objpfx)tst-gettext4.out): Likewise.
3577 ($(objpfx)tst-gettext6.out): Likewise.
3578 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3579 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3580 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3581 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3582 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3583 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3584 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3585 ($(objpfx)wordexp-tst.out): Likewise.
3586 ($(objpfx)annexc.out): Likewise.
3587 ($(objpfx)tst-fnmatch-mem): Likewise.
3588 ($(objpfx)bug-regex2-mem): Likewise.
3589 ($(objpfx)bug-regex14-mem): Likewise.
3590 ($(objpfx)bug-regex21-mem): Likewise.
3591 ($(objpfx)bug-regex31-mem): Likewise.
3592 ($(objpfx)tst-vfork3-mem): Likewise.
3593 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3594 ($(objpfx)tst-pcre-mem): Likewise.
3595 ($(objpfx)tst-boost-mem): Likewise.
3596 ($(objpfx)tst-getconf.out): Likewise.
3597 ($(objpfx)bug-ga2-mem): Likewise.
3598 ($(objpfx)bug-glob2-mem): Likewise.
3599 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3600 ($(objpfx)mtrace-tst-leaks2): Likewise.
3601 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3602 ($(objpfx)tst-printf.out): Likewise.
3603 ($(objpfx)tst-setvbuf1.out): Likewise.
3604 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3605 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3606 ($(objpfx)tst-fmtmsg.out): Likewise.
3607 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3608 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3610 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3611 * bits/sigaction.h [__USE_MISC]: Likewise.
3612 * bits/waitstatus.h: Update #endif comments.
3613 * ctype/ctype.h: Likewise.
3614 * dirent/dirent.h: Likewise.
3615 [__USE_MISC]: Remove redundant conditionals.
3616 * grp/grp.h: Update #endif comments.
3617 [__USE_GNU]: Remove redundant conditionals.
3618 [__USE_MISC]: Likewise.
3619 * inet/netinet/in.h [__USE_GNU]: Likewise.
3620 * io/sys/stat.h [__USE_MISC]: Likewise.
3621 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3622 * libio/bits/stdio.h: Update #endif comments.
3623 [__USE_MISC]: Remove redundant conditionals.
3624 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3625 * libio/stdio.h: Update #endif comments.
3626 [__USE_MISC]: Remove redundant conditionals.
3627 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3628 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3629 * math/math.h: Update #else and #endif comments.
3630 [__USE_MISC]: Remove redundant conditionals.
3631 * misc/sys/uio.h: Update #endif comments.
3632 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3633 * posix/glob.h [__USE_MISC]: Likewise.
3634 * posix/sys/types.h: Update #endif comments.
3635 [__USE_MISC]: Remove redundant conditionals.
3636 * posix/sys/wait.h: Update #endif comments.
3637 [__USE_MISC]: Remove redundant conditionals.
3638 * posix/unistd.h: Update #endif comments.
3639 [__USE_MISC]: Remove redundant conditionals.
3640 * pwd/pwd.h [__USE_GNU]: Likewise.
3641 [__USE_MISC]: Likewise.
3642 * resolv/netdb.h [__USE_GNU]: Likewise.
3643 * signal/signal.h: Update #endif comments.
3644 [__USE_MISC]: Remove redundant conditionals.
3645 * stdlib/stdlib.h: Update #else and #endif comments.
3646 [__USE_MISC]: Remove redundant conditionals.
3647 [__USE_GNU]: Likewise.
3648 * string/bits/string2.h [__USE_MISC]: Likewise.
3649 * string/string.h: Update #endif comments.
3650 [__USE_MISC]: Remove redundant conditionals.
3651 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3653 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3654 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3655 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3657 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3661 [__USE_MISC]: Remove redundant conditionals.
3662 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3663 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3664 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3665 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3666 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3668 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3669 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3671 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3672 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3674 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3676 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3677 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3679 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3681 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3682 * sysdeps/x86/bits/string.h: Update #endif comments.
3683 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3685 * time/sys/time.h: Update #endif comments.
3686 * time/time.h: Likewise.
3687 [__USE_MISC]: Remove redundant conditionals.
3689 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3692 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3694 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3696 * Versions.def (librt): Add GLIBC_2.17.
3698 2014-02-21 Adam Conrad <adconrad@0c3.net>
3700 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3701 synonym for _SYS_AUXV_H to allow direct inclusion.
3702 * sysdeps/sparc/bits/hwcap.h: Likewise.
3703 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3704 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3705 * sysdeps/sparc/sysdep.h: Likewise.
3707 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3709 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3711 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3713 * benchtests/bench-strrchr.c: Print length instead of position.
3715 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3718 * sysdeps/unix/sysv/linux/kernel-features.h
3719 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3720 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3721 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3722 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3724 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3725 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3726 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3727 (__ASSUME_SENDMMSG): Define instead of using previous
3728 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3729 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3730 (__ASSUME_SENDMMSG_SYSCALL): Define.
3731 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3732 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3734 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3735 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3737 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3738 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3740 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3741 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3742 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3743 [__ASSUME_SENDMMSG]: Change conditionals to
3744 [__ASSUME_SENDMMSG_SOCKETCALL].
3745 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3746 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3748 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3749 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3751 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3752 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3753 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3754 [!__ASSUME_SENDMMSG]: Change conditional to
3755 [!__ASSUME_SENDMMSG_SOCKETCALL].
3756 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3757 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3761 * sysdeps/unix/sysv/linux/kernel-features.h
3762 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3763 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3764 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3765 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3766 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3767 [__i386__ || __sparc__]
3768 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3769 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3770 (__ASSUME_RECVMMSG): Define instead of using previous
3771 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3772 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3773 (__ASSUME_RECVMMSG_SYSCALL): Define.
3774 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3775 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3777 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3780 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3781 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3783 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3784 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3785 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3786 [__ASSUME_RECVMMSG]: Change condition to
3787 [__ASSUME_RECVMMSG_SOCKETCALL].
3788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3789 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3791 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3792 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3793 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3795 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3796 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3797 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3798 [!__ASSUME_RECVMMSG]: Change condition to
3799 [!__ASSUME_RECVMMSG_SOCKETCALL].
3800 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3801 (__ASSUME_RECVMMSG_SYSCALL): Define.
3804 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3805 __powerpc__ || __s390__ || __sh__ || __sparc__]
3806 (__ASSUME_SOCKETCALL): Define.
3807 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3808 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3809 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3810 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3811 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3812 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3813 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3814 (__ASSUME_ACCEPT4): Define instead of using previous
3815 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3816 __powerpc__ || __sparc__ || __s390__)] condition.
3817 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3818 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3819 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3820 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3821 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3822 [!__ASSUME_ACCEPT4]: Change condition to
3823 [!__ASSUME_ACCEPT4_SOCKETCALL].
3824 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3825 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3826 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3827 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3828 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3829 __ASSUME_ACCEPT4_SYSCALL.
3830 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3831 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3832 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3833 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3834 __ASSUME_ACCEPT4_SYSCALL.
3835 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3836 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3837 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3838 [__ASSUME_ACCEPT4]: Change condition to
3839 [__ASSUME_ACCEPT4_SOCKETCALL].
3840 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3841 (__ASSUME_SOCKETCALL): Define.
3842 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3843 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3844 (__ASSUME_SOCKETCALL): Define.
3845 (__ASSUME_ACCEPT4): Remove.
3846 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3848 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3849 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3851 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3852 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3854 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3856 (HWCAP_ARM_LPAE): Likewise.
3857 (HWCAP_ARM_EVTSTRM): Likewise.
3858 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3859 Add vpfd32, lpae and evtstrm.
3860 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3863 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3865 * math/auto-libm-test-in: Add tests of clog10.
3866 * math/auto-libm-test-out: Regenerated.
3867 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3868 * sysdeps/i386/fpu/libm-test-ulps: Update.
3869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3871 2014-02-18 Andreas Schwab <schwab@suse.de>
3874 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3875 Store non-zero if the second buffer was newly allocated.
3876 (send_dg): Likewise.
3877 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3878 to send_vc and send_dg.
3879 (res_nsend): Pass NULL for ansp2_malloced.
3880 * resolv/res_query.c (__libc_res_nquery): Add parameter
3881 answerp2_malloced and pass it down to __libc_res_nsend.
3882 (res_nquery): Pass additional NULL to __libc_res_nquery.
3883 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3884 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3885 second answer buffer if answerp2_malloced was set.
3886 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3887 (__libc_res_nquerydomain): Add parameter
3888 answerp2_malloced and pass it down to __libc_res_nquery.
3889 (res_nquerydomain): Pass additional NULL to
3890 __libc_res_nquerydomain.
3891 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3892 additional NULL to __libc_res_nsend and __libc_res_nquery.
3893 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3894 additional NULL to __libc_res_nsearch.
3895 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3896 parameter of __libc_res_nsearch to check for separately allocated
3898 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3900 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3901 additional NULL to __libc_res_nquery.
3902 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3904 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3905 * include/resolv.h: Update prototypes of __libc_res_nquery,
3906 __libc_res_nsearch, __libc_res_nsend.
3908 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3910 * math/auto-libm-test-in: Add tests of fma.
3911 * math/auto-libm-test-out: Regenerated.
3912 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3913 (fma_towardzero_test_data): Likewise.
3914 (fma_downward_test_data): Likewise.
3915 (fma_upward_test_data): Likewise.
3916 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3918 (rounding_modes): Add values for new field.
3919 (func_calc_method): Add value mpfr_fff_f.
3920 (func_calc_desc): Add mpfr_fff_f union field.
3921 (test_function): Add field exact_args.
3922 (FUNC): Add macro argument EXACT_ARGS.
3923 (FUNC_mpfr_f_f): Update call to FUNC.
3924 (FUNC_mpfr_f_f): Likewise.
3925 (FUNC_mpfr_ff_f): Likewise.
3926 (FUNC_mpfr_if_f): Likewise.
3927 (FUNC_mpc_c_f): Likewise.
3928 (FUNC_mpc_c_c): Likewise.
3929 (test_functions): Add fma. Update calls to FUNC.
3930 (handle_input_arg): Add argument exact_args.
3931 (add_test): Update call to handle_input_arg.
3932 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3933 (output_for_one_input_case): Update call to calc_generic_results.
3934 Recalculate exact zero results in each rounding mode.
3936 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3937 non-negative before setting low bit.
3938 * math/auto-libm-test-in: Mark one asin test possibly having
3940 * math/auto-libm-test-out: Regenerated.
3941 * sysdeps/i386/fpu/libm-test-ulps: Update.
3942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3946 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3947 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3948 ports/sysdeps/unix/sysv/linux/microblaze.
3949 * README: Add missing listing for microblaze*-*-linux-gnu.
3951 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3953 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3954 * sysdeps/unix/sysv/linux/ia64: Move directory from
3955 ports/sysdeps/unix/sysv/linux/ia64.
3956 * README: Update listing for ia64-*-linux-gnu.
3958 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3959 Joseph Myers <joseph@codesourcery.com>
3961 * Makeconfig (test-name): New variable.
3962 (evaluate-test): Likewise.
3963 * Makerules (do-test-clean): Remove .test-result files.
3964 (common-mostlyclean): Likewise.
3965 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3966 * scripts/evaluate-test.sh: New file.
3968 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3970 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3971 separate $(objpfx)tst-fopenloc-cmp.out and
3972 $(objpfx)tst-fopenloc-mem.out targets.
3973 (tests): Update dependencies.
3974 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3975 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3976 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3977 (tst-rxspencer-no-utf8-ARGS): New variable.
3978 (tst-rxspencer-no-utf8-ENV): Likewise.
3979 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3980 instead of $(objpfx)tst-rxspencer-mem.
3981 ($(objpfx)tst-rxspencer-mem): Change target to
3982 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3983 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3984 * posix/tst-rxspencer-no-utf8.c: New file.
3986 * elf/Makefile ($(objpfx)order.out): Remove rule.
3987 [$(run-built-tests) = yes] (tests): Depend on
3988 $(objpfx)order-cmp.out.
3989 ($(objpfx)order-cmp.out): New rule.
3990 [$(run-built-tests) = yes] (tests): Depend on
3991 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3992 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3993 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3994 $(objpfx)tst-array5-static-cmp.out.
3995 ($(objpfx)tst-array1.out): Remove rule.
3996 ($(objpfx)tst-array1-cmp.out): New rule.
3997 ($(objpfx)tst-array1-static.out): Remove rule.
3998 ($(objpfx)tst-array1-static-cmp.out): New rule.
3999 ($(objpfx)tst-array2.out): Remove rule.
4000 ($(objpfx)tst-array2-cmp.out): New rule.
4001 ($(objpfx)tst-array3.out): Remove rule.
4002 ($(objpfx)tst-array3-cmp.out): New rule.
4003 ($(objpfx)tst-array4.out): Remove rule.
4004 ($(objpfx)tst-array4-cmp.out): New rule.
4005 ($(objpfx)tst-array5.out): Remove rule.
4006 ($(objpfx)tst-array5-cmp.out): New rule.
4007 ($(objpfx)tst-array5-static.out): Remove rule.
4008 ($(objpfx)tst-array5-static-cmp.out): New rule.
4009 [$(run-built-tests) = yes] (tests): Depend on
4010 $(objpfx)order2-cmp.out.
4011 ($(objpfx)order2.out): Remove rule.
4012 ($(objpfx)order2-cmp.out): New rule.
4013 ($(objpfx)tst-initorder.out): Remove rule.
4014 [$(run-built-tests) = yes] (tests): Depend on
4015 $(objpfx)tst-initorder-cmp.out.
4016 ($(objpfx)tst-initorder-cmp.out): New rule.
4017 ($(objpfx)tst-initorder2.out): Remove rule.
4018 [$(run-built-tests) = yes] (tests): Depend on
4019 $(objpfx)tst-initorder2-cmp.out.
4020 ($(objpfx)tst-initorder2-cmp.out): New rule.
4021 [$(run-built-tests) = yes] (tests): Depend on
4022 $(objpfx)tst-unused-dep-cmp.out.
4023 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4024 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4025 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4026 on $(objpfx)tst-setvbuf1-cmp.out.
4027 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4028 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4029 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4030 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4031 ($(objpfx)tst-svc.out): Remove rule.
4032 ($(objpfx)tst-svc-cmp.out): New rule.
4034 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4036 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4037 * ctype/ctype.h [__USE_MISC]: Likewise.
4038 * dirent/dirent.h [__USE_MISC]: Likewise.
4039 * grp/grp.h [__USE_MISC]: Likewise.
4040 * io/fcntl.h [__USE_MISC]: Likewise.
4041 * io/sys/stat.h [__USE_MISC]: Likewise.
4042 * libio/stdio.h [__USE_MISC]: Likewise.
4043 * posix/unistd.h [__USE_MISC]: Likewise.
4044 * pwd/pwd.h [__USE_MISC]: Likewise.
4045 * stdlib.h [__USE_MISC]: Likewise.
4046 * string/bits/string2.h [__USE_MISC]: Likewise.
4047 * string/string.h [__USE_MISC]: Likewise.
4048 * time/time.h [__USE_MISC]: Likewise.
4050 2014-02-13 Andreas Schwab <schwab@suse.de>
4053 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4054 second answer buffer if it was separately allocated.
4056 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4058 * sysdeps/mips/math-tests.h: Include <features.h>.
4059 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4060 (ROUNDING_TESTS_long_double): Do not define.
4061 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4062 (EXCEPTION_TESTS_long_double): Likewise.
4063 * sysdeps/mips/mips64/libm-test-ulps: Update.
4065 * include/features.h (__USE_BSD): Remove macro definitions.
4066 (__USE_SVID): Likewise.
4067 (_BSD_SOURCE): Likewise.
4068 (_SVID_SOURCE): Likewise.
4069 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4070 from definition of _DEFAULT_SOURCE.
4071 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4073 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4074 * bits/mman.h [__USE_BSD]: Likewise.
4075 * bits/termios.h [__USE_BSD]: Likewise.
4076 * bits/waitstatus.h [__USE_BSD]: Likewise.
4077 * ctype/ctype.h [__USE_SVID]: Likewise.
4078 * dirent/dirent.h [__USE_BSD]: Likewise.
4079 * grp/grp.h [__USE_SVID]: Likewise.
4080 [__USE_BSD]: Likewise.
4081 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4082 * io/fcntl.h [__USE_BSD]: Likewise.
4083 * io/ftw.h [__USE_BSD]: Likewise.
4084 * io/sys/stat.h [__USE_BSD]: Likewise.
4085 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4086 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4087 * libio/stdio.h [__USE_SVID]: Likewise.
4088 [__USE_BSD]: Likewise.
4089 * math/math.h [__USE_SVID]: Likewise.
4090 [__USE_BSD]: Likewise.
4091 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4092 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4093 * misc/search.h [__USE_SVID]: Likewise.
4094 * misc/sys/mman.h [__USE_BSD]: Likewise.
4095 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4096 * misc/sys/uio.h [__USE_BSD]: Likewise.
4097 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4098 * posix/glob.h [__USE_BSD]: Likewise.
4099 * posix/regex.h [__USE_BSD]: Likewise.
4100 * posix/sys/types.h [__USE_BSD]: Likewise.
4101 [__USE_SVID]: Likewise.
4102 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4103 * posix/sys/wait.h [__USE_BSD]: Likewise.
4104 [__USE_SVID]: Likewise.
4105 * posix/unistd.h [__USE_BSD]: Likewise.
4106 [__USE_SVID]: Likewise.
4107 * pwd/pwd.h [__USE_SVID]: Likewise.
4108 * resolv/netdb.h [__USE_BSD]: Likewise.
4109 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4110 * signal/signal.h [__USE_BSD]: Likewise.
4111 [__USE_SVID]: Likewise.
4112 * socket/sys/socket.h [__USE_BSD]: Likewise.
4113 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4114 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4115 [__USE_SVID]: Likewise.
4116 * string/bits/string2.h [__USE_BSD]: Likewise.
4117 [__USE_SVID]: Likewise.
4118 * string/bits/string3.h [__USE_BSD]: Likewise.
4119 * string/endian.h [__USE_BSD]: Likewise.
4120 * string/string.h [__USE_SVID]: Likewise.
4121 [__USE_BSD]: Likewise.
4122 * string/strings.h [__USE_BSD]: Likewise.
4123 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4124 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4125 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4126 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4127 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4128 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4132 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4133 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4135 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4136 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4138 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4140 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4141 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4142 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4144 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4146 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4147 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4148 * termios/termios.h [__USE_BSD]: Likewise.
4149 * time/sys/time.h [__USE_BSD]: Likewise.
4150 * time/time.h [__USE_BSD]: Likewise.
4151 [__USE_SVID]: Likewise.
4153 * Makefile (subdir_targets): Remove subdir_lint.out.
4155 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4156 (do-tst-printf): Likewise.
4157 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4158 $(objpfx)tst-printf.out.
4160 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4162 * Makerules (check-abi-%): Change target to
4163 $(objpfx)check-abi-%.out.
4164 (check-abi target): Update dependencies.
4165 (check-abi-pattern variable): Redirect output of diff to $@.
4166 (check-abi variable): Likewise.
4167 * elf/Makefile (check-abi): Update dependencies.
4169 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4171 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4172 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4174 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4175 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4176 value has largest subnormal exponent.
4177 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4178 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4179 * sysdeps/aarch64/soft-fp/sfp-machine.h
4180 (_FP_TININESS_AFTER_ROUNDING): New macro.
4181 * sysdeps/alpha/soft-fp/sfp-machine.h
4182 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4183 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4185 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4186 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4187 * sysdeps/mips/soft-fp/sfp-machine.h
4188 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4189 * sysdeps/powerpc/soft-fp/sfp-machine.h
4190 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4191 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4193 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4194 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4195 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4196 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4197 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4200 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4203 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4206 2014-02-12 Richard Henderson <rth@redhat.com>
4208 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4209 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4210 * sysdeps/unix/sysv/linux/alpha: Move directory from
4211 ports/sysdeps/unix/sysv/linux/alpha.
4212 * README: Update listing for alpha-*-linux-gnu.
4214 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4216 * include/features.h: Update comment documenting feature test
4218 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4220 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4221 (_SVID_SOURCE): Likewise.
4222 (_DEFAULT_SOURCE): Update description of default features.
4223 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4225 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4226 (S_ISVTX): Likewise.
4227 * manual/math.texi (Mathematical Constants): Likewise.
4228 * manual/signal.texi (Interrupted Primitives): Likewise.
4229 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4230 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4231 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4232 Don't refer to _SVID_SOURCE in warning text.
4234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4236 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4238 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4239 * sysdeps/mips/dl-lookup.c: Remove.
4240 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4242 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4245 * math/auto-libm-test-in: Add testcase for expl.
4246 * math/auto-libm-test-out: Regenerate.
4247 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4248 calculation of unsafe.
4249 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4251 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4253 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4254 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4255 ports/sysdeps/unix/sysv/linux/aarch64.
4256 * README: Update listing for aarch64*-*-linux-gnu.
4258 2014-02-11 Will Newton <will.newton@linaro.org>
4260 * manual/probes.texi (Mathematical Function Probes): Use
4261 "triggered" instead of "hit".
4263 * manual/probes.texi (Internal Probes): Add documentation
4264 of setjmp, longjmp and longjmp_target probes.
4266 * include/stap-probe.h: Add comment about probe argument
4269 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4270 definition. (tr_where, tr_freehook, tr_mallochook,
4271 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4273 2014-02-11 David S. Miller <davem@davemloft.net>
4275 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4276 processing int_tests.
4278 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4280 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4281 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4282 * sysdeps/unix/sysv/linux/mips: Move directory from
4283 ports/sysdeps/unix/sysv/linux/mips.
4284 * README: Update listing for mips-*-linux-gnu and
4287 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4289 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4290 * sysdeps/unix/sysv/linux/m68k: Move directory from
4291 ports/sysdeps/unix/sysv/linux/m68k.
4292 * README: Update listing for m68k-*-linux-gnu.
4294 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4296 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4297 * sysdeps/unix/sysv/linux/generic: Move directory from
4298 ports/sysdeps/unix/sysv/linux/generic.
4299 * sysdeps/unix/sysv/linux/tile: Move directory from
4300 ports/sysdeps/unix/sysv/linux/tile.
4301 * README: Update listing for tile*-*-linux-gnu.
4303 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4305 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4307 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4308 * catgets/open_catalog.c (__open_catalog): Likewise.
4309 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4310 * debug/confstr_chk.c: Likewise.
4311 * debug/fread_chk.c (__fread_chk): Likewise.
4312 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4313 * debug/getgroups_chk.c: Likewise.
4314 * debug/mbsnrtowcs_chk.c: Likewise.
4315 * debug/mbsrtowcs_chk.c: Likewise.
4316 * debug/mbstowcs_chk.c: Likewise.
4317 * debug/memcpy_chk.c: Likewise.
4318 * debug/memmove_chk.c: Likewise.
4319 * debug/mempcpy_chk.c: Likewise.
4320 * debug/memset_chk.c: Likewise.
4321 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4322 * debug/strcat_chk.c (__strcat_chk): Likewise.
4323 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4324 * debug/strncat_chk.c (__strncat_chk): Likewise.
4325 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4326 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4327 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4328 * debug/wcpncpy_chk.c: Likewise.
4329 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4330 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4331 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4332 * debug/wcsncpy_chk.c: Likewise.
4333 * debug/wcsnrtombs_chk.c: Likewise.
4334 * debug/wcsrtombs_chk.c: Likewise.
4335 * debug/wcstombs_chk.c: Likewise.
4336 * debug/wmemcpy_chk.c: Likewise.
4337 * debug/wmemmove_chk.c: Likewise.
4338 * debug/wmempcpy_chk.c: Likewise.
4339 * debug/wmemset_chk.c: Likewise.
4340 * dirent/scandirat.c (SCANDIRAT): Likewise.
4341 * dlfcn/dladdr1.c (dladdr1): Likewise.
4342 * dlfcn/dladdr.c (dladdr): Likewise.
4343 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4344 * dlfcn/dlerror.c (__dlerror): Likewise.
4345 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4346 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4347 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4348 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4349 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4350 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4351 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4352 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4354 * elf/dl-conflict.c: Likewise.
4355 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4356 * elf/dl-dst.h: Likewise.
4357 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4358 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4359 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4360 * elf/dl-init.c (call_init, _dl_init): Likewise.
4361 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4362 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4363 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4365 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4367 * elf/dl-minimal.c (__libc_memalign): Likewise.
4368 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4369 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4370 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4371 * elf/dl-sym.c (do_sym): Likewise.
4372 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4373 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4374 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4375 * elf/dl-writev.h (_dl_writev): Likewise.
4376 * elf/ldconfig.c (search_dir): Likewise.
4377 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4378 (dl_main): Likewise.
4379 * elf/setup-vdso.h (setup_vdso): Likewise.
4380 * grp/compat-initgroups.c (compat_call): Likewise.
4381 * grp/fgetgrent.c (fgetgrent): Likewise.
4382 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4383 * grp/putgrent.c (putgrent): Likewise.
4384 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4386 * hurd/hurdinit.c: Likewise.
4387 * iconvdata/8bit-gap.c (struct): Likewise.
4388 * iconvdata/ansi_x3.110.c : Likewise.
4389 * iconvdata/big5.c : Likewise.
4390 * iconvdata/big5hkscs.c : Likewise.
4391 * iconvdata/cp1255.c: Likewise.
4392 * iconvdata/cp1258.c : Likewise.
4393 * iconvdata/cp932.c : Likewise.
4394 * iconvdata/euc-cn.c: Likewise.
4395 * iconvdata/euc-jisx0213.c : Likewise.
4396 * iconvdata/euc-jp.c: Likewise.
4397 * iconvdata/euc-jp-ms.c : Likewise.
4398 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4399 * iconvdata/gb18030.c : Likewise.
4400 * iconvdata/gbbig5.c (const): Likewise.
4401 * iconvdata/gbgbk.c: Likewise.
4402 * iconvdata/gbk.c : Likewise.
4403 * iconvdata/ibm1364.c : Likewise.
4404 * iconvdata/ibm930.c : Likewise.
4405 * iconvdata/ibm932.c: Likewise.
4406 * iconvdata/ibm933.c : Likewise.
4407 * iconvdata/ibm935.c : Likewise.
4408 * iconvdata/ibm937.c : Likewise.
4409 * iconvdata/ibm939.c : Likewise.
4410 * iconvdata/ibm943.c: Likewise.
4411 * iconvdata/iso_11548-1.c: Likewise.
4412 * iconvdata/iso-2022-cn.c : Likewise.
4413 * iconvdata/iso-2022-cn-ext.c : Likewise.
4414 * iconvdata/iso-2022-jp-3.c: Likewise.
4415 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4416 * iconvdata/iso-2022-kr.c : Likewise.
4417 * iconvdata/iso646.c (gconv_end): Likewise.
4418 * iconvdata/iso_6937-2.c : Likewise.
4419 * iconvdata/iso_6937.c : Likewise.
4420 * iconvdata/iso8859-1.c: Likewise.
4421 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4422 * iconvdata/shift_jisx0213.c : Likewise.
4423 * iconvdata/sjis.c : Likewise.
4424 * iconvdata/t.61.c : Likewise.
4425 * iconvdata/tcvn5712-1.c : Likewise.
4426 * iconvdata/tscii.c: Likewise.
4427 * iconvdata/uhc.c : Likewise.
4428 * iconvdata/unicode.c (gconv_end): Likewise.
4429 * iconvdata/utf-16.c (gconv_end): Likewise.
4430 * iconvdata/utf-32.c (gconv_end): Likewise.
4431 * iconvdata/utf-7.c (base64): Likewise.
4432 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4433 * iconv/gconv_close.c (__gconv_close): Likewise.
4434 * iconv/gconv_open.c (__gconv_open): Likewise.
4435 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4436 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4437 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4438 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4439 (ucs4le_internal_loop_single): Likewise.
4440 * iconv/iconv.c (iconv): Likewise.
4441 * iconv/iconv_close.c: Likewise.
4442 * iconv/loop.c (SINGLE): Likewise.
4443 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4444 * include/atomic.h: Likewise.
4445 * inet/inet6_option.c (option_alloc): Likewise.
4446 * intl/bindtextdom.c (set_binding_values): Likewise.
4447 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4448 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4449 * intl/localealias.c (read_alias_file): Likewise.
4450 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4451 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4452 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4453 * libio/fmemopen.c (fmemopen): Likewise.
4454 * libio/iofgets.c (_IO_fgets): Likewise.
4455 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4456 * libio/iofgetws.c (fgetws): Likewise.
4457 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4458 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4459 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4460 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4461 * locale/findlocale.c (_nl_find_locale): Likewise.
4462 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4463 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4465 * locale/setlocale.c (setlocale): Likewise.
4466 * login/programs/pt_chown.c (main): Likewise.
4467 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4468 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4469 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4470 (mmap, mmap64, mremap, munmap): Likewise.
4471 * math/e_exp2l.c: Likewise.
4472 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4473 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4474 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4475 * math/s_catan.c (__catan): Likewise.
4476 * math/s_catanf.c (__catanf): Likewise.
4477 * math/s_catanh.c (__catanh): Likewise.
4478 * math/s_catanhf.c (__catanhf): Likewise.
4479 * math/s_catanhl.c (__catanhl): Likewise.
4480 * math/s_catanl.c (__catanl): Likewise.
4481 * math/s_ccosh.c (__ccosh): Likewise.
4482 * math/s_ccoshf.c (__ccoshf): Likewise.
4483 * math/s_ccoshl.c (__ccoshl): Likewise.
4484 * math/s_cexp.c (__cexp): Likewise.
4485 * math/s_cexpf.c (__cexpf): Likewise.
4486 * math/s_cexpl.c (__cexpl): Likewise.
4487 * math/s_clog10.c (__clog10): Likewise.
4488 * math/s_clog10f.c (__clog10f): Likewise.
4489 * math/s_clog10l.c (__clog10l): Likewise.
4490 * math/s_clog.c (__clog): Likewise.
4491 * math/s_clogf.c (__clogf): Likewise.
4492 * math/s_clogl.c (__clogl): Likewise.
4493 * math/s_csin.c (__csin): Likewise.
4494 * math/s_csinf.c (__csinf): Likewise.
4495 * math/s_csinh.c (__csinh): Likewise.
4496 * math/s_csinhf.c (__csinhf): Likewise.
4497 * math/s_csinhl.c (__csinhl): Likewise.
4498 * math/s_csinl.c (__csinl): Likewise.
4499 * math/s_csqrt.c (__csqrt): Likewise.
4500 * math/s_csqrtf.c (__csqrtf): Likewise.
4501 * math/s_csqrtl.c (__csqrtl): Likewise.
4502 * math/s_ctan.c (__ctan): Likewise.
4503 * math/s_ctanf.c (__ctanf): Likewise.
4504 * math/s_ctanh.c (__ctanh): Likewise.
4505 * math/s_ctanhf.c (__ctanhf): Likewise.
4506 * math/s_ctanhl.c (__ctanhl): Likewise.
4507 * math/s_ctanl.c (__ctanl): Likewise.
4508 * math/w_pow.c: Likewise.
4509 * math/w_powf.c: Likewise.
4510 * math/w_powl.c: Likewise.
4511 * math/w_scalb.c (sysv_scalb): Likewise.
4512 * math/w_scalbf.c (sysv_scalbf): Likewise.
4513 * math/w_scalbl.c (sysv_scalbl): Likewise.
4514 * misc/error.c (error_tail): Likewise.
4515 * misc/pselect.c (__pselect): Likewise.
4516 * nis/nis_callback.c (__nis_create_callback): Likewise.
4517 * nis/nis_call.c (__nisfind_server): Likewise.
4518 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4519 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4520 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4521 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4522 * nis/nis_lookup.c (nis_lookup): Likewise.
4523 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4524 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4525 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4526 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4527 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4528 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4529 * nis/nss_compat/compat-initgroups.c (add_group)
4530 (internal_getgrent_r): Likewise.
4531 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4532 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4533 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4534 (internal_getspnam_r): Likewise.
4535 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4536 (_nss_nis_getaliasbyname_r): Likewise.
4537 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4538 (_nss_nis_getntohost_r): Likewise.
4539 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4540 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4541 (_nss_nis_getgrgid_r): Likewise.
4542 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4543 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4544 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4545 (_nss_nis_gethostbyname4_r): Likewise.
4546 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4547 (initgroups_netid): Likewise.
4548 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4549 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4550 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4551 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4552 (_nss_nis_getprotobynumber_r): Likewise.
4553 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4554 (_nss_nis_getsecretkey): Likewise.
4555 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4556 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4557 (_nss_nis_getpwuid_r): Likewise.
4558 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4559 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4560 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4561 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4562 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4563 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4564 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4566 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4567 (_nss_nisplus_getntohost_r): Likewise.
4568 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4569 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4570 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4571 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4573 * nis/nss_nisplus/nisplus-initgroups.c
4574 (_nss_nisplus_initgroups_dyn): Likewise.
4575 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4576 (_nss_nisplus_getnetbyaddr_r): Likewise.
4577 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4578 (_nss_nisplus_getprotobynumber_r): Likewise.
4579 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4580 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4581 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4583 * nis/nss_nisplus/nisplus-service.c
4584 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4585 (_nss_nisplus_getservbyport_r): Likewise.
4586 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4587 (_nss_nisplus_getspnam_r): Likewise.
4588 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4590 * nscd/aicache.c (addhstaiX): Likewise.
4591 * nscd/cache.c (cache_search, prune_cache): Likewise.
4592 * nscd/connections.c (register_traced_file, send_ro_fd)
4593 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4594 (main_loop_epoll): Likewise.
4595 * nscd/grpcache.c (addgrbyX): Likewise.
4596 * nscd/hstcache.c (addhstbyX): Likewise.
4597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4598 * nscd/mem.c (gc, mempool_alloc): Likewise.
4599 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4600 (addinnetgrX): Likewise.
4601 * nscd/nscd-client.h (__nscd_acquire_maplock)
4602 (__nscd_drop_map_ref): Likewise.
4603 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4604 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4605 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4607 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4609 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4610 (__nscd_get_map_ref): Likewise.
4611 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4612 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4614 * nscd/pwdcache.c (addpwbyX): Likewise.
4615 * nscd/selinux.c (preserve_capabilities): Likewise.
4616 * nscd/servicescache.c (addservbyX): Likewise.
4617 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4618 * posix/fnmatch.c (fnmatch): Likewise.
4619 * posix/getopt.c (_getopt_internal_r): Likewise.
4620 * posix/glob.c (glob, glob_in_dir): Likewise.
4621 * posix/wordexp.c (exec_comm_child): Likewise.
4622 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4623 (getanswer_r, gaih_getanswer_slice): Likewise.
4624 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4625 * resolv/res_init.c: Likewise.
4626 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4627 * resolv/res_query.c (__libc_res_nquery): Likewise.
4628 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4630 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4631 * stdio-common/perror.c (perror): Likewise.
4632 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4633 * stdio-common/tmpnam.c (tmpnam): Likewise.
4634 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4635 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4636 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4638 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4639 * stdlib/putenv.c (putenv): Likewise.
4640 * stdlib/setenv.c (__add_to_environ): Likewise.
4641 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4642 * stdlib/strtol_l.c (INTERNAL): Likewise.
4643 * string/memmem.c (memmem): Likewise.
4644 * string/strerror.c (strerror): Likewise.
4645 * string/strnlen.c (__strnlen): Likewise.
4646 * string/test-memmem.c (simple_memmem): Likewise.
4647 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4648 * sunrpc/pm_getport.c (__get_socket): Likewise.
4649 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4650 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4651 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4652 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4654 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4655 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4656 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4657 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4658 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4659 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4661 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4663 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4664 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4665 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4666 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4667 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4669 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4670 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4671 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4672 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4673 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4674 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4676 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4678 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4680 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4682 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4683 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4684 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4685 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4686 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4693 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4697 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4699 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4701 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4703 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4705 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4707 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4708 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4709 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4710 * sysdeps/posix/sleep.c: Likewise.
4711 * sysdeps/posix/tempname.c: Likewise.
4712 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4713 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4715 * sysdeps/powerpc/powerpc32/dl-machine.h
4716 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4717 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4719 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4720 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4722 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4724 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4725 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4726 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4727 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4728 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4729 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4730 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4731 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4733 (elf_machine_lazy_rel): Likewise.
4734 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4736 (elf_machine_lazy_rel): Likewise.
4737 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4738 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4739 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4740 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4741 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4742 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4743 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4744 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4746 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4747 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4748 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4749 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4750 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4751 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4752 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4753 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4754 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4755 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4756 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4758 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4759 (__posix_fallocate64_l64): Likewise.
4760 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4761 (posix_fallocate): Likewise.
4762 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4765 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4766 (getifaddrs_internal): Likewise.
4767 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4768 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4769 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4770 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4771 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4772 (__posix_fallocate64_l64): Likewise.
4773 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4775 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4776 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4777 (__get_clockfreq): Likewise.
4778 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4779 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4780 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4783 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4784 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4785 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4787 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4788 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4789 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4790 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4791 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4792 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4793 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4795 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4796 (posix_fallocate): Likewise.
4797 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4798 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4799 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4800 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4801 (elf_machine_rela, elf_machine_rela_relative)
4802 (elf_machine_lazy_rel): Likewise.
4803 * time/asctime.c (asctime_internal): Likewise.
4804 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4805 * time/tzset.c (__tzset_parse_tz): Likewise.
4806 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4807 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4808 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4809 * wcsmbs/wcsmbsload.h: Likewise.
4812 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4814 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4815 (arena_get2): Remove THREAD_STATS conditionals.
4816 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4817 (__malloc_stats, int): Likewise.
4819 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4821 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4822 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4824 * manual/setjmp.texi: Fix typos/grammar errors.
4826 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4827 Only return early when n is <= 0. Delete unused return statement.
4829 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4830 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4831 * debug/tst-longjmp_chk3.c: New file.
4833 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4834 (test_main): Replace code with set_fortify_handler call.
4835 * debug/test-strcpy_chk.c: Likewise.
4836 * debug/tst-chk1.c: Likewise.
4837 * debug/tst-longjmp_chk.c: Likewise.
4838 * test-skeleton.c: Include fcntl.h & paths.h
4839 (set_fortify_handler): Define.
4841 * debug/tst-longjmp_chk.c: Add header comment and include
4843 (do_test): Mark static.
4844 (TEST_FUNCTION): Define.
4846 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4847 (IP_PMTUDISC_INTERFACE): Likewise.
4848 (IP_MULTICAST_IF): Likewise.
4849 (IP_MULTICAST_TTL): Likewise.
4850 (IP_MULTICAST_LOOP): Likewise.
4851 (IP_ADD_MEMBERSHIP): Likewise.
4852 (IP_DROP_MEMBERSHIP): Likewise.
4853 (IP_UNBLOCK_SOURCE): Likewise.
4854 (IP_BLOCK_SOURCE): Likewise.
4855 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4856 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4857 (IP_MSFILTER): Likewise.
4858 (MCAST_JOIN_GROUP): Likewise.
4859 (MCAST_BLOCK_SOURCE): Likewise.
4860 (MCAST_UNBLOCK_SOURCE): Likewise.
4861 (MCAST_LEAVE_GROUP): Likewise.
4862 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4863 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4864 (MCAST_MSFILTER): Likewise.
4865 (IP_MULTICAST_ALL): Likewise.
4866 (IP_UNICAST_IF): Likewise.
4868 * timezone/Makefile: Delete $(have-ksh) check.
4869 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4870 * timezone/tzselect.ksh: Add +x mode bits.
4872 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4873 (ANON_INODE_FS_MAGIC): Likewise.
4874 (BDEVFS_MAGIC): Likewise.
4875 (BINFMTFS_MAGIC): Likewise.
4876 (BTRFS_TEST_MAGIC): Likewise.
4877 (CRAMFS_MAGIC_WEND): Likewise.
4878 (DEBUGFS_MAGIC): Likewise.
4879 (ECRYPTFS_SUPER_MAGIC): Likewise.
4880 (EXT3_SUPER_MAGIC): Likewise.
4881 (EXT4_SUPER_MAGIC): Likewise.
4882 (FUTEXFS_SUPER_MAGIC): Likewise.
4883 (HOSTFS_SUPER_MAGIC): Likewise.
4884 (HUGETLBFS_MAGIC): Likewise.
4885 (MINIX3_SUPER_MAGIC): Likewise.
4886 (MTD_INODE_FS_MAGIC): Likewise.
4887 (NILFS_SUPER_MAGIC): Likewise.
4888 (OPENPROM_SUPER_MAGIC): Likewise.
4889 (PIPEFS_MAGIC): Likewise.
4890 (PSTOREFS_MAGIC): Likewise.
4891 (QNX6_SUPER_MAGIC): Likewise.
4892 (RAMFS_MAGIC): Likewise.
4893 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4894 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4895 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4896 (SECURITYFS_MAGIC): Likewise.
4897 (SELINUX_MAGIC): Likewise.
4898 (SMACK_MAGIC): Likewise.
4899 (SOCKFS_MAGIC): Likewise.
4900 (SQUASHFS_MAGIC): Likewise.
4901 (STACK_END_MAGIC): Likewise.
4902 (TMPFS_MAGIC): Likewise.
4903 (USBDEVICE_SUPER_MAGIC): Likewise.
4904 (V9FS_MAGIC): Likewise.
4905 (XENFS_SUPER_MAGIC): Likewise.
4906 (CRAMFS_MAGIC): Fix typo in comment.
4907 (EXT2_SUPER_MAGIC): Update comment.
4908 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4910 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4912 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4913 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4914 * sysdeps/unix/sysv/linux/arm: Move directory from
4915 ports/sysdeps/unix/sysv/linux/arm.
4916 * README: Update listing for arm-*-linux-gnueabi.
4918 * README: Remove mention of am33.
4920 2014-02-07 Roland McGrath <roland@hack.frob.com>
4922 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4923 than the comma operator, to avoid "rhs of comma has no effect"
4925 (__sigfillset, __sigandset, __sigorset): Likewise.
4926 * include/signal.h (__sigemptyset): Likewise.
4927 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4929 2014-02-07 Allan McRae <allan@archlinux.org>
4931 * version.h (RELEASE): Set to "development".
4932 (VERSION): Set to "2.19.90"
4933 * NEWS: Add 2.20 section.
4935 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4938 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4940 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4942 * manual/contrib.texi: Update entry for Carlos O'Donell,
4943 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4945 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4947 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4949 * sysdeps/unix/sysv/linux/kernel-features.h
4950 [__LINUX_KERNEL_VERSION >= 0x020621]
4951 (__ASSUME_PROC_PID_TASK_COMM): Define.
4953 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4956 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4957 conversion when destination buffer does not have enough space.
4958 * libio/tst-ftell-partial-wide.c: New test case.
4959 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4961 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4962 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4963 Leonard and Allan McRae.
4965 2014-02-04 David S. Miller <davem@davemloft.net>
4967 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4970 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4999 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5001 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5002 * shlib-versions: Likewise.
5004 2014-02-04 Roland McGrath <roland@hack.frob.com>
5005 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5007 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5008 (abilist-pattern): New variable, set to %-le.abilist.
5010 * Makerules (abilist-pattern): New variable.
5011 (vpath): Use $(abilist-pattern) in place of %.abilist.
5012 (check-abi-% pattern rule): Likewise.
5013 (check-abi, update-abi): Likewise.
5015 2014-02-04 Eric Wong <normalperson@yhbt.net>
5017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5019 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5021 * manual/startup.texi: Add next, previous, and top entries for
5022 the `Program Arguments' and `Environment Variables' nodes.
5024 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5026 * manual/macros.texi: Add comments before MTASC-safety macros.
5028 * manual/users.texi: Document MTASC-safety properties.
5030 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5031 (pthread_getspecific, pthread_setspecific): Format with
5032 @deftypefun, and add @safety note.
5033 * manual/signal.texi: Move comments that analyze the above
5034 functions to their home place.
5036 2014-02-03 Allan McRae <allan@archlinux.org>
5038 * po/sl.po: Update Slovenian translation from translation project.
5040 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5042 * manual/time.texi (timegm): Add missing blank after @c.
5043 Reported by Joseph Myers <joseph@codesourcery.com>.
5045 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5047 * manual/check-safety.sh: New.
5048 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5050 * manual/terminal.texi: Document MTASC-safety properties.
5052 * manual/filesys.texi: Document MTASC-safety properties.
5054 * manual/errno.texi: Document MTASC-safety properties.
5056 * manual/intro.texi: Document safety identifiers and
5059 * manual/string.texi (wcstok): Fix prototype.
5060 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5062 * manual/time.texi: Document MTASC-safety properties.
5064 * manual/string.texi: Document MTASC-safety properties.
5066 * manual/threads.texi: Document MTASC-safety properties.
5068 * manual/stdio.texi: Document MTASC-safety properties.
5070 * manual/syslog.texi: Document MTASC-safety properties.
5072 * manual/sysinfo.texi: Document MTASC-safety properties.
5074 * manual/startup.texi: Document MTASC-safety properties.
5076 * manual/socket.texi: Document MTASC-safety properties.
5078 * manual/signal.texi: Document MTASC-safety properties.
5080 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5082 * manual/setjmp.texi: Document MTASC-safety properties.
5084 * manual/search.texi: Document MTASC-safety properties.
5086 * manual/resource.texi: Document MTASC-safety properties.
5088 * manual/process.texi: Document MTASC-safety properties.
5090 * manual/platform.texi: Document MTASC-safety properties.
5092 * manual/pipe.texi: Document MTASC-safety properties.
5094 * manual/pattern.texi: Document MTASC-safety properties.
5096 * manual/message.texi: Document MTASC-safety properties.
5099 * manual/memory.texi: Document MTASC-safety properties.
5101 * manual/math.texi: Document MTASC-safety properties.
5103 * manual/locale.texi: Document MTASC-safety properties.
5105 * manual/llio.texi: Document MTASC-safety properties.
5107 * manual/libdl.texi: New.
5109 * manual/lang.texi: Document MTASC-safety properties.
5111 * manual/job.texi: Document MTASC-safety properties.
5113 * manual/getopt.texi: Document MTASC-safety properties.
5115 * manual/ctype.texi: Document MTASC-safety properties.
5117 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5120 * csu/libc-tls.c (static_map): Remove variable.
5121 (__libc_setup_tls): Use main executable's link map for TLS data.
5122 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5123 casing for LM_ID_BASE and GL(dl_nns).
5124 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5125 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5126 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5127 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5128 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5130 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5133 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5135 * manual/debug.texi: Document MTASC-safety properties.
5137 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5140 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5141 of __x86_64__ when disabling x87 inline functions.
5143 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5145 * manual/charset.texi: Document MTASC-safety properties.
5147 * manual/crypt.texi: Document MTASC-safety properties.
5149 * manual/conf.texi: Document MTASC-safety properties.
5151 * manual/arith.texi: Document MTASC-safety properties.
5153 * manual/argp.texi: Document MTASC-safety properties.
5155 * manual/macros.texi: Introduce macros to document multi
5156 thread, asynchronous signal and asynchronous cancellation
5158 * manual/intro.texi: Introduce the properties themselves.
5160 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5162 * sysdeps/sh/sh4/Makefile: New file.
5164 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5166 * math/gen-libm-test.pl ($srcdir): New variable.
5167 ($auto_input): Use it.
5169 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5172 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5173 access beyond array bounds when parsing netgroups file.
5175 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5176 the old buffer before realloc.
5178 2014-01-27 Allan McRae <allan@archlinux.org>
5180 * po/fr.po: Update French translation from translation project.
5182 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5184 * sysdeps/sh/libm-test-ulps: Regenerate.
5186 2014-01-24 David S. Miller <davem@davemloft.net>
5188 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5190 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5192 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5193 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5195 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5198 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5199 string pointers after reallocation.
5201 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5203 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5204 __SH4A__ instead of __SH_FPU_ANY__.
5206 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5208 * sysdeps/sh/fpu_control.h: New file.
5209 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5210 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5211 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5212 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5213 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5214 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5215 * sysdeps/sh/sys/ucontext.h: Remove.
5216 * sysdeps/sh/sys: Remove directory.
5218 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5220 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5221 s390/sys/ucontext.h.
5222 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5223 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5225 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5228 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5230 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5233 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5234 Adjust the vDSO correctly for internal calls.
5235 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5237 2014-01-20 Allan McRae <allan@archlinux.org>
5239 * po/ca.po: Update Catalan translation from translation project.
5241 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5243 * sysdeps/s390/sotruss-lib.c: New file.
5245 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5248 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5249 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5250 local calls issues by not having a PLT stub required for IFUNC calls.
5251 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5253 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5255 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5256 * math/test-fpucw-static.c: Likewise.
5258 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5261 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5263 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5265 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5266 implementation for powerpc.
5268 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5271 * sysdeps/posix/system.c (__libc_system): Do not enable
5272 asynchronous cancellation.
5274 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5277 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5278 handling only for numbers special also in the IEEE case.
5280 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5282 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5284 2014-01-11 Allan McRae <allan@archlinux.org>
5286 * po/bg.po: Update Bulgarian translation from translation project.
5288 * po/de.po: Update German translation from translation project.
5290 2014-01-10 Roland McGrath <roland@hack.frob.com>
5292 * sysdeps/generic/gcc-compat.h: New file.
5294 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5296 * benchtests/asin-inputs: Correct slow inputs.
5297 * benchtests/acos-inputs: Likewise.
5299 2014-01-10 Allan McRae <allan@archlinux.org>
5301 * po:sv.po: Update Swedish translation from translation project.
5303 * po/vi.po: Update Vietnamese translation from translation project.
5305 * po/eo.po: Update Esperanto translation from translation project.
5307 * po/cs.po: Update Czech translation from translation project.
5309 * po/nl.po: Update Dutch translation from translation project.
5311 * po/pl.po: Update Polish translation from translation project.
5313 * po/ru.po: Update Russian translation from translation project.
5315 * po/uk.po: Update Ukrainian translation from translation project.
5317 2014-01-08 Brooks Moses <bmoses@google.com>
5319 * elf/dl-load.c: Fix comment typo.
5321 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5323 * po/header.pot: Rename to...
5324 * po/pot.header: ... this.
5325 * po/Makefile: Use pot.header.
5327 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5328 Maxim Kuvyrkov <maxim@kugelworks.com>
5331 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5332 SRC and DEST against LEN.
5334 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5337 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5339 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5341 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5345 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5348 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5349 for large positive arguments.
5351 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5353 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5355 * math/auto-libm-test-in: Mark various tests with
5356 xfail-rounding:ldbl-128ibm.
5357 * math/auto-libm-test-out: Regenerated.
5360 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5361 Increase overflow threshold.
5363 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5366 * stdio-common/vfprintf.c: Check for integer overflow.
5368 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5370 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5371 the first argument and return value of __tls_get_addr_internal.
5373 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5375 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5376 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5378 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5380 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5381 * sysdeps/s390/rtld-global-offsets.sym: New file.
5382 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5384 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5385 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5386 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5388 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5389 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5395 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5396 halfs of GPRs for high_gprs contexts.
5397 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5398 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5400 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5402 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5404 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5405 for high GPRs (uc_high_gprs) and for future extensions
5407 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5408 for future extensions (__reserved).
5409 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5411 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5412 SC_HIGHGPRS offset definition.
5413 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5414 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5416 * Versions.def: Add GLIBC_2.19 for libpthread.
5417 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5418 siglongjmp for libpthread with GLIBC_2.19 symver.
5419 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5420 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5421 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5422 * sysdeps/s390/__longjmp.c: New file.
5423 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5424 * sysdeps/s390/longjmp.c: New file.
5425 * sysdeps/s390/setjmp.S: New file.
5426 * sysdeps/s390/sigjmp.S: New file.
5427 * sysdeps/s390/v1-longjmp.c: New file.
5428 * sysdeps/s390/v1-setjmp.h: New file.
5429 * sysdeps/s390/v1-sigjmp.c: New file.
5430 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5431 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5433 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5434 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5435 versioned symbols for ____longjmp_chk.
5436 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5446 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5447 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5448 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5449 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5450 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5451 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5452 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5453 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5454 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5455 * sysdeps/s390/rtld-__longjmp.c: New file.
5456 * sysdeps/s390/rtld-setjmp.S: New file.
5458 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5462 Return -__logl (x) for small positive arguments without evaluating
5465 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5467 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5469 (__ptrace_peeksiginfo_args): ... this.
5470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5471 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5474 2014-01-06 Allan McRae <allan@archlinux.org>
5476 * inet/netinet/in.h: Fix typo in comment.
5478 2014-01-05 Andreas Jaeger <aj@suse.de>
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5482 2014-01-05 Allan McRae <allan@archlinux.org>
5484 * po/libc.pot: Regenerated.
5486 * malloc/memusagestat.c: Fix gettext call formatting.
5488 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5490 * nscd/nscd.c: Improve usage() output.
5492 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5494 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5495 * sysdeps/unix/sysv/linux/configure: Regenerated.
5496 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5497 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5499 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5502 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5503 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5505 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5508 extra tokens at end of #undef directive.
5509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5510 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5511 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5513 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5515 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5517 * math/auto-libm-test-in: Mark various tests with
5518 xfail-rounding:ldbl-128ibm.
5519 * math/auto-libm-test-out: Regenerated.
5521 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5524 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5525 numbers with subnormal high part when calculating exponent.
5528 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5532 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5534 (__ieee754_acoshl): Use __log1pl not __log1p.
5536 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5538 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5539 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5540 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5541 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5542 (reused_arena, arena_get2): Convert to GNU style.
5543 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5544 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5545 (memalign_check, __malloc_set_state): Likewise.
5546 * malloc/mallocbug.c (main): Likewise.
5547 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5548 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5549 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5550 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5551 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5552 (__posix_memalign, malloc_info): Likewise.
5553 * malloc/malloc.h: Likewise.
5554 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5555 (mallochook, memalignhook, reallochook, mabort): Likewise.
5556 * malloc/mcheck.h: Likewise.
5557 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5558 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5559 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5560 * malloc/morecore.c (__default_morecore): Likewise.
5561 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5562 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5563 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5564 (print_and_abort): Likewise.
5565 * malloc/obstack.h: Likewise.
5566 * malloc/set-freeres.c (__libc_freeres): Likewise.
5567 * malloc/tst-mallocstate.c (main): Likewise.
5568 * malloc/tst-mtrace.c (main): Likewise.
5569 * malloc/tst-realloc.c (do_test): Likewise.
5571 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5574 * nscd/netgroupcache.c (do_notfound): New function.
5575 (addgetnetgrentX): Use it.
5578 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5579 NSS_STATUS_NOTFOUND.
5581 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5583 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5586 2014-01-01 Allan McRae <allan@archlinux.org>
5588 * scripts/update-copyrights: Update configure input file suffix.
5590 * NEWS: Update copyright year.
5591 * catgets/gencat.c: Likewise.
5592 * csu/version.c: Likewise.
5593 * debug/catchsegv.sh: Likewise.
5594 * debug/pcprofiledump.c: Likewise.
5595 * debug/xtrace.sh: Likewise.
5596 * elf/ldconfig.c: Likewise.
5597 * elf/ldd.bash.in: Likewise.
5598 * elf/pldd.c: Likewise.
5599 * elf/sotruss.ksh: Likewise.
5600 * elf/sprof.c: Likewise.
5601 * iconv/iconv_prog.c: Likewise.
5602 * iconv/iconvconfig.c: Likewise.
5603 * locale/programs/locale.c: Likewise.
5604 * locale/programs/localedef.c: Likewise.
5605 * login/programs/pt_chown.c: Likewise.
5606 * malloc/memusage.sh: Likewise.
5607 * malloc/memusagestat.c: Likewise.
5608 * malloc/mtrace.pl: Likewise.
5609 * manual/libc.texinfo: Likewise.
5610 * nscd/nscd.c: Likewise.
5611 * nss/getent.c: Likewise.
5612 * nss/makedb.c: Likewise.
5613 * posix/getconf.c: Likewise.
5614 * scripts/test-installation.pl: Likewise.
5616 * All files with FSF copyright notices: Update copyright dates
5617 using scripts/update-copyrights.
5618 * intl/plural.c: Regenerated.
5619 * locale/programs/charmap-kw.h: Likewise.
5620 * locale/programs/locfile-kw.h: Likewise.
5622 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5624 * sysdeps/unix/sysv/linux/configure: Regenerated.
5625 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5626 the linux/fanotify.h header.
5627 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5628 HAVE_LINUX_FANOTIFY_H is defined.
5630 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5632 * benchtests/cos-inputs: New inputs.
5633 * benchtests/sin-inputs: Likewise.
5635 * benchtests/atan-inputs: New inputs. Fix name of multiple
5636 precision fallback inputs.
5638 * benchtests/atanh-inputs: New inputs.
5639 * benchtests/tanh-inputs: Likewise.
5641 * benchtests/acosh-inputs: New inputs.
5642 * benchtests/asinh-inputs: Likewise.
5644 * benchtests/cosh-inputs: New inputs.
5645 * benchtests/sinh-inputs: Likewise.
5647 * benchtests/acos-inputs: Add more inputs.
5648 * benchtests/asin-inputs: Likewise.
5650 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5653 * manual/arith.texi: Fix spelling.
5654 * manual/charset.texi: Likewise.
5655 * manual/errno.texi: Likewise.
5656 * manual/filesys.texi: Likewise.
5657 * manual/lang.texi: Likewise.
5658 * manual/llio.texi: Likewise.
5659 * manual/locale.texi: Likewise.
5660 * manual/message.texi: Likewise.
5661 * manual/resource.texi: Likewise.
5662 * manual/search.texi: Likewise.
5663 * manual/setjmp.texi: Likewise.
5664 * manual/stdio.texi: Likewise.
5665 * manual/string.texi: Likewise.
5666 * manual/sysinfo.texi: Likewise.
5667 * manual/time.texi: Likewise.
5669 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5671 * po/sl.po: New file.
5673 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5675 * .gitignore: Add core/.gdbinit/.gdb_history.
5677 2013-12-27 Allan McRae <allan@archlinux.org>
5680 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5681 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5683 2013-12-24 Brooks Moses <bmoses@google.com>
5685 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5686 all compilers that claim C++98 compliance, not just GCC.
5687 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5690 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5692 * NEWS: Restore accidentally deleted bug-fix entries.
5694 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5695 Ondřej Bílka <neleai@seznam.cz>
5698 * malloc/malloc.c (_int_free): Perform sanity check only if we
5701 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5704 * manual/stdio.texi (String Input Conversions): Clarify that character
5705 classes are not supported.
5707 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5711 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5714 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5715 Calculate results for small negative arguments directly rather
5716 than using reflection formula with special underflow handling.
5718 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5719 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5720 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5721 (fchflags): Likewise.
5723 (setlogin): Likewise.
5724 (sigaltstack): Likewise.
5727 (sigsetmask): Likewise.
5729 (waitpid): Likewise.
5730 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5731 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5733 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5734 * sysdeps/unix/bsd/Makefile: ... here.
5735 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5736 * sysdeps/unix/bsd/Versions: ... here.
5737 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5738 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5739 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5740 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5741 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5742 * sysdeps/unix/bsd/sigblock.c: ... here.
5743 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5744 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5745 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5746 * sysdeps/unix/bsd/sigvec.c: ... here.
5747 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5748 * sysdeps/unix/bsd/tcdrain.c: ... here.
5749 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5750 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5751 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5752 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5753 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5754 * sysdeps/unix/bsd/wait.c: ... here.
5755 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5756 * sysdeps/unix/bsd/wait3.c: ... here.
5757 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5758 * sysdeps/unix/bsd/waitpid.c: ... here.
5760 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5764 round-to-nearest for [!USE_AS_EXPM1L].
5765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5766 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5767 more tests of exp and exp10. Expect some exp10 tests to miss
5768 exceptions or fail in directed rounding modes.
5769 * math/auto-libm-test-out: Regenerated.
5770 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5771 (exp10_test_tonearest): New function.
5772 (exp10_towardzero_test_data): New array.
5773 (exp10_test_towardzero): New function.
5774 (exp10_downward_test_data): New array.
5775 (exp10_test_downward): New function.
5776 (exp10_upward_test_data): New array.
5777 (exp10_test_upward): New function.
5778 (main): Call the new functions.
5779 * sysdeps/i386/fpu/libm-test-ulps: Update.
5780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5784 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5785 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5786 * math/auto-libm-test-out: Regenerated.
5787 * math/libm-test.inc (acosh_test_data): Add more tests.
5788 (atanh_test_data): Likewise.
5789 (ceil_test_data): Likewise.
5790 (copysign_test_data): Likewise.
5791 * sysdeps/i386/fpu/libm-test-ulps: Update.
5792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5794 * timezone/checktab.awk: Update from tzcode 2013i.
5795 * timezone/private.h: Likewise.
5796 * timezone/scheck.c: Likewise.
5797 * timezone/tzfile.h: Likewise.
5798 * timezone/tzselect.ksh: Likewise.
5799 * timezone/zdump.c: Likewise.
5800 * timezone/zic.c: Likewise.
5802 * math/auto-libm-test-in: Add tests of cpow.
5803 * math/auto-libm-test-out: Regenerated.
5804 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5807 (func_calc_desc): Add mpc_cc_c union field.
5808 (test_functions): Add cpow.
5809 (special_fill_2pi): New function.
5810 (special_real_inputs): Add 2pi.
5811 (calc_generic_results): Handle mpc_cc_c.
5812 * sysdeps/i386/fpu/libm-test-ulps: Update.
5813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5815 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5816 csqrt, ctan and ctanh.
5817 * math/auto-libm-test-out: Regenerated.
5818 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5819 (TEST_COND_x86): Likewise.
5820 (ccos_test_data): Use AUTO_TESTS_c_c.
5821 (ccosh_test_data): Likewise.
5822 (cexp_test_data): Likewise.
5823 (clog_test_data): Likewise.
5824 (csqrt_test_data): Likewise.
5825 (ctan_test_data): Likewise.
5826 (ctan_tonearest_test_data): Likewise.
5827 (ctan_towardzero_test_data): Likewise.
5828 (ctan_downward_test_data): Likewise.
5829 (ctan_upward_test_data): Likewise.
5830 (ctanh_test_data): Likewise.
5831 (ctanh_tonearest_test_data): Likewise.
5832 (ctanh_towardzero_test_data): Likewise.
5833 (ctanh_downward_test_data): Likewise.
5834 (ctanh_upward_test_data): Likewise.
5835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5837 (func_calc_desc): Add mpc_c_c union field.
5838 (FUNC_mpc_c_c): New macro.
5839 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5840 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5842 (special_fill_min_subnorm_p120): New function.
5843 (special_real_inputs): Add min_subnorm_p120.
5844 (calc_generic_results): Handle mpc_c_c.
5845 * sysdeps/i386/fpu/libm-test-ulps: Update.
5846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5848 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5850 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5851 (do_sin_slow): New functions.
5852 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5853 (cslow2, csloww1, csloww2): Use the new functions.
5855 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5856 Use M to change sign of result instead of X. Assume X is
5858 (csloww1): Likewise.
5862 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5869 (sloww1): Don't adjust sign of DX.
5870 (csloww1): Likewise.
5871 (sloww2): Use X directly and don't adjust sign of DX.
5872 (csloww2): Likewise.
5874 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5876 * math/auto-libm-test-in: Add tests of cabs and carg.
5877 * math/auto-libm-test-out: Regenerated.
5878 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5879 (carg_test_data): Likewise.
5880 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5882 (func_calc_desc): Add mpc_c_f union field.
5883 (test_functions): Add cabs and carg.
5884 (calc_generic_results): Handle mpc_c_f.
5886 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5887 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5888 as a macro and a compat symbol.
5889 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5890 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5891 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5892 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5893 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5894 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5896 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5898 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5900 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5902 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5904 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5906 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5907 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5910 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5914 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5916 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5917 trailing whitespace removed.
5918 * scripts/config.guess: Update to version 2013-11-29.
5919 * scripts/config.sub: Update to version 2013-10-01.
5921 * math/auto-libm-test-in: Add tests of sincos.
5922 * math/auto-libm-test-out: Regenerated.
5923 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5926 (func_calc_desc): Add mpfr_f_11 union field.
5927 (test_functions): Add sincos.
5928 (calc_generic_results): Handle mpfr_f_11.
5929 * sysdeps/i386/fpu/libm-test-ulps: Update.
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5932 2013-12-19 Andreas Schwab <schwab@suse.de>
5934 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5936 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5937 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5938 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5940 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5942 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5947 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5948 round-to-nearest mode when using frndint.
5949 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5950 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5951 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5953 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5955 * math/auto-libm-test-out: Regenerated.
5956 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5957 (TEST_COND_x86): Likewise.
5958 (expm1_tonearest_test_data): New array.
5959 (expm1_test_tonearest): New function.
5960 (expm1_towardzero_test_data): New array.
5961 (expm1_test_towardzero): New function.
5962 (expm1_downward_test_data): New array.
5963 (expm1_test_downward): New function.
5964 (expm1_upward_test_data): New array.
5965 (expm1_test_upward): New function.
5966 (main): Run the new test functions.
5967 * sysdeps/i386/fpu/libm-test-ulps: Update.
5968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5970 * include/features.h: Update comment documenting feature test
5971 macros. Mention _DEFAULT_SOURCE in comment.
5972 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5973 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5974 _BSD_SOURCE and _SVID_SOURCE.
5975 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5976 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5977 !_SVID_SOURCE]: Likewise.
5978 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5979 (__USE_POSIX_IMPLICITLY): Define.
5980 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5981 (_POSIX_SOURCE): Undefine and redefine.
5982 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5983 (_POSIX_C_SOURCE): Likewise.
5984 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5985 (Feature Test Macros): Update documentation of default features.
5987 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5989 * benchtests/Makefile: Add bench-strtok.
5990 * benchtests/bench-strtok.c: New file: strtok benchtest.
5992 2013-12-19 Allan McRae <allan@archlinux.org>
5994 * manual/install.texi: Suppress menu for plain text output.
5995 * INSTALL: Regenerated.
5997 2013-12-18 Brooks Moses <bmoses@google.com>
6000 * misc/getauxval.c: Include errno.h.
6001 (__getauxval): Set errno to ENOENT if the requested type is not
6003 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6004 don't declare with __attribute_const__.
6005 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6006 * manual/startup.texi: Document that getauxval sets errno.
6008 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6010 * math/auto-libm-test-in: Add tests of jn and yn.
6011 * math/auto-libm-test-out: Regenerated.
6012 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6013 (yn_test_data): Likewise.
6014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6016 (func_calc_desc): Add mpfr_if_f union field.
6017 (FUNC_mpfr_if_f): New macro.
6018 (test_functions): Add jn and yn.
6019 (calc_generic_results): Assert type of second input for
6020 mpfr_ff_f. Handle mpfr_if_f.
6021 (output_for_one_input_case): Disable all checking for arguments
6022 fitting floating-point types in case of an integer argument.
6023 * sysdeps/i386/fpu/libm-test-ulps: Update.
6024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6027 Don't expect fegetround reference in libm.so.
6029 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6031 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6032 $(config-cflags-nofma).
6034 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6036 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6037 * math/auto-libm-test-out: Regenerated.
6040 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6041 to determine exponent and adjust argument to have exponent of -1.
6042 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6044 * math/auto-libm-test-out: Regenerated.
6045 * sysdeps/i386/fpu/libm-test-ulps: Update.
6046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6048 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6050 * manual/probes.texi: Remove cases when per-thread arenas are
6053 2013-12-18 Andreas Schwab <schwab@suse.de>
6055 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6056 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6057 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6058 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6059 * sysdeps/i386/i686/multiarch/Makefile: Update.
6060 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6062 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6064 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6065 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6067 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6070 Support TZ transition times < 00:00:00.
6071 This is needed for version-3 tz-format files; it supports time
6072 stamps past 2037 for America/Godthab (the only entry in the tz
6073 database for which this change is relevant).
6074 * manual/time.texi (TZ Variable): Document transition times
6075 from -167:59:59 through -00:00:01.
6076 * time/tzset.c (tz_rule): Time of day is now signed.
6077 (__tzset_parse_tz): Parse negative time of day.
6079 Document TZ transition times >= 25:00:00.
6080 * manual/time.texi (TZ Variable): Document transition times from
6081 25:00:00 through 167:59:59. These are already supported, and this
6082 support will help with version-3 tz-format files.
6084 * manual/time.texi (TZ Variable): Modernize North America example
6085 to reflect current (i.e., 2007-and-later) daylight saving rules.
6087 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6089 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6091 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6092 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6095 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6096 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6097 * sysdeps/unix/bsd/clock.c: Likewise.
6098 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6099 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6100 * sysdeps/unix/bsd/init-posix.c: Likewise.
6101 * sysdeps/unix/bsd/poll.c: Likewise.
6102 * sysdeps/unix/bsd/ptsname.c: Likewise.
6103 * sysdeps/unix/bsd/seekdir.c: Likewise.
6104 * sysdeps/unix/bsd/setegid.c: Likewise.
6105 * sysdeps/unix/bsd/seteuid.c: Likewise.
6106 * sysdeps/unix/bsd/setgid.c: Likewise.
6107 * sysdeps/unix/bsd/setrgid.c: Likewise.
6108 * sysdeps/unix/bsd/setruid.c: Likewise.
6109 * sysdeps/unix/bsd/setsid.c: Likewise.
6110 * sysdeps/unix/bsd/setuid.c: Likewise.
6111 * sysdeps/unix/bsd/sigaction.c: Likewise.
6112 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6113 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6114 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6115 * sysdeps/unix/bsd/telldir.c: Likewise.
6116 * sysdeps/unix/bsd/times.c: Likewise.
6117 * sysdeps/unix/bsd/usleep.c: Likewise.
6119 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6120 ($(objpfx)libbsd-compat.a): Remove rule.
6122 * include/features.h (__FAVOR_BSD): Do not define.
6123 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6124 features conflicting with POSIX.
6125 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6126 (_BSD_SOURCE): Remove description of not being a subset of other
6127 feature test macros.
6128 * manual/job.texi (getpgrp): Do not document BSD version.
6129 (getpgid): Do not document by reference to BSD getpgrp.
6130 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6131 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6132 * signal/signal.h [__FAVOR_BSD]: Likewise.
6133 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6134 instead of making contents conditional on [__FAVOR_BSD].
6135 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6137 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6141 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6144 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6145 values below 2**-450, not 2**-500.
6146 * math/auto-libm-test-in: Don't allow spurious underflow from
6148 * math/auto-libm-test-out: Regenerated.
6152 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6153 values of ha and hb and sort them after adjusting subnormal
6155 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6157 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6158 values of ea and eb and sort them after adjusting subnormal
6160 * math/auto-libm-test-in: Do not expect some hypot tests of
6161 subnormals to fail. Add more hypot tests.
6162 * math/auto-libm-test-out: Regenerated.
6164 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6167 * sysdeps/sh/s_fma.c: New file.
6168 * sysdeps/sh/s_fmaf.c: New file.
6169 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6171 * sysdeps/sh/Implies: Add sh/soft-fp.
6173 2013-12-16 Roland McGrath <roland@hack.frob.com>
6175 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6176 level of indirection to members `objname', `errstring', `malloced'.
6177 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6178 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6179 it as the __longjmp argument (just pass 1 instead).
6180 (_dl_catch_error): Initialize C with argument pointers and address of
6181 volatile local ERRCODE rather than copying values out of C at return.
6183 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6185 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6186 * math/auto-libm-test-out: Regenerated.
6187 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6188 (hypot_test_data): Likewise.
6189 (pow_test_data): Likewise.
6190 (pow_tonearest_test_data): Likewise.
6191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6193 (func_calc_desc): Add mpfr_ff_f union field.
6194 (FUNC_mpfr_ff_f): New macro.
6195 (test_functions): Add atan2, hypot and pow.
6196 (special_fill_min): New function.
6197 (special_fill_minus_min): Likewise.
6198 (special_fill_min_subnorm): Likewise.
6199 (special_fill_minus_min_subnorm): Likewise.
6200 (special_real_inputs): Add min, -min, min_subnorm and
6202 (calc_generic_results): Handle mpfr_ff_f.
6203 * sysdeps/i386/fpu/libm-test-ulps: Update.
6204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6206 2013-12-16 Will Newton <will.newton@linaro.org>
6208 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6209 (Aligned Memory Blocks): Add documentation for aligned_alloc
6210 and suggest it as an alternative to posix_memalign.
6211 (Hooks for Malloc): Document __memalign_hook is also called
6212 for aligned_alloc. (Summary of Malloc): Add summary for
6213 aligned alloc. Document __memalign_hook is also called
6216 2013-12-16 Will Newton <will.newton@linaro.org>
6218 * manual/memory.texi (Malloc Examples): Clarify default
6219 alignment documentation. Suggest posix_memalign rather
6220 than memalign or valloc.
6221 (Aligned Memory Blocks): Remove suggestion to use memalign
6222 or valloc. Remove obsolete comment about BSD.
6223 Document memalign errno values and mark the function obsolete.
6224 Document posix_memalign returned error codes. Mark valloc
6225 as obsolete. (Hooks for Malloc): __memalign_hook is also
6226 called for posix_memalign and valloc.
6227 (Summary of Malloc): Add posix_memalign to function summary.
6228 __memalign_hook is also called for posix_memalign and valloc.
6230 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6232 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6236 (sloww): Use mynumber union. Expand ternary operator into
6238 (cslow): use mynumber union.
6240 2013-12-16 Allan McRae <allan@archlinux.org>
6242 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6243 * configure: Regenerated.
6245 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6248 * configure.ac: Added --enable-maintainer-mode. Check for
6249 autoconf when enabled.
6250 * configure: Regenerated.
6252 * nscd/nscd.service: New file.
6253 * nscd/nscd.tmpfiles: New file.
6255 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6258 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6259 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6260 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6261 (strstr): Add __strstr_sse2_unaligned ifunc.
6262 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6263 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6264 (strcasestr): Remove __strcasestr_sse42 ifunc.
6265 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6269 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6271 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6272 * sysdeps/sh/bits/fenv.h: ... here.
6273 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6275 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6280 hypotf multiarch implementations.
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6284 multiarch hypot for PPC64.
6285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6287 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6288 multiarch hypotf for PPC64.
6290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6291 modff multiarch implementations.
6292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6295 multiarch modf for PPC64.
6296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6299 multiarch modff for PPC64.
6301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6302 and logl multiarch implementations.
6303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6306 multiarch logb for PPC64.
6307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6310 multiarch logb for PPC64.
6311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6314 multiarch logb for PPC64.
6316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6317 isinff multiarch implementation.
6318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6322 multiarch isinf for PPC64.
6323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6326 multiarch isinff for PPC64.
6328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6329 finitef multiarch implementation.
6330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6334 multiarch finite for PPC64.
6335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6338 multiarch finitef for PPC64.
6340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6341 lrint multiarch implementation.
6342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6346 multiarch llrint for PPC64.
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6348 multiarch lrint for PPC64.
6350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6351 copysignf multiarch implementation.
6352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6357 multiarch copysign for PPC64.
6358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6359 multiarch copysignf for PPC64.
6361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6362 multiarch implementation.
6363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6371 multiarch llround for PPC64.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6373 multiarch trunc for PPC64.
6374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6375 multiarch truncf for PPC64.
6377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6378 multiarch implementation.
6379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6387 multiarch llround for PPC64.
6388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6389 multiarch round for PPC64.
6390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6391 multiarch roundf for PPC64.
6393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6394 multiarch implementation.
6395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6403 multiarch llround for PPC64.
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6405 multiarch floor for PPC64.
6406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6407 multiarch floorf for PPC64.
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6410 multiarch implementation.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6419 multiarch llround for PPC64.
6420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6421 multiarch ceil for PPC64.
6422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6423 multiarch ceilf for PPC64.
6425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6426 multiarch implementation.
6427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6434 multiarch llround for PPC64.
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6436 multiarch lround for PPC64.
6438 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6439 multiarch implementation.
6440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6447 multiarch isnan for PPC64.
6448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6449 multiarch isnanf for PPC64.
6451 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6452 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6453 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6454 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6455 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6458 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6459 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6461 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6464 multiarch implementations.
6465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6466 (__libc_ifunc_impl_list): Likewise.
6467 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6468 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6469 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6470 multiarch stpcpy for PPC64.
6472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6473 multiarch implementations.
6474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6475 (__libc_ifunc_impl_list): Likewise.
6476 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6477 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6478 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6479 multiarch strcpy for PPC64.
6481 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6482 redefine function name.
6483 (_wordcopy_fwd_dest_aligned): Likewise.
6484 (_wordcopy_bwd_aligned): Likewise.
6485 (_wordcopy_bwd_dest_aligned): Likewise.
6486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6487 multiarch implementations.
6488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6489 (__libc_ifunc_impl_list): Likewise.
6490 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6491 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6494 multiarch wcscpy for PPC64.
6496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6497 multiarch implementations.
6498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6499 (__libc_ifunc_impl_list): Likewise.
6500 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6501 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6504 multiarch wcscpy for PPC64.
6506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6507 multiarch implementations.
6508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6509 (__libc_ifunc_impl_list): Likewise.
6510 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6511 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6512 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6514 multiarch wcsrchr for PPC64.
6516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6517 multiarch implementations.
6518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6519 (__libc_ifunc_impl_list): Likewise.
6520 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6521 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6522 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6523 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6524 multiarch wcschr for PPC64.
6526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6527 multiarch implementations.
6528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6529 (__libc_ifunc_impl_list): Likewise.
6530 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6531 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6533 multiarch strchrnul for PPC64.
6535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6538 (__libc_ifunc_impl_list): Likewise.
6539 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6540 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6541 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6542 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6548 (__libc_ifunc_impl_list): Likewise.
6549 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6550 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6551 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6552 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6556 multiarch implementations.
6557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6558 (__libc_ifunc_impl_list): Likewise.
6559 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6560 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6561 strncasecmp for PPC64.
6562 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6563 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6564 multiarch strncasecmp_l for PPC64.
6566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6567 multiarch implementations.
6568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6569 (__libc_ifunc_impl_list): Likewise.
6570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6572 multiarch strcasecmp for PPC64.
6573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6576 multiarch strcasecmp_l for PPC64.
6578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6581 (__libc_ifunc_impl_list): Likewise.
6582 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6583 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6584 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6590 (__libc_ifunc_impl_list): Likewise.
6591 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6592 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6593 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6599 (__libc_ifunc_impl_list): Likewise.
6600 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6601 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6602 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6603 rawmemrchr for PPC64.
6605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6608 (__libc_ifunc_impl_list): Likewise.
6609 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6610 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6611 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6617 (__libc_ifunc_impl_list): Likewise.
6618 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6619 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6620 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6626 (__libc_ifunc_impl_list): Likewise.
6627 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6628 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6629 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6632 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6633 avoid cretion of __bzero symbol.
6634 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6636 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6638 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6641 multiarch implementations.
6642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6643 (__libc_ifunc_impl_list): Likewise.
6644 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6645 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6646 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6647 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6649 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6650 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6651 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6652 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6653 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6655 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6657 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6661 (__libc_ifunc_impl_list): Likewise.
6662 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6663 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6664 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6665 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6669 multiarch for POWER/PPC64.
6670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6671 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6674 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6678 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6681 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6682 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6683 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6684 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6685 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6686 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6687 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6688 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6689 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6690 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6691 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6692 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6693 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6694 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6695 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6704 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6706 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6708 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6710 * benchtests/Makefile (bench): Add exp2 and log2.
6711 (LDLIBS-bench-exp2): Add -lm.
6712 (LDLIBS-bench-log2): Likewise.
6713 * benchtests/exp2-inputs: New inputs file.
6714 * benchtests/log2-inputs: New inputs file.
6715 * benchtests/log-inputs: Add new inputs.
6716 * benchtests/tan-inputs: Likewise.
6718 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6720 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6722 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6723 (csloww2): ... from here.
6725 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6726 instead of structures.
6727 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6728 (POLYNOMIAL): Likewise.
6729 (TAYLOR_SLOW): Likewise.
6737 (bsloww1): Likewise.
6738 (bsloww2): Likewise.
6741 (csloww1): Likewise.
6742 (csloww2): Likewise.
6744 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6746 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6747 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6748 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6749 * malloc/hooks.c (realloc_check): Likewise.
6751 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6752 * malloc/arena.c: Remove PER_THREAD conditional.
6753 [!PER_THREAD]: Remove code.
6754 (ptmalloc_unlock_all2): Likewise.
6755 (ptmalloc_init): Likewise.
6756 (_int_new_arena): Likewise.
6757 (arena_get2): Likewise.
6758 * malloc/hooks.c (__malloc_get_state): Likewise.
6759 (__malloc_set_state): Likewise.
6760 * malloc/malloc.c: Likewise.
6761 (struct malloc_state): Likewise.
6762 (struct malloc_par): Likewise.
6763 (__libc_realloc): Likewise.
6764 (__libc_mallopt): Likewise.
6766 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6768 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6770 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6772 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6773 macro to a function. Check for zero perturb_byte.
6774 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6776 * malloc/malloc.c: (force_reg): Remove.
6777 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6778 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6779 force_reg by atomic_forced_read.
6780 * malloc/arena.c (ptmalloc_init): Likewise.
6781 * malloc/hooks.c (top_check): Likewise.
6783 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6787 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6791 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6793 * math/auto-libm-test-in: Add tests of lgamma.
6794 * math/auto-libm-test-out: Regenerated.
6795 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6796 (M_LOG_2_SQRT_PIl): Likewise.
6797 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6798 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6800 (func_calc_desc): Add mpfr_f_f1 union field.
6809 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6810 (test_functions): Add lgamma.
6811 (calc_generic_results): Handle mpfr_f_f1.
6812 * sysdeps/i386/fpu/libm-test-ulps: Update.
6813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6817 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6818 __mpn_add_n for PowerPC64/POWER7.
6819 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6820 __mpn_sub_n for PowerPC64/POWER7.
6822 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6823 __mpn_addmul_1 for PowerPC64.
6824 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6825 __mpn_submul_1 for PowerPC64.
6826 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6828 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6831 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6834 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6836 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6838 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6840 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6841 add multiarch folders.
6842 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6843 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6844 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6845 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6846 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6847 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6848 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6849 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6850 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6851 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6852 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6861 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6867 multiarch __ieee754_hypot for PowerPC32.
6868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6873 multiarch __ieee754_hypotf for PowerPC32.
6875 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6876 long_double_symbol only if __logbl is defined.
6877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6878 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6880 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6882 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6883 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6884 path for implementation.
6885 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6888 logb, and logbl multiarch implementations for PowerPC32.
6889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6894 multiarch logb for PowerPC32.
6895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6900 multiarch logbf for PowerPC32.
6901 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6905 multiarch logbl implementation for PowerPC32.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6908 and modff multiarch implementations.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6914 multiarch modf for PowerPC32.
6915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6920 multiarch modff for PowerPC32.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6923 and lrintf multiarch implementations.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6929 multiarch lrint for PowerPC32.
6930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6931 file: multiarch lrintf for PowerPC32.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6934 and lroundf multiarch implementations.
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6942 multiarch lround for PowerPC32.
6943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6944 file: multiarch lroundf for PowerPC32.
6946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6947 copysign and copysignf multiarch implementations.
6948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6953 file: multiarch copysign for PowerPC32.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6955 file: multiarch copysignf for PowerPC32.
6957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6958 and truncf multiarch implementations.
6959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6964 multiarch trunc for PowerPC32.
6965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6970 multiarch truncf for PowerPC32.
6972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6973 and roundf multiarch implementations.
6974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6979 multiarch round for PowerPC32.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6985 multiarch roundf for PowerPC32.
6987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6988 and floorf multiarch implementations.
6989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6994 multiarch floor for PowerPC32.
6995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7000 multiarch floorf for PowerPC32.
7002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7003 and ceilf multiarch implementations.
7004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7009 multiarch ceil for PowerPC32.
7010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7015 multiarch ceilf for PowerPC32.
7017 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7019 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7022 and finitef multiarch implementations.
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7028 multiarch finite for PowerPC32.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7032 file: multiarch finitef for PowerPC32.
7034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7035 and isinff multiarch implementations.
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7041 multiarch isinf for PowerPC32.
7042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7045 multiarch isinff for PowerPC32.
7047 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7048 alias when __isnan is defined.
7049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7050 and isnanf multiarch implementations.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7060 multiarch isnan for PowerPC32.
7061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7066 multiarch isnanf for PowerPC32.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7069 and sqrtf multiarch implementations.
7070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7075 multiarch sqrt for PowerPC32.
7076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7081 multiarch sqrtf for PowerPC32.
7083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7084 and llroundf multiarch implementations.
7085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7092 file: multiarch llround for PowerPC32.
7093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7094 file: multiarch llroundf for PowerPC32.
7096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7097 multiarch PowerPC32 fpu implementations.
7098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7103 multiarch llrint for PowerPC32.
7104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7120 multiarch wordcopy for PPC32.
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7124 (__libc_ifunc_impl_list): Likewise.
7125 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7126 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7127 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7128 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7129 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7130 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7132 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7140 multiarch wcscpy for PPC32.
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7144 (__libc_ifunc_impl_list): Likewise.
7145 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7146 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7147 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7148 sysdeps/powerpc/power6/wcscpy.c.
7150 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7158 multiarch wcsrchr for PPC32.
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7162 (__libc_ifunc_impl_list): Likewise.
7163 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7164 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7165 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7166 sysdeps/powerpc/power6/wcsrchr.c.
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7174 multiarch wcschr for PPc32.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7178 (__libc_ifunc_impl_list): Likewise.
7179 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7180 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7181 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7182 sysdeps/powerpc/power6/wcschr.c.
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7188 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7189 file: multiarch strchr for PPC32.
7190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7193 (__libc_ifunc_impl_list): Likewise.
7195 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7197 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7202 multiarch strchrnul for PPC32.
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7206 (__libc_ifunc_impl_list): Likewise.
7208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7210 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7211 multiarch strncasecmp for PPC32.
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7214 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7215 multiarch strncasecmp_l for PPC32.
7216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7217 strncasecmp multiarch objects.
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7219 (__libc_ifunc_impl_list): Likewise.
7221 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7223 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7224 multiarch strncasecmp for PPC32.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7228 multiarch strcasecmp_l for PPC32.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7232 (__libc_ifunc_impl_list): Likewise.
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7236 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7239 multiarch strncmp for PPC32.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7243 (__libc_ifunc_impl_list): Likewise.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7246 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7248 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7253 (__libc_ifunc_impl_list): Likewise.
7255 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7259 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7263 (__libc_ifunc_impl_list): Likewise.
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7267 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7269 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7270 multiarch rawmemchr for PPC32.
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7274 (__libc_ifunc_impl_list): Likewise.
7276 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7278 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7281 file: memrchr multiarch for PPC32.
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7285 (__libc_ifunc_impl_list): Likewise.
7287 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7288 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7290 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7292 multiarch memchr for PPC32.
7293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7296 (__libc_ifunc_impl_list): Likewise.
7298 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7299 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7301 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7303 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7304 file: multiarch mempcpy for PPC32.
7305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7308 (__libc_ifunc_impl_list): Likewise.
7310 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7311 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7312 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7314 multiarch bzero for PPC32.
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7320 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7321 file: multiarch memset for PPC32.
7322 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7324 memset multiarch objects.
7325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7326 (__libc_ifunc_impl_list): Likewise.
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7333 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7337 (__libc_ifunc_impl_list): Likewise.
7339 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7341 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7348 multiarch memcpy for PPC32.
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7352 (__libc_ifunc_impl_list): Likewise.
7354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7355 support multiarch for POWER/PPC32.
7356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7358 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7360 Implies file to make multiarch folder appers before the fpu and
7361 default folder for power4 configuration.
7363 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7365 * scripts/bench.pl: Append volatile keyword to type.
7367 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7369 * sysdeps/sh/sotruss-lib.c: New file.
7370 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7372 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7376 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7379 * math/w_tgamma.c: Include <errno.h>.
7380 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7381 * math/w_tgammaf.c: Include <errno.h>.
7382 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7383 * math/w_tgammal.c: Include <errno.h>.
7384 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7385 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7386 underflow. Add more tgamma tests.
7387 * math/auto-libm-test-out: Regenerated.
7388 * sysdeps/i386/fpu/libm-test-ulps: Update.
7389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7391 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7392 sin, sinh, tan, tanh, tgamma, y0 and y1.
7393 * math/auto-libm-test-out: Regenerated.
7394 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7395 (TEST_COND_x86): Likewise.
7396 (M_E2l): Remove macro.
7398 (M_2_SQRT_PIl): Likewise.
7399 (M_SQRT_PIl): Likewise.
7400 (M_1_DIV_El): Likewise.
7401 (log_test_data): Use AUTO_TESTS_f_f.
7402 (log10_test_data): Likewise.
7403 (log1p_test_data): Likewise.
7404 (log2_test_data): Likewise.
7405 (sin_test_data): Likewise.
7406 (sin_tonearest_test_data): Likewise.
7407 (sin_towardzero_test_data): Likewise.
7408 (sin_downward_test_data): Likewise.
7409 (sin_upward_test_data): Likewise.
7410 (sinh_test_data): Likewise.
7411 (sinh_tonearest_test_data): Likewise.
7412 (sinh_towardzero_test_data): Likewise.
7413 (sinh_downward_test_data): Likewise.
7414 (sinh_upward_test_data): Likewise.
7415 (tan_test_data): Likewise.
7416 (tan_tonearest_test_data): Likewise.
7417 (tan_towardzero_test_data): Likewise.
7418 (tan_downward_test_data): Likewise.
7419 (tan_upward_test_data): Likewise.
7420 (tanh_test_data): Likewise.
7421 (tgamma_test_data): Likewise.
7422 (y0_test_data): Likewise.
7423 (y1_test_data): Likewise.
7424 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7425 (special_real_inputs): Add pi/4.
7426 * sysdeps/i386/fpu/libm-test-ulps: Update.
7427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7429 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7431 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7432 "longjmp_target" static probes.
7433 (__longjmp): Rename to __longjmp_symbol.
7434 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7435 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7436 on which longjmp to generate.
7437 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7438 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7440 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7441 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7442 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7443 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7444 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7445 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7447 __longjmp_symbol based on which __longjmp to generate.
7448 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7450 (setjmp): Rename to setjmp_symbol.
7451 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7452 (_setjmp): Rename to _setjmp_symbol.
7453 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7454 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7455 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7456 which setjmp to generate.
7457 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7458 "longjmp_target" static probes.
7460 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7462 * benchtests/README: Add note about output arguments.
7463 * benchtests/bench-sincos.c: Remove file.
7464 * benchtests/sincos-inputs: New file.
7465 * scripts/bench.pl: Identify output arguments and define
7466 static variables for them.
7468 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7471 * Makefile (INSTALL): Add install-plain.texi as the primary
7473 * manual/install-plain.texi: New file.
7474 * manual/install.texi: Include node directive only for
7475 non-plaintext output.
7477 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7479 * stdlib/longlong.h: Update from GCC.
7483 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7484 * math/w_j0f.c (y0f): Likewise.
7485 * math/w_j0l.c (__y0l): Likewise.
7486 * math/w_j1.c (y1): Likewise.
7487 * math/w_j1f.c (y1f): Likewise.
7488 * math/w_j1l.c (__y1l): Likewise
7489 * math/w_jn.c (yn): Likewise.
7490 * math/w_jnf.c (ynf): Likewise.
7491 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7492 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7493 value for Bessel function domain errors outside _SVID_ mode.
7494 Adjust sign of return value for yn (negative integer, 0).
7495 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7496 by zero in return for negative x and set sign appropriately for
7498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7499 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7500 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7501 expectations in error cases.
7502 (y1_test_data): Likewise.
7503 (yn_test_data): Likewise.
7504 * sysdeps/i386/fpu/libm-test-ulps: Update.
7505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7507 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7509 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7510 "64" to "64-v1". Add "64-v2".
7511 (abi-64-options): Rename to ...
7512 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7513 (abi-64-condition): Rename to ...
7514 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7515 (abi-64-ld-soname): Rename to ...
7516 (abi-64-v1-ld-soname): ... this.
7517 (abi-64-v2-options): Define.
7518 (abi-64-v2-condition): Likewise.
7519 (abi-64-v2-ld-soname): Likewise.
7520 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7521 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7526 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7527 Alan Modra <amodra@gmail.com>
7529 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7530 New versions for use with the ELFv2 ABI.
7531 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7532 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7534 (struct La_ppc64v2_retval): Likewise.
7535 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7536 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7537 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7538 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7539 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7540 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7541 Do not save or restore CR.
7542 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7543 (_dl_profile_resolve): Do no save or restore CR. Support extended
7544 return values for ELFv2 ABI. Fix location of FPR return registers.
7545 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7546 updated values for _CALL_ELF == 2.
7547 (La_regs, La_retval, int_retval): Likewise.
7549 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7551 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7552 (FRAME_MIN_SIZE_PARM): Likewise.
7553 (FRAME_BACKCHAIN): Likewise.
7554 (FRAME_CR_SAVE): Likewise.
7555 (FRAME_LR_SAVE): Likewise.
7556 (FRAME_TOC_SAVE): Likewise.
7557 (FRAME_PARM_SAVE): Likewise.
7558 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7559 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7560 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7561 (call_mcount_parm_offset): New macro.
7562 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7563 (PROF): Use symbolic stack frame offsets.
7564 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7565 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7566 Redefine in terms of FRAME_MIN_SIZE.
7567 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7568 (_dl_profile_resolve): Likewise. Update comment.
7569 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7570 symbols stack frame offsets.
7571 (__sigsetjmp): Likewise.
7572 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7573 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7574 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7575 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7578 (FRAME_BACKCHAIN): Remove.
7579 (FRAME_CR_SAVE): Likewise.
7580 (FRAME_LR_SAVE): Likewise.
7581 (FRAME_COMPILER_DW): Likewise.
7582 (FRAME_LINKER_DW): Likewise.
7583 (FRAME_TOC_SAVE): Likewise.
7584 (FRAME_PARM_SAVE): Likewise.
7585 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7586 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7587 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7589 (CHECK_SP): Use symbolic stack frame offsets.
7590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7591 zone" instead of caller's parameter save area for temp storage.
7592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7593 Likewise. Also, use symbolic stack frame offsets.
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7595 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7596 our own stack frame instead of the caller's.
7597 (__socket): Use symbolic stack frame offsets.
7599 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7600 Alan Modra <amodra@gmail.com>
7602 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7604 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7605 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7606 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7608 (elf_machine_fixup_plt): Call it.
7609 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7611 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7612 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7613 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7614 r2 before calling target.
7616 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7617 Alan Modra <amodra@gmail.com>
7619 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7620 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7621 versions of macros to support ELFv2 ABI.
7622 (LOCALENTRY): New macro.
7623 (ENTRY, EALIGN): Use it.
7624 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7625 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7626 fall through into ENTRY entry point.
7627 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7628 Only define if _CALL_ELF != 2.
7630 (elf_machine_matches_host): Verify ABI version matches.
7631 (RTLD_START): Use LOCALENTRY.
7632 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7633 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7634 (PLT_ENTRY_WORDS): New macro.
7635 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7636 (elf_machine_runtime_setup): Support ELFv2 ABI.
7637 (elf_machine_fixup_plt): Likewise.
7638 (elf_machine_plt_conflict): Likewise.
7639 (resolve_ifunc): Likewise.
7640 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7644 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7646 (makecontext): Support ELFv2 ABI.
7647 * elf/elf.h (EF_PPC64_ABI): Define.
7649 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7651 * sysdeps/powerpc/powerpc64/sysdep.h
7652 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7653 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7654 (ENTRY) [ASSEMBLER]: ... but instead here ...
7655 (EALIGN) [ASSEMBLER]: ... and here.
7656 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7657 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7658 (ENTRY_2) [!ASSEMBLER]: Use it.
7659 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7660 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7661 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7662 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7663 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7665 Use PPC64_LOAD_FUNCPTR.
7667 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7669 2013-12-04 Alan Modra <amodra@gmail.com>
7671 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7672 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7673 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7674 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7677 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7678 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7679 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7680 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7681 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7683 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7686 (__makecontext): Fix incorrect CFI when backtracing out of
7687 context created via makecontext.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7689 (__setcontext): Fix incorrect CFI during switch to new context.
7690 (__novec_setcontext): Likewise.
7692 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7695 * time/strptime_l.c (__strptime_internal): Allow modifiers
7697 * time/tst-strptime.c (day_tests): Add testcase.
7699 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7701 * scripts/bench.pl: Skip over blank lines.
7703 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7706 * manual/time.texi (Calendar Time): Clarify what timezone functions
7709 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7713 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7715 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7717 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7718 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7719 * debug/memset_chk.c (__memset_chk): Likewise.
7720 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7721 * debug/strncpy_chk.c: Likewise.
7723 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7727 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7728 (__ieee754_exp): For possibly underflowing results, check size of
7729 result and force underflow exception if required.
7730 * math/auto-libm-test-in: Add more tests of exp.
7731 * math/auto-libm-test-out: Regenerated.
7732 * sysdeps/i386/fpu/libm-test-ulps: Update.
7733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7736 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7737 * math/w_exp2f.c (__exp2f): Likewise.
7738 * math/w_exp2l.c (__exp2l): Likewise.
7739 * math/auto-libm-test-in: Do not allow missing errno on exp2
7741 * math/auto-libm-test-out: Regenerated.
7743 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7746 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7747 handle filename validation.
7748 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7751 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7754 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7755 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7756 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7758 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7760 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7762 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7763 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7764 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7765 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7766 Add more erfc tests.
7767 * math/auto-libm-test-out: Regenerated.
7768 * sysdeps/i386/fpu/libm-test-ulps: Update.
7769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7771 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7772 exp2, expm1, j0 and j1.
7773 * math/auto-libm-test-out: Regenerated.
7774 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7775 (erfc_test_data): Likewise.
7776 (exp_test_data): Likewise.
7777 (exp_tonearest_test_data): Likewise.
7778 (exp_towardzero_test_data): Likewise.
7779 (exp_downward_test_data): Likewise.
7780 (exp_upward_test_data): Likewise.
7781 (exp10_test_data): Likewise.
7782 (exp2_test_data): Likewise.
7783 (expm1_test_data): Likewise.
7784 (j0_test_data): Likewise.
7785 (j1_test_data): Likewise.
7786 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7787 (input_flag_type): Add flag_xfail_rounding.
7788 (input_flags): Add xfail-rounding.
7789 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7790 (output_for_one_input_case): Handle flag_xfail_rounding.
7791 * sysdeps/i386/fpu/libm-test-ulps: Update.
7792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7794 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7797 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7800 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7803 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7804 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7805 (STAP_PROBE0): New macro.
7806 (STAP_PROBE1): Likewise.
7807 (STAP_PROBE2): Likewise.
7808 (STAP_PROBE3): Likewise.
7809 (STAP_PROBE4): Likewise.
7811 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7813 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7815 2013-12-02 Steve Ellcey <sellcey@mips.com>
7817 * benchtests/Makefile (bench): Add sqrt.
7818 (LDLIBS-bench-sqrt): New.
7819 * benchtests/sqrt-input: New.
7821 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7823 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7824 (GAIH_EAI): Likewise.
7825 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7826 (gaih_inet): Likewise.
7827 (getaddrinfo): Don't use GAIH_EAI.
7829 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7830 (struct gaih): Remove definition.
7832 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7834 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7835 Use HERRNOP directly.
7837 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7841 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7843 * math/gen-auto-libm-tests.c (test_functions): Add more
7844 single-argument functions.
7845 (special_fill_pi_2): New function.
7846 (special_fill_minus_pi_2): Likewise.
7847 (special_fill_pi_6): Likewise.
7848 (special_fill_minus_pi_6): Likewise.
7849 (special_fill_pi_3): Likewise.
7850 (special_fill_2pi_3): Likewise.
7851 (special_fill_e): Likewise.
7852 (special_fill_1_e): Likewise.
7853 (special_fill_e_minus_1): Likewise.
7854 (special_real_inputs): Add more special inputs.
7855 (output_for_one_input_case): Do not require ERANGE on underflow to
7856 zero if round-to-nearest result does not underflow to zero, unless
7857 exact results required.
7858 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7859 atan, atanh, cbrt, cos and cosh.
7860 * math/auto-libm-test-out: Regenerated.
7861 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7862 (acos_tonearest_test_data): Likewise.
7863 (acos_towardzero_test_data): Likewise.
7864 (acos_downward_test_data): Likewise.
7865 (acos_upward_test_data): Likewise.
7866 (acosh_test_data): Likewise.
7867 (asin_test_data): Likewise.
7868 (asin_tonearest_test_data): Likewise.
7869 (asin_towardzero_test_data): Likewise.
7870 (asin_upward_test_data): Likewise.
7871 (asinh_test_data): Likewise.
7872 (atan_test_data): Likewise.
7873 (atanh_test_data): Likewise.
7874 (cbrt_test_data): Likewise.
7875 (cos_test_data): Likewise.
7876 (cos_tonearest_test_data): Likewise.
7877 (cos_towardzero_test_data): Likewise.
7878 (cos_downward_test_data): Likewise.
7879 (cos_upward_test_data): Likewise.
7880 (cosh_test_data): Likewise.
7881 (cosh_tonearest_test_data): Likewise.
7882 (cosh_towardzero_test_data): Likewise.
7883 (cosh_downward_test_data): Likewise.
7884 (cosh_upward_test_data): Likewise.
7885 * sysdeps/i386/fpu/libm-test-ulps: Update.
7886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7888 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7891 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7892 * math/w_exp10f.c (__exp10f): Likewise.
7893 * math/w_exp10l.c (__exp10l): Likewise.
7894 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7895 errno settings in existing tests.
7898 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7899 precision control set to double precision.
7900 * sysdeps/i386/fpu/w_sqrt.c: New file.
7901 * math/auto-libm-test-in: Add more tests.
7902 * math/auto-libm-test-out: Update.
7904 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7905 (sqrt_test_tonearest): New function.
7906 (sqrt_towardzero_test_data): New variable.
7907 (sqrt_test_towardzero): New function.
7908 (sqrt_downward_test_data): New variable.
7909 (sqrt_test_downward): New function.
7910 (sqrt_upward_test_data): New variable.
7911 (sqrt_test_upward): New function.
7912 (main): Call the new functions.
7914 * math/gen-auto-libm-tests.c: New file.
7915 * math/auto-libm-test-in: Likewise.
7916 * math/auto-libm-test-out: New generated file.
7917 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7919 (%beautify): Add generated representations of zero.
7920 (top level): Set $auto_input and call parse_auto_input.
7921 (beautify): Remove trailing "f" from hex float constants.
7922 (parse_args): Handle XFAIL_TEST.
7923 (convert_condition): New function.
7924 (or_value): Likewise.
7925 (or_cond_value): Likewise.
7926 (generate_testfile): Handle AUTO_TESTS_* lines.
7927 (parse_auto_input): New function.
7928 * math/libm-test.inc (XFAIL_TEST): New macro.
7929 (ERRNO_UNCHANGED): Update value.
7930 (ERRNO_EDOM): Likewise.
7931 (ERRNO_ERANGE): Likewise.
7932 (IGNORE_RESULT): Likewise.
7933 (TEST_COND_flt_32): New macro.
7934 (TEST_COND_dbl_64): Likewise.
7935 (TEST_COND_ldbl_96_intel): Likewise.
7936 (TEST_COND_ldbl_96_m68k): Likewise.
7937 (TEST_COND_ldbl_128): Likewise.
7938 (TEST_COND_ldbl_128ibm): Likewise.
7939 (TEST_COND_long32): Likewise.
7940 (TEST_COND_long64): Likewise.
7941 (TEST_COND_before_rounding): Likewise.
7942 (TEST_COND_after_rounding): Likewise.
7943 (enable_test): Handle XFAIL_TEST flag.
7944 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7945 with finite results.
7946 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7949 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7950 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7953 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7954 __tls_get_addr_internal instead of __tls_get_offset in order to
7955 avoid GOT pointer dependency. Make rtld export
7956 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7957 __tls_get_addr since we are a __tls_get_offset platform.
7958 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7959 GOT pointer being set up before.
7960 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7962 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7964 * manual/math.texi (Errors in Math Functions): Document accuracy
7968 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7969 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7970 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7971 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7972 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7974 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7975 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7976 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7977 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7978 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7979 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7980 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7981 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7982 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7983 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7985 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7986 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7987 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7988 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7989 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7991 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7993 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7995 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7996 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7997 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7998 atomic-feupdateenv and flt-rounds.
7999 * sysdeps/powerpc/nofpu/Versions (libc): Add
8000 __atomic_feholdexcept, __atomic_feclearexcept,
8001 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8002 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8003 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8004 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8005 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8010 * manual/arith.texi (FP Exceptions): Document that exceptions may
8011 not be raised when matherr is used.
8012 (Math Error Reporting): Document overflow in directed rounding
8013 modes. Document that errno may not be set when finite values are
8014 returned on overflow. Document intent to set errno on underflow
8015 only for underflow to zero.
8018 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8019 round-to-nearest then adjust result for other rounding modes.
8020 * include/fenv.h (fegetround): Use libm_hidden_proto.
8021 * math/fegetround.c (fegetround): Use libm_hidden_def.
8022 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8023 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8024 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8025 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8027 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8028 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8029 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8030 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8032 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8035 * nss/Versions (libnss_files): Add
8036 _nss_files_gethostbyname3_r.
8037 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8039 (HOST_DB_LOOKUP): Remove macro.
8040 (_nss_files_gethostbyname_r): Implement function without the
8041 HOST_DB_LOOKUP macro.
8042 (_nss_files_gethostbyname2_r): Likewise.
8044 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8046 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8048 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8050 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8051 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8054 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8056 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8057 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8058 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8059 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8060 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8061 __fe_nomask_env_priv and attribute_hidden.
8062 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8063 (libc_feupdateenv_test_ppc): Likewise.
8064 (libc_feresetround_ppc): Likewise.
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8066 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8067 compat_symbol macro.
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8069 (__fe_nomask_env): Likewise.
8070 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8072 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8074 * string/Makefile: Remove ifunc tests.
8075 * string/test-string.h: Define TEST_IFUNC.
8076 * string/test-bcopy-ifunc.c: Remove.
8077 * string/test-bzero-ifunc.c: Likewise.
8078 * string/test-memccpy-ifunc.c: Likewise.
8079 * string/test-memchr-ifunc.c: Likewise.
8080 * string/test-memcmp-ifunc.c: Likewise.
8081 * string/test-memcpy-ifunc.c: Likewise.
8082 * string/test-memmem-ifunc.c: Likewise.
8083 * string/test-memmove-ifunc.c: Likewise.
8084 * string/test-mempcpy-ifunc.c: Likewise.
8085 * string/test-memrchr-ifunc.c: Likewise.
8086 * string/test-memset-ifunc.c: Likewise.
8087 * string/test-rawmemchr-ifunc.c: Likewise.
8088 * string/test-stpcpy-ifunc.c: Likewise.
8089 * string/test-stpncpy-ifunc.c: Likewise.
8090 * string/test-strcasecmp-ifunc.c: Likewise.
8091 * string/test-strcasestr-ifunc.c: Likewise.
8092 * string/test-strcat-ifunc.c: Likewise.
8093 * string/test-strchr-ifunc.c: Likewise.
8094 * string/test-strchrnul-ifunc.c: Likewise.
8095 * string/test-strcmp-ifunc.c: Likewise.
8096 * string/test-strcpy-ifunc.c: Likewise.
8097 * string/test-strcspn-ifunc.c: Likewise.
8098 * string/test-strlen-ifunc.c: Likewise.
8099 * string/test-strncasecmp-ifunc.c: Likewise.
8100 * string/test-strncat-ifunc.c: Likewise.
8101 * string/test-strncmp-ifunc.c: Likewise.
8102 * string/test-strncpy-ifunc.c: Likewise.
8103 * string/test-strnlen-ifunc.c: Likewise.
8104 * string/test-strpbrk-ifunc.c: Likewise.
8105 * string/test-strrchr-ifunc.c: Likewise.
8106 * string/test-strspn-ifunc.c: Likewise.
8107 * string/test-strstr-ifunc.c: Likewise.
8109 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8111 * benchtests/Makefile: Remove ifunc tests.
8112 * benchtests/bench-string.h: Define TEST_IFUNC.
8113 * benchtests/bench-bcopy-ifunc.c: Remove.
8114 * benchtests/bench-bzero-ifunc.c: Likewise.
8115 * benchtests/bench-memccpy-ifunc.c: Likewise.
8116 * benchtests/bench-memchr-ifunc.c: Likewise.
8117 * benchtests/bench-memcmp-ifunc.c: Likewise.
8118 * benchtests/bench-memcpy-ifunc.c: Likewise.
8119 * benchtests/bench-memmem-ifunc.c: Likewise.
8120 * benchtests/bench-memmove-ifunc.c: Likewise.
8121 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8122 * benchtests/bench-memrchr-ifunc.c: Likewise.
8123 * benchtests/bench-memset-ifunc.c: Likewise.
8124 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8125 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8126 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8127 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8128 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8129 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8130 * benchtests/bench-strcat-ifunc.c: Likewise.
8131 * benchtests/bench-strchr-ifunc.c: Likewise.
8132 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8133 * benchtests/bench-strcmp-ifunc.c: Likewise.
8134 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8135 * benchtests/bench-strcpy-ifunc.c: Likewise.
8136 * benchtests/bench-strcspn-ifunc.c: Likewise.
8137 * benchtests/bench-strlen-ifunc.c: Likewise.
8138 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8139 * benchtests/bench-strncat-ifunc.c: Likewise.
8140 * benchtests/bench-strncmp-ifunc.c: Likewise.
8141 * benchtests/bench-strncpy-ifunc.c: Likewise.
8142 * benchtests/bench-strnlen-ifunc.c: Likewise.
8143 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8144 * benchtests/bench-strrchr-ifunc.c: Likewise.
8145 * benchtests/bench-strsep-ifunc.c: Likewise.
8146 * benchtests/bench-strspn-ifunc.c: Likewise.
8147 * benchtests/bench-strstr-ifunc.c: Likewise.
8149 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8151 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8153 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8155 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8156 * rt/aio.h: Likewise.
8157 * sysdeps/gnu/bits/utmp.h: Likewise.
8158 * sysdeps/gnu/bits/utmpx.h: Likewise.
8159 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8160 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8161 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8162 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8163 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8164 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8165 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8166 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8167 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8168 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8169 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8170 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8171 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8173 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8174 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8175 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8176 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8177 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8178 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8179 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8180 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8181 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8182 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8183 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8185 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8186 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8187 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8188 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8189 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8190 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8191 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8192 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8193 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8194 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8195 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8196 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8197 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8198 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8199 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8200 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8202 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8205 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8206 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8208 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8210 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8211 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8214 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8216 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8217 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8218 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8219 (__fesetround): Remove define.
8220 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8221 rounding and exceptions handling.
8222 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8223 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8224 (__fe_nomask_env): Likewise.
8225 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8226 __fegetround instead of fegetround.
8227 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8228 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8230 2013-11-21 Roland McGrath <roland@hack.frob.com>
8232 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8235 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8237 2013-11-21 Meador Inge <meadori@codesourcery.com>
8240 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8241 (encrypt_r): Likewise.
8242 * malloc/obstack.h (obstack_free): Likewise.
8243 * posix/unistd.h (encrypt): Likewise.
8245 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8247 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8248 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8249 DL_CALL_DT_FINI() that call the functions directly.
8250 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8251 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8252 * elf/dl-fini.c: Likewise.
8254 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8256 * malloc/hooks.c (memalign_check): Add alignment rounding.
8257 * malloc/malloc.c (_mid_memalign): New function.
8258 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8259 Implement by calling _mid_memalign.
8260 * manual/probes.texi (Memory Allocation Probes): Remove
8261 memory_valloc_retry and memory_pvalloc_retry.
8263 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8265 * locale/programs/locarchive.c (open_archive): Add const
8266 qualifier to ARCHIVEFNAME and copy default fname to
8270 * libio/tst-widetext.input: Rename Oriya to Odia.
8271 * locale/iso-639.def: Likewise.
8273 * manual/probes.texi (Mathematical Function Probes): Add
8274 documentation for sin, cos, asin and acos probes.
8275 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8276 (__sin32): Add slowasin probe.
8277 (__cos32): Add slowacos probe.
8278 (__mpsin): Add slowsin probe.
8279 (__mpcos): Add slowcos probe.
8281 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8284 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8285 thread-local __sim_exceptions_thread and global
8286 __sim_exceptions_global.
8287 (__sim_disabled_exceptions): Change to thread-local
8288 __sim_disabled_exceptions_thread and global
8289 __sim_disabled_exceptions_global.
8290 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8291 and global __sim_round_mode_global.
8292 (__simulate_exceptions): Use thread-local floating-point state and
8293 set global state from it as needed.
8294 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8295 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8296 __sim_round_mode_thread.
8297 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8298 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8299 and global __sim_exceptions_global.
8300 (__sim_disabled_exceptions): Change to thread-local
8301 __sim_disabled_exceptions_thread and global
8302 __sim_disabled_exceptions_global.
8303 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8304 and global __sim_round_mode_global.
8305 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8306 (SIM_SET_GLOBAL): Likewise.
8307 * sysdeps/powerpc/soft-fp/sfp-machine.h
8308 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8309 __sim_round_mode_thread.
8310 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8311 __sim_disabled_exceptions_thread.
8312 (__sim_exceptions): Change to __sim_exceptions_thread.
8313 (__sim_disabled_exceptions): Change to
8314 __sim_disabled_exceptions_thread.
8315 (__sim_round_mode): Change to __sim_round_mode_thread.
8316 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8317 thread-local floating-point state and set global state from it as
8319 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8320 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8321 (__sim_disabled_exceptions): Remove extern declaration.
8322 (feenableexcept): Use thread-local floating-point state and set
8323 global state from it as needed.
8324 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8326 (__sim_disabled_exceptions): Likewise.
8327 (__sim_round_mode): Likewise.
8328 (__fegetenv): Use thread-local floating-point state.
8329 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8330 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8331 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8332 floating-point state and set global state from it as needed.
8333 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8334 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8335 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8337 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8338 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8340 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8341 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8342 Use __sim_round_mode_thread.
8343 * math/test-fenv-tls.c: New file.
8344 * math/Makefile (tests): Add test-fenv-tls.
8345 ($(objpfx)test-fenv-tls): Depend on
8346 $(common-objpfx)nptl/libpthread.so.
8348 2013-11-19 Andreas Schwab <schwab@suse.de>
8350 * locale/programs/locale.c (show_info): Decode wordarray elements.
8351 * locale/categories.def (LC_MONETARY): Add element for
8352 _NL_MONETARY_CRNCYSTR.
8353 * locale/C-monetary.c (conversion_rate): New variable.
8354 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8357 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8359 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8360 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8362 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8364 * elf/Makefile (tst-auxv): New test.
8365 * elf/tst-auxv.c: New
8366 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8368 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8370 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8371 (hidden_proto): Caller changed.
8372 (hidden_tls_proto): New macro.
8373 (libc_hidden_tls_proto): Likewise.
8374 (rtld_hidden_tls_proto): Likewise.
8375 (libm_hidden_tls_proto): Likewise.
8376 (libresolv_hidden_tls_proto): Likewise.
8377 (librt_hidden_tls_proto): Likewise.
8378 (libdl_hidden_tls_proto): Likewise.
8379 (libnss_files_hidden_tls_proto): Likewise.
8380 (libnsl_hidden_tls_proto): Likewise.
8381 (libnss_nisplus_hidden_tls_proto): Likewise.
8382 (libutil_hidden_tls_proto): Likewise.
8384 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8387 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8388 (decompose_rpath): Defer expansion to fillin_rpath.
8389 (_dl_init_paths): Pass linkmap to fillin_rpath.
8391 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8393 * benchtests/Makefile: Add strsep.
8394 * benchtests/bench-strsep.c: New file: strsep benchtest.
8395 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8397 2013-11-18 Andreas Schwab <schwab@suse.de>
8399 * locale/programs/locale.c (show_info) [case byte]: Check for
8400 '\377' instead of '\177'.
8401 * locale/C-monetary.c (not_available): Always use "\377".
8402 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8403 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8404 detect unavailable sign_posn locale elements.
8405 * locale/localeconv.c (__localeconv): For grouping and
8406 mon_grouping handle "\177" and "\377" like no grouping.
8407 (INT_ELEM): New macro. Use it to set all numeric members.
8408 * locale/programs/ld-monetary.c (monetary_read)
8409 <tok_mon_grouping>: Normalize single -1 to the empty string.
8410 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8413 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8416 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8417 when we match (nil).
8418 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8420 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8422 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8423 (NO_TEST_INLINE): Update value.
8424 (ERRNO_UNCHANGED): Likewise.
8425 (ERRNO_EDOM): Likewise.
8426 (ERRNO_ERANGE): Likewise.
8427 (IGNORE_RESULT): Likewise.
8428 (check_float_internal): Check signs of NaN results if
8430 (check_complex): Pass TEST_NAN_SIGN flag through to second
8431 check_float_internal call.
8432 (copysign_test_data): Add tests with quiet NaNs as second
8433 argument. Use TEST_NAN_SIGN.
8434 (fabs_test_data): Add test of negative quiet NaN argument. Use
8436 (signbit_test_data): Add tests of quiet NaN argument.
8437 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8439 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8441 (parse_args): Handle function results specified as IGNORE.
8442 * math/libm-test.inc (IGNORE_RESULT): New macro.
8443 (check_float_internal): Do not check numerical result if flag
8445 (check_complex): Pass through IGNORE_RESULT to second
8446 check_float_internal call.
8447 (check_int): Do not check numerical result if flag IGNORE_RESULT
8449 (check_long): Likewise.
8450 (check_bool): Likewise.
8451 (check_longlong): Likewise.
8452 (lrint_test_data): Add tests of infinite and NaN arguments.
8453 (lrint_tonearest_test_data): Likewise.
8454 (lrint_towardzero_test_data): Likewise.
8455 (lrint_downward_test_data): Likewise.
8456 (lrint_upward_test_data): Likewise.
8457 (llrint_test_data): Likewise.
8458 (llrint_tonearest_test_data): Likewise.
8459 (llrint_towardzero_test_data): Likewise.
8460 (llrint_downward_test_data): Likewise.
8461 (llrint_upward_test_data): Likewise.
8462 (lround_test_data): Likewise.
8463 (llround_test_data): Likewise.
8465 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8466 (ERRNO_UNCHANGED): Update value.
8467 (ERRNO_EDOM): Likewise.
8468 (ERRNO_ERANGE): Likewise.
8469 (NO_TEST_INLINE_FLOAT): New macro.
8470 (NO_TEST_INLINE_DOUBLE): Likewise.
8471 (enable_test): New function.
8472 (RUN_TEST_f_f): Check enable_test before running test.
8473 (RUN_TEST_2_f): Likewise.
8474 (RUN_TEST_fff_f): Likewise.
8475 (RUN_TEST_c_f): Likewise.
8476 (RUN_TEST_f_f1): Likewise.
8477 (RUN_TEST_fF_f1): Likewise.
8478 (RUN_TEST_fI_f1): Likewise.
8479 (RUN_TEST_ffI_f1): Likewise.
8480 (RUN_TEST_c_c): Likewise.
8481 (RUN_TEST_cc_c): Likewise.
8482 (RUN_TEST_f_i): Likewise.
8483 (RUN_TEST_f_i_tg): Likewise.
8484 (RUN_TEST_ff_i_tg): Likewise.
8485 (RUN_TEST_f_b): Likewise.
8486 (RUN_TEST_f_b_tg): Likewise.
8487 (RUN_TEST_f_l): Likewise.
8488 (RUN_TEST_f_L): Likewise.
8489 (RUN_TEST_fFF_11): Likewise.
8490 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8492 (cosh_test_data): Likewise.
8493 (exp_test_data): Likewise.
8494 (expm1_test_data): Likewise.
8495 (hypot_test_data): Likewise.
8496 (pow_test_data): Likewise.
8497 (sinh_test_data): Likewise.
8498 (tanh_test_data): Likewise.
8499 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8502 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8503 tests with quiet NaN input and output.
8504 (acosh_test_data): Likewise.
8505 (asin_test_data): Likewise.
8506 (asinh_test_data): Likewise.
8507 (atan_test_data): Likewise.
8508 (atanh_test_data): Likewise.
8509 (atan2_test_data): Likewise.
8510 (cbrt_test_data): Likewise.
8511 (cos_test_data): Likewise.
8512 (cosh_test_data): Likewise.
8513 (erf_test_data): Likewise.
8514 (erfc_test_data): Likewise.
8515 (exp_test_data): Likewise.
8516 (exp10_test_data): Likewise.
8517 (exp2_test_data): Likewise.
8518 (expm1_test_data): Likewise.
8519 (hypot_test_data): Likewise.
8520 (j0_test_data): Likewise.
8521 (j1_test_data): Likewise.
8522 (jn_test_data): Likewise.
8523 (lgamma_test_data): Likewise.
8524 (log_test_data): Likewise.
8525 (log10_test_data): Likewise.
8526 (log1p_test_data): Likewise.
8527 (log2_test_data): Likewise.
8528 (pow_test_data): Likewise.
8529 (scalb_test_data): Likewise.
8530 (sin_test_data): Likewise.
8531 (sincos_test_data): Likewise.
8532 (sinh_test_data): Likewise.
8533 (tan_test_data): Likewise.
8534 (tanh_test_data): Likewise.
8535 (tgamma_test_data): Likewise.
8536 (y0_test_data): Likewise.
8537 (y1_test_data): Likewise.
8538 (yn_test_data): Likewise.
8541 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8542 argument being NaN and avoid computations with second argument in
8544 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8545 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8546 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8548 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8550 * locale/iso-639.def: Add Chitwani Tharu (the).
8552 2013-11-14 Andreas Schwab <schwab@suse.de>
8554 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8555 word instead of empty string.
8557 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8560 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8562 (__fe_nomask_env): Likewise.
8564 2013-11-13 Steve Ellcey <sellcey@mips.com>
8566 * benchtests/bench-timing.h: Include time.h.
8568 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8571 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8573 * sysdeps/unix/sysv/linux/configure: Regenerated.
8575 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8578 * stdlib/strtod_l.c (round_and_return): Do not consider
8579 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8580 exponent one less than half the least subnormal exponent.
8581 * stdlib/test-strtod-round-data: Add more tests.
8582 * stdlib/tst-strtod-round.c (tests): Regenerated.
8584 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8587 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8588 (__fe_mask_env): Likewise.
8589 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8590 libm_hidden_proto and add function prototype.
8591 (__fe_mask_env): Add function prototype.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8593 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8595 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8597 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8599 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8601 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8602 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8604 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8606 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8607 of htab_find_slot().
8609 2013-11-11 David S. Miller <davem@davemloft.net>
8612 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8613 symbol in the non-vis3 case in static builds.
8614 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8615 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8616 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8617 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8619 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8622 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8625 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8627 * benchtests/Makefile: Add bench-strtod.
8628 * benchtests/bench-strtod.c: New file: strtod benchtest
8630 2013-11-11 Andreas Schwab <schwab@suse.de>
8633 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8634 terminating NUL in key length.
8636 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8638 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8639 Add artificial ODP entry for vDSO symbol for PPC64.
8640 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8641 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8643 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8646 * nss/getent.c (services_keys): Recognize services starting with digit.
8648 2013-11-06 David S. Miller <davem@davemloft.net>
8651 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8652 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8654 2013-11-06 Will Newton <will.newton@linaro.org>
8656 * manual/memory.texi (Malloc Examples): Remove register
8657 keyword from examples.
8659 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8661 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8663 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8666 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8667 depending on [__GCC_IEC_559 > 0].
8668 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8669 depending on [__GCC_IEC_559_COMPLEX > 0].
8671 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8673 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8676 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8678 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8680 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8683 * malloc/malloc (malloc_info): Do not handle first bin as
8686 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8688 * locale/iso-639.def: Add Central Nahuatl (nhn).
8690 2013-11-01 Bruno Haible <bruno@clisp.org>
8693 * manual/math.texi (BSD Random): Specify range upper bound as
8696 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8698 * locale/iso-639.def: Add Meadow Mari (mhr).
8700 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8702 [BZ #14752], [BZ #15763]
8703 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8705 * rt/tst_shm.c: Add test for escaping directory.
8707 2013-10-31 Andreas Schwab <schwab@suse.de>
8710 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8711 followed by 'x' as part of digit sequence.
8712 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8714 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8717 * configure.ac: allow GNU Make 4.0 and greater.
8718 * configure: Regenerated.
8720 2013-10-30 Will Newton <will.newton@linaro.org>
8723 * malloc/hooks.c (memalign_check): Limit alignment to the
8724 maximum representable power of two.
8725 * malloc/malloc.c (__libc_memalign): Likewise.
8726 * malloc/tst-memalign.c (do_test): Add test for very
8727 large alignment values.
8728 * malloc/tst-posix_memalign.c (do_test): Likewise.
8730 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8733 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8734 (munmap_chunk): Likewise.
8735 (mremap_chunk): Likewise.
8737 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8740 * stdlib/div.c (div): Remove obsolete code.
8741 * stdlib/ldiv.c (ldiv): Likewise.
8742 * stdlib/lldiv.c (lldiv): Likewise.
8744 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8747 * nss/nss_files/files-XXX.c (get_contents_ret): New
8749 (get_contents): New function.
8750 (internal_getent): Use it. Expand size of LINEBUFLEN.
8752 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8754 * configure.in: Moved to ...
8755 * configure.ac: ... here. Change reference to configure.in
8757 * sysdeps/arm/preconfigure.ac: ... here.
8758 configure.in to configure.ac.
8759 * sysdeps/gnu/configure.in: Moved to ...
8760 * sysdeps/gnu/configure.ac: ... here.
8761 * sysdeps/i386/configure.in: Moved to ...
8762 * sysdeps/i386/configure.ac: ... here.
8763 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8764 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8765 * sysdeps/mach/configure.in: Moved to ...
8766 * sysdeps/mach/configure.ac: ... here.
8767 * sysdeps/mach/hurd/configure.in: Moved to ...
8768 * sysdeps/mach/hurd/configure.ac: ... here.
8769 * sysdeps/powerpc/configure.in: Moved to ...
8770 * sysdeps/powerpc/configure.ac: ... here.
8771 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8772 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8773 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8774 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8775 * sysdeps/s390/s390-32/configure.in: Moved to ...
8776 * sysdeps/s390/s390-32/configure.ac: ... here.
8777 * sysdeps/s390/s390-64/configure.in: Moved to ...
8778 * sysdeps/s390/s390-64/configure.ac: ... here.
8779 * sysdeps/sh/configure.in: Moved to ...
8780 * sysdeps/sh/configure.ac: ... here.
8781 * sysdeps/sparc/configure.in: Moved to ...
8782 * sysdeps/sparc/configure.ac: ... here.
8783 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8784 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8785 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8786 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8787 * sysdeps/x86_64/configure.in: Moved to ...
8788 * sysdeps/x86_64/configure.ac: ... here.
8789 * sysdeps/x86_64/preconfigure.in: Moved to ...
8790 * sysdeps/x86_64/preconfigure.ac: ... here.
8791 * aclocal.m4: Change reference to configure.in to configure.ac.
8792 * config.h.in: Likewise.
8793 * manual/install.texi: Likewise.
8794 * manual/maint.texi: Likewise.
8795 * Makefile: Likewise.
8796 * malloc/Makefile: Likewise.
8797 * nscd/Makefile: Likewise.
8798 * Makeconfig: Change reference to configure.in and
8799 preconfigure.in to configure.ac and preconfigure.ac
8801 * INSTALL: Regenerated.
8802 * configure: Likewise.
8803 * sysdeps/gnu/configure: Likewise.
8804 * sysdeps/i386/configure: Likewise.
8805 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8806 * sysdeps/mach/configure: Likewise.
8807 * sysdeps/mach/hurd/configure: Likewise.
8808 * sysdeps/powerpc/configure: Likewise.
8809 * sysdeps/powerpc/powerpc32/configure: Likewise.
8810 * sysdeps/powerpc/powerpc64/configure: Likewise.
8811 * sysdeps/s390/s390-32/configure: Likewise.
8812 * sysdeps/s390/s390-64/configure: Likewise.
8813 * sysdeps/sh/configure: Likewise.
8814 * sysdeps/sparc/configure: Likewise.
8815 * sysdeps/unix/sysv/linux/configure: Likewise.
8816 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8817 * sysdeps/x86_64/configure: Likewise.
8818 * sysdeps/x86_64/preconfigure: Likewise.
8820 2013-10-29 Andreas Schwab <schwab@suse.de>
8822 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8824 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8826 * benchtests/pow-inputs: Add new inputs.
8828 * benchtests/exp-inputs: Add new inputs.
8830 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8831 conditional check for return value.
8832 (__cos32): Likewise.
8834 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8836 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8837 to provide a boost for large inputs with word alignment.
8838 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8839 implementation based on optimized PPC64 strcpy.
8840 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8841 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8842 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8843 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8845 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8848 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8850 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8853 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8854 * time/tst-strptime.c (day_tests): Add testcase.
8856 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8859 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8861 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8864 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8865 MAP_FAILED on error.
8867 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8870 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8871 heap for large requests.
8873 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8876 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8877 result if the result has no associated interface.
8878 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8879 interface for all 127.X.Y.Z addresses.
8881 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8883 * locale/iso-639.def: Add Ligurian (lij)
8885 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8888 * sunrpc/rpc_main.c: Document rpcgen -5.
8890 2013-10-19 Michael Stahl <mstahl@redhat.com>
8892 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8894 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8897 * posix/glob.c: Match only directories when trailing slash is present.
8898 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8899 (main): Add testcase.
8901 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8904 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8906 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8908 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8909 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8910 AUTH_DES and cindex for FIPS 140-2.
8911 (DES Encryption): Add cindex FIPS 46-3.
8913 * locale/locarchive.h (struct locarhandle): Add fname.
8914 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8915 if an optional argument was specified to --list-archive,
8917 * locale/programs/locarchive.c (show_archive_content): Take new
8918 argument fname and pass it via ah.fname to open_archive.
8919 * locale/programs/localedef.h: Update decl.
8920 (open_archive): If AH->fname is non-null, open that file
8921 rather than the default file name, and don't ignore ENOENT.
8922 (create_archive): Set AH.fname to NULL.
8923 (delete_locales_from_archive): Likewise.
8924 (add_locales_to_archive): Likewise.
8925 * locale/programs/locfile.c (write_all_categories): Likewise.
8927 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8928 Aldy Hernandez <aldyh@redhat.com>
8930 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8931 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8932 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8933 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8934 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8935 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8936 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8937 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8938 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8939 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8940 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8941 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8942 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8943 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8944 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8946 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8948 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8950 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8952 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8953 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8955 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8956 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8957 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8958 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8960 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8961 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8962 * sysdeps/powerpc/preconfigure: Likewise.
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8965 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8966 Replace contents of file by #include of <fenv_libc.h>.
8967 * sysdeps/powerpc/soft-fp/sfp-machine.h
8968 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8970 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8971 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8983 Allow copysignl PLT reference to be missing.
8985 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8986 Joseph Myers <joseph@codesourcery.com
8989 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8991 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8993 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8995 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8996 * elf/tst-tls1.c: Likewise.
8997 * elf/tst-tls10.h: Likewise.
8998 * elf/tst-tls14.c: Likewise.
8999 * elf/tst-tls2.c: Likewise.
9000 * elf/tst-tls3.c: Likewise.
9001 * elf/tst-tls4.c: Likewise.
9002 * elf/tst-tls5.c: Likewise.
9003 * elf/tst-tls6.c: Likewise.
9004 * elf/tst-tls7.c: Likewise.
9005 * elf/tst-tls8.c: Likewise.
9006 * elf/tst-tls9.c: Likewise.
9007 * elf/tst-tlsmod1.c: Likewise.
9008 * elf/tst-tlsmod13.c: Likewise.
9009 * elf/tst-tlsmod13a.c: Likewise.
9010 * elf/tst-tlsmod14a.c: Likewise.
9011 * elf/tst-tlsmod16a.c: Likewise.
9012 * elf/tst-tlsmod16b.c: Likewise.
9013 * elf/tst-tlsmod2.c: Likewise.
9014 * elf/tst-tlsmod3.c: Likewise.
9015 * elf/tst-tlsmod4.c: Likewise.
9016 * elf/tst-tlsmod5.c: Likewise.
9017 * elf/tst-tlsmod6.c: Likewise.
9019 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9022 * malloc/malloc.c: remove checks for statistics.
9024 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9027 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9028 * inet/tst-network.c: Add testcase.
9030 2013-10-17 Andreas Schwab <schwab@suse.de>
9033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9034 to determine canonical name.
9036 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9038 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9039 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9062 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9063 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9068 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9097 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9100 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9101 make result into a quiet NaN.
9103 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9105 * soft-fp/adddf3.c: Fix horizontal whitespace.
9106 * soft-fp/addsf3.c: Likewise.
9107 * soft-fp/addtf3.c: Likewise.
9108 * soft-fp/divdf3.c: Likewise.
9109 * soft-fp/divsf3.c: Likewise.
9110 * soft-fp/divtf3.c: Likewise.
9111 * soft-fp/double.h: Likewise.
9112 * soft-fp/eqdf2.c: Likewise.
9113 * soft-fp/eqsf2.c: Likewise.
9114 * soft-fp/eqtf2.c: Likewise.
9115 * soft-fp/extenddftf2.c: Likewise.
9116 * soft-fp/extended.h: Likewise.
9117 * soft-fp/extendsfdf2.c: Likewise.
9118 * soft-fp/extendsftf2.c: Likewise.
9119 * soft-fp/extendxftf2.c: Likewise.
9120 * soft-fp/fixdfdi.c: Likewise.
9121 * soft-fp/fixdfsi.c: Likewise.
9122 * soft-fp/fixdfti.c: Likewise.
9123 * soft-fp/fixsfdi.c: Likewise.
9124 * soft-fp/fixsfsi.c: Likewise.
9125 * soft-fp/fixsfti.c: Likewise.
9126 * soft-fp/fixtfdi.c: Likewise.
9127 * soft-fp/fixtfsi.c: Likewise.
9128 * soft-fp/fixtfti.c: Likewise.
9129 * soft-fp/fixunsdfdi.c: Likewise.
9130 * soft-fp/fixunsdfsi.c: Likewise.
9131 * soft-fp/fixunsdfti.c: Likewise.
9132 * soft-fp/fixunssfdi.c: Likewise.
9133 * soft-fp/fixunssfsi.c: Likewise.
9134 * soft-fp/fixunssfti.c: Likewise.
9135 * soft-fp/fixunstfdi.c: Likewise.
9136 * soft-fp/fixunstfsi.c: Likewise.
9137 * soft-fp/fixunstfti.c: Likewise.
9138 * soft-fp/floatdidf.c: Likewise.
9139 * soft-fp/floatdisf.c: Likewise.
9140 * soft-fp/floatditf.c: Likewise.
9141 * soft-fp/floatsidf.c: Likewise.
9142 * soft-fp/floatsisf.c: Likewise.
9143 * soft-fp/floatsitf.c: Likewise.
9144 * soft-fp/floattidf.c: Likewise.
9145 * soft-fp/floattisf.c: Likewise.
9146 * soft-fp/floattitf.c: Likewise.
9147 * soft-fp/floatundidf.c: Likewise.
9148 * soft-fp/floatundisf.c: Likewise.
9149 * soft-fp/floatunditf.c: Likewise.
9150 * soft-fp/floatunsidf.c: Likewise.
9151 * soft-fp/floatunsisf.c: Likewise.
9152 * soft-fp/floatunsitf.c: Likewise.
9153 * soft-fp/floatuntidf.c: Likewise.
9154 * soft-fp/floatuntisf.c: Likewise.
9155 * soft-fp/floatuntitf.c: Likewise.
9156 * soft-fp/fmadf4.c: Likewise.
9157 * soft-fp/fmasf4.c: Likewise.
9158 * soft-fp/fmatf4.c: Likewise.
9159 * soft-fp/gedf2.c: Likewise.
9160 * soft-fp/gesf2.c: Likewise.
9161 * soft-fp/getf2.c: Likewise.
9162 * soft-fp/ledf2.c: Likewise.
9163 * soft-fp/lesf2.c: Likewise.
9164 * soft-fp/letf2.c: Likewise.
9165 * soft-fp/muldf3.c: Likewise.
9166 * soft-fp/mulsf3.c: Likewise.
9167 * soft-fp/multf3.c: Likewise.
9168 * soft-fp/negdf2.c: Likewise.
9169 * soft-fp/negsf2.c: Likewise.
9170 * soft-fp/negtf2.c: Likewise.
9171 * soft-fp/op-1.h: Likewise.
9172 * soft-fp/op-2.h: Likewise.
9173 * soft-fp/op-4.h: Likewise.
9174 * soft-fp/op-8.h: Likewise.
9175 * soft-fp/op-common.h: Likewise.
9176 * soft-fp/quad.h: Likewise.
9177 * soft-fp/single.h: Likewise.
9178 * soft-fp/soft-fp.h: Likewise.
9179 * soft-fp/sqrtdf2.c: Likewise.
9180 * soft-fp/sqrtsf2.c: Likewise.
9181 * soft-fp/sqrttf2.c: Likewise.
9182 * soft-fp/subdf3.c: Likewise.
9183 * soft-fp/subsf3.c: Likewise.
9184 * soft-fp/subtf3.c: Likewise.
9185 * soft-fp/truncdfsf2.c: Likewise.
9186 * soft-fp/trunctfdf2.c: Likewise.
9187 * soft-fp/trunctfsf2.c: Likewise.
9188 * soft-fp/trunctfxf2.c: Likewise.
9189 * soft-fp/unorddf2.c: Likewise.
9190 * soft-fp/unordsf2.c: Likewise.
9191 * soft-fp/unordtf2.c: Likewise.
9193 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9195 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9196 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9198 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9200 * elf/dl-libc.c: Clear initfini list after freeing.
9202 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9204 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9205 * soft-fp/addsf3.c: Likewise.
9206 * soft-fp/addtf3.c: Likewise.
9207 * soft-fp/divdf3.c: Likewise.
9208 * soft-fp/divsf3.c: Likewise.
9209 * soft-fp/divtf3.c: Likewise.
9210 * soft-fp/double.h: Likewise.
9211 * soft-fp/eqdf2.c: Likewise.
9212 * soft-fp/eqsf2.c: Likewise.
9213 * soft-fp/eqtf2.c: Likewise.
9214 * soft-fp/extenddftf2.c: Likewise.
9215 * soft-fp/extended.h: Likewise.
9216 * soft-fp/extendsfdf2.c: Likewise.
9217 * soft-fp/extendsftf2.c: Likewise.
9218 * soft-fp/extendxftf2.c: Likewise.
9219 * soft-fp/fixdfdi.c: Likewise.
9220 * soft-fp/fixdfsi.c: Likewise.
9221 * soft-fp/fixdfti.c: Likewise.
9222 * soft-fp/fixsfdi.c: Likewise.
9223 * soft-fp/fixsfsi.c: Likewise.
9224 * soft-fp/fixsfti.c: Likewise.
9225 * soft-fp/fixtfdi.c: Likewise.
9226 * soft-fp/fixtfsi.c: Likewise.
9227 * soft-fp/fixtfti.c: Likewise.
9228 * soft-fp/fixunsdfdi.c: Likewise.
9229 * soft-fp/fixunsdfsi.c: Likewise.
9230 * soft-fp/fixunsdfti.c: Likewise.
9231 * soft-fp/fixunssfdi.c: Likewise.
9232 * soft-fp/fixunssfsi.c: Likewise.
9233 * soft-fp/fixunssfti.c: Likewise.
9234 * soft-fp/fixunstfdi.c: Likewise.
9235 * soft-fp/fixunstfsi.c: Likewise.
9236 * soft-fp/fixunstfti.c: Likewise.
9237 * soft-fp/floatdidf.c: Likewise.
9238 * soft-fp/floatdisf.c: Likewise.
9239 * soft-fp/floatditf.c: Likewise.
9240 * soft-fp/floatsidf.c: Likewise.
9241 * soft-fp/floatsisf.c: Likewise.
9242 * soft-fp/floatsitf.c: Likewise.
9243 * soft-fp/floattidf.c: Likewise.
9244 * soft-fp/floattisf.c: Likewise.
9245 * soft-fp/floattitf.c: Likewise.
9246 * soft-fp/floatundidf.c: Likewise.
9247 * soft-fp/floatundisf.c: Likewise.
9248 * soft-fp/floatunsidf.c: Likewise.
9249 * soft-fp/floatunsisf.c: Likewise.
9250 * soft-fp/floatuntidf.c: Likewise.
9251 * soft-fp/floatuntisf.c: Likewise.
9252 * soft-fp/floatuntitf.c: Likewise.
9253 * soft-fp/fmadf4.c: Likewise.
9254 * soft-fp/fmasf4.c: Likewise.
9255 * soft-fp/fmatf4.c: Likewise.
9256 * soft-fp/gedf2.c: Likewise.
9257 * soft-fp/gesf2.c: Likewise.
9258 * soft-fp/getf2.c: Likewise.
9259 * soft-fp/ledf2.c: Likewise.
9260 * soft-fp/lesf2.c: Likewise.
9261 * soft-fp/letf2.c: Likewise.
9262 * soft-fp/muldf3.c: Likewise.
9263 * soft-fp/mulsf3.c: Likewise.
9264 * soft-fp/multf3.c: Likewise.
9265 * soft-fp/negdf2.c: Likewise.
9266 * soft-fp/negsf2.c: Likewise.
9267 * soft-fp/negtf2.c: Likewise.
9268 * soft-fp/op-1.h: Likewise.
9269 * soft-fp/op-2.h: Likewise.
9270 * soft-fp/op-4.h: Likewise.
9271 * soft-fp/op-8.h: Likewise.
9272 * soft-fp/op-common.h: Likewise.
9273 * soft-fp/quad.h: Likewise.
9274 * soft-fp/single.h: Likewise.
9275 * soft-fp/soft-fp.h: Likewise.
9276 * soft-fp/sqrtdf2.c: Likewise.
9277 * soft-fp/sqrtsf2.c: Likewise.
9278 * soft-fp/sqrttf2.c: Likewise.
9279 * soft-fp/subdf3.c: Likewise.
9280 * soft-fp/subsf3.c: Likewise.
9281 * soft-fp/subtf3.c: Likewise.
9282 * soft-fp/truncdfsf2.c: Likewise.
9283 * soft-fp/trunctfdf2.c: Likewise.
9284 * soft-fp/trunctfsf2.c: Likewise.
9285 * soft-fp/trunctfxf2.c: Likewise.
9286 * soft-fp/unorddf2.c: Likewise.
9287 * soft-fp/unordsf2.c: Likewise.
9288 * soft-fp/unordtf2.c: Likewise.
9290 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9293 * misc/error.c (error_tail): Fix possible buffer overflow.
9295 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9298 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9301 2013-10-14 P. J. McDermott <pj@pehjota.net>
9304 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9305 testing pipefail option.
9307 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9309 * soft-fp/double.h: Indent preprocessor directives inside #if.
9310 * soft-fp/extended.h: Likewise.
9311 * soft-fp/op-2.h: Likewise.
9312 * soft-fp/op-4.h: Likewise.
9313 * soft-fp/op-common.h: Likewise.
9314 * soft-fp/quad.h: Likewise.
9315 * soft-fp/single.h: Likewise.
9316 * soft-fp/soft-fp.h: Likewise.
9318 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9320 * iconv/iconv_prog.c: Fix typos.
9321 * stdio-common/psiginfo-data.h: Likewise.
9323 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9326 * locale/setlocale.c: Fix typo.
9328 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9331 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9332 signaling NaN arguments.
9333 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9334 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9337 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9339 * soft-fp/gesf2.c (__gesf2): Likewise.
9340 * soft-fp/getf2.c (__getf2): Likewise.
9341 * soft-fp/ledf2.c (__ledf2): Likewise.
9342 * soft-fp/lesf2.c (__lesf2): Likewise.
9343 * soft-fp/letf2.c (__letf2): Likewise.
9345 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9346 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9347 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9348 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9349 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9350 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9351 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9352 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9353 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9354 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9355 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9356 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9357 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9358 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9359 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9360 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9361 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9362 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9363 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9364 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9365 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9366 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9367 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9368 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9369 * soft-fp/floattidf.c (__floattidf): Likewise.
9370 * soft-fp/floattisf.c (__floattisf): Likewise.
9371 * soft-fp/floattitf.c (__floattitf): Likewise.
9372 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9373 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9374 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9375 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9376 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9377 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9378 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9379 * soft-fp/gesf2.c (__gesf2): Likewise.
9380 * soft-fp/getf2.c (__getf2): Likewise.
9381 * soft-fp/ledf2.c (__ledf2): Likewise.
9382 * soft-fp/lesf2.c (__lesf2): Likewise.
9383 * soft-fp/letf2.c (__letf2): Likewise.
9385 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9386 Undefine and redefine.
9387 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9388 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9389 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9390 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9391 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9392 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9393 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9394 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9395 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9396 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9397 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9398 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9399 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9400 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9401 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9404 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9405 without decrementing exponent if mantissa >= that for the
9407 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9408 denominator, not >. Decrement exponent in < case instead of
9409 incrementing in >= case.
9410 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9411 without decrementing exponent if mantissa >= that for the
9414 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9415 computing saturated result for unsigned overflow.
9417 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9418 Jeff Law <law@redhat.com>
9420 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9421 (atan2Mp): Add systemtap probe marker.
9422 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9423 (__ieee754_log): Add systemtap probe marker.
9424 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9425 (atanMp): Add systemtap probe marker.
9426 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9427 (tanMp): Add systemtap probe marker.
9428 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9429 (__slowexp): Add systemtap probe marker.
9430 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9431 (__slowpow): Add systemtap probe marker.
9432 * manual/probes.texi: Document probes.
9434 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9437 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9439 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9441 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9442 written to buffer but not flushed.
9443 * libio/iofwrite_u.c: Likewise.
9444 * libio/iopadn.c: Return bytes returned even if EOF was
9446 * libio/iowpadn.c: Likewise.
9447 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9448 if _IO_padn does not write the whole buffer.
9449 [!COMPILE_WPRINTF] (PAD): Likewise.
9451 2013-10-10 David S. Miller <davem@davemloft.net>
9453 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9456 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9458 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9459 instead of FSF address.
9460 * soft-fp/fixdfti.c: Likewise.
9461 * soft-fp/fixsfti.c: Likewise.
9462 * soft-fp/fixtfti.c: Likewise.
9463 * soft-fp/fixunsdfti.c: Likewise.
9464 * soft-fp/fixunssfti.c: Likewise.
9465 * soft-fp/fixunstfti.c: Likewise.
9466 * soft-fp/floattidf.c: Likewise.
9467 * soft-fp/floattisf.c: Likewise.
9468 * soft-fp/floattitf.c: Likewise.
9469 * soft-fp/floatuntidf.c: Likewise.
9470 * soft-fp/floatuntisf.c: Likewise.
9471 * soft-fp/floatuntitf.c: Likewise.
9472 * soft-fp/trunctfxf2.c: Likewise.
9474 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9475 * soft-fp/fixdfti.c: Likewise.
9476 * soft-fp/fixsfti.c: Likewise.
9477 * soft-fp/fixtfti.c: Likewise.
9478 * soft-fp/fixunsdfti.c: Likewise.
9479 * soft-fp/fixunssfti.c: Likewise.
9480 * soft-fp/fixunstfti.c: Likewise.
9481 * soft-fp/floattidf.c: Likewise.
9482 * soft-fp/floattisf.c: Likewise.
9483 * soft-fp/floattitf.c: Likewise.
9484 * soft-fp/floatuntidf.c: Likewise.
9485 * soft-fp/floatuntisf.c: Likewise.
9486 * soft-fp/floatuntitf.c: Likewise.
9487 * soft-fp/trunctfxf2.c: Likewise.
9489 2013-10-10 David S. Miller <davem@davemloft.net>
9491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9493 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9495 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9496 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9497 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9498 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9499 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9500 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9501 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9504 for NaNs before doing comparisons on argument.
9505 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9508 2013-10-10 Will Newton <will.newton@linaro.org>
9510 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9511 passed to _int_memalign does not overflow.
9513 2013-10-10 Torvald Riegel <triegel@redhat.com>
9515 * scripts/bench.pl: Add include-sources directive.
9516 * benchtests/README: Update documentation.
9518 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9520 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9521 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9522 instead of FP_INIT_ROUNDMODE.
9523 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9524 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9527 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9528 copy class of input value.
9529 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9530 not handle exceptions.
9531 * soft-fp/negsf2.c (__negsf2): Likewise.
9532 * soft-fp/negtf2.c (__negtf2): Likewise.
9533 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9535 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9537 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9538 semicolon. From Linux kernel.
9540 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9542 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9544 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9547 * manual/socket.texi: Added statement about buffer
9548 for gethostbyname2_r.
9550 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9552 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9553 Use .p2align directive instead, throughout.
9554 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9555 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9556 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9557 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9558 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9559 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9560 * sysdeps/x86_64/strchr.S: Likewise.
9561 * sysdeps/x86_64/strrchr.S: Likewise.
9563 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9565 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9567 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9569 * sysdeps/generic/math_private.h (__mpsin1): Remove
9571 (__mpcos1): Likewise.
9572 (__mpsin): New argument __range_reduce.
9573 (__mpcos): Likewise.
9574 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9575 (slow): Use __mpsin and __mpcos.
9582 (bsloww1): Likewise.
9583 (bsloww2): Likewise.
9586 (csloww1): Likewise.
9587 (csloww2): Likewise.
9588 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9589 range_reduce. Merge in __mpsin1.
9590 (__mpcos): Likewise.
9592 (__mpcos1): Likewise.
9594 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9596 * locale/loadlocale.c (_nl_intern_locale_data): Use
9598 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9599 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9600 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9601 obstack data is appropriately aligned.
9602 (obstack_int32_grow_fast): Likewise.
9603 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9604 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9605 (add_locale_uint32_array): Likewise.
9607 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9609 * benchtests/Makefile: Remove ARGLIST and RET variables.
9610 ($(objpfx)bench-%.c): Pass only function name to the script.
9611 * benchtests/README: Update documentation.
9612 * benchtests/acos-inputs: Add new directives.
9613 * benchtests/acosh-inputs: Likewise.
9614 * benchtests/asin-inputs: Likewise.
9615 * benchtests/asinh-inputs: Likewise.
9616 * benchtests/atan-inputs: Likewise.
9617 * benchtests/atanh-inputs: Likewise.
9618 * benchtests/cos-inputs: Likewise.
9619 * benchtests/cosh-inputs: Likewise.
9620 * benchtests/exp-inputs: Likewise.
9621 * benchtests/log-inputs: Likewise.
9622 * benchtests/pow-inputs: Likewise.
9623 * benchtests/rint-inputs: Likewise.
9624 * benchtests/sin-inputs: Likewise.
9625 * benchtests/sinh-inputs: Likewise.
9626 * benchtests/tan-inputs: Likewise.
9627 * benchtests/tanh-inputs: Likewise.
9628 * scripts/bench.pl: Add support for new directives.
9630 2013-10-07 Alan Modra <amodra@gmail.com>
9632 * README: Fix careless merge.
9634 2013-10-05 Alan Modra <amodra@gmail.com>
9636 * NEWS: Mention powerpc64le support and bugs fixed.
9637 * README: Both big-endian and little-endian powerpc64 supported.
9639 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9641 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9642 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9643 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9644 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9646 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9648 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9651 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9653 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9654 Move -mhard-float appending from
9655 ports/sysdeps/powerpc/powerpc32/Makefile.
9656 [$(with-fp) = yes] (ASFLAGS): Likewise.
9657 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9658 * sysdeps/powerpc/nofpu: Move directory from
9659 ports/sysdeps/powerpc/nofpu.
9660 * sysdeps/powerpc/soft-fp: Move directory from
9661 ports/sysdeps/powerpc/soft-fp.
9662 * sysdeps/powerpc/powerpc32/405: Move directory from
9663 ports/sysdeps/powerpc/powerpc32/405.
9664 * sysdeps/powerpc/powerpc32/440: Move directory from
9665 ports/sysdeps/powerpc/powerpc32/440.
9666 * sysdeps/powerpc/powerpc32/464: Move directory from
9667 ports/sysdeps/powerpc/powerpc32/464.
9668 * sysdeps/powerpc/powerpc32/476: Move directory from
9669 ports/sysdeps/powerpc/powerpc32/476.
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9671 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9673 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9675 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9677 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9679 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9680 * README: Update for powerpc-*-linux-gnu software floating point
9683 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9684 case to powerpc/powerpc32*.
9685 * sysdeps/unix/sysv/linux/configure: Regenerated.
9687 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9688 (_FPU_MASK_OM): Define as 0x04.
9689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9697 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9700 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9703 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9704 and setcontext_e500.
9706 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9708 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9710 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9712 * manual/threads.texi (Default Thread Attributes): Fix typo.
9714 2013-10-04 Will Newton <will.newton@linaro.org>
9716 * malloc/Makefile: Add tst-memalign.
9717 * malloc/tst-memalign.c: New file.
9719 * malloc/tst-posix_memalign.c: Add comments.
9720 (do_test): Add comments and call free on all potentially
9721 allocated pointers. Add space after cast.
9723 * malloc/tst-pvalloc.c: Add comments.
9724 (do_test): Add comments and call free on all potentially
9725 allocated pointers. Remove duplicate check for NULL pointer.
9726 Add space after cast.
9728 * malloc/tst-valloc.c: Add comments.
9729 (do_test): Add comments and call free on all potentially
9730 allocated pointers. Remove duplicate check for NULL pointer.
9731 Add space after cast.
9733 2013-10-04 Alan Modra <amodra@gmail.com>
9735 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9736 Use stdint types in rather than __attribute__((mode())).
9737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9739 2013-10-04 Alan Modra <amodra@gmail.com>
9741 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9742 Correct handling of unaligned relocs for little-endian.
9743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9745 2013-10-04 Alan Modra <amodra@gmail.com>
9747 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9748 * configure: Regenerate.
9749 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9750 * shlib-versions: Likewise.
9752 2013-10-04 Alan Modra <amodra@gmail.com>
9754 * string/tester.c (test_memrchr): Increment reported test cycle.
9756 2013-10-04 Alan Modra <amodra@gmail.com>
9758 * string/test-memcpy.c (do_one_test): When reporting errors, print
9759 string address and don't overrun end of string.
9761 2013-10-04 Alan Modra <amodra@gmail.com>
9763 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9764 insrdi. Make better use of reg selection to speed exit slightly.
9765 Schedule entry path a little better. Remove useless "are we done"
9766 checks on entry to main loop. Handle wrapping around zero address.
9767 Correct main loop count. Handle single left-over word from main
9768 loop inline rather than by using loop_small. Remove extra word
9769 case in loop_small caused by wrong loop count. Add little-endian
9771 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9772 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9774 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9775 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9776 support. Avoid rlwimi.
9777 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9779 2013-10-04 Alan Modra <amodra@gmail.com>
9781 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9783 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9784 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9785 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9786 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9787 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9788 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9790 2013-10-04 Alan Modra <amodra@gmail.com>
9792 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9793 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9794 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9795 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9796 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9797 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9798 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9799 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9800 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9801 use of regs. Use power7 mtocrf. Tidy function tails.
9803 2013-10-04 Alan Modra <amodra@gmail.com>
9805 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9806 Formatting. Consistently use rXXX register defines or rN defines.
9807 Use early exit labels that avoid restoring unused non-volatile regs.
9808 Make cr field use more consistent with rWORDn compares. Rename
9809 regs used as shift registers for unaligned loop, using rN defines
9810 for short lifetime/multiple use regs.
9811 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9812 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9813 addi 1,1,64 to pop stack frame. Simplify return value code.
9814 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9816 2013-10-04 Alan Modra <amodra@gmail.com>
9818 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9819 support. Correct typos, formatting. Optimize tail. Use insrdi
9821 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9822 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9823 little-endian support. Correct typos.
9824 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9826 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9827 in loop and entry code to keep "and." results.
9828 (strchr): Add little-endian support. Comment. Move cntlzd
9830 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9832 2013-10-04 Alan Modra <amodra@gmail.com>
9834 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9835 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9836 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9837 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9839 2013-10-04 Alan Modra <amodra@gmail.com>
9841 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9842 (rTMP): Define as r11.
9843 (strcmp): Add little-endian support. Optimise tail.
9844 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9845 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9846 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9847 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9848 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9849 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9852 2013-10-04 Alan Modra <amodra@gmail.com>
9854 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9855 little-endian support. Remove unnecessary "are we done" tests.
9856 Handle "s" wrapping around zero and extremely large "size".
9857 Correct main loop count. Handle single left-over word from main
9858 loop inline rather than by using small_loop. Correct comments.
9859 Delete "zero" tail, use "end_max" instead.
9860 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9862 2013-10-04 Alan Modra <amodra@gmail.com>
9864 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9865 support. Don't branch over align.
9866 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9867 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9868 support. Rearrange tmp reg use to suit. Comment.
9869 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9871 2013-10-04 Alan Modra <amodra@gmail.com>
9873 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9875 2013-10-04 Alan Modra <amodra@gmail.com>
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9878 conditional form of branch and link when obtaining pc.
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9881 2013-10-04 Alan Modra <amodra@gmail.com>
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9888 2013-10-04 Alan Modra <amodra@gmail.com>
9890 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9891 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9892 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9893 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9894 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9895 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9896 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9897 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9898 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9899 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9901 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9902 Alistair Popple <alistair@ozlabs.au.ibm.com>
9903 Alan Modra <amodra@gmail.com>
9906 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9907 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9908 _dl_hwcap access for little-endian.
9909 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9910 destroy vmx regs when saving unaligned.
9911 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9912 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9913 destroy vmx regs when saving unaligned.
9915 2013-10-04 Alan Modra <amodra@gmail.com>
9917 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9918 Don't use a union to pack hi/low value.
9920 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9922 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9924 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9925 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9927 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9928 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9930 2013-10-04 Alan Modra <amodra@gmail.com>
9932 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9933 constants to usual value for .cst8 section, and remove redundant
9935 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9936 constant for 0x1p52. Load little-endian words of double from
9937 correct stack offsets.
9939 2013-10-04 Alan Modra <amodra@gmail.com>
9941 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9942 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9943 words of double from correct stack offsets.
9944 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9945 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9946 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9947 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9948 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9949 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9950 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9951 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9953 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9954 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9955 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9956 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9957 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9958 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9959 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9960 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9962 2013-10-04 Alan Modra <amodra@gmail.com>
9964 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9965 64-bit int/double union.
9966 (_FPU_SETCW): Likewise.
9967 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9968 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9970 2013-10-04 Alan Modra <amodra@gmail.com>
9972 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9973 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9975 2013-10-04 Alan Modra <amodra@gmail.com>
9977 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9978 use vector int constants.
9979 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9981 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9983 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9984 array with long long.
9985 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9986 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9987 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9988 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9989 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9990 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9991 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9992 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9993 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9994 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9995 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9996 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9997 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9999 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10001 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10002 (__signbit): Likewise. Correct for little-endian.
10003 (__signbitl): Call __signbit.
10004 (lrint): Correct for little-endian.
10005 (lrintf): Call lrint.
10007 2013-10-04 Alan Modra <amodra@gmail.com>
10009 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10010 union 32-bit int array member with 64-bit int array.
10011 (t515, tm256): Double rather than long double.
10012 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10014 2013-10-04 Alan Modra <amodra@gmail.com>
10016 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10018 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10020 version of math_ldbl.h.
10022 2013-10-04 Alan Modra <amodra@gmail.com>
10024 [BZ #15734], [BZ #15735]
10025 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10026 all uses of ieee875 long double macros and unions. Simplify test
10027 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10028 ldbl_extract_mantissa value for ix,iy exponents. Properly
10029 normalize after ldbl_extract_mantissa, and don't add hidden bit
10030 already handled. Don't treat low word of ieee854 mantissa like
10031 low word of IBM long double and mask off bit when testing for
10033 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10034 all uses of ieee875 long double macros and unions. Simplify tests
10035 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10036 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10037 two1022, instead use their values. Recognise that tests for large
10038 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10039 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10040 Rewrite all uses of ieee875 long double macros and unions. Simplify
10041 test for 0.0L and nan. Correct negation.
10042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10043 ieee875 long double macros and unions. Correct output for large
10044 magnitude x. Correct absolute value calculation.
10045 (__erfcl): Likewise.
10046 * math/libm-test.inc: Add tests for errors discovered in IBM long
10047 double versions of fmodl, remainderl, erfl and erfcl.
10049 2013-10-04 Alan Modra <amodra@gmail.com>
10051 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10052 all uses of ieee854 long double macros and unions. Simplify tests
10053 for long doubles that are fully specified by the high double.
10054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10056 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10057 Remove dead code too.
10058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10059 (__ieee754_ynl): Likewise.
10060 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10063 Remove dead code too.
10064 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10065 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10067 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10069 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10073 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10074 Comment on variable precision.
10075 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10076 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10078 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10079 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10080 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10081 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10082 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10084 2013-10-04 Alan Modra <amodra@gmail.com>
10086 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10087 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10088 all uses of ieee854 long double macros and unions.
10089 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10096 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10097 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10098 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10099 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10100 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10101 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10102 Simplify sign and nan test too.
10103 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10104 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10105 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10106 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10108 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10109 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10112 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10113 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10114 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10115 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10118 2013-10-04 Alan Modra <amodra@gmail.com>
10120 * stdio-common/printf_size.c (__printf_size): Don't use
10121 union ieee854_long_double in fpnum union.
10122 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10123 signbit macro to retrieve sign from long double.
10124 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10125 retrieve sign from long double.
10126 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10127 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10128 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10129 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10130 * math/test-misc.c (main): Don't use union ieee854_long_double.
10132 2013-10-04 Alan Modra <amodra@gmail.com>
10135 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10136 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10137 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10138 calculation. Remove unnecessary test for denormal exponent.
10139 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10140 Correct handling of denormals. Avoid undefined shift behaviour.
10141 Correct normalisation of low mantissa when low double is denormal.
10142 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10143 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10144 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10145 Correct normalisation of low mantissa. Test for overflow of high
10146 mantissa and normalise.
10147 (ldbl_nearbyint): Use more readable constant for two52.
10148 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10149 (__mpn_construct_long_double): Fix test for overflow of high
10150 mantissa and correct normalisation. Avoid undefined shift.
10152 2013-10-04 Alan Modra <amodra@gmail.com>
10154 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10155 (union ibm_extended_long_double): Define as an array of ieee754_double.
10156 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10157 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10158 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10159 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10163 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10168 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10170 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10171 page size instead of calling getpagesize.
10173 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10174 (LOCFILE_ALIGN_MASK): Likewise.
10175 (LOCFILE_ALIGN_UP): Likewise.
10176 (LOCFILE_ALIGNED_P): Likewise.
10177 * locale/programs/ld-collate.c (collate_output): Use the new
10178 macros instead of __alignof__ (int32_t).
10179 * locale/weight.h (findidx): Likewise.
10181 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10184 * manual/string.texi: Fix strncat and wcsncat.
10186 2013-10-03 Brooks Moses <bmoses@google.com>
10189 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10190 * Makerules: ...here, and adjust associated comments.
10192 2013-10-02 Will Newton <will.newton@linaro.org>
10194 * malloc/Makefile: Add tst-pvalloc.
10195 * malloc/tst-pvalloc.c: New file.
10197 2013-10-02 Will Newton <will.newton@linaro.org>
10199 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10200 improve test coverage.
10202 2013-10-02 Will Newton <will.newton@linaro.org>
10204 * malloc/Makefile: Add tst-posix_memalign.
10205 * malloc/tst-posix_memalign.c: New file.
10207 2013-10-01 Eric Blake <eblake@redhat.com>
10209 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10210 Use __THROWNL rather than __THROW on static functions.
10212 2013-09-30 Petr Machata <pmachata@redhat.com>
10214 * elf/elf.h (R_AARCH64_ABS16): New macro.
10215 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10216 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10217 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10218 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10219 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10220 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10221 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10222 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10223 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10224 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10225 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10226 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10227 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10228 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10229 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10230 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10231 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10232 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10233 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10234 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10235 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10236 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10237 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10238 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10239 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10240 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10241 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10242 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10243 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10244 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10245 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10246 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10247 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10248 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10249 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10250 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10251 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10252 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10253 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10254 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10255 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10256 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10257 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10258 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10259 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10260 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10261 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10262 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10263 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10264 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10265 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10266 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10267 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10268 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10269 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10270 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10271 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10272 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10273 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10274 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10275 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10276 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10277 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10278 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10279 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10280 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10281 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10282 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10283 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10284 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10285 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10286 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10287 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10288 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10289 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10290 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10291 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10292 (R_AARCH64_TLSDESC_LDR): Likewise.
10293 (R_AARCH64_TLSDESC_ADD): Likewise.
10294 (R_AARCH64_TLSDESC_CALL): Likewise.
10296 2013-09-30 Andreas Schwab <schwab@suse.de>
10299 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10300 the nss database lookup.
10301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10304 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10306 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10308 2013-09-28 P. J. McDermott <pj@pehjota.net>
10310 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10311 ${Bash-specific parameter/pattern/string} parameter expansion.
10312 * sysdeps/unix/make-syscalls.sh: Likewise.
10314 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10316 * sysdeps/sh/stackguard-macros.h: New file.
10318 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10322 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10323 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10324 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10325 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10327 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10329 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10330 Fix thread ID register.
10332 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10334 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10335 [POSIX || UNIX98]: Require rather than permitting all symbols from
10337 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10338 element of struct sched_param.
10339 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10340 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10341 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10342 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10345 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10347 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10348 argument calculation.
10350 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10352 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10354 [POSIX] (pthread_attr_t): Do not require type.
10355 [POSIX] (pthread_cond_t): Likewise.
10356 [POSIX] (pthread_condattr_t): Likewise.
10357 [POSIX] (pthread_key_t): Likewise.
10358 [POSIX] (pthread_mutex_t): Likewise.
10359 [POSIX] (pthread_mutexattr_t): Likewise.
10360 [POSIX] (pthread_once_t): Likewise.
10361 [POSIX] (pthread_t): Likewise.
10362 [POSIX-based standards] (pthread_atfork): Expect function.
10364 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10365 Richard Sandiford <richard@codesourcery.com>
10367 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10368 (swap_endianness_p): New extern variable.
10369 (set_big_endian): New inline function.
10370 (maybe_swap_uint32): Likewise.
10371 (maybe_swap_uint32_array): Likewise.
10372 (maybe_swap_uint32_obstack): Likewise.
10373 * locale/programs/locfile.c: Include <stdbool.h>.
10374 (swap_endianness_p): New variable.
10375 (add_locale_uint32): Call maybe_swap_uint32.
10376 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10377 (write_locale_data): Call maybe_swap_uint32_array.
10378 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10380 (obstack_int32_grow_fast): Likewise.
10381 (output_weightwc): Call maybe_swap_uint32_obstack.
10382 (collate_output): Likewise.
10383 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10384 (OPT_LITTLE_ENDIAN): Likewise.
10385 (options): Add --little-endian and --big-endian options.
10386 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10387 * locale/programs/locarchive.c: Include "locfile.h".
10391 (create_archive): Use the new macros to access fields of
10392 structures directly mapped from or written to locale archives.
10393 (oldlocrecentcmp): Likewise.
10394 (enlarge_archive): Likewise.
10395 (insert_name): Likewise.
10396 (add_alias): Likewise.
10397 (add_locale): Likewise.
10398 (delete_locales_from_archive): Likewise.
10399 (show_archive_content): Likewise.
10400 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10403 2013-09-24 Roland McGrath <roland@hack.frob.com>
10405 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10406 http://www.gnu.org/doc/freemanuals.texi.
10407 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10409 2013-09-24 Will Newton <will.newton@linaro.org>
10411 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10414 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10416 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10419 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10421 * manual/threads.texi (POSIX Threads): Fix a typo.
10423 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10426 * string/tst-strcoll-overflow.c: New test case.
10427 * string/Makefile (xtests): Add tst-strcoll-overflow.
10428 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10429 cache if string sizes may cause integer overflow.
10432 * string/strcoll_l.c (coll_seq): New members rule, idx,
10433 save_idx and back_us.
10434 (get_next_seq_nocache): New function.
10435 (do_compare_nocache): New function.
10436 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10439 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10442 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10443 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10444 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10447 * elf/Makefile (tests): Add tst-ptrguard1.
10448 (tests-static): Add tst-ptrguard1-static.
10449 (tst-ptrguard1-ARGS): Define.
10450 (tst-ptrguard1-static-ARGS): Define.
10451 * elf/tst-ptrguard1.c: New file.
10452 * elf/tst-ptrguard1-static.c: New file.
10453 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10454 * sysdeps/i386/stackguard-macros.h: Likewise.
10455 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10456 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10457 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10458 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10459 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10460 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10462 2013-09-23 Hector Marco <hecmargi@upv.es>
10463 Ismael Ripoll <iripoll@disca.upv.es>
10464 Carlos O'Donell <carlos@redhat.com>
10467 * sysdeps/generic/stackguard-macros.h: Define
10468 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10469 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10470 Define __pointer_chk_guard_local.
10471 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10472 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10474 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10477 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10479 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10481 * include/string.h (__ffs): Declare as hidden.
10482 * string/ffs.c (__ffs): Define as hidden.
10483 * sysdeps/i386/ffs.c (__ffs): Likewise.
10484 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10485 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10486 * sysdeps/s390/ffs.c (__ffs): Likewise.
10487 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10489 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10491 * NEWS: Mention malloc probes.
10493 * malloc/arena.c (new_heap): New memory_heap_new probe.
10494 (grow_heap): New memory_heap_more probe.
10495 (shrink_heap): New memory_heap_less probe.
10496 (heap_trim): New memory_heap_free probe.
10497 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10498 (systrim): New memory_sbrk_less probe.
10499 * manual/probes.texi: Document them.
10501 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10502 * manual/probes.texi: Document it.
10504 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10505 (__libc_realloc): Add memory_realloc_retry probe.
10506 (__libc_memalign): Add memory_memalign_retry probe.
10507 (__libc_valloc): Add memory_valloc_retry probe.
10508 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10509 (__libc_calloc): Add memory_calloc_retry probe.
10510 * manual/probes.texi: Document them.
10512 * malloc/arena.c (get_free_list): Add probe
10513 memory_arena_reuse_free_list.
10514 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10515 and memory_arena_reuse.
10516 (arena_get2) [!PER_THREAD]: Likewise.
10517 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10518 memory_arena_reuse_realloc.
10519 * manual/probes.texi: Document them.
10521 * malloc/malloc.c (__libc_free): Add
10522 memory_mallopt_free_dyn_thresholds probe.
10523 (__libc_mallopt): Add multiple memory_mallopt probes.
10524 * manual/probes.texi: Document them.
10526 * malloc/malloc.c: Include stap-probe.h.
10527 (__libc_mallopt): Add memory_mallopt probe.
10528 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10529 * manual/probes.texi: New.
10530 * manual/Makefile (chapters): Add probes.
10531 * manual/threads.texi: Set next node.
10533 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10535 [BZ #15963, #13985]
10536 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10537 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10538 Add `Chinese' to `nan' entry name.
10540 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10542 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10543 (POLYNOMIAL): Likewise.
10544 (TAYLOR_SINCOS): Likewise.
10545 (TAYLOR_SLOW): Likewise.
10546 (__sin): Use TAYLOR_SINCOS.
10548 (slow): Use TAYLOR_SLOW.
10550 (bsloww): Likewise.
10551 (csloww): Likewise.
10553 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10555 * stdlib/strtod_l.c: Fix buffer overrun.
10557 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10559 * benchtests/Makefile (bench): Add sincos.
10560 * benchtests/bench-sincos.c: New file.
10562 * math/libm-test.inc (cos_test_data): New test inputs.
10563 (sin_test_data): Likewise.
10565 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10571 (sloww1): Likewise.
10572 (sloww2): Likewise.
10573 (bsloww1): Likewise.
10574 (bsloww2): Likewise.
10575 (cslow2): Likewise.
10576 (csloww1): Likewise.
10577 (csloww2): Likewise.
10579 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10584 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10588 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10590 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10591 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10592 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10593 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10594 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10595 * elf/cache.c (print_entry): Handle the new cache flags.
10597 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10598 Aldy Hernandez <aldyh@redhat.com>
10600 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10601 Change condition to [_SOFT_FLOAT].
10602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10614 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10617 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10620 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10622 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10623 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10624 (__longjmp): Use LOAD_GP to load saved GPRs.
10625 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10626 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10627 (__sigsetjmp): Use SAVE_GP to save GPRs.
10629 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10630 Do not append -msoft-float.
10631 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10633 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10635 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10637 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10640 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10641 (_FPU_GETCW): Use initial "__" on variable and field names but not
10642 on macro parameter name.
10643 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10644 parentheses around reference to macro parameter.
10646 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10648 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10650 (ctype_startup): Use uint32_t in cast and sizeof for
10653 2013-09-11 Jia Liu <proljc@gmail.com>
10655 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10657 [__FreeBSD__]: Likewise.
10659 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10662 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10663 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10664 (strchr): Remove __strchr_sse42 ifunc selection.
10665 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10666 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10668 2013-09-11 Will Newton <will.newton@linaro.org>
10670 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10671 parameter to RES. Remove hardcoded 1000 value.
10672 * benchtests/bench-skeleton.c (main): Pass RES parameter
10673 to TIMING_INIT and multiply result by 1000.
10675 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10679 2013-09-11 Andreas Schwab <schwab@suse.de>
10681 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10683 (O_TMPFILE) [__USE_GNU]: Define.
10684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10687 2013-09-11 Will Newton <will.newton@linaro.org>
10690 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10693 2013-09-11 Will Newton <will.newton@linaro.org>
10696 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10699 2013-09-11 Will Newton <will.newton@linaro.org>
10702 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10705 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10707 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10708 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10713 2013-09-10 Allan McRae <allan@archlinux.org>
10716 * manual/arith.texi (Parsing of Floats): Clarify
10720 * manual/install.texi (Running make install): Mention
10722 * INSTALL: Regenerated.
10724 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10726 * csu/init-first.c (_init): Remove the !SHARED condition around
10727 FPU control word initialization.
10728 * elf/dl-support.c (_dl_fpu_control): New variable.
10729 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10730 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10731 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10732 * math/test-fpucw-static.c: New file.
10733 * math/test-fpucw-ieee.c: New file.
10734 * math/test-fpucw-ieee-static.c: New file.
10735 * math/Makefile (tests): Add `test-fpucw-ieee' and
10737 (tests-static): New variable.
10738 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10740 [($(build-shared),yes)]
10741 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10743 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10746 2013-09-09 Allan McRae <allan@archlinux.org>
10749 * manual/string.texi (Collation Functions): Fix typo in
10751 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10754 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10757 * libio/memstream.c (open_memstream): Fix memory leak.
10758 * libio/wmemstream.c (open_wmemstream): Likewise.
10761 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10763 2013-09-09 Will Newton <will.newton@linaro.org>
10765 * malloc/Makefile: Add tst-realloc to tests.
10766 * malloc/tst-realloc.c: New file.
10768 2013-09-09 Allan McRae <allan@archlinux.org>
10771 * COPYING: Update from GNU website to fix FSF address.
10772 * COPYING.LIB: Likewise.
10774 2013-09-06 David S. Miller <davem@davemloft.net>
10776 * po/zh_TW.po: Update Chinese (traditional) translation from
10777 translation project.
10779 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10780 Joseph Myers <joseph@codesourcery.com>
10782 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10784 (obstack_chunk_alloc): New macro.
10785 (obstack_chunk_free): Likewise.
10786 (record_offset): New function.
10787 (init_locale_data): Likewise.
10788 (align_locale_data): Likewise.
10789 (add_locale_empty): Likewise.
10790 (add_locale_raw_data): Likewise.
10791 (add_locale_raw_obstack): Likewise.
10792 (add_locale_string): Likewise.
10793 (add_locale_wstring): Likewise.
10794 (add_locale_uint32): Likewise.
10795 (add_locale_uint32_array): Likewise.
10796 (add_locale_char): Likewise.
10797 (start_locale_structure): Likewise.
10798 (end_locale_structure): Likewise.
10799 (start_locale_prelude): Likewise.
10800 (end_locale_prelude): Likewise.
10801 (write_locale_data): Take locale_file structure rather than an
10803 * locale/programs/locfile.h: Include "obstack.h".
10804 (struct locale_file): Change to store locale file contents instead
10806 (init_locale_data): New prototype.
10807 (align_locale_data): Likewise.
10808 (add_locale_empty): Likewise.
10809 (add_locale_raw_data): Likewise.
10810 (add_locale_raw_obstack): Likewise.
10811 (add_locale_string): Likewise.
10812 (add_locale_wstring): Likewise.
10813 (add_locale_uint32): Likewise.
10814 (add_locale_uint32_array): Likewise.
10815 (add_locale_char): Likewise.
10816 (start_locale_structure): Likewise.
10817 (end_locale_structure): Likewise.
10818 (start_locale_prelude): Likewise.
10819 (end_locale_prelude): Likewise.
10820 (write_locale_data): Update prototype.
10821 * locale/programs/3level.h (struct TABLE): Remove result field.
10822 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10823 Use new locale_file interface.
10824 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10825 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10826 * locale/programs/ld-address.c (address_output): Use new
10827 locale_file interface.
10828 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10830 (collate_finish): Don't call collseq_table_finalize.
10831 (collate_output): Use new locale_file interface.
10832 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10834 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10835 (TABLE): Move defines earlier in file.
10836 (ELEMENT): Likewise.
10837 (DEFAULT): Likewise.
10838 (wctrans_table_add): Move macro and inline function earlier in
10840 (struct wctype_table): Move type earlier in file.
10841 (add_locale_wctype_table): New static prototype.
10842 (struct locale_ctype_t): Use logical types instead of struct iovec
10843 pointers for members.
10844 (ctype_output): Use new locale_file interface.
10845 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10846 new locale_file interface.
10847 (allocate_arrays): Update for use of new locale_file interface.
10848 * locale/programs/ld-identification.c (identification_output): Use
10849 new locale_file interface.
10850 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10851 * locale/programs/ld-messages.c (messages_output): Likewise.
10852 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10853 * locale/programs/ld-name.c (name_output): Likewise.
10854 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10855 * locale/programs/ld-paper.c (paper_output): Likewise.
10856 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10857 * locale/programs/ld-time.c (time_output): Likewise.
10859 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10861 * benchtests/Makefile: Add memrchr benchmark.
10862 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10863 benchmark as memrchr.
10864 * benchtests/bench-memrchr-ifunc.c: New file.
10865 * benchtests/bench-memrchr.c: New file.
10867 2013-09-06 Will Newton <will.newton@linaro.org>
10869 * benchtests/Makefile (string-bench): Add memcpy.
10871 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10872 Cong Wang <amwang@redhat.com>
10875 * sysdeps/unix/sysv/linux/bits/in.h
10876 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10877 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10878 before __USE_KERNEL_IPV6_DEFS uses.
10879 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10881 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10882 sockaddr_in6, or ipv6_mreq.
10884 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10886 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10887 memory access for final bytes in some large inputs.
10888 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10890 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10892 * string/test-memrchr.c: New file.
10893 * string/test-memrchr-ifunc.c: New file.
10894 * string/Makefile: Add new memrchr testcase.
10896 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10898 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10899 fanotify_init returns EPERM.
10901 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10903 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10905 (top level): Treat second token from macro or constant entries for
10906 allowed headers as allowed.
10907 * include/complex.h: Condition internal declarations on
10909 * include/fenv.h: Condition include of <stdbool.h> and internal
10910 declarations on [!_ISOMAC].
10912 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10915 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10917 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10919 * configure.in (--enable-versioning): Remove configure option.
10920 (libc_cv_asm_symver_directive): Remove configure test.
10921 (libc_cv_ld_version_script_option): Likewise.
10922 (VERSIONING): Remove variable and AC_SUBST.
10923 (DO_VERSIONING): Remove AC_DEFINE.
10924 * configure: Regenerated.
10925 * config.h.in (DO_VERSIONING): Remove macro.
10926 * Makerules [$(versioning) = yes]: Change conditionals to
10927 [$(build-shared) = yes].
10928 * config.make.in (versioning): Remove variable.
10929 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10930 [$(build-shared) = yes].
10931 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10932 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10933 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10934 [$(build-shared) = yes].
10935 * extra-lib.mk [$(versioning) = yes]: Likewise.
10936 * hurd/Makefile [$(versioning) = yes]: Likewise.
10937 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10939 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10941 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10942 [SHARED && !NO_HIDDEN].
10943 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10945 [SHARED && DO_VERSIONING]: Likewise..
10946 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10947 [$(build-shared) = yes].
10948 * manual/install.texi (--disable-versioning): Remove
10950 * INSTALL: Regenerated.
10951 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10953 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10954 [$(build-shared) = yes].
10955 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10956 * sysdeps/i386/i686/multiarch/strstr-c.c
10957 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10958 [SHARED && !NO_HIDDEN].
10959 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10960 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10961 * sysdeps/powerpc/powerpc32/dl-machine.c
10962 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10963 * sysdeps/powerpc/powerpc32/sysdep.h
10964 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10965 to [SHARED && PIC && !NO_HIDDEN].
10966 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10967 conditional to [SHARED].
10969 2013-09-04 Will Newton <will.newton@linaro.org>
10971 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10972 * benchtests/bench-string.h: Include bench-timing.h instead
10973 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10974 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10975 call to HP_TIMING_DIFF_INIT.
10976 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10977 instead of hp-timing.h macros.
10978 * benchtests/bench-memchr.c: Likewise.
10979 * benchtests/bench-memcmp.c: Likewise.
10980 * benchtests/bench-memcpy.c: Likewise.
10981 * benchtests/bench-memmem.c: Likewise.
10982 * benchtests/bench-memmove.c: Likewise.
10983 * benchtests/bench-memset.c: Likewise.
10984 * benchtests/bench-rawmemchr.c: Likewise.
10985 * benchtests/bench-strcasecmp.c: Likewise.
10986 * benchtests/bench-strcasestr.c: Likewise.
10987 * benchtests/bench-strcat.c: Likewise.
10988 * benchtests/bench-strchr.c: Likewise.
10989 * benchtests/bench-strcmp.c: Likewise.
10990 * benchtests/bench-strcpy.c: Likewise.
10991 * benchtests/bench-strcpy_chk.c: Likewise.
10992 * benchtests/bench-strlen.c: Likewise.
10993 * benchtests/bench-strncasecmp.c: Likewise.
10994 * benchtests/bench-strncat.c: Likewise.
10995 * benchtests/bench-strncmp.c: Likewise.
10996 * benchtests/bench-strncpy.c: Likewise.
10997 * benchtests/bench-strnlen.c: Likewise.
10998 * benchtests/bench-strpbrk.c: Likewise.
10999 * benchtests/bench-strrchr.c: Likewise.
11000 * benchtests/bench-strspn.c: Likewise.
11001 * benchtests/bench-strstr.c: Likewise.
11003 2013-09-04 Will Newton <will.newton@linaro.org>
11005 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11007 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11010 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11011 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11012 * math/libm-test.inc (lgamma_test_data): Add more tests.
11013 * sysdeps/i386/fpu/libm-test-ulps: Update.
11014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11016 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11018 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11022 Add strcmp-sse2-unaligned
11023 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11025 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11027 * Versions.def (libc): Add GLIBC_2.19.
11029 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11031 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11032 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11034 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11037 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11038 intermediate calculations in recurrence.
11039 (__ieee754_ynf): Likewise.
11040 * math/libm-test.inc (jn_test_data): Do not allow spurious
11041 underflow exception. Add more tests.
11042 (yn_test_data): Add more tests.
11043 * sysdeps/i386/fpu/libm-test-ulps: Update.
11044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11046 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11048 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11050 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11052 * csu/init-first.c: Fix then/than typos.
11053 * locale/programs/ld-collate.c: Likewise.
11054 * locale/programs/linereader.h: Likewise.
11055 * manual/charset.texi: Likewise.
11056 * manual/filesys.texi: Likewise.
11057 * manual/stdio.texi: Likewise.
11058 * manual/string.texi: Likewise.
11059 * stdlib/fmtmsg.c: Likewise.
11060 * sysdeps/i386/stpncpy.S: Likewise.
11061 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11062 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11063 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11064 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11066 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11068 * elf/dl-open.c: Fix typos.
11069 * iconvdata/gbbig5.c: Likewise.
11070 * iconvdata/iso-2022-jp.c: Likewise.
11071 * iconv/gconv_int.h: Likewise.
11072 * iconv/loop.c: Likewise.
11073 * nis/rpcsvc/nis.h: Likewise.
11074 * resolv/ns_name.c: Likewise.
11075 * stdio-common/vfscanf.c: Likewise.
11076 * streams/stropts.h: Likewise.
11077 * sunrpc/rpc_thread.c: Likewise.
11078 * sysdeps/i386/strpbrk.S: Likewise.
11079 * sysdeps/ieee754/k_standard.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11082 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11083 * sysdeps/mach/hurd/profil.c: Likewise.
11084 * sysdeps/s390/dl-procinfo.h: Likewise.
11085 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11086 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11087 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11088 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11089 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11091 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11093 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11096 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11098 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11099 aix specific files.
11100 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11103 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11104 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11105 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11106 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11107 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11109 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11110 Roland McGrath <roland@hack.frob.com>
11112 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11113 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11115 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11117 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11118 __executable_start symbol instead of _start.
11120 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11122 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11123 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11125 * sysdeps/gnu/ldsodefs.h: ... this new file.
11127 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11128 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11129 instead of ELFOSABI_LINUX.
11131 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11132 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11133 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11134 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11136 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11137 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11140 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11141 (ibm_extended_long_double): Add ieee_nan member.
11142 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11143 (do_test): New function.
11145 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11147 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11148 functions, renamed from truncdfsf_test, trunctfsf_test,
11150 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11152 (do_test): Run all these.
11154 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11156 * argp/argp-help.c: Fix typos.
11157 * argp/argp-parse.c: Likewise.
11158 * debug/backtracesyms.c: Likewise.
11159 * elf/elf.h: Likewise.
11160 * malloc/malloc.c: Likewise.
11161 * nis/nis_print.c: Likewise.
11162 * resolv/res_comp.c: Likewise.
11163 * stdlib/stdlib.h: Likewise.
11164 * sunrpc/clnt_tcp.c: Likewise.
11165 * sunrpc/clnt_udp.c: Likewise.
11166 * sunrpc/clnt_unix.c: Likewise.
11167 * sysdeps/unix/bsd/ptsname.c: Likewise.
11168 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11176 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11178 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11180 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11183 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11186 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11187 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11188 ($(objpfx)bug-dl-leaf): New rule.
11189 ($(objpfx)bug-dl-leaf.so): Likewise.
11190 ($(objpfx)bug-dl-leaf.out): Likewise.
11191 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11192 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11193 * dlfcn/bug-dl-leaf.c: New test.
11194 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11195 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11196 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11197 (dlclose): Likewise.
11198 (dlmopen): Likewise.
11200 2013-08-27 Roland McGrath <roland@hack.frob.com>
11202 * include/netdb.h [!_ISOMAC]:
11203 Don't include <tls.h>.
11204 (h_errno, __libc_h_errno): Move declaration and macros out of
11207 * include/resolv.h [_RESOLV_H_]:
11208 Don't include <tls.h>.
11209 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11210 * resolv/res_libc.c: Don't include <tls.h>.
11211 (_res): Use __attribute__ ((nocommon)) in place of
11212 __attribute__ ((section (".bss"))).
11214 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11215 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11217 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11219 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11220 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11222 * resolv/res_mkquery.c: Include <sys/time.h>.
11224 * inet/ifreq.c: Moved to ...
11225 * sysdeps/unix/ifreq.c: ... here.
11226 * inet/ifreq.c: New file, true stub version.
11228 * socket/sa_len.c: New file.
11229 * socket/Makefile (aux): Add it.
11230 * sysdeps/unix/sysv/linux/Makefile
11231 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11232 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11233 and #include <socket/sa_len.c>.
11234 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11235 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11237 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11238 * bits/socket.h: ... here.
11240 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11241 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11242 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11244 2013-08-27 Andreas Schwab <schwab@suse.de>
11247 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11248 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11249 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11250 * string/test-strcasecmp.c (test_main): Run tests in several
11252 * string/test-strncasecmp.c (test_main): Likewise.
11254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11255 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11256 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11258 (__strncasecmp_ssse3) [PIC]: Likewise.
11260 2013-08-26 Roland McGrath <roland@hack.frob.com>
11262 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11264 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11265 instead of explicitly declaring xdecrypt.
11266 * nis/nss_nis/nis-publickey.c: Likewise.
11268 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11271 * nscd/aicache.c: Include res_hconf.h.
11272 (addhstaiX): Initialize res_hconf.
11274 2013-08-26 Andreas Schwab <schwab@suse.de>
11276 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11277 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11279 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11281 * nscd/aicache.c (addhstaiX): Fix indentation.
11283 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11285 * configure.ac: Quote $build_pt_chown test.
11286 * configure: Regenerated.
11288 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11291 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11292 * math/s_cexpf.c (__cexpf): Likewise.
11293 * math/s_cexpl.c (__cexpl): Likewise.
11294 * math/libm-test.inc (cexp_test_data): Correct expected return
11295 value for NaN + i0. Add another test.
11297 2013-08-22 David S. Miller <davem@davemloft.net>
11299 * po/ca.po: Update Catalan translation from translation project.
11300 * po/uk.po: Add Ukrainian translations from translation project.
11302 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11305 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11306 is infinite, not alongside NaN test.
11307 * math/s_fdimf.c (__fdimf): Likewise.
11308 * math/s_fdiml.c (__fdiml): Likewise.
11309 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11310 errno is unchanged.
11312 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11314 * argp/argp-help.c: Fix typos.
11315 * crypt/speeds.c: Likewise.
11316 * csu/check_fds.c: Likewise.
11317 * elf/dl-load.c: Likewise.
11318 * elf/dl-open.c: Likewise.
11319 * elf/reldep3.c: Likewise.
11320 * elf/reldep.c: Likewise.
11321 * elf/sprof.c: Likewise.
11322 * iconv/iconv_charmap.c: Likewise.
11323 * iconv/skeleton.c: Likewise.
11324 * iconv/strtab.c: Likewise.
11325 * io/lockf64.c: Likewise.
11326 * libio/libioP.h: Likewise.
11327 * resolv/gai_notify.c: Likewise.
11328 * resolv/ns_name.c: Likewise.
11329 * resolv/ns_samedomain.c: Likewise.
11330 * resolv/res_send.c: Likewise.
11331 * stdlib/random.c: Likewise.
11332 * sunrpc/rpc/xdr.h: Likewise.
11333 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11334 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11335 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11336 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11337 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11338 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11340 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11341 * sysdeps/mach/hurd/check_fds.c: Likewise.
11342 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11343 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11344 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11345 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11346 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11347 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11348 * sysdeps/pthread/aio_notify.c: Likewise.
11349 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11350 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11351 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11352 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11353 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11355 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11357 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11358 version if bit_Slow_SSE4_2 is set.
11359 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11362 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11365 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11366 trampoline stack frame information.
11367 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11368 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11369 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11370 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11371 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11372 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11373 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11374 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11376 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11377 interrupting a syscall and set with option SA_SIGINFO.
11379 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11382 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11383 argument is infinite.
11384 * math/s_cprojf.c (__cprojf): Likewise.
11385 * math/s_cprojl.c (__cprojl): Likewise.
11386 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11387 * math/libm-test.inc (cproj_test_data): Add more tests.
11389 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11391 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11392 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11393 size. Use __ffs to determine corresponding shift.
11395 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11396 Roland McGrath <roland@hack.frob.com>
11398 * Makefile (INSTALL): Remove trailing blank lines from output of
11401 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11403 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11404 Align 32 bit compat elf_greg to 8 bytes.
11406 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11408 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11410 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11412 * string/strcoll_l.c (coll_seq): New structure.
11413 (get_next_seq_cached): New function.
11414 (get_next_seq): New function.
11415 (do_compare): New function.
11416 (STRCOLL): Use GNU style definition. Simplify implementation
11417 by using get_next_seq, get_next_seq_cached and do_compare.
11419 2013-08-16 Florian Weimer <fweimer@redhat.com>
11423 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11425 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11427 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11428 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11429 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11431 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11432 GETDENTS_64BIT_ALIGNED.
11433 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11434 * manual/filesys.texi (Reading/Closing Directory): Document
11435 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11437 * manual/conf.texi (Limits for Files): Add portability note to
11438 NAME_MAX, PATH_MAX.
11439 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11441 2013-08-13 Andreas Schwab <schwab@suse.de>
11444 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11446 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11447 LDBL_MAX_EXP >= 16384]: Add tests for it.
11449 2013-08-12 David S. Miller <davem@davemloft.net>
11451 * version.h (RELEASE): Set to "development".
11452 (VERSION): Set to "2.18.90".
11453 * NEWS: Add 2.19 section.
11455 2013-08-03 David S. Miller <davem@davemloft.net>
11457 * po/ko.po: Update Korean translation from translation project.
11459 2013-08-01 David S. Miller <davem@davemloft.net>
11461 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11462 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11465 2013-07-30 David S. Miller <davem@davemloft.net>
11467 * po/fr.po: Update French translation from translation project.
11469 2013-07-28 David S. Miller <davem@davemloft.net>
11471 * po/cs.po: Update Czech translation from translation project.
11473 * po/sv.po: Update Swedish translation from translation project.
11475 2013-07-27 David S. Miller <davem@davemloft.net>
11477 * po/eo.po: Update Esperanto translation from translation project.
11479 * po/vi.po: Update Vietnamese translation from translation project.
11481 * po/de.po: Update German translation from translation project.
11483 2013-07-26 David S. Miller <davem@davemloft.net>
11485 * po/bg.po: Update Bulgarian translation from translation project.
11487 * po/nl.po: Update Dutch translation from translation project.
11488 * po/pl.po: Update Polish translation from translation project.
11489 * po/ru.po: Update Russian translation from translation project.
11491 2013-07-24 David S. Miller <davem@davemloft.net>
11493 * po/libc.pot: Update.
11495 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11497 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11498 variable page size.
11499 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11501 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11503 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11505 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11507 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11508 Andreas Schwab <schwab@suse.de>
11509 Roland McGrath <roland@hack.frob.com>
11510 Joseph Myers <joseph@codesourcery.com>
11511 Carlos O'Donell <carlos@redhat.com>
11514 * config.h.in: Define HAVE_PT_CHOWN.
11515 * config.make.in (build-pt-chown): New variable.
11516 * configure.in (--enable-pt_chown): New configure option.
11517 * configure: Regenerate.
11518 * login/Makefile: Include Makeconfig. Build pt_chown only if
11519 build-pt-chown is enabled.
11520 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11521 pt_chown to fix pty ownership.
11522 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11524 * manual/install.texi (Configuring and compiling): Mention
11525 --enable-pt_chown. Add @findex for grantpt.
11526 * INSTALL: Regenerate.
11528 2013-07-20 David S. Miller <davem@davemloft.net>
11530 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11531 difference between 32-bit and 64-bit.
11533 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11536 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11537 Avoid system header dependency with -ffreestanding.
11538 ($(objpfx)bits/syscall%d): Likewise.
11540 2013-07-13 David S. Miller <davem@davemloft.net>
11542 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11543 underflows from atanl/atan2l due to bug 15319.
11544 (casinh_test_data): Likewise.
11546 2013-07-07 David S. Miller <davem@davemloft.net>
11548 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11550 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11552 * sysdeps/i386/fpu/libm-test-ulps: Update.
11553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11555 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11557 * configure.in (--enable-lock-elision): Fix message text.
11558 * INSTALL: Regenerate.
11559 * configure: Regenerate.
11561 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11565 2013-07-03 Andreas Jaeger <aj@suse.de>
11567 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11569 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11570 (ptrace_peeksiginfo_args): Add.
11571 (__ptrace_peeksiginfo_flags): Add.
11572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11576 2013-07-03 Allan McRae <allan@archlinux.org>
11578 * sysdeps/i386/fpu/libm-test-ulps: Update.
11580 2013-07-02 David S. Miller <davem@davemloft.net>
11582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11584 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11588 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11590 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11593 2013-07-02 Andi Kleen <ak@linux.intel.com>
11595 * config.h.in (ENABLE_LOCK_ELISION): Add.
11596 * configure.in (--enable-lock-elision): Add option.
11597 * manual/install.texi: Document --enable lock elision.
11598 * configure: Regenerate
11599 * INSTALL: Regenerate.
11601 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11603 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11604 SSE4.2 strcasecmp for libc.a.
11605 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11607 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11610 * soft-fp/op-common.h (_FP_FMA): New macro.
11611 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11612 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11613 (_FP_MUL_MEAT_1_imm): ... here.
11614 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11615 (_FP_MUL_MEAT_1_wide): ... here.
11616 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11617 (_FP_MUL_MEAT_1_hard): ... here.
11618 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11619 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11620 (_FP_MUL_MEAT_2_wide): ... here.
11621 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11622 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11623 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11624 (_FP_MUL_MEAT_2_gmp): ... here.
11625 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11626 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11627 (_FP_MUL_MEAT_4_wide): ... here.
11628 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11629 (_FP_MUL_MEAT_4_gmp): ... here.
11630 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11631 (_FP_WFRACBITS_DW_S): Likewise.
11632 (_FP_WFRACXBITS_DW_S): Likewise.
11633 (_FP_HIGHBIT_DW_S): Likewise.
11634 (FP_FMA_S): Likewise.
11635 (_FP_FRAC_HIGH_DW_S): Likewise.
11636 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11637 (_FP_WFRACBITS_DW_D): Likewise.
11638 (_FP_WFRACXBITS_DW_D): Likewise.
11639 (_FP_HIGHBIT_DW_D): Likewise.
11640 (FP_FMA_D): Likewise.
11641 (_FP_FRAC_HIGH_DW_D): Likewise.
11642 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11643 (_FP_WFRACBITS_DW_E): Likewise.
11644 (_FP_WFRACXBITS_DW_E): Likewise.
11645 (_FP_HIGHBIT_DW_E): Likewise.
11646 (FP_FMA_E): Likewise.
11647 (_FP_FRAC_HIGH_DW_E): Likewise.
11648 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11649 (_FP_WFRACBITS_DW_Q): Likewise.
11650 (_FP_WFRACXBITS_DW_Q): Likewise.
11651 (_FP_HIGHBIT_DW_Q): Likewise.
11652 (FP_FMA_Q): Likewise.
11653 (_FP_FRAC_HIGH_DW_Q): Likewise.
11654 * soft-fp/fmasf4.c: New file.
11655 * soft-fp/fmadf4.c: Likewise.
11656 * soft-fp/fmatf4.c: Likewise.
11658 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11661 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11663 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11665 (index_Slow_SSE4_2): Likewise.
11666 (index_Prefer_PMINUB_for_stringop): Likewise.
11667 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11668 bit_Slow_SSE4_2 is set.
11669 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11670 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11672 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11674 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11675 rtld_global._dl_hwcap2.
11676 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11678 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11679 POWER8 feature descriptions defined in _dl_hwcap2.
11680 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11681 string handling for POWER8 feature bits.
11682 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11683 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11684 _dl_powerpc_cap_flags.
11685 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11686 * sysdeps/powerpc/rtld-global-offsets.sym
11687 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11688 _dl_hwcap2 in the rtld_global_ro structure.
11690 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11692 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11693 hardware capabilities in support of AT_HWCAP2.
11694 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11695 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11697 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11698 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11699 explicitly the unknown a_type display mechanism is used.
11700 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11701 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11703 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11704 to macro prototype for AT_HWCAP2 support.
11705 * sysdeps/i386/dl-procinfo.h: Likewise.
11706 * sysdeps/s390/dl-procinfo.h: Likewise.
11707 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11708 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11709 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11710 return -1 for unknown a_type display fallback.
11711 * sysdeps/sparc/dl-procinfo.h: Likewise.
11712 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11713 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11715 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11717 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11718 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11720 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11723 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11724 mprotect making __stack_prot writable.
11726 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11727 Joseph Myers <joseph@codesourcery.com>
11729 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11730 as being properly aligned.
11732 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11734 * dlfcn/modstatic5.c: New file.
11735 * dlfcn/tststatic5.c: New file.
11736 * dlfcn/Makefile (tests): Add tststatic5.
11737 (tests-static): Likewise.
11738 (modules-names): Add modstatic5.
11739 (tststatic5-ENV): New variable.
11740 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11743 * elf/dl-support.c (_dl_main_map): New variable.
11744 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11745 (_dl_nns, _dl_load_adds): Set to 1.
11746 (_dl_initial_searchlist): Refer to _dl_main_map.
11747 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11748 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11749 call to _dl_get_origin.
11750 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11752 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11753 * dlfcn/modstatic3.c: New file.
11754 * dlfcn/tststatic3.c: New file.
11755 * dlfcn/tststatic4.c: New file.
11756 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11757 (tests-static): Likewise.
11758 (modules-names): Add modstatic3.
11759 (tststatic3-ENV, tststatic4-ENV): New variables.
11760 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11761 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11763 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11765 * configure.in (CC): Require GCC version 4.4 or later.
11766 * configure: Regenerated.
11767 * manual/install.texi (Tools for Compilation): Update GCC version
11769 * INSTALL: Regenerated.
11771 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11774 * string/test-memcmp.c (check2): New.
11775 (main): Call check2.
11777 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11779 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11782 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11784 (dl_open_worker) [!SHARED]: ... here.
11786 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11788 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11790 2013-06-25 Richard Henderson <rth@redhat.com>
11792 * locale/programs/locarchive.c: Include <libc-internal.h>
11794 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11796 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11797 trailing whitespace removed.
11799 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11802 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11803 * locale/programs/locarchive.c: Include libc-mmap.h.
11804 (prepare_address_space): Take two new outputs (the mmap base and len).
11805 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11807 (create_archive): Declare new mmap base and len values for
11808 prepare_address_space, and store the result in ah.
11809 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11810 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11811 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11812 Declare new mmap base and len values for
11813 prepare_address_space, and store the result in new_ah.
11814 (open_archive): Declare new mmap base and len values for
11815 prepare_address_space, and store the result in ah.
11816 (close_archive): If ah->mmap_base is not NULL, use that and
11817 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11818 * sysdeps/generic/libc-mmap.h: New file.
11820 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11822 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11823 (ALIGN_UP): Likewise.
11824 (PTR_ALIGN_DOWN): Likewise.
11825 (PTR_ALIGN_UP): Likewise.
11827 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11829 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11830 entry mapped to PPC_PLATFORM_POWER8.
11831 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11833 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11834 (_dl_string_platform): Add case for exporting platform position for
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11837 search path to sysdeps/powerpc/powerpc32/power8 directory.
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11839 search path to sysdeps/powerpc/powerpc64/power8 directory.
11840 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11841 power7 directories.
11842 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11843 power7 directories.
11845 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11847 * INSTALL: Regenerate.
11849 * nscd/connections.c (nscd_init): Fix comment.
11851 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11853 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11856 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11857 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11859 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11861 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11863 (DL_DST_REQ_STATIC): Remove macro.
11865 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11868 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11869 with a shift of 0 bits.
11871 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11873 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11876 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11879 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11881 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11883 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11884 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11885 accepts -fno-tree-loop-distribute-patterns.
11886 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11887 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11889 * string/memset.c (memset): Likewise.
11890 * string/test-memmove.c (simple_memmove): Disable loop transformation
11892 * string/test-memset.c (simple_memset): Likewise.
11893 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11894 * benchtests/bench-memset.c (simple_memset): Likewise.
11895 * configure: Regenerated.
11897 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11899 * math/test-misc.c (main): Ignore fesetround failure when failures
11900 of subsequent rounding tests would be ignored.
11903 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11904 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11905 * math/fegetenv.c (__fegetenv): Return 0.
11906 * math/fegetexcept.c (fegetexcept): Return 0.
11907 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11909 * math/feholdexcpt.c (feholdexcept): Return 0.
11910 * math/fesetenv.c (__fesetenv): Return 0.
11911 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11912 argument FE_TONEAREST.
11913 * math/feupdateenv.c (__feupdateenv): Return 0.
11914 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11916 2013-06-18 Roland McGrath <roland@hack.frob.com>
11918 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11919 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11920 ($(objpfx)rtld-%.os rules): Use them.
11922 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11924 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11927 2013-06-17 Roland McGrath <roland@hack.frob.com>
11929 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11930 length of target pattern, then descending length of dependency pattern.
11931 * configure.in (AWK): Require gawk 3.1.2 or newer.
11932 * manual/install.texi (Tools for Compilation): Say that we do.
11933 * configure: Regenerated.
11935 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11936 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11937 * scripts/sysd-rules.awk: ... this new script.
11938 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11939 than a glob-style pattern.
11941 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11943 * math/test-misc.c (main): Do not treat incorrectly rounded
11944 conversions as failure unless ROUNDING_TESTS passes.
11946 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11949 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11950 restore exception state around main square root computation, then
11951 check for inexactness explicitly.
11953 * math/libm-test.inc (fma_test_data): Add another test.
11955 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11957 * manual/threads.texi (Non-POSIX Extensions): New document
11958 node. Document pthread_getattr_default_np and
11959 pthread_setattr_default_np.
11961 * Versions.def (libpthread): Add GLIBC_2.18.
11962 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11971 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11982 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11985 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11987 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11988 H.J. Lu <hjl.tools@gmail.com>
11991 * sysdeps/x86_64/rtld-memset.c: Remove file.
11992 * sysdeps/x86_64/rtld-memset.S: New file.
11994 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11996 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11997 (test_in_one_mode): Take arguments for whether the rounding mode
11998 is supported for each floating-point type.
11999 (do_test): Pass new arguments to test_in_one_mode using
12002 2013-06-13 Roland McGrath <roland@hack.frob.com>
12004 * posix/tst-waitid.c (do_test): Distinguish different instances of
12005 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12006 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12007 before entering the kernel for waitpid.
12009 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12011 * NEWS: Fix note on clock function precision. Text by Roland
12014 2013-06-13 Roland McGrath <roland@hack.frob.com>
12016 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12017 it into place only when and if the sanity check passes.
12019 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12021 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12022 output for whether conversion result is exact. Take argument
12023 indicating whether type is IBM long double.
12024 (round_for_all): Change need_exact field to ibm_ld.
12025 * stdlib/tst-strtod-round.c (struct exactness): New type.
12026 (struct test): Change bool ld_ok field to struct exactness exact.
12027 (TEST): Update all definitions for change to field.
12028 (tests): Regenerate array contents.
12029 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12030 field value. Check for IBM long double here.
12031 (do_test): Update calls to test_in_one_mode.
12033 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12036 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12037 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12039 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12042 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12043 generated by the compiler on loop optimizations.
12044 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12045 general definitions.
12047 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12049 * math/bug-nextafter.c: Include <math-tests.h>.
12050 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12052 * math/bug-nexttoward.c: Include <math-tests.h>.
12053 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12055 * math/test-misc.c: Include <math-tests.h>.
12056 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12059 2013-06-12 Andreas Jaeger <aj@suse.de>
12061 * po/ia.po: Update Interlingua translation from translation
12064 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12066 * include/fenv.h: Include stdbool.h.
12067 (struct rm_ctx): New structure.
12068 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12070 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12071 (SET_RESTORE_ROUNDF): Likewise.
12072 (SET_RESTORE_ROUNDL): Likewise.
12073 (SET_RESTORE_ROUND_NOEX): Likewise.
12074 (SET_RESTORE_ROUND_NOEXF): Likewise.
12075 (SET_RESTORE_ROUND_NOEXL): Likewise.
12076 (SET_RESTORE_ROUND_53BIT): Likewise.
12077 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12078 (libc_feresetround_noexf_ctx): Likewise.
12079 (libc_feresetround_noexl_ctx): Likewise.
12080 (libc_feholdsetround_53bit_ctx): Likewise.
12081 (libc_feresetround_53bit_ctx): Likewise.
12082 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12083 (libc_feholdexcept_setround_sse_ctx): New function.
12084 (libc_fesetenv_sse_ctx): Likewise.
12085 (libc_feupdateenv_sse_ctx): Likewise.
12086 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12087 (libc_feholdexcept_setround_387_ctx): Likewise.
12088 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12089 (libc_feholdsetround_387_prec_ctx): Likewise.
12090 (libc_feholdsetround_387_ctx): Likewise.
12091 (libc_feholdsetround_387_53bit_ctx): Likewise.
12092 (libc_feholdsetround_sse_ctx): Likewise.
12093 (libc_feresetround_sse_ctx): Likewise.
12094 (libc_feresetround_387_ctx): Likewise.
12095 (libc_feupdateenv_387_ctx): Likewise.
12096 (libc_feholdexcept_setroundf_ctx): Define macro.
12097 (libc_fesetenvf_ctx): Likewise.
12098 (libc_feupdateenvf_ctx): Likewise.
12099 (libc_feholdsetroundf_ctx): Likewise.
12100 (libc_feresetroundf_ctx): Likewise.
12101 (libc_feholdexcept_setround_ctx): Likewise.
12102 (libc_fesetenv_ctx): Likewise.
12103 (libc_feupdateenv_ctx): Likewise.
12104 (libc_feholdsetround_ctx): Likewise.
12105 (libc_feresetround_ctx): Likewise.
12106 (libc_feholdexcept_setroundl_ctx): Likewise.
12107 (libc_feupdateenvl_ctx): Likewise.
12108 (libc_feholdsetroundl_ctx): Likewise.
12109 (libc_feresetroundl_ctx): Likewise.
12110 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12111 (libc_feresetround_53bit_ctx): Likewise.
12113 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12115 * locale/iso-639.def: Convert to UTF-8.
12117 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12119 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12120 (EXCEPTION_TESTS_double): Likewise.
12121 (EXCEPTION_TESTS_long_double): Likewise.
12122 (EXCEPTION_TESTS): Likewise.
12123 * math/libm-test.inc (test_exceptions): Only test exceptions if
12124 EXCEPTION_TESTS (FLOAT).
12126 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12128 * benchtests/Makefile (string-bench): Add strcpy_chk and
12130 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12131 * benchtests/bench-stpcpy_chk.c: New file.
12132 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12133 * benchtests/bench-strcpy_chk.c: New file.
12134 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12136 (do_test): Likewise.
12138 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12140 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12141 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12142 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12143 with tabs where appropriate.
12144 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12146 [PPC_PLATFORM_PPC440]: Likewise.
12147 [PPC_PLATFORM_PPC464]: Likewise.
12148 [PPC_PLATFORM_PPC476]: Likewise.
12149 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12150 ppc464, and ppc476 platform strings merging from ports/
12153 2013-06-11 Andreas Schwab <schwab@suse.de>
12156 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12157 (from_ucs4_idx): Regenerate.
12158 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12159 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12160 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12161 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12162 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12163 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12164 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12165 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12166 from FROM_LOOP and TO_LOOP specific macros.
12167 (BODY): Handle combining characters.
12168 * iconvdata/BIG5HKSCS.irreversible: Update.
12169 * iconvdata/BIG5HKSCS.precomposed: New file.
12170 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12172 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12174 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12176 * include/sys/time.h: Fix indentation and add copyright header.
12178 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12179 (do_test): Likewise.
12180 * string/test-memchr.c (do_one_test): Likewise.
12181 (do_test): Likewise.
12182 * string/test-memcmp.c (do_one_test): Likewise.
12183 (do_test): Likewise.
12184 * string/test-memcpy.c (do_one_test): Likewise.
12185 (do_test): Likewise.
12186 * string/test-memmem.c (do_one_test): Likewise.
12187 (do_test): Likewise.
12188 (do_random_tests): Likewise.
12189 * string/test-memmove.c (do_one_test): Likewise.
12190 (do_test): Likewise.
12191 * string/test-memset.c (do_one_test): Likewise.
12192 (do_test): Likewise.
12193 * string/test-rawmemchr.c (do_one_test): Likewise.
12194 (do_test): Likewise.
12195 * string/test-strcasecmp.c (do_one_test): Likewise.
12196 (do_test): Likewise.
12197 * string/test-strcasestr.c (do_one_test): Likewise.
12198 (do_test): Likewise.
12199 * string/test-strcat.c (do_one_test): Likewise.
12200 (do_test): Likewise.
12201 * string/test-strchr.c (do_one_test): Likewise.
12202 (do_test): Likewise.
12203 * string/test-strcmp.c (do_one_test): Likewise.
12204 (do_test): Likewise.
12205 * string/test-strcpy.c (do_one_test): Likewise.
12206 (do_test): Likewise.
12207 * string/test-string.h: Likewise.
12208 (test_init): Likewise.
12209 * string/test-strlen.c (do_one_test): Likewise.
12210 (do_test): Likewise.
12211 * string/test-strncasecmp.c (do_one_test): Likewise.
12212 (do_test): Likewise.
12213 * string/test-strncat.c (do_one_test): Likewise.
12214 (do_test): Likewise.
12215 * string/test-strncmp.c (do_one_test): Likewise.
12216 (do_test_limit): Likewise.
12217 (do_test): Likewise.
12218 * string/test-strncpy.c (do_one_test): Likewise.
12219 (do_test): Likewise.
12220 * string/test-strnlen.c (do_one_test): Likewise.
12221 (do_test): Likewise.
12222 * string/test-strpbrk.c (do_one_test): Likewise.
12223 (do_test): Likewise.
12224 * string/test-strrchr.c (do_one_test): Likewise.
12225 (do_test): Likewise.
12226 * string/test-strspn.c (do_one_test): Likewise.
12227 (do_test): Likewise.
12228 * string/test-strstr.c (do_one_test): Likewise.
12229 (do_test): Likewise.
12231 * benchtests/Makefile (string-bench): Add string benchmarks.
12232 * benchtests/bench-bcopy-ifunc.c: New file.
12233 * benchtests/bench-bcopy.c: New file.
12234 * benchtests/bench-bzero-ifunc.c: New file.
12235 * benchtests/bench-bzero.c: New file.
12236 * benchtests/bench-memccpy-ifunc.c: New file.
12237 * benchtests/bench-memccpy.c: New file.
12238 * benchtests/bench-memchr-ifunc.c: New file.
12239 * benchtests/bench-memchr.c: New file.
12240 * benchtests/bench-memcmp-ifunc.c: New file.
12241 * benchtests/bench-memcmp.c: New file.
12242 * benchtests/bench-memmem-ifunc.c: New file.
12243 * benchtests/bench-memmem.c: New file.
12244 * benchtests/bench-memmove-ifunc.c: New file.
12245 * benchtests/bench-memmove.c: New file.
12246 * benchtests/bench-mempcpy-ifunc.c: New file.
12247 * benchtests/bench-mempcpy.c: New file.
12248 * benchtests/bench-memset-ifunc.c: New file.
12249 * benchtests/bench-memset.c: New file.
12250 * benchtests/bench-rawmemchr-ifunc.c: New file.
12251 * benchtests/bench-rawmemchr.c: New file.
12252 * benchtests/bench-stpcpy-ifunc.c: New file.
12253 * benchtests/bench-stpcpy.c: New file.
12254 * benchtests/bench-stpncpy-ifunc.c: New file.
12255 * benchtests/bench-stpncpy.c: New file.
12256 * benchtests/bench-strcasecmp-ifunc.c: New file.
12257 * benchtests/bench-strcasecmp.c: New file.
12258 * benchtests/bench-strcasestr-ifunc.c: New file.
12259 * benchtests/bench-strcasestr.c: New file.
12260 * benchtests/bench-strcat-ifunc.c: New file.
12261 * benchtests/bench-strcat.c: New file.
12262 * benchtests/bench-strchr-ifunc.c: New file.
12263 * benchtests/bench-strchr.c: New file.
12264 * benchtests/bench-strchrnul-ifunc.c: New file.
12265 * benchtests/bench-strchrnul.c: New file.
12266 * benchtests/bench-strcmp-ifunc.c: New file.
12267 * benchtests/bench-strcmp.c: New file.
12268 * benchtests/bench-strcpy-ifunc.c: New file.
12269 * benchtests/bench-strcpy.c: New file.
12270 * benchtests/bench-strcspn-ifunc.c: New file.
12271 * benchtests/bench-strcspn.c: New file.
12272 * benchtests/bench-strlen-ifunc.c: New file.
12273 * benchtests/bench-strlen.c: New file.
12274 * benchtests/bench-strncasecmp-ifunc.c: New file.
12275 * benchtests/bench-strncasecmp.c: New file.
12276 * benchtests/bench-strncat-ifunc.c: New file.
12277 * benchtests/bench-strncat.c: New file.
12278 * benchtests/bench-strncmp-ifunc.c: New file.
12279 * benchtests/bench-strncmp.c: New file.
12280 * benchtests/bench-strncpy-ifunc.c: New file.
12281 * benchtests/bench-strncpy.c: New file.
12282 * benchtests/bench-strnlen-ifunc.c: New file.
12283 * benchtests/bench-strnlen.c: New file.
12284 * benchtests/bench-strpbrk-ifunc.c: New file.
12285 * benchtests/bench-strpbrk.c: New file.
12286 * benchtests/bench-strrchr-ifunc.c: New file.
12287 * benchtests/bench-strrchr.c: New file.
12288 * benchtests/bench-strspn-ifunc.c: New file.
12289 * benchtests/bench-strspn.c: New file.
12290 * benchtests/bench-strstr-ifunc.c: New file.
12291 * benchtests/bench-strstr.c: New file.
12293 * benchtests/Makefile: Disable parallel execution of targets.
12294 (string-bench): Add memcpy.
12295 (benchset): New variable to store a list of benchmark sets.
12296 (bench-func): Renamed from bench.
12297 (bench-set): New target.
12298 (bench): Depend on bench-func and bench-set.
12299 * benchtests/README: Add section on benchmark sets.
12300 * benchtests/bench-memcpy-ifunc.c: New file.
12301 * benchtests/bench-memcpy.c: New file.
12302 * benchtests/bench-string.h: New file.
12304 2013-06-11 Andreas Schwab <schwab@suse.de>
12307 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12308 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12309 values in the triple.
12310 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12311 terminator in the group key.
12313 2013-06-11 Andreas Jaeger <aj@suse.de>
12315 * po/zh_TW.po: Update Chinese (traditional) translation from
12316 translation project.
12318 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12320 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12321 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12322 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12323 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12324 (clock_getcpuclockid): Likewise.
12325 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12326 Add weak_alias and libc_hidden_def.
12327 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12328 * rt/clock_gettime.c (clock_gettime): Rename to
12329 __clock_gettime. Add weak_alias and libc_hidden_def.
12330 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12331 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12332 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12333 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12334 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12336 * rt/clock_settime.c (clock_settime): Rename to
12337 __clock_settime. Add weak_alias and libc_hidden_def.
12338 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12340 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12342 * mach/err_boot.sub: Remove trailing whitespace.
12343 * mach/err_ipc.sub: Likewise.
12344 * mach/err_mach.sub: Likewise.
12346 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12347 (ROUNDING_TESTS_double): Likewise.
12348 (ROUNDING_TESTS_long_double): Likewise.
12349 (ROUNDING_TESTS): Likewise.
12350 * math/libm-test.inc: Include <math-tests.h>.
12351 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12352 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12353 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12354 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12356 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12358 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12361 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12363 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12364 otherwise empty TRANS lines.
12365 * sysdeps/gnu/errlist.c: Regenerated.
12367 * catgets/gencat.c (error_print): Use (void) in function
12369 * crypt/crypt_util.c (__init_des): Likewise.
12370 * crypt/speeds.c (Stop): Likewise.
12372 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12373 * inet/ruserpass.c (token): Likewise.
12374 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12375 * intl/localealias.c (extend_alias_table): Likewise.
12376 * intl/plural-exp.c (init_germanic_plural): Likewise.
12377 * libio/fcloseall.c (__fcloseall): Likewise.
12378 * libio/genops.c (_IO_flush_all): Likewise.
12379 (_IO_flush_all_linebuffered): Likewise.
12380 (_IO_cleanup): Likewise.
12381 (_IO_iter_begin): Likewise.
12382 (_IO_iter_end): Likewise.
12383 (_IO_list_lock): Likewise.
12384 (_IO_list_unlock): Likewise.
12385 (_IO_list_resetlock): Likewise.
12386 * libio/getchar.c (getchar): Likewise.
12387 * libio/getchar_u.c (getchar_unlocked): Likewise.
12388 * libio/getwchar.c (getwchar): Likewise.
12389 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12390 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12391 * login/getpt.c (__getpt): Likewise.
12392 * login/tst-utmp.c (main): Likewise.
12393 * malloc/hooks.c (__malloc_check_init): Likewise.
12394 * malloc/malloc.c (__malloc_stats): Likewise.
12395 * malloc/mtrace.c (tr_break): Likewise.
12396 (mtrace): Likewise.
12397 (muntrace): Likewise.
12398 * misc/fstab.c (endfsent): Likewise.
12399 * misc/getclktck.c (__getclktck): Likewise.
12400 * misc/getdtsz.c (__getdtablesize): Likewise.
12401 * misc/gethostid.c (gethostid): Likewise.
12402 * misc/getpagesize.c (__getpagesize): Likewise.
12403 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12404 (__get_nprocs): Likewise.
12405 (__get_phys_pages): Likewise.
12406 (__get_avphys_pages): Likewise.
12407 * misc/getttyent.c (getttyent): Likewise.
12408 (setttyent): Likewise.
12409 (endttyent): Likewise.
12410 * misc/getusershell.c (getusershell): Likewise.
12411 (endusershell): Likewise.
12412 (setusershell): Likewise.
12413 (initshells): Likewise.
12414 * misc/hsearch.c (__hdestroy): Likewise.
12415 * misc/sync.c (sync): Likewise.
12416 * misc/syslog.c (closelog_internal): Likewise.
12417 (closelog): Likewise.
12418 * misc/ttyslot.c (ttyslot): Likewise.
12419 * misc/vhangup.c (vhangup): Likewise.
12420 * posix/fork.c (__fork): Likewise.
12421 * posix/getegid.c (__getegid): Likewise.
12422 * posix/geteuid.c (__geteuid): Likewise.
12423 * posix/getgid.c (__getgid): Likewise.
12424 * posix/getpid.c (__getpid): Likewise.
12425 * posix/getppid.c (__getppid): Likewise.
12426 * posix/getuid.c (__getuid): Likewise.
12427 * posix/pause.c (pause): Likewise.
12428 * posix/setpgrp.c (setpgrp): Likewise.
12429 * posix/setsid.c (__setsid): Likewise.
12430 * posix/test-vfork.c (noop): Likewise.
12431 * resolv/gethnamaddr.c (_endhtent): Likewise.
12432 (_gethtent): Likewise.
12433 (ht_endhostent): Likewise.
12434 (gethostent): Likewise.
12435 (dns_service): Likewise.
12436 * stdlib/drand48.c (drand48): Likewise.
12437 * stdlib/lrand48.c (lrand48): Likewise.
12438 * stdlib/mrand48.c (mrand48): Likewise.
12439 * stdlib/rand.c (rand): Likewise.
12440 * stdlib/random.c (__random): Likewise.
12441 * stdlib/setenv.c (clearenv): Likewise.
12442 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12443 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12444 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12445 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12446 (__get_nprocs): Likewise.
12447 (__get_phys_pages): Likewise.
12448 (__get_avphys_pages): Likewise.
12449 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12450 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12451 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12452 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12453 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12454 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12455 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12456 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12457 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12458 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12459 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12460 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12461 * sysdeps/posix/clock.c (clock): Likewise.
12462 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12463 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12464 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12465 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12466 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12468 (__get_nprocs_conf): Likewise.
12469 (__get_phys_pages): Likewise.
12470 (__get_avphys_pages): Likewise.
12471 * time/clock.c (clock): Likewise.
12472 * time/tzset.c (__tzname_max): Likewise.
12474 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12476 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12477 (__bswap_32): Do not use "register".
12478 * crypt/crypt.c (_ufc_doit_r): Likewise.
12479 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12480 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12481 * gmon/gmon.c (__monstartup): Likewise.
12482 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12483 * hurd/hurdmalloc.c (more_memory): Likewise.
12484 (malloc): Likewise.
12486 (realloc): Likewise.
12487 (malloc_fork_prepare): Likewise.
12488 (malloc_fork_parent): Likewise.
12489 (malloc_fork_child): Likewise.
12490 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12491 (_svcauth_des): Likewise.
12492 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12493 * inet/inet_net.c (inet_network): Likewise.
12494 * inet/inet_netof.c (inet_netof): Likewise.
12495 * inet/rcmd.c (__validuser2_sa): Likewise.
12496 * io/fts.c (fts_open): Likewise.
12497 (fts_load): Likewise.
12498 (fts_close): Likewise.
12499 (fts_read): Likewise.
12500 (fts_children): Likewise.
12501 (fts_build): Likewise.
12502 (fts_stat): Likewise.
12503 (fts_sort): Likewise.
12504 (fts_alloc): Likewise.
12505 (fts_lfree): Likewise.
12506 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12507 (_IO_file_xsgetn): Likewise.
12508 (_IO_file_xsgetn_mmap): Likewise.
12509 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12510 (_IO_cookie_write): Likewise.
12511 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12512 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12513 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12514 * malloc/obstack.c (_obstack_begin): Likewise.
12515 (_obstack_begin_1): Likewise.
12516 (_obstack_newchunk): Likewise.
12517 (_obstack_allocated_p): Likewise.
12518 (obstack_free): Likewise.
12519 (_obstack_memory_used): Likewise.
12520 * misc/getttyent.c (getttynam): Likewise.
12521 (getttyent): Likewise.
12524 * misc/getusershell.c (initshells): Likewise.
12525 * misc/syslog.c (__vsyslog_chk): Likewise.
12526 * misc/ttyslot.c (ttyslot): Likewise.
12527 * nis/nis_hash.c (__nis_hash): Likewise.
12528 * posix/fnmatch_loop.c (FCT): Likewise.
12529 * posix/getconf.c (print_all): Likewise.
12531 * posix/getopt.c (exchange): Likewise.
12532 * posix/glob.c (globfree): Likewise.
12533 (prefix_array): Likewise.
12534 (__glob_pattern_type): Likewise.
12535 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12536 (NS_GET32): Likewise.
12537 (NS_PUT16): Likewise.
12538 (NS_PUT32): Likewise.
12539 * resolv/gethnamaddr.c (getanswer): Likewise.
12540 (gethostbyname2): Likewise.
12541 (gethostbyaddr): Likewise.
12542 (_gethtent): Likewise.
12543 (_gethtbyname2): Likewise.
12544 (_gethtbyaddr): Likewise.
12545 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12546 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12547 * resolv/res_init.c (__res_vinit): Likewise.
12548 (net_mask): Likewise.
12549 * resolv/res_mkquery.c (outchar): Likewise.
12551 * stdio-common/printf_fp.c (outchar): Likewise.
12553 * stdio-common/printf_fphex.c (outchar): Likewise.
12555 * stdio-common/printf_size.c (outchar): Likewise.
12557 * stdio-common/test_rdwr.c (main): Likewise.
12558 * stdio-common/tfformat.c (matches): Likewise.
12559 * stdio-common/vfprintf.c (outchar): Likewise.
12560 (printf_unknown): Likewise.
12561 (buffered_vfprintf): Likewise.
12562 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12563 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12564 (ReadFile): Likewise.
12565 * stdlib/qsort.c (SWAP): Likewise.
12566 (_quicksort): Likewise.
12567 * stdlib/setenv.c (__add_to_environ): Likewise.
12568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12569 * stdlib/strtol_l.c (__strtol_l): Likewise.
12570 * stdlib/tst-strtod.c (main): Likewise.
12571 * stdlib/tst-strtol.c (main): Likewise.
12572 * stdlib/tst-strtoll.c (main): Likewise.
12573 * string/bits/string2.h (__strcmp_cc): Likewise.
12574 (__strcmp_cg): Likewise.
12575 (__strcspn_c1): Likewise.
12576 (__strcspn_c2): Likewise.
12577 (__strcspn_c3): Likewise.
12578 (__strspn_c1): Likewise.
12579 (__strspn_c2): Likewise.
12580 (__strspn_c3): Likewise.
12581 (__strsep_1c): Likewise.
12582 (__strsep_2c): Likewise.
12583 (__strsep_3c): Likewise.
12584 * string/memccpy.c (__memccpy): Likewise.
12585 * string/stpcpy.c (__stpcpy): Likewise.
12586 * string/strcmp.c (strcmp): Likewise.
12587 * string/strrchr.c (strrchr): Likewise.
12588 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12590 * sysdeps/mach/hurd/getcwd.c
12591 (_hurd_canonicalize_directory_name_internal): Likewise.
12592 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12593 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12594 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12595 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12596 Likewise, in both definitions.
12597 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12599 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12600 64] (__bswap_64): Likewise.
12601 * time/test_time.c (main): Likewise.
12602 * time/tzfile.c (__tzfile_read): Likewise.
12603 (__tzfile_compute): Likewise.
12604 * time/tzset.c (__tzset_parse_tz): Likewise.
12605 (tzset_internal): Likewise.
12606 (compute_change): Likewise.
12607 * wcsmbs/wcscat.c (__wcscat): Likewise.
12608 * wcsmbs/wcschr.c (wcschr): Likewise.
12609 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12610 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12611 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12612 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12613 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12614 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12615 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12616 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12617 * wcsmbs/wmemset.c (wmemset): Likewise.
12619 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12621 * scripts/config.guess: Update to version 2013-05-16.
12622 * scripts/config.sub: Update to version 2013-04-24.
12623 * scripts/install-sh: Update to version 2011-11-20.07.
12624 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12625 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12627 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12629 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12630 * elf/sln.c: Likewise.
12631 * hurd/hurd/ioctl.h: Likewise.
12632 * hurd/hurdmalloc.c: Likewise.
12633 * hurd/xattr.c: Likewise.
12634 * include/shlib-compat.h: Likewise.
12635 * inet/ruserpass.c: Likewise.
12636 * libio/iofgets_u.c: Likewise.
12637 * libio/iofgetws_u.c: Likewise.
12638 * locale/programs/ld-identification.c: Likewise.
12639 * locale/programs/ld-time.c: Likewise.
12640 * mach/msg-destroy.c: Likewise.
12641 * nss/nss_files/files-netgrp.c: Likewise.
12642 * resolv/res_data.c: Likewise.
12643 * soft-fp/op-1.h: Likewise.
12644 * soft-fp/op-2.h: Likewise.
12645 * soft-fp/op-4.h: Likewise.
12646 * soft-fp/op-common.h: Likewise.
12647 * stdio-common/printf_fphex.c: Likewise.
12648 * stdlib/strtod_l.c: Likewise.
12649 * sunrpc/rpc/clnt.h: Likewise.
12650 * sysdeps/generic/framestate.c: Likewise.
12651 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12652 * sysdeps/i386/bsd-setjmp.S: Likewise.
12653 * sysdeps/i386/__longjmp.S: Likewise.
12654 * sysdeps/i386/setjmp.S: Likewise.
12655 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12656 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12673 * sysdeps/ieee754/support.c: Likewise.
12674 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12675 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12676 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12677 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12678 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12679 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12680 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12681 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12682 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12683 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12684 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12685 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12686 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12687 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12688 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12689 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12690 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12693 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12695 * posix/transbug.c: Remove executable mode.
12697 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12699 * crypt/speeds.c: Remove trailing whitespace.
12700 * dlfcn/default.c: Likewise.
12701 * elf/ifuncdep2.c: Likewise.
12702 * elf/ifuncmain1.c: Likewise.
12703 * elf/ifuncmain1vis.c: Likewise.
12704 * elf/testobj.h: Likewise.
12705 * elf/tst-stackguard1.c: Likewise.
12706 * gmon/sys/gmon.h: Likewise.
12707 * hurd/hurdmsg.c: Likewise.
12708 * hurd/new-fd.c: Likewise.
12709 * hurd/ports-get.c: Likewise.
12710 * iconvdata/ibm1008_420.c: Likewise.
12711 * inet/tst-getni1.c: Likewise.
12712 * inet/tst-getni2.c: Likewise.
12713 * libio/ioungetc.c: Likewise.
12714 * libio/wfiledoalloc.c: Likewise.
12715 * manual/libm-err-tab.pl: Likewise.
12716 * math/w_dremf.c: Likewise.
12717 * misc/ftruncate.c: Likewise.
12718 * posix/bug-glob2.c: Likewise.
12719 * posix/tst-pcre.c: Likewise.
12720 * posix/wait4.c: Likewise.
12721 * resolv/README: Likewise.
12722 * resolv/res_debug.h: Likewise.
12723 * resolv/tst-inet_ntop.c: Likewise.
12724 * setjmp/bug269-setjmp.c: Likewise.
12725 * soft-fp/extended.h: Likewise.
12726 * soft-fp/op-1.h: Likewise.
12727 * soft-fp/op-2.h: Likewise.
12728 * soft-fp/op-4.h: Likewise.
12729 * soft-fp/op-8.h: Likewise.
12730 * soft-fp/testit.c: Likewise.
12731 * stdio-common/bug16.c: Likewise.
12732 * stdlib/random.c: Likewise.
12733 * sunrpc/rpcsvc/rquota.x: Likewise.
12734 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12735 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12737 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12738 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12739 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12740 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12741 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12742 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12743 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12744 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12763 * sysdeps/ieee754/s_lib_version.c: Likewise.
12764 * sysdeps/mach/hurd/check_fds.c: Likewise.
12765 * sysdeps/mach/hurd/getsockname.c: Likewise.
12766 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12767 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12768 * sysdeps/powerpc/bits/link.h: Likewise.
12769 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12770 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12771 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12772 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12773 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12774 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12775 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12776 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12777 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12778 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12779 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12780 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12781 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12782 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12783 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12784 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12785 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12786 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12788 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12790 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12791 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12792 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12793 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12794 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12795 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12796 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12798 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12799 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12801 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12802 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12803 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12804 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12805 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12806 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12807 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12808 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12809 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12810 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12811 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12812 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12813 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12814 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12815 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12816 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12817 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12818 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12819 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12821 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12822 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12823 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12824 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12825 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12826 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12827 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12828 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12829 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12830 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12831 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12832 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12833 * sysdeps/powerpc/sysdep.h: Likewise.
12834 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12835 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12836 * sysdeps/sh/dl-trampoline.S: Likewise.
12837 * sysdeps/sh/memset.S: Likewise.
12838 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12839 * sysdeps/sh/strlen.S: Likewise.
12840 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12841 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12842 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12843 * sysdeps/sparc/sparc32/rem.S: Likewise.
12844 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12845 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12846 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12847 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12848 * sysdeps/sparc/sparc32/urem.S: Likewise.
12849 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12850 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12851 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12852 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12854 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12855 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12856 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12857 * sysdeps/unix/bsd/times.c: Likewise.
12858 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12859 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12863 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12864 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12865 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12866 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12867 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12868 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12869 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12870 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12871 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12872 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12873 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12874 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12875 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12876 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12877 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12878 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12879 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12880 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12881 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12882 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12883 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12884 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12885 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12886 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12887 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12888 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12889 * sysdeps/x86_64/strcspn.S: Likewise.
12891 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12893 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12894 generated file. Regenerate properly from gen-translit.pl.
12895 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12896 locale/C-translit.h.
12898 2013-06-05 Andreas Schwab <schwab@suse.de>
12901 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12902 week as 6 instead of -1.
12903 * time/tst-strptime.c (day_tests): Add test case.
12905 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12907 * sysdeps/generic/math_private.h
12908 (libc_feholdexcept_setround_53bit): Replace with
12909 libc_feholdsetround_53bit.
12910 (libc_feupdateenv_53bit): Replace with
12911 libc_feresetround_53bit.
12912 (SET_RESTORE_ROUND_53BIT): Adjust.
12914 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12916 * string/test-strchrnul.c: Add copyright header.
12918 * posix/tst-getaddrinfo4.c: Increase test timeout.
12920 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12923 * math/libm-test.inc (MAX_EXP): Remove
12925 (ulp): Use MIN_EXP - MANT_DIG.
12926 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12928 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12930 * po/be.po: Revert last change.
12931 * po/zh_CN.po: Likewise.
12932 * po/header.pot: Likewise.
12934 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12936 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12937 link-libc-deps to empty as target-specific variable.
12938 * Makerules (link-libc-args): New variable.
12939 (libc-for-link): Likewise.
12940 (link-libc-deps): Likewise.
12941 (lib%.so): Depend on $(link-libc-deps). Link with
12943 (build-module): Link with $(link-libc-args).
12944 (build-module-asneeded): Likewise.
12945 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12947 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12948 target-specific variable.
12949 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12950 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12951 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12953 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12955 ($(objpfx)libpcprofile.so): Likewise.
12956 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12958 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12959 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12960 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12962 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12963 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12964 * login/Makefile ($(objpfx)libutil.so): Likewise.
12965 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12966 * math/Makefile ($(objpfx)libm.so): Likewise.
12967 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12968 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12969 variable instead of depending directly on libc.
12970 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12971 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12973 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12975 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12976 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12977 ($(objpfx)libanl.so): Likewise.
12978 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12980 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12982 * sysdeps/i386/fpu/Makefile: Remove file.
12983 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12984 ($(objpfx)libm.so): Remove dependency on ld.so.
12986 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12989 * nis/yp_xdr.c (XDRMAXNAME): Define.
12990 (XDRMAXRECORD): Define.
12991 (xdr_domainname): Use XDRMAXNAME.
12992 (xdr_mapname): Likewise.
12993 (xdr_peername): Likewise.
12994 (xdr_keydat): Use XDRMAXRECORD.
12995 (xdr_valdat): Likewise.
12997 2013-05-30 Jeff Law <law@redhat.com>
13000 * manual/errno.texi (ESTALE): Update to account for more than
13001 just NFS file systems.
13002 * sysdeps/gnu/errlist.c: Regenerated.
13004 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13007 * elf/Makefile (tests): Add tst-null-argv.
13008 (modules-names): Add tst-null-argv-lib.
13009 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13010 (tst-null-argv-ENV): Set environment for tst-null-argv.
13011 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13012 (RTLD_PROGNAME): New macro.
13013 * elf/tst-null-argv.c: New test case.
13014 * elf/tst-null-argv-lib.c: Library for test case.
13015 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13016 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13017 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13018 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13019 * elf/dl-init.c (call_init): Likewise.
13020 (_dl_init): Likewise.
13021 * elf/dl-load.c (print_search_path): Likewise.
13022 (_dl_map_object): Likewise.
13023 * elf/dl-lookup.c (do_lookup_x): Likewise.
13024 (add_dependency): Likewise.
13025 (_dl_lookup_symbol_x): Likewise.
13026 (_dl_debug_bindings): Likewise.
13027 * elf/dl-open.c (_dl_show_scope): Likewise.
13028 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13029 * elf/dl-version.c (match_symbol): Likewise.
13030 (_dl_check_map_versions): Likewise.
13031 * elf/rtld.c (dl_main): Likewise.
13032 (print_unresolved): Use RTLD_PROGNAME.
13033 (print_missing_version): Likewise.
13034 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13035 (elf_machine_rela): Likewise.
13036 * sysdeps/powerpc/powerpc32/dl-machine.c
13037 (__process_machine_rela): Likewise.
13038 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13042 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13044 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13051 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13053 * po/be.po: Add descriptive title.
13054 * po/zh_CN.po: Likewise.
13055 * po/header.pot: Likewise.
13057 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13059 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13061 (enlarge_archive): Likewise.
13063 2013-05-28 Ben North <ben@redfrontdoor.org>
13065 * manual/arith.texi (frexp): It is the magnitude of the return
13066 value which lies in [0.5, 1), not the return value itself.
13068 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13072 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13074 * stdio-common/bug26.c (main): Correct fscanf template.
13076 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13077 declare _dl_skip_args.
13079 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13082 * manual/platform.texi: Add missing @end deftypefun.
13084 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13087 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13088 bit of mantissa of 2^16382.
13089 * math/libm-test.inc (hypot_test_data): Add more tests.
13091 * math/libm-test.inc: Add drem and pow10 to list of tested
13093 (pow10_test): New function.
13094 (drem_test): Likewise.
13095 (drem_test_tonearest): Likewise.
13096 (drem_test_towardzero): Likewise.
13097 (drem_test_downward): Likewise.
13098 (drem_test_upward): Likewise.
13099 (main): Call the new functions.
13101 * math/libm-test.inc (finite_test_data): Remove.
13102 (finite_test): Run tests from isfinite_test_data.
13103 (gamma_test_data): Remove.
13104 (gamma_test): Run tests from lgamma_test_data.
13105 * sysdeps/i386/fpu/libm-test-ulps: Update.
13106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13108 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13110 * manual/platform.texi: Add PowerPC PPR function set documentation.
13111 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13114 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13116 * math/libm-test.inc (MAX_EXP): Define.
13118 (ulp): New function.
13119 (check_float_internal): Use ULPDIFF.
13120 (cpow_test): Disable failing test.
13121 (check_ulp): Test ulp() implemetnation.
13122 (main): Call check_ulp before starting tests.
13124 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13126 * math/gen-libm-test.pl (generate_testfile): Do not handle
13127 START_DATA and END_DATA.
13128 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13130 (acos_tonearest_test_data): Likewise.
13131 (acos_towardzero_test_data): Likewise.
13132 (acos_downward_test_data): Likewise.
13133 (acos_upward_test_data): Likewise.
13134 (acosh_test_data): Likewise.
13135 (asin_test_data): Likewise.
13136 (asin_tonearest_test_data): Likewise.
13137 (asin_towardzero_test_data): Likewise.
13138 (asin_downward_test_data): Likewise.
13139 (asin_upward_test_data): Likewise.
13140 (asinh_test_data): Likewise.
13141 (atan_test_data): Likewise.
13142 (atanh_test_data): Likewise.
13143 (atan2_test_data): Likewise.
13144 (cabs_test_data): Likewise.
13145 (cacos_test_data): Likewise.
13146 (cacosh_test_data): Likewise.
13147 (carg_test_data): Likewise.
13148 (casin_test_data): Likewise.
13149 (casinh_test_data): Likewise.
13150 (catan_test_data): Likewise.
13151 (catanh_test_data): Likewise.
13152 (cbrt_test_data): Likewise.
13153 (ccos_test_data): Likewise.
13154 (ccosh_test_data): Likewise.
13155 (ceil_test_data): Likewise.
13156 (cexp_test_data): Likewise.
13157 (cimag_test_data): Likewise.
13158 (clog_test_data): Likewise.
13159 (clog10_test_data): Likewise.
13160 (conj_test_data): Likewise.
13161 (copysign_test_data): Likewise.
13162 (cos_test_data): Likewise.
13163 (cos_tonearest_test_data): Likewise.
13164 (cos_towardzero_test_data): Likewise.
13165 (cos_downward_test_data): Likewise.
13166 (cos_upward_test_data): Likewise.
13167 (cosh_test_data): Likewise.
13168 (cosh_tonearest_test_data): Likewise.
13169 (cosh_towardzero_test_data): Likewise.
13170 (cosh_downward_test_data): Likewise.
13171 (cosh_upward_test_data): Likewise.
13172 (cpow_test_data): Likewise.
13173 (cproj_test_data): Likewise.
13174 (creal_test_data): Likewise.
13175 (csin_test_data): Likewise.
13176 (csinh_test_data): Likewise.
13177 (csqrt_test_data): Likewise.
13178 (ctan_test_data): Likewise.
13179 (ctan_tonearest_test_data): Likewise.
13180 (ctan_towardzero_test_data): Likewise.
13181 (ctan_downward_test_data): Likewise.
13182 (ctan_upward_test_data): Likewise.
13183 (ctanh_test_data): Likewise.
13184 (ctanh_tonearest_test_data): Likewise.
13185 (ctanh_towardzero_test_data): Likewise.
13186 (ctanh_downward_test_data): Likewise.
13187 (ctanh_upward_test_data): Likewise.
13188 (erf_test_data): Likewise.
13189 (erfc_test_data): Likewise.
13190 (exp_test_data): Likewise.
13191 (exp_tonearest_test_data): Likewise.
13192 (exp_towardzero_test_data): Likewise.
13193 (exp_downward_test_data): Likewise.
13194 (exp_upward_test_data): Likewise.
13195 (exp10_test_data): Likewise.
13196 (exp2_test_data): Likewise.
13197 (expm1_test_data): Likewise.
13198 (fabs_test_data): Likewise.
13199 (fdim_test_data): Likewise.
13200 (finite_test_data): Likewise.
13201 (floor_test_data): Likewise.
13202 (fma_test_data): Likewise.
13203 (fma_towardzero_test_data): Likewise.
13204 (fma_downward_test_data): Likewise.
13205 (fma_upward_test_data): Likewise.
13206 (fmax_test_data): Likewise.
13207 (fmin_test_data): Likewise.
13208 (fmod_test_data): Likewise.
13209 (fpclassify_test_data): Likewise.
13210 (frexp_test_data): Likewise.
13211 (gamma_test_data): Likewise.
13212 (hypot_test_data): Likewise.
13213 (ilogb_test_data): Likewise.
13214 (isfinite_test_data): Likewise.
13215 (isgreater_test_data): Likewise.
13216 (isgreaterequal_test_data): Likewise.
13217 (isinf_test_data): Likewise.
13218 (isless_test_data): Likewise.
13219 (islessequal_test_data): Likewise.
13220 (islessgreater_test_data): Likewise.
13221 (isnan_test_data): Likewise.
13222 (isnormal_test_data): Likewise.
13223 (issignaling_test_data): Likewise.
13224 (isunordered_test_data): Likewise.
13225 (j0_test_data): Likewise.
13226 (j1_test_data): Likewise.
13227 (jn_test_data): Likewise.
13228 (ldexp_test_data): Likewise.
13229 (lgamma_test_data): Likewise.
13230 (lrint_test_data): Likewise.
13231 (lrint_tonearest_test_data): Likewise.
13232 (lrint_towardzero_test_data): Likewise.
13233 (lrint_downward_test_data): Likewise.
13234 (lrint_upward_test_data): Likewise.
13235 (llrint_test_data): Likewise.
13236 (llrint_tonearest_test_data): Likewise.
13237 (llrint_towardzero_test_data): Likewise.
13238 (llrint_downward_test_data): Likewise.
13239 (llrint_upward_test_data): Likewise.
13240 (log_test_data): Likewise.
13241 (log10_test_data): Likewise.
13242 (log1p_test_data): Likewise.
13243 (log2_test_data): Likewise.
13244 (logb_test_data): Likewise.
13245 (logb_downward_test_data): Likewise.
13246 (lround_test_data): Likewise.
13247 (llround_test_data): Likewise.
13248 (modf_test_data): Likewise.
13249 (nearbyint_test_data): Likewise.
13250 (nextafter_test_data): Likewise.
13251 (nexttoward_test_data): Likewise.
13252 (pow_test_data): Likewise.
13253 (pow_tonearest_test_data): Likewise.
13254 (pow_towardzero_test_data): Likewise.
13255 (pow_downward_test_data): Likewise.
13256 (pow_upward_test_data): Likewise.
13257 (remainder_test_data): Likewise.
13258 (remainder_tonearest_test_data): Likewise.
13259 (remainder_towardzero_test_data): Likewise.
13260 (remainder_downward_test_data): Likewise.
13261 (remainder_upward_test_data): Likewise.
13262 (remquo_test_data): Likewise.
13263 (rint_test_data): Likewise.
13264 (rint_tonearest_test_data): Likewise.
13265 (rint_towardzero_test_data): Likewise.
13266 (rint_downward_test_data): Likewise.
13267 (rint_upward_test_data): Likewise.
13268 (round_test_data): Likewise.
13269 (scalb_test_data): Likewise.
13270 (scalbn_test_data): Likewise.
13271 (scalbln_test_data): Likewise.
13272 (signbit_test_data): Likewise.
13273 (sin_test_data): Likewise.
13274 (sin_tonearest_test_data): Likewise.
13275 (sin_towardzero_test_data): Likewise.
13276 (sin_downward_test_data): Likewise.
13277 (sin_upward_test_data): Likewise.
13278 (sincos_test_data): Likewise.
13279 (sinh_test_data): Likewise.
13280 (sinh_tonearest_test_data): Likewise.
13281 (sinh_towardzero_test_data): Likewise.
13282 (sinh_downward_test_data): Likewise.
13283 (sinh_upward_test_data): Likewise.
13284 (sqrt_test_data): Likewise.
13285 (tan_test_data): Likewise.
13286 (tan_tonearest_test_data): Likewise.
13287 (tan_towardzero_test_data): Likewise.
13288 (tan_downward_test_data): Likewise.
13289 (tan_upward_test_data): Likewise.
13290 (tanh_test_data): Likewise.
13291 (tgamma_test_data): Likewise.
13292 (trunc_test_data): Likewise.
13293 (y0_test_data): Likewise.
13294 (y1_test_data): Likewise.
13295 (yn_test_data): Likewise.
13296 (significand_test_data): Likewise.
13298 * math/gen-libm-test.pl (@functions): Remove variable.
13299 (generate_testfile): Don't handle START and END lines.
13300 * math/libm-test.inc (START): New macro.
13302 (END_COMPLEX): Likewise.
13303 (acos_test): Use END macro without arguments.
13304 (acos_test_tonearest): Likewise.
13305 (acos_test_towardzero): Likewise.
13306 (acos_test_downward): Likewise.
13307 (acos_test_upward): Likewise.
13308 (acosh_test): Likewise.
13309 (asin_test): Likewise.
13310 (asin_test_tonearest): Likewise.
13311 (asin_test_towardzero): Likewise.
13312 (asin_test_downward): Likewise.
13313 (asin_test_upward): Likewise.
13314 (asinh_test): Likewise.
13315 (atan_test): Likewise.
13316 (atanh_test): Likewise.
13317 (atan2_test): Likewise.
13318 (cabs_test): Likewise.
13319 (cacos_test): Use END_COMPLEX macro without arguments.
13320 (cacosh_test): Likewise.
13321 (carg_test): Use END macro without arguments.
13322 (casin_test): Use END_COMPLEX macro without arguments.
13323 (casinh_test): Likewise.
13324 (catan_test): Likewise.
13325 (catanh_test): Likewise.
13326 (cbrt_test): Use END macro without arguments.
13327 (ccos_test): Use END_COMPLEX macro without arguments.
13328 (ccosh_test): Likewise.
13329 (ceil_test): Use END macro without arguments.
13330 (cexp_test): Use END_COMPLEX macro without arguments.
13331 (cimag_test): Use END macro without arguments.
13332 (clog_test): Use END_COMPLEX macro without arguments.
13333 (clog10_test): Likewise.
13334 (conj_test): Likewise.
13335 (copysign_test): Use END macro without arguments.
13336 (cos_test): Likewise.
13337 (cos_test_tonearest): Likewise.
13338 (cos_test_towardzero): Likewise.
13339 (cos_test_downward): Likewise.
13340 (cos_test_upward): Likewise.
13341 (cosh_test): Likewise.
13342 (cosh_test_tonearest): Likewise.
13343 (cosh_test_towardzero): Likewise.
13344 (cosh_test_downward): Likewise.
13345 (cosh_test_upward): Likewise.
13346 (cpow_test): Use END_COMPLEX macro without arguments.
13347 (cproj_test): Likewise.
13348 (creal_test): Use END macro without arguments.
13349 (csin_test): Use END_COMPLEX macro without arguments.
13350 (csinh_test): Likewise.
13351 (csqrt_test): Likewise.
13352 (ctan_test): Likewise.
13353 (ctan_test_tonearest): Likewise.
13354 (ctan_test_towardzero): Likewise.
13355 (ctan_test_downward): Likewise.
13356 (ctan_test_upward): Likewise.
13357 (ctanh_test): Likewise.
13358 (ctanh_test_tonearest): Likewise.
13359 (ctanh_test_towardzero): Likewise.
13360 (ctanh_test_downward): Likewise.
13361 (ctanh_test_upward): Likewise.
13362 (erf_test): Use END macro without arguments.
13363 (erfc_test): Likewise.
13364 (exp_test): Likewise.
13365 (exp_test_tonearest): Likewise.
13366 (exp_test_towardzero): Likewise.
13367 (exp_test_downward): Likewise.
13368 (exp_test_upward): Likewise.
13369 (exp10_test): Likewise.
13370 (exp2_test): Likewise.
13371 (expm1_test): Likewise.
13372 (fabs_test): Likewise.
13373 (fdim_test): Likewise.
13374 (finite_test): Likewise.
13375 (floor_test): Likewise.
13376 (fma_test): Likewise.
13377 (fma_test_towardzero): Likewise.
13378 (fma_test_downward): Likewise.
13379 (fma_test_upward): Likewise.
13380 (fmax_test): Likewise.
13381 (fmin_test): Likewise.
13382 (fmod_test): Likewise.
13383 (fpclassify_test): Likewise.
13384 (frexp_test): Likewise.
13385 (gamma_test): Likewise.
13386 (hypot_test): Likewise.
13387 (ilogb_test): Likewise.
13388 (isfinite_test): Likewise.
13389 (isgreater_test): Likewise.
13390 (isgreaterequal_test): Likewise.
13391 (isinf_test): Likewise.
13392 (isless_test): Likewise.
13393 (islessequal_test): Likewise.
13394 (islessgreater_test): Likewise.
13395 (isnan_test): Likewise.
13396 (isnormal_test): Likewise.
13397 (issignaling_test): Likewise.
13398 (isunordered_test): Likewise.
13399 (j0_test): Likewise.
13400 (j1_test): Likewise.
13401 (jn_test): Likewise.
13402 (ldexp_test): Likewise.
13403 (lgamma_test): Likewise.
13404 (lrint_test): Likewise.
13405 (lrint_test_tonearest): Likewise.
13406 (lrint_test_towardzero): Likewise.
13407 (lrint_test_downward): Likewise.
13408 (lrint_test_upward): Likewise.
13409 (llrint_test): Likewise.
13410 (llrint_test_tonearest): Likewise.
13411 (llrint_test_towardzero): Likewise.
13412 (llrint_test_downward): Likewise.
13413 (llrint_test_upward): Likewise.
13414 (log_test): Likewise.
13415 (log10_test): Likewise.
13416 (log1p_test): Likewise.
13417 (log2_test): Likewise.
13418 (logb_test): Likewise.
13419 (logb_test_downward): Likewise.
13420 (lround_test): Likewise.
13421 (llround_test): Likewise.
13422 (modf_test): Likewise.
13423 (nearbyint_test): Likewise.
13424 (nextafter_test): Likewise.
13425 (nexttoward_test): Likewise.
13426 (pow_test): Likewise.
13427 (pow_test_tonearest): Likewise.
13428 (pow_test_towardzero): Likewise.
13429 (pow_test_downward): Likewise.
13430 (pow_test_upward): Likewise.
13431 (remainder_test): Likewise.
13432 (remainder_test_tonearest): Likewise.
13433 (remainder_test_towardzero): Likewise.
13434 (remainder_test_downward): Likewise.
13435 (remainder_test_upward): Likewise.
13436 (remquo_test): Likewise.
13437 (rint_test): Likewise.
13438 (rint_test_tonearest): Likewise.
13439 (rint_test_towardzero): Likewise.
13440 (rint_test_downward): Likewise.
13441 (rint_test_upward): Likewise.
13442 (round_test): Likewise.
13443 (scalb_test): Likewise.
13444 (scalbn_test): Likewise.
13445 (scalbln_test): Likewise.
13446 (signbit_test): Likewise.
13447 (sin_test): Likewise.
13448 (sin_test_tonearest): Likewise.
13449 (sin_test_towardzero): Likewise.
13450 (sin_test_downward): Likewise.
13451 (sin_test_upward): Likewise.
13452 (sincos_test): Likewise.
13453 (sinh_test): Likewise.
13454 (sinh_test_tonearest): Likewise.
13455 (sinh_test_towardzero): Likewise.
13456 (sinh_test_downward): Likewise.
13457 (sinh_test_upward): Likewise.
13458 (sqrt_test): Likewise.
13459 (tan_test): Likewise.
13460 (tan_test_tonearest): Likewise.
13461 (tan_test_towardzero): Likewise.
13462 (tan_test_downward): Likewise.
13463 (tan_test_upward): Likewise.
13464 (tanh_test): Likewise.
13465 (tgamma_test): Likewise.
13466 (trunc_test): Likewise.
13467 (y0_test): Likewise.
13468 (y1_test): Likewise.
13469 (yn_test): Likewise.
13470 (significand_test): Likewise.
13472 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13475 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13477 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13480 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13481 __ppc_mdoio and __ppc_mdoom.
13482 * manual/platform.texi: Document new functions __ppc_yield,
13483 __ppc_mdoio and __ppc_mdoom.
13485 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13487 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13488 (main): Mention "tls" pseudo-hwcap is legacy.
13489 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13491 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13493 * math/gen-libm-test.pl (parse_args): Output only string of
13494 arguments as text for test name, not full call or descriptions of
13495 tests for extra outputs.
13496 (generate_testfile): Do not pass function name to parse_args.
13497 Generate this_func variable from START.
13498 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13500 (struct test_ff_f_data): Likewise.
13501 (test_ff_f_data_nexttoward): Likewise.
13502 (struct test_fi_f_data): Likewise.
13503 (struct test_fl_f_data): Likewise.
13504 (struct test_if_f_data): Likewise.
13505 (struct test_fff_f_data): Likewise.
13506 (struct test_c_f_data): Likewise.
13507 (struct test_f_f1_data): Likewise. Remove field extra_name.
13508 (struct test_fF_f1_data): Likewise.
13509 (struct test_ffI_f1_data): Likewise.
13510 (struct test_c_c_data): Rename test_name field to arg_str.
13511 (struct test_cc_c_data): Likewise.
13512 (struct test_f_i_data): Likewise.
13513 (struct test_ff_i_data): Likewise.
13514 (struct test_f_l_data): Likewise.
13515 (struct test_f_L_data): Likewise.
13516 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13518 (COMMON_TEST_SETUP): New macro.
13519 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13520 (COMMON_TEST_CLEANUP): Likewise.
13521 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13522 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13524 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13525 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13527 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13528 (RUN_TEST_fff_f): Take argument string. Call new setup and
13530 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13531 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13533 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13534 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13536 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13537 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13539 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13540 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13542 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13543 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13545 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13546 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13548 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13549 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13551 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13552 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13554 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13555 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13557 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13558 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13560 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13561 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13563 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13564 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13566 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13567 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13569 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13570 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13572 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13573 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13575 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13577 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13579 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13580 to _sifields.sigfault.
13581 (si_addr_lsb): Define new macro.
13582 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13584 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13586 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13589 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13591 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13593 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13594 loading the domain.
13596 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13598 * math/gen-libm-test.pl (parse_args): Do not include expected
13599 result in test name.
13600 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13601 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13602 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13603 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13604 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13607 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13609 * benchtests/Makefile: Sort function entries.
13611 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13612 tanh, asinh, acosh, atanh.
13613 * benchtests/acos-inputs: New file.
13614 * benchtests/acosh-inputs: New file.
13615 * benchtests/asin-inputs: New file.
13616 * benchtests/asinh-inputs: New file.
13617 * benchtests/atanh-inputs: New file.
13618 * benchtests/cosh-inputs: New file.
13619 * benchtests/log-inputs: New file.
13620 * benchtests/sinh-inputs: New file.
13621 * benchtests/tanh-inputs: New file.
13623 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13626 * posix/tst-getaddrinfo4.c: New test.
13627 * posix/Makefile (tests): Add it.
13629 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13632 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13633 when no services were used.
13634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13635 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13637 2013-05-21 Andreas Schwab <schwab@suse.de>
13640 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13641 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13643 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13644 redundant variable declarations and reallocation of buffer when
13645 parsing as IPv6 address. Always set NSS status when called from
13646 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13647 buffer too small. Correct computation of needed size.
13648 * nss/Makefile (tests): Add test-digits-dots.
13649 * nss/test-digits-dots.c: New test.
13651 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13653 * benchtests/Makefile: Remove instructions for adding
13655 * benchtests/README: New file to explain how to execute and
13656 enhance the benchmark tests.
13658 2013-05-21 Andreas Schwab <schwab@suse.de>
13661 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13662 * setjmp/tst-sigsetjmp.c: New test.
13664 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13666 * sysdeps/x86_64/memset.S (memset): New implementation.
13667 (__bzero): Likewise.
13668 (__memset_tail): New function.
13670 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13672 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13673 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13674 __memcpy_sse2_unaligned ifunc selection.
13675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13676 Add memcpy-sse2-unaligned.S.
13677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13678 Add: __memcpy_sse2_unaligned.
13680 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13683 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13684 math_force_eval before restoring floating-point envrionment.
13685 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13688 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13690 (__nearbyintl): Use math_force_eval before restoring
13691 floating-point environment.
13692 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13694 * math/gen-libm-test.pl (special_functions): Remove.
13695 (parse_args): Don't handle TEST_extra. Handle functions with no
13697 * math/libm-test.inc (struct test_sincos_data): Replace with
13698 struct test_fFF_11_data.
13699 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13700 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13701 (sincos_test_data): Change element type to struct
13702 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13703 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13704 RUN_TEST_LOOP_sincos.
13705 * math/README.libm-test: Don't mention special handling of
13706 individual functions.
13707 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13708 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13709 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13710 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13711 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13714 * math/gen-libm-test.pl (get_variable): Remove function.
13715 (parse_args): Don't show pointer parameters to call in test
13716 names. Use "extra output N" in test names for extra outputs
13717 rather than naming variables.
13719 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13722 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13723 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13724 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13726 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13728 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13731 * math/gen-libm-test.pl (@tests): Remove variable.
13732 ($count): Likewise.
13733 (new_test): Remove function.
13734 (show_exceptions): New function.
13735 (special_functions): Use show_exceptions instead of new_test.
13736 (parse_args): Likewise.
13737 (generate_testfile): Pass only function name in generated call to
13738 print_max_error or print_complex_max_error.
13739 (get_ulps): Do not handle complex tests specially.
13740 (output_test): Rename to ...
13741 (get_all_ulps_for_test): ... this. Return a string rather than
13742 printing to a file. Require ulps to be present.
13743 (output_ulps): Generate arrays rather than #defines.
13744 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13745 (struct ulp_data): New type.
13746 (BUILD_COMPLEX_ULP): Remove macro.
13747 (compare_ulp_data): New function.
13748 (find_ulps): Likewise.
13749 (find_test_ulps): Likewise.
13750 (find_function_ulps): Likewise.
13751 (find_complex_function_ulps): Likewise.
13752 (print_max_error): Determine allowed ulps using
13753 find_function_ulps.
13754 (print_complex_max_error): Determine allowed ulps using
13755 find_complex_function_ulps.
13756 (check_float_internal): Determine max ulps using find_test_ulps.
13757 (check_float): Do not take max_ulp parameter. Update call to
13758 check_float_internal.
13759 (check_complex): Likewise.
13760 (check_int): Do not take max_ulp parameter.
13761 (check_long): Likewise.
13762 (check_bool): Likewise.
13763 (check_longlong): Likewise.
13764 (struct test_f_f_data): Remove max_ulp field.
13765 (struct test_ff_f_data): Likewise.
13766 (struct test_ff_f_data_nexttoward): Likewise.
13767 (struct test_fi_f_data): Likewise.
13768 (struct test_fl_f_data): Likewise.
13769 (struct test_if_f_data): Likewise.
13770 (struct test_fff_f_data): Likewise.
13771 (struct test_c_f_data): Likewise.
13772 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13773 (struct test_fF_f1_data): Likewise.
13774 (struct test_ffI_f1_data): Likewise.
13775 (struct test_c_c_data): Remove max_ulp field.
13776 (struct test_cc_c_data): Likewise.
13777 (struct test_f_i_data): Likewise.
13778 (struct test_ff_i_data): Likewise.
13779 (struct test_f_l_data): Likewise.
13780 (struct test_f_L_data): Likewise.
13781 (struct test_sincos_data): Likewise.
13782 (RUN_TEST_f_f): Do not handle ulps.
13783 (RUN_TEST_LOOP_f_f): Likewise.
13784 (RUN_TEST_2_f): Likewise.
13785 (RUN_TEST_LOOP_2_f): Likewise.
13786 (RUN_TEST_fff_f): Likewise.
13787 (RUN_TEST_LOOP_fff_f): Likewise.
13788 (RUN_TEST_c_f): Likewise.
13789 (RUN_TEST_LOOP_c_f): Likewise.
13790 (RUN_TEST_f_f1): Likewise.
13791 (RUN_TEST_LOOP_f_f1): Likewise.
13792 (RUN_TEST_fF_f1): Likewise.
13793 (RUN_TEST_LOOP_fF_f1): Likewise.
13794 (RUN_TEST_fI_f1): Likewise.
13795 (RUN_TEST_LOOP_fI_f1): Likewise.
13796 (RUN_TEST_ffI_f1): Likewise.
13797 (RUN_TEST_LOOP_ffI_f1): Likewise.
13798 (RUN_TEST_c_c): Likewise.
13799 (RUN_TEST_LOOP_c_c): Likewise.
13800 (RUN_TEST_cc_c): Likewise.
13801 (RUN_TEST_LOOP_cc_c): Likewise.
13802 (RUN_TEST_f_i): Likewise.
13803 (RUN_TEST_LOOP_f_i): Likewise.
13804 (RUN_TEST_f_i_tg): Likewise.
13805 (RUN_TEST_LOOP_f_i_tg): Likewise.
13806 (RUN_TEST_ff_i_tg): Likewise.
13807 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13808 (RUN_TEST_f_b): Likewise.
13809 (RUN_TEST_LOOP_f_b): Likewise.
13810 (RUN_TEST_f_b_tg): Likewise.
13811 (RUN_TEST_LOOP_f_b_tg): Likewise.
13812 (RUN_TEST_f_l): Likewise.
13813 (RUN_TEST_LOOP_f_l): Likewise.
13814 (RUN_TEST_f_L): Likewise.
13815 (RUN_TEST_LOOP_f_L): Likewise.
13816 (RUN_TEST_sincos): Likewise.
13817 (RUN_TEST_LOOP_sincos): Likewise.
13819 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13823 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13824 main case of finite arguments, set rounding mode to FE_TONEAREST
13825 and discard exceptions.
13826 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13828 (remainder_tonearest_test_data): New variable.
13829 (remainder_test_tonearest): New function.
13830 (remainder_towardzero_test_data): New variable.
13831 (remainder_test_towardzero): New function.
13832 (remainder_downward_test_data): New variable.
13833 (remainder_test_downward): New function.
13834 (remainder_upward_test_data): New variable.
13835 (remainder_test_upward): New function.
13836 (main): Call the new test functions.
13838 * math/libm-test.inc (struct test_f_f1_data): Remove field
13840 (struct test_fF_f1_data): Likewise.
13841 (struct test_ffI_f1_data): Likewise.
13842 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13843 based on value of EXTRA_EXPECTED.
13844 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13845 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13846 EXTRA_VAR based on value of EXTRA_EXPECTED.
13847 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13848 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13849 EXTRA_VAR based on value of EXTRA_EXPECTED.
13850 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13851 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13852 EXTRA_VAR based on value of EXTRA_EXPECTED.
13853 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13854 * math/gen-libm-test.pl (parse_args): Don't output initializers
13855 for extra output values.
13857 * math/libm-test.inc (check_int): Expect result to be exactly
13858 equal to expected value and do not handle ulps.
13859 (check_long): Likewise.
13860 (check_longlong): Likewise.
13862 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13864 (cimag_test_data): Likewise.
13865 (conj_test_data): Likewise.
13866 (copysign_test_data): Likewise.
13867 (cproj_test_data): Likewise.
13868 (creal_test_data): Likewise.
13869 (fabs_test_data): Likewise.
13870 (fdim_test_data): Likewise.
13871 (finite_test_data): Likewise.
13872 (floor_test_data): Likewise.
13873 (fmax_test_data): Likewise.
13874 (fmin_test_data): Likewise.
13875 (fmod_test_data): Likewise.
13876 (fpclassify_test_data): Likewise.
13877 (frexp_test_data): Likewise.
13878 (ilogb_test_data): Likewise.
13879 (isfinite_test_data): Likewise.
13880 (isgreater_test_data): Likewise.
13881 (isgreaterequal_test_data): Likewise.
13882 (isinf_test_data): Likewise.
13883 (isless_test_data): Likewise.
13884 (islessequal_test_data): Likewise.
13885 (islessgreater_test_data): Likewise.
13886 (isnan_test_data): Likewise.
13887 (isnormal_test_data): Likewise.
13888 (issignaling_test_data): Likewise.
13889 (isunordered_test_data): Likewise.
13890 (ldexp_test_data): Likewise.
13891 (lrint_test_data): Likewise.
13892 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13893 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13894 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13895 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13896 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13897 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13899 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13900 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13901 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13902 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13904 (lrint_downward_test_data): Test for "inexact" exceptions.
13905 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13906 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13907 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13909 (lrint_upward_test_data): Test for "inexact" exceptions.
13910 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13912 (llrint_test_data): Test for "inexact" exceptions.
13913 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13914 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13915 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13916 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13917 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13918 (llrint_downward_test_data): Test for "inexact" exceptions.
13919 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13920 (llrint_upward_test_data): Test for "inexact" exceptions.
13921 (logb_test_data): Likewise.
13922 (logb_downward_test_data): Likewise.
13923 (nextafter_test_data): Likewise.
13924 (nexttoward_test_data): Likewise.
13925 (remainder_test_data): Likewise.
13926 (remquo_test_data): Likewise.
13927 (scalbn_test_data): Likewise.
13928 (scalbln_test_data): Likewise.
13929 (signbit_test_data): Likewise.
13930 (sqrt_test_data): Likewise.
13931 (significand_test_data): Likewise.
13933 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13936 * benchtests/bench-modf.c (struct args): Mark arg0 as
13938 * scripts/bench.pl: Mark members of struct args as volatile.
13940 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13943 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13944 negative infinity on POWER6 or lower.
13945 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13947 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13950 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13951 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13952 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13953 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13954 (_FP_SETQNAN): New macro.
13955 (_FP_SETQNAN_SEMIRAW): Likewise.
13956 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13957 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13958 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13959 (FP_EXTEND): Use _FP_FRAC_SNANP.
13960 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13961 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13963 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13965 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13968 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13970 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13971 with DIVIDE_BY_ZERO_EXCEPTION.
13972 (gamma_test_data): Likewise.
13973 (lgamma_test_data): Likewise.
13974 (log_test_data): Likewise.
13975 (log10_test_data): Likewise.
13976 (log2_test_data): Likewise.
13977 (tgamma_test_data): Likewise.
13979 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13980 (acos_test_tonearest): Likewise.
13981 (acos_test_towardzero): Likewise.
13982 (acos_test_downward): Likewise.
13983 (acos_test_upward): Likewise.
13984 (acosh_test): Likewise.
13985 (asin_test): Likewise.
13986 (asin_test_tonearest): Likewise.
13987 (asin_test_towardzero): Likewise.
13988 (asin_test_downward): Likewise.
13989 (asin_test_upward): Likewise.
13990 (asinh_test): Likewise.
13991 (atan_test): Likewise.
13992 (atanh_test): Likewise.
13993 (atan2_test): Likewise.
13994 (cabs_test): Likewise.
13995 (cacos_test): Likewise.
13996 (cacosh_test): Likewise.
13997 (casin_test): Likewise.
13998 (casinh_test): Likewise.
13999 (catan_test): Likewise.
14000 (catanh_test): Likewise.
14001 (cbrt_test): Likewise.
14002 (ccos_test): Likewise.
14003 (ccosh_test): Likewise.
14004 (cexp_test): Likewise.
14005 (clog_test): Likewise.
14006 (clog10_test): Likewise.
14007 (cos_test): Likewise.
14008 (cos_test_tonearest): Likewise.
14009 (cos_test_towardzero): Likewise.
14010 (cos_test_downward): Likewise.
14011 (cos_test_upward): Likewise.
14012 (cosh_test): Likewise.
14013 (cosh_test_tonearest): Likewise.
14014 (cosh_test_towardzero): Likewise.
14015 (cosh_test_downward): Likewise.
14016 (cosh_test_upward): Likewise.
14017 (cpow_test): Likewise.
14018 (csin_test): Likewise.
14019 (csinh_test): Likewise.
14020 (csqrt_test): Likewise.
14021 (ctan_test): Likewise.
14022 (ctan_test_tonearest): Likewise.
14023 (ctan_test_towardzero): Likewise.
14024 (ctan_test_downward): Likewise.
14025 (ctan_test_upward): Likewise.
14026 (ctanh_test): Likewise.
14027 (ctanh_test_tonearest): Likewise.
14028 (ctanh_test_towardzero): Likewise.
14029 (ctanh_test_downward): Likewise.
14030 (ctanh_test_upward): Likewise.
14031 (erf_test): Likewise.
14032 (erfc_test): Likewise.
14033 (exp_test): Likewise.
14034 (exp_test_tonearest): Likewise.
14035 (exp_test_towardzero): Likewise.
14036 (exp_test_downward): Likewise.
14037 (exp_test_upward): Likewise.
14038 (exp10_test): Likewise.
14039 (exp2_test): Likewise.
14040 (expm1_test): Likewise.
14041 (fmod_test): Likewise.
14042 (gamma_test): Likewise.
14043 (hypot_test): Likewise.
14044 (j0_test): Likewise.
14045 (j1_test): Likewise.
14046 (jn_test): Likewise.
14047 (lgamma_test): Likewise.
14048 (log_test): Likewise.
14049 (log10_test): Likewise.
14050 (log1p_test): Likewise.
14051 (log2_test): Likewise.
14052 (logb_test_downward): Likewise.
14053 (pow_test): Likewise.
14054 (pow_test_tonearest): Likewise.
14055 (pow_test_towardzero): Likewise.
14056 (pow_test_downward): Likewise.
14057 (pow_test_upward): Likewise.
14058 (remainder_test): Likewise.
14059 (remquo_test): Likewise.
14060 (sin_test): Likewise.
14061 (sin_test_tonearest): Likewise.
14062 (sin_test_towardzero): Likewise.
14063 (sin_test_downward): Likewise.
14064 (sin_test_upward): Likewise.
14065 (sincos_test): Likewise.
14066 (sinh_test): Likewise.
14067 (sinh_test_tonearest): Likewise.
14068 (sinh_test_towardzero): Likewise.
14069 (sinh_test_downward): Likewise.
14070 (sinh_test_upward): Likewise.
14071 (sqrt_test): Likewise.
14072 (tan_test): Likewise.
14073 (tan_test_tonearest): Likewise.
14074 (tan_test_towardzero): Likewise.
14075 (tan_test_downward): Likewise.
14076 (tan_test_upward): Likewise.
14077 (tanh_test): Likewise.
14078 (tgamma_test): Likewise.
14079 (y0_test): Likewise.
14080 (y1_test): Likewise.
14081 (yn_test): Likewise.
14083 * math/gen-libm-test.pl (adjust_arg): Remove function.
14084 (special_function): Remove argument $in_func. Only handle
14085 generating output for tables of tests, not inside functions.
14086 (parse_args): Likewise.
14087 (generate_testfile): Remove variable $in_func. Update call to
14089 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14090 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14091 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14092 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14093 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14094 (MAX_VALUE_INIT): Rename macro to max_value.
14095 (MIN_VALUE_INIT): Rename macro to min_value.
14096 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14097 (plus_zero): Remove variable.
14098 (minus_zero): Likewise.
14099 (plus_infty): Likewise.
14100 (minus_infty): Likewise.
14101 (qnan_value): Likewise.
14102 (max_value): Likewise.
14103 (min_value): Likewise.
14104 (min_subnorm_value): Likewise.
14106 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14108 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14109 uint64_t or uint32_t usage.
14110 * crypt/sha256-block.c: Likewise.
14111 * crypt/sha256-crypt.c: Likewise.
14112 * crypt/sha256.c: Likewise.
14113 * crypt/sha512-block.c: Likewise.
14114 * crypt/sha512-crypt.c: Likewise.
14115 * crypt/sha512.c: Likewise.
14116 * debug/backtrace-tst.c: Likewise.
14117 * debug/pcprofiledump.c: Likewise.
14118 * elf/cache.c: Likewise.
14119 * elf/dl-cache.c: Likewise.
14120 * elf/dl-misc.c: Likewise.
14121 * elf/dl-profile.c: Likewise.
14122 * elf/dl-support.c: Likewise.
14123 * elf/ldconfig.c: Likewise.
14124 * elf/sprof.c: Likewise.
14125 * iconv/dummy-repertoire.c: Likewise.
14126 * iconv/iconv_charmap.c: Likewise.
14127 * iconv/skeleton.c: Likewise.
14128 * iconvdata/8bit-generic.c: Likewise.
14129 * iconvdata/cp737.h: Likewise.
14130 * iconvdata/cp775.h: Likewise.
14131 * iconvdata/ibm1008.h: Likewise.
14132 * iconvdata/ibm1025.h: Likewise.
14133 * iconvdata/ibm1046.h: Likewise.
14134 * iconvdata/ibm1097.h: Likewise.
14135 * iconvdata/ibm1112.h: Likewise.
14136 * iconvdata/ibm1122.h: Likewise.
14137 * iconvdata/ibm1123.h: Likewise.
14138 * iconvdata/ibm1124.h: Likewise.
14139 * iconvdata/ibm1129.h: Likewise.
14140 * iconvdata/ibm1130.h: Likewise.
14141 * iconvdata/ibm1132.h: Likewise.
14142 * iconvdata/ibm1133.h: Likewise.
14143 * iconvdata/ibm1137.h: Likewise.
14144 * iconvdata/ibm1140.h: Likewise.
14145 * iconvdata/ibm1141.h: Likewise.
14146 * iconvdata/ibm1142.h: Likewise.
14147 * iconvdata/ibm1143.h: Likewise.
14148 * iconvdata/ibm1144.h: Likewise.
14149 * iconvdata/ibm1145.h: Likewise.
14150 * iconvdata/ibm1146.h: Likewise.
14151 * iconvdata/ibm1147.h: Likewise.
14152 * iconvdata/ibm1148.h: Likewise.
14153 * iconvdata/ibm1149.h: Likewise.
14154 * iconvdata/ibm1153.h: Likewise.
14155 * iconvdata/ibm1154.h: Likewise.
14156 * iconvdata/ibm1155.h: Likewise.
14157 * iconvdata/ibm1156.h: Likewise.
14158 * iconvdata/ibm1157.h: Likewise.
14159 * iconvdata/ibm1158.h: Likewise.
14160 * iconvdata/ibm1160.h: Likewise.
14161 * iconvdata/ibm1161.h: Likewise.
14162 * iconvdata/ibm1162.h: Likewise.
14163 * iconvdata/ibm1163.h: Likewise.
14164 * iconvdata/ibm1164.h: Likewise.
14165 * iconvdata/ibm1166.h: Likewise.
14166 * iconvdata/ibm1167.h: Likewise.
14167 * iconvdata/ibm12712.h: Likewise.
14168 * iconvdata/ibm1390.h: Likewise.
14169 * iconvdata/ibm1399.h: Likewise.
14170 * iconvdata/ibm16804.h: Likewise.
14171 * iconvdata/ibm4517.h: Likewise.
14172 * iconvdata/ibm4899.h: Likewise.
14173 * iconvdata/ibm4909.h: Likewise.
14174 * iconvdata/ibm4971.h: Likewise.
14175 * iconvdata/ibm5347.h: Likewise.
14176 * iconvdata/ibm803.h: Likewise.
14177 * iconvdata/ibm856.h: Likewise.
14178 * iconvdata/ibm901.h: Likewise.
14179 * iconvdata/ibm902.h: Likewise.
14180 * iconvdata/ibm9030.h: Likewise.
14181 * iconvdata/ibm9066.h: Likewise.
14182 * iconvdata/ibm921.h: Likewise.
14183 * iconvdata/ibm922.h: Likewise.
14184 * iconvdata/ibm9448.h: Likewise.
14185 * iconvdata/isiri-3342.h: Likewise.
14186 * iconvdata/jis0201.h: Likewise.
14187 * include/link.h: Likewise.
14188 * include/netdb.h: Likewise.
14189 * inet/check_native.c: Likewise.
14190 * inet/check_pf.c: Likewise.
14191 * inet/getipv4sourcefilter.c: Likewise.
14192 * inet/getnameinfo.c: Likewise.
14193 * inet/getsourcefilter.c: Likewise.
14194 * inet/htonl.c: Likewise.
14195 * inet/setipv4sourcefilter.c: Likewise.
14196 * inet/setsourcefilter.c: Likewise.
14197 * inet/test-inet6_opt.c: Likewise.
14198 * inet/tst-network.c: Likewise.
14199 * locale/C-collate.c: Likewise.
14200 * locale/C-ctype.c: Likewise.
14201 * locale/C-time.c: Likewise.
14202 * locale/C-translit.h: Likewise.
14203 * locale/loadarchive.c: Likewise.
14204 * locale/programs/3level.h: Likewise.
14205 * locale/programs/charmap.c: Likewise.
14206 * locale/programs/charmap.h: Likewise.
14207 * locale/programs/ld-address.c: Likewise.
14208 * locale/programs/ld-collate.c: Likewise.
14209 * locale/programs/ld-ctype.c: Likewise.
14210 * locale/programs/ld-identification.c: Likewise.
14211 * locale/programs/ld-measurement.c: Likewise.
14212 * locale/programs/ld-messages.c: Likewise.
14213 * locale/programs/ld-monetary.c: Likewise.
14214 * locale/programs/ld-name.c: Likewise.
14215 * locale/programs/ld-numeric.c: Likewise.
14216 * locale/programs/ld-paper.c: Likewise.
14217 * locale/programs/ld-telephone.c: Likewise.
14218 * locale/programs/ld-time.c: Likewise.
14219 * locale/programs/linereader.c: Likewise.
14220 * locale/programs/locale.c: Likewise.
14221 * locale/programs/locarchive.c: Likewise.
14222 * locale/programs/locfile.h: Likewise.
14223 * locale/programs/repertoire.c: Likewise.
14224 * locale/programs/simple-hash.c: Likewise.
14225 * locale/programs/simple-hash.h: Likewise.
14226 * malloc/memusage.c: Likewise.
14227 * malloc/memusagestat.c: Likewise.
14228 * nis/nis_defaults.c: Likewise.
14229 * nis/nis_hash.c: Likewise.
14230 * nis/nis_print.c: Likewise.
14231 * nis/nis_xdr.c: Likewise.
14232 * nscd/connections.c: Likewise.
14233 * nscd/hstcache.c: Likewise.
14234 * nscd/nscd_gethst_r.c: Likewise.
14235 * nscd/nscd_getserv_r.c: Likewise.
14236 * nscd/nscd_helper.c: Likewise.
14237 * nscd/servicescache.c: Likewise.
14238 * nss/makedb.c: Likewise.
14239 * nss/nss_db/db-XXX.c: Likewise.
14240 * nss/nss_db/db-initgroups.c: Likewise.
14241 * nss/nss_db/db-netgrp.c: Likewise.
14242 * nss/nss_files/files-network.c: Likewise.
14243 * nss/nss_files/files-parse.c: Likewise.
14244 * posix/bug-regex5.c: Likewise.
14245 * posix/fnmatch_loop.c: Likewise.
14246 * posix/regcomp.c: Likewise.
14247 * posix/regexec.c: Likewise.
14248 * posix/tst-rfc3484-2.c: Likewise.
14249 * posix/tst-rfc3484-3.c: Likewise.
14250 * posix/tst-rfc3484.c: Likewise.
14251 * resolv/nss_dns/dns-canon.c: Likewise.
14252 * resolv/nss_dns/dns-network.c: Likewise.
14253 * resolv/res_init.c: Likewise.
14254 * resolv/res_mkquery.c: Likewise.
14255 * resolv/tst-aton.c: Likewise.
14256 * stdlib/cxa_atexit.c: Likewise.
14257 * stdlib/cxa_finalize.c: Likewise.
14258 * stdlib/gen-fpioconst.c: Likewise.
14259 * stdlib/strtol_l.c: Likewise.
14260 * string/tst-endian.c: Likewise.
14261 * sunrpc/auth_des.c: Likewise.
14262 * sunrpc/clnt_udp.c: Likewise.
14263 * sunrpc/rtime.c: Likewise.
14264 * sunrpc/svcauth_des.c: Likewise.
14265 * sunrpc/xdr.c: Likewise.
14266 * sunrpc/xdr_intXX_t.c: Likewise.
14267 * sunrpc/xdr_rec.c: Likewise.
14268 * sysdeps/generic/ldconfig.h: Likewise.
14269 * sysdeps/generic/ldsodefs.h: Likewise.
14270 * sysdeps/generic/memusage.h: Likewise.
14271 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14272 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14274 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14277 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14281 * sysdeps/posix/getaddrinfo.c: Likewise.
14282 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14283 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14284 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14285 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14286 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14287 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14288 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14289 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14290 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14291 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14292 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14293 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14294 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14295 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14296 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14297 * sysdeps/x86_64/dl-tls.h: Likewise.
14298 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14299 * time/alt_digit.c: Likewise.
14300 * time/era.c: Likewise.
14301 * wcsmbs/tst-c16c32-1.c: Likewise.
14303 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14305 * math/libm-test.inc (struct test_sincos_data): New type.
14306 (RUN_TEST_LOOP_sincos): New macro.
14307 (sincos_test_data): New variable.
14308 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14310 2013-05-16 Richard Henderson <rth@redhat.com>
14312 * math/atest-exp2.c (LIMB64): New macro.
14313 (CONSTSZ): New macro.
14314 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14316 (print_mpn_fp): ... to function scope.
14317 (read_mpn_hex): Remove.
14318 (get_log2): Remove.
14319 (exp2_mpn): Use mp_log2.
14320 (main): Use mp_exp1.
14322 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14324 * math/libm-test.inc: Remove comment about not testing "inexact"
14326 (INEXACT_EXCEPTION): New macro.
14327 (NO_INEXACT_EXCEPTION): Likewise.
14328 (INVALID_EXCEPTION_OK): Update value.
14329 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14330 (OVERFLOW_EXCEPTION_OK): Likewise.
14331 (UNDERFLOW_EXCEPTION_OK): Likewise.
14332 (IGNORE_ZERO_INF_SIGN): Likewise.
14333 (ERRNO_UNCHANGED): Likewise.
14334 (ERRNO_EDOM): Likewise.
14335 (ERRNO_ERANGE): Likewise.
14336 (test_exceptions): Handle testing "inexact" exceptions.
14337 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14338 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14339 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14340 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14342 (rint_towardzero_test_data): Likewise.
14343 (rint_downward_test_data): Likewise.
14344 (rint_upward_test_data): Likewise.
14346 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14347 with OVERFLOW_EXCEPTION.
14348 (exp10_test_data): Likewise.
14349 (exp2_test_data): Likewise.
14350 (expm1_test_data): Likewise.
14351 (lgamma_test_data): Likewise.
14352 (pow_test_data): Likewise.
14353 (tgamma_test_data): Likewise.
14354 (yn_test_data): Remove duplicate test of overflow.
14356 * math/libm-test.inc (struct test_cc_c_data): New type.
14357 (RUN_TEST_LOOP_cc_c): New macro.
14358 (cpow_test_data): New variable.
14359 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14361 * math/libm-test.inc (struct test_f_L_data): New type.
14362 (RUN_TEST_LOOP_f_L): New macro.
14363 (llrint_test_data): New variable.
14364 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14365 (llrint_tonearest_test_data): New variable.
14366 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14367 (llrint_towardzero_test_data): New variable.
14368 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14369 (llrint_downward_test_data): New variable.
14370 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14371 (llrint_upward_test_data): New variable.
14372 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14373 (llround_test_data): New variable.
14374 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14376 2013-05-13 Peter Collingbourne <pcc@google.com>
14378 * math/atest-exp2.c (get_log2): Remove const attribute.
14380 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14382 * math/libm-test.inc (struct test_f_l_data): New type.
14383 (RUN_TEST_LOOP_f_l): New macro.
14384 (lrint_test_data): New variable.
14385 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14386 (lrint_tonearest_test_data): New variable.
14387 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14388 (lrint_towardzero_test_data): New variable.
14389 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14390 (lrint_downward_test_data): New variable.
14391 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14392 (lrint_upward_test_data): New variable.
14393 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14394 (lround_test_data): New variable.
14395 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14397 2013-05-15 Peter Collingbourne <pcc@google.com>
14399 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14400 (EXTRACT_WORDS64) Use where appropriate.
14401 (INSERT_WORDS64) Likewise.
14403 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14404 constraints with x constraints.
14405 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14407 * malloc/obstack.c (_obstack_compat): Add initializer.
14409 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14412 si_trapno and add si_addr_lsb to _sifields.sigfault.
14413 (si_trapno): Remove macro.
14414 (si_addr_lsb): Define new macro.
14415 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14417 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14419 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14420 instead of TEST_f_l.
14421 (llrint_test_tonearest): Likewise.
14422 (llrint_test_towardzero): Likewise.
14423 (llrint_test_downward): Likewise.
14424 (llrint_test_upward): Likewise.
14425 (llround_test): Likewise.
14427 * math/libm-test.inc (struct test_f_i_data): Add comment.
14428 (RUN_TEST_LOOP_f_b): New macro.
14429 (RUN_TEST_LOOP_f_b_tg): Likewise.
14430 (finite_test_data): New variable.
14431 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14432 (isfinite_test_data): New variable.
14433 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14434 (isinf_test_data): New variable.
14435 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14436 (isnan_test_data): New variable.
14437 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14438 (isnormal_test_data): New variable.
14439 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14440 (issignaling_test_data): New variable.
14441 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14442 (signbit_test_data): New variable.
14443 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14445 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14446 with INVALID_EXCEPTION.
14447 (acosh_test_data): Likewise.
14448 (asin_test_data): Likewise.
14449 (atanh_test_data): Likewise.
14450 (fmod_test_data): Likewise.
14451 (log_test_data): Likewise.
14452 (log10_test_data): Likewise.
14453 (log2_test_data): Likewise.
14454 (pow_test_data): Likewise.
14455 (sqrt_test_data): Likewise.
14456 (y0_test_data): Likewise.
14457 (y1_test_data): Likewise.
14458 (yn_test_data): Likewise.
14460 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14463 * math/libm-test.inc (struct test_ff_i_data): New type.
14464 (RUN_TEST_LOOP_ff_i_tg): New macro.
14465 (isgreater_test_data): New variable.
14466 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14467 (isgreaterequal_test_data): New variable.
14468 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14469 (isless_test_data): New variable.
14470 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14471 (islessequal_test_data): New variable.
14472 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14473 (islessgreater_test_data): New variable.
14474 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14475 (isunordered_test_data): New variable.
14476 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14478 2013-05-14 David S. Miller <davem@davemloft.net>
14480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14482 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14484 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14486 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14488 (struct test_f_i_data): Change type of max_ulp to int.
14490 * math/libm-test.inc (test_ffI_f1_data): New type.
14491 (RUN_TEST_LOOP_ffI_f1): New macro.
14492 (remquo_test_data): New variable.
14493 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14495 * setjmp/tst-setjmp-fp.c: New file.
14496 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14497 (link-libm): New variable.
14498 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14500 * math/libm-test.inc (struct test_f_i_data): New type.
14501 (RUN_TEST_LOOP_f_i): New macro.
14502 (RUN_TEST_LOOP_f_i_tg): Likewise.
14503 (fpclassify_test_data): New variable.
14504 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14505 (ilogb_test_data): New variable.
14506 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14508 * math/libm-test.inc (scalbln_test): Correct function name in END
14511 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14512 (RUN_TEST_LOOP_fI_f1): New macro.
14513 (frexp_test_data): New variable.
14514 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14516 * math/libm-test.inc (struct test_fF_f1_data): New type.
14517 (RUN_TEST_LOOP_fF_f1): New macro.
14518 (modf_test_data): New variable.
14519 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14521 * math/libm-test.inc (struct test_f_f1_data): New type.
14522 (RUN_TEST_LOOP_f_f1): New macro.
14523 (gamma_test_data): New variable.
14524 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14525 (lgamma_test_data): New variable.
14526 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14528 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14530 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14531 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14532 (main): Comment "tls" pseudo-hwcap.
14534 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14536 * math/libm-test.inc (struct test_fl_f_data): New type.
14537 (RUN_TEST_LOOP_fl_f): New variable.
14538 (scalbln_test_data): New variable.
14539 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14541 * math/libm-test.inc (struct test_fi_f_data): New type.
14542 (RUN_TEST_LOOP_fi_f): New macro.
14543 (ldexp_test_data): New variable.
14544 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14545 (scalbn_test_data): New variable.
14546 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14548 * math/libm-test.inc (struct test_c_f_data): New type.
14549 (RUN_TEST_LOOP_c_f): New macro.
14550 (cabs_test_data): New variable.
14551 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14552 (carg_test_data): New variable.
14553 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14554 (cimag_test_data): New variable.
14555 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14556 (creal_test_data): New variable.
14557 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14559 * math/libm-test.inc (struct test_if_f_data): New type.
14560 (RUN_TEST_LOOP_if_f): New macro.
14561 (jn_test_data): New variable.
14562 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14563 (yn_test_data): New variable.
14564 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14566 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14568 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14570 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14571 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14573 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14575 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14576 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14577 (bench-deps): Add bench-timing.h.
14578 * benchtests-bench-skeleton.c: Include bench-timing.h.
14579 (main): Use TIMING_* macros instead of clock_gettime.
14580 * benchtests/bench-timing.h: New file.
14583 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14584 Renamed from _LIB_VERSION.
14585 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14587 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14589 * math/libm-test.inc (struct test_fff_f_data): New type.
14590 (RUN_TEST_LOOP_fff_f): New macro.
14591 (fma_test_data): New variable.
14592 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14593 (fma_towardzero_test_data): New variable.
14594 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14595 (fma_downward_test_data): New variable.
14596 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14597 (fma_upward_test_data): New variable.
14598 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14600 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14601 (struct test_c_c_data): New type.
14602 (RUN_TEST_LOOP_c_c): New macro.
14603 (cacos_test_data): New variable.
14604 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14605 (cacosh_test_data): New variable.
14606 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14607 (casin_test_data): New variable.
14608 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14609 (casinh_test_data): New variable.
14610 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14611 (catan_test_data): New variable.
14612 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14613 (catanh_test_data): New variable.
14614 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14615 (ccos_test_data): New variable.
14616 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14617 (ccosh_test_data): New variable.
14618 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14619 (cexp_test_data): New variable.
14620 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14621 (clog_test_data): New variable.
14622 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14623 (clog10_test_data): New variable.
14624 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14625 (conj_test_data): New variable.
14626 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14627 (cproj_test_data): New variable.
14628 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14629 (csin_test_data): New variable.
14630 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14631 (csinh_test_data): New variable.
14632 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14633 (csqrt_test_data): New variable.
14634 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14635 (ctan_test_data): New variable.
14636 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14637 (ctan_tonearest_test_data): New variable.
14638 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14639 (ctan_towardzero_test_data): New variable.
14640 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14641 (ctan_downward_test_data): New variable.
14642 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14643 (ctan_upward_test_data): New variable.
14644 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14645 (ctanh_test_data): New variable.
14646 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14647 (ctanh_tonearest_test_data): New variable.
14648 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14649 (ctanh_towardzero_test_data): New variable.
14650 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14651 (ctanh_downward_test_data): New variable.
14652 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14653 (ctanh_upward_test_data): New variable.
14654 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14655 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14658 * math/libm-test.inc (struct test_ff_f_data): New type.
14659 (struct test_ff_f_data_nexttoward): Likewise.
14660 (RUN_TEST_LOOP_2_f): New macro.
14661 (RUN_TEST_LOOP_ff_f): Likewise.
14662 (atan2_test_data): New variable.
14663 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14664 (copysign_test_data): New variable.
14665 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14666 (fdim_test_data): New variable.
14667 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14668 (fmax_test_data): New variable.
14669 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14670 (fmin_test_data): New variable.
14671 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14672 (fmod_test_data): New variable.
14673 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14674 (hypot_test_data): New variable.
14675 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14676 (nextafter_test_data): New variable.
14677 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14678 (nexttoward_test_data): New variable.
14679 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14680 (pow_test_data): New variable.
14681 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14682 (pow_tonearest_test_data): New variable.
14683 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14684 (pow_towardzero_test_data): New variable.
14685 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14686 (pow_downward_test_data): New variable.
14687 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14688 (pow_upward_test_data): New variable.
14689 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14690 (remainder_test_data): New variable.
14691 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14692 (scalb_test_data): New variable.
14693 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14694 * sysdeps/i386/fpu/libm-test-ulps: Update.
14696 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14698 * math/libm-test.inc (fma_test): Use max_value instead of local
14700 (nextafter_test): Likewise.
14702 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14703 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14704 (acos_downward_test_data): New variable.
14705 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14706 (acos_upward_test_data): New variable.
14707 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14708 (acosh_test_data): New variable.
14709 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14710 (asin_test_data): New variable.
14711 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14712 (asin_tonearest_test_data): New variable.
14713 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14714 (asin_towardzero_test_data): New variable.
14715 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14716 (asin_downward_test_data): New variable.
14717 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14718 (asin_upward_test_data): New variable.
14719 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14720 (asinh_test_data): New variable.
14721 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14722 (atan_test_data): New variable.
14723 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14724 (atanh_test_data): New variable.
14725 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14726 (cbrt_test_data): New variable.
14727 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14728 (ceil_test_data): New variable.
14729 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14730 (cos_test_data): New variable.
14731 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14732 (cos_tonearest_test_data): New variable.
14733 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14734 (cos_towardzero_test_data): New variable.
14735 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14736 (cos_downward_test_data): New variable.
14737 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14738 (cos_upward_test_data): New variable.
14739 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14740 (cosh_test_data): New variable.
14741 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14742 (cosh_tonearest_test_data): New variable.
14743 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14744 (cosh_towardzero_test_data): New variable.
14745 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14746 (cosh_downward_test_data): New variable.
14747 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14748 (cosh_upward_test_data): New variable.
14749 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14750 (erf_test_data): New variable.
14751 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14752 (erfc_test_data): New variable.
14753 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14754 (exp_test_data): New variable.
14755 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14756 (exp_tonearest_test_data): New variable.
14757 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14758 (exp_towardzero_test_data): New variable.
14759 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14760 (exp_downward_test_data): New variable.
14761 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14762 (exp_upward_test_data): New variable.
14763 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14764 (exp10_test_data): New variable.
14765 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14766 (exp2_test_data): New variable.
14767 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14768 (expm1_test_data): New variable.
14769 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14770 (fabs_test_data): New variable.
14771 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14772 (floor_test_data): New variable.
14773 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14774 (j0_test_data): New variable.
14775 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14776 (j1_test_data): New variable.
14777 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14778 (log_test_data): New variable.
14779 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14780 (log10_test_data): New variable.
14781 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14782 (log1p_test_data): New variable.
14783 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14784 (log2_test_data): New variable.
14785 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14786 (logb_test_data): New variable.
14787 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14788 (logb_downward_test_data): New variable.
14789 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14790 (nearbyint_test_data): New variable.
14791 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14792 (rint_test_data): New variable.
14793 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14794 (rint_tonearest_test_data): New variable.
14795 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14796 (rint_towardzero_test_data): New variable.
14797 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14798 (rint_downward_test_data): New variable.
14799 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14800 (rint_upward_test_data): New variable.
14801 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14802 (round_test_data): New variable.
14803 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14804 (sin_test_data): New variable.
14805 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14806 (sin_tonearest_test_data): New variable.
14807 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14808 (sin_towardzero_test_data): New variable.
14809 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14810 (sin_downward_test_data): New variable.
14811 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14812 (sin_upward_test_data): New variable.
14813 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14814 (sinh_test_data): New variable.
14815 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14816 (sinh_tonearest_test_data): New variable.
14817 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14818 (sinh_towardzero_test_data): New variable.
14819 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14820 (sinh_downward_test_data): New variable.
14821 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14822 (sinh_upward_test_data): New variable.
14823 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14824 (sqrt_test_data): New variable.
14825 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14826 (tan_test_data): New variable.
14827 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14828 (tan_tonearest_test_data): New variable.
14829 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14830 (tan_towardzero_test_data): New variable.
14831 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14832 (tan_downward_test_data): New variable.
14833 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14834 (tan_upward_test_data): New variable.
14835 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14836 (tanh_test_data): New variable.
14837 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14838 (tgamma_test_data): New variable.
14839 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14840 (trunc_test_data): New variable.
14841 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14842 (y0_test_data): New variable.
14843 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14844 (y1_test_data): New variable.
14845 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14846 (significand_test_data): New variable.
14847 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14849 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14852 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14854 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14856 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14858 2013-05-10 Andreas Jaeger <aj@suse.de>
14861 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14862 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14864 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14866 * math/gen-libm-test.pl (adjust_arg): New function.
14867 (special_functions): Handle generating output in both functions
14869 (parse_args): Likewise.
14870 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14871 $in_func argument to parse_args.
14872 * math/libm-test.inc (struct test_f_f_data): New type.
14873 (IF_ROUND_INIT_): New macro.
14874 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14875 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14876 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14877 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14878 (ROUND_RESTORE_): Likewise.
14879 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14880 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14881 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14882 (ROUND_RESTORE_FE_UPWARD): Likewise.
14883 (RUN_TEST_LOOP_f_f): New macro.
14884 (acos_test_data): New variable.
14885 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14886 (acos_tonearest_test_data): New variable.
14887 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14889 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14891 * benchtests/bench-skeleton.c (startup): Fix coding style.
14893 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14896 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14897 negative infinity argument.
14898 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14899 negative infinity argument.
14900 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14901 negative infinity argument.
14902 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14905 2013-05-10 Florian Weimer <fweimer@redhat.com>
14907 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14908 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14909 * iconv/iconv_prog.c (main): Likewise.
14910 * locale/programs/charmap-dir.c (charmap_readdir)
14911 (fopen_uncompressed): Likewise.
14912 * locale/programs/locfile.c (siblings_uncached)
14913 (write_locale_data): Use lstat64 instead of lstat.
14914 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14917 2013-05-10 Andreas Jaeger <aj@suse.de>
14920 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14922 Include <locale.h>.
14924 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14926 * elf/dl-close.c (_dl_close_worker): Add comments.
14928 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14933 (__ieee754_rem_pio2l): Update comments.
14936 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14938 (__ieee754_rem_pio2l): Update comments.
14940 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14941 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14943 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14946 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14947 (M_PI_34_LOG10El): Likewise.
14948 (M_PI2_LOG10El): Likewise.
14949 (M_PI4_LOG10El): Likewise.
14950 (M_PI_LOG10El): Likewise.
14952 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14956 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14958 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14959 (MINUS_ZERO_INIT): Likewise.
14960 (PLUS_INFTY_INIT): Likewise.
14961 (MINUS_INFTY_INIT): Likewise.
14962 (QNAN_VALUE_INIT): Likewise.
14963 (MAX_VALUE_INIT): Likewise.
14964 (MIN_VALUE_INIT): Likewise.
14965 (MIN_SUBNORM_VALUE_INIT): Likewise.
14966 (plus_zero): Initialize with PLUS_ZERO_INIT.
14967 (minus_zero): Initialize with MINUS_ZERO_INIT.
14968 (plus_infty): Initialize with PLUS_INFTY_INIT.
14969 (minus_infty): Initialize with MINUS_INFTY_INIT.
14970 (qnan_value): Initialize with QNAN_VALUE_INIT.
14971 (max_value): Initialize with MAX_VALUE_INIT.
14972 (min_value): Initialize with MIN_VALUE_INIT.
14973 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14975 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14976 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14977 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14978 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14980 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14981 (RUN_TEST_2_f): Likewise.
14982 (RUN_TEST_ff_f): Likewise.
14983 (RUN_TEST_fi_f): Likewise.
14984 (RUN_TEST_fl_f): Likewise.
14985 (RUN_TEST_fff_f): Likewise.
14986 (RUN_TEST_c_f): Likewise.
14987 (RUN_TEST_f_f1): Likewise.
14988 (RUN_TEST_fF_f1): Likewise.
14989 (RUN_TEST_fI_f1): Likewise.
14990 (RUN_TEST_ffI_f1): Likewise.
14991 (RUN_TEST_c_c): Likewise.
14992 (RUN_TEST_cc_c): Likewise.
14993 (RUN_TEST_f_i): Likewise.
14994 (RUN_TEST_f_i_tg): Likewise.
14995 (RUN_TEST_ff_i_tg): Likewise.
14996 (RUN_TEST_f_b): Likewise.
14997 (RUN_TEST_f_b_tg): Likewise.
14998 (RUN_TEST_f_l): Likewise.
14999 (RUN_TEST_f_L): Likewise.
15000 (RUN_TEST_sincos): Likewise.
15001 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15002 whether to show exceptions. Do not include ");\n" in return
15004 (special_functions): Output call to RUN_TEST_sincos instead of
15005 check_float calls. Update calls to new_test.
15006 (parse_args): Output call to single RUN_TEST_* macro instead of
15007 check_* calls and other assignments. Update calls to new_test.
15013 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15014 input to result for tgamma overflow.
15015 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15016 (gamma_coeff): New variable.
15017 (NCOEFF): New macro.
15018 (gamma_positive): New function.
15019 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15020 underflow here. Use gamma_positive instead of exp (lgamma) for
15022 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15023 (gamma_coeff): New variable.
15024 (NCOEFF): New macro.
15025 (gammaf_positive): New function.
15026 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15027 underflow here. Use gamma_positive instead of exp (lgamma) for
15029 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15030 (gamma_coeff): New variable.
15031 (NCOEFF): New macro.
15032 (gammal_positive): New function.
15033 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15034 underflow here. Use gamma_positive instead of exp (lgamma) for
15036 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15037 (gamma_coeff): New variable.
15038 (NCOEFF): New macro.
15039 (gammal_positive): New function.
15040 (__ieee754_gammal_r): Handle positive infinity, overflow and
15041 underflow here. Handle NaN the same as positive infinity. Remove
15042 check x < 0xffffffff for negative integers. Use gamma_positive
15043 instead of exp (lgamma) for other arguments.
15044 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15045 (gamma_coeff): New variable.
15046 (NCOEFF): New macro.
15047 (gammal_positive): New function.
15048 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15049 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15053 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15054 * sysdeps/generic/math_private.h (__gamma_productf): New
15056 (__gamma_product): Likewise.
15057 (__gamma_productl): Likewise.
15058 * math/Makefile (libm-calls): Add gamma_product.
15059 * math/libm-test.inc (tgamma_test): Add more tests.
15060 * sysdeps/i386/fpu/libm-test-ulps: Update.
15061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15063 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15065 * benchtests/bench-skeleton.c (main): Preheat CPU.
15067 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15069 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15071 2013-05-07 Roland McGrath <roland@hack.frob.com>
15073 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15074 and _dl_skip_args_internal.
15076 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15078 * manual/message.texi (Message Translation): Talk about users.
15079 Message to key mapping impacts design.
15081 2013-05-06 Roland McGrath <roland@hack.frob.com>
15083 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15085 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15087 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15088 * sysdeps/wordsize-64/glob64.c: ... here.
15090 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15091 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15094 * debug/getlogin_r_chk.c: Moved to ...
15095 * login/getlogin_r_chk.c: ... here.
15096 * debug/Makefile (routines): Move getlogin_r_chk to ...
15097 * login/Makefile (routines): ... here.
15098 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15099 * login/Versions (libc: GLIBC_2.4): ... here.
15101 * io/poll.c (__poll): Renamed from poll.
15102 Add libc_hidden_def.
15103 (poll): Define as weak alias.
15105 * debug/ptsname_r_chk.c: Moved to ...
15106 * login/ptsname_r_chk.c: ... here.
15107 * debug/Makefile (routines): Move ptsname_r_chk to ...
15108 * login/Makefile (routines): ... here.
15109 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15110 * login/Versions (libc: GLIBC_2.4): ... here.
15112 * posix/getlogin.c: Moved to ...
15113 * login/getlogin.c: ... here.
15114 * posix/getlogin_r.c: Moved to ...
15115 * login/getlogin_r.c: ... here.
15116 * posix/getlogin_r.c: Moved to ...
15117 * login/getlogin_r.c: ... here.
15118 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15119 * login/Makefile (routines): ... here.
15120 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15121 * login/Versions (libc: GLIBC_2.0): ... here.
15123 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15124 (setrlimit): Define as weak alias.
15126 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15127 Call __ names for open, ftruncate, and close.
15128 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15129 (truncate): Define as weak alias.
15131 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15133 * math/gen-libm-test.pl (parse_args): Initialize x before each
15134 test of frexp, modf and remquo.
15136 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15137 test signgam value.
15139 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15143 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15145 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15147 2013-05-06 Roland McGrath <roland@hack.frob.com>
15149 * elf/dl-writev.h: New file.
15150 * elf/dl-misc.c: Include it.
15151 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15152 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15154 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15156 * math/libm-test.inc (noXFails): Remove variable.
15157 (noXPasses): Likewise.
15158 (BUILD_COMPLEX_INT): Remove macro.
15159 (print_screen): Remove xfail argument.
15160 (print_screen_max_error): Likewise.
15161 (update_stats): Likewise.
15162 (print_max_error): Likewise. Update calls to other affected
15164 (print_complex_max_error): Likewise.
15165 (test_single_exception): Update calls to print_screen.
15166 (test_single_errno): Likewise.
15167 (check_float_internal): Remove xfail argument. Update calls to
15168 other affected functions.
15169 (check_float): Likewise.
15170 (check_complex): Likewise.
15171 (check_int): Likewise.
15172 (check_long): Likewise.
15173 (check_bool): Likewise.
15174 (check_longlong): Likewise.
15175 (main): Don't print noXFails and noXPasses.
15176 * math/gen-libm-test.pl (top level): Don't mention expected
15177 failure handling in comment.
15178 (new_test): Don't handle expected failures.
15179 (parse_args): Don't mention expected failure handling in comment.
15180 (generate_testfile): Don't handle expected failures.
15181 (parse_ulps): Likewise.
15182 (print_ulps_file): Likewise.
15183 (get_failure): Remove function.
15184 (output_test): Don't handle expected failures.
15185 * make/README.libm-test: Don't mention expected failure handling.
15187 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15188 (minus_zero): Likewise.
15189 (plus_infty): Likewise.
15190 (minus_infty): Likewise.
15191 (qnan_value): Likewise.
15192 (max_value): Likewise.
15193 (min_value): Likewise.
15194 (min_subnorm_value): Likewise.
15195 (initialize): Do not initialize those variables dynamically.
15197 2013-05-03 Roland McGrath <roland@hack.frob.com>
15199 * io/open.c (__open_2): Moved to ...
15200 * io/open_2.c: ... this new file.
15201 * io/open64.c (__open64_2): Moved to ...
15202 * io/open64_2.c: ... this new file.
15203 * io/openat.c (__openat_2): Moved to ...
15204 * io/openat_2.c: ... this new file.
15205 * io/openat64.c (__openat64_2): Moved to ...
15206 * io/openat64_2.c: ... this new file.
15207 * io/Makefile (routines): Add them.
15208 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15209 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15210 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15211 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15212 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15213 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15214 (__openat64): Add hidden_ver.
15215 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15216 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15218 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15219 Separately conditionalize setting of GLRO(dl_sysinfo) so
15220 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15221 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15223 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15225 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15226 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15228 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15229 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15230 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15231 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15232 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15234 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15236 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15237 test signgam value.
15239 * math/libm-test.inc (hypot_test): Do not use
15240 IGNORE_ZERO_INF_SIGN.
15242 2013-05-03 Andreas Jaeger <aj@suse.de>
15244 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15246 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15247 (PF_MAX): Adjust for VSOCK change.
15249 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15253 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15256 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15257 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15258 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15260 2013-05-02 David S. Miller <davem@davemloft.net>
15262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15264 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15266 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15268 2013-05-01 Roland McGrath <roland@hack.frob.com>
15270 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15272 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15275 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15276 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15277 Use __attribute__ ((__gnu_inline__)).
15278 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15279 Don't use __attribute__ ((__gnu_inline__)).
15281 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15284 * math/s_catan.c (__catan): Handle small real or imaginary part of
15285 input specially to avoid spurious underflow.
15286 * math/s_catanf.c (__catanf): Likewise.
15287 * math/s_catanh.c (__catanh): Likewise.
15288 * math/s_catanhf.c (__catanhf): Likewise.
15289 * math/s_catanhl.c (__catanhl): Likewise.
15290 * math/s_catanl.c (__catanl): Likewise.
15291 * math/libm-test.inc (catan_test): Add more tests.
15292 (catanh_test): Likewise.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15296 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15300 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15303 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15304 accurately for denominator in atan2.
15305 * math/s_catanf.c (__catanf): Likewise.
15306 * math/s_catanh.c (__catanh): Likewise.
15307 * math/s_catanhf.c (__catanhf): Likewise.
15308 * math/s_catanhl.c (__catanhl): Likewise.
15309 * math/s_catanl.c (__catanl): Likewise.
15310 * math/libm-test.inc (catan_test): Add more tests.
15311 (catanh_test): Likewise.
15312 * sysdeps/i386/fpu/libm-test-ulps: Update.
15313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15315 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15317 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15319 * benchtests/Makefile (bench): Remove slow benchmarks.
15320 * benchtests/atan-inputs: Add slow benchmark inputs.
15321 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15322 (BENCH_FUNC): Accept variant offset.
15324 * benchtests/bench-skeleton.c (main): Run benchmark for each
15326 * benchtests/cos-inputs: Add slow benchmark inputs.
15327 * benchtests/exp-inputs: Likewise.
15328 * benchtests/pow-inputs: Likewise.
15329 * benchtests/sin-inputs: Likewise.
15330 * benchtests/slowatan-inputs: Remove.
15331 * benchtests/slowatan.c: Remove.
15332 * benchtests/slowcos-inputs: Remove.
15333 * benchtests/slowcos.c: Remove.
15334 * benchtests/slowexp-inputs: Remove.
15335 * benchtests/slowexp.c: Remove.
15336 * benchtests/slowpow-inputs: Remove.
15337 * benchtests/slowpow.c: Remove.
15338 * benchtests/slowsin-inputs: Remove.
15339 * benchtests/slowsin.c: Remove.
15340 * benchtests/slowtan-inputs: Remove.
15341 * benchtests/slowtan.c: Remove.
15342 * benchtests/tan-inputs: Add slow benchmark inputs.
15343 * scripts/bench.pl: Parse comments and directives.
15345 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15347 ($(objpfx)bench-%.c): Remove *-ITER.
15348 * benchtests/bench-modf.c: Remove definition of ITER.
15349 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15350 (main): Loop for DURATION seconds instead of fixed number of
15352 * scripts/bench.pl: Don't expect iterations in parameters.
15354 2013-04-29 Roland McGrath <roland@hack.frob.com>
15356 * io/fchdir.c (__fchdir): Renamed from fchdir.
15357 (fchdir): Define as weak alias.
15359 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15361 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15362 (ERRNO_EDOM): Likewise.
15363 (ERRNO_ERANGE): Likewise.
15364 (noErrnoTests): New variable.
15365 (init_max_error): Set errno to 0.
15366 (test_single_errno): New function.
15367 (test_errno): Likewise.
15368 (check_float_internal): Call test_errno. Set errno to 0.
15369 (check_complex): Refer to errno tests in comment.
15370 (check_int): Call test_errno. Set errno to 0.
15371 (check_long): Likewise.
15372 (check_bool): Likewise.
15373 (check_longlong): Likewise.
15374 (cos_test): Use ERRNO_* flags for errno tests instead of
15376 (expm1_test): Likewise.
15377 (fmod_test): Likewise.
15378 (ilogb_test): Likewise.
15379 (lgamma_test): Likewise.
15380 (pow_test): Likewise.
15381 (remainder_test): Likewise.
15382 (sin_test): Likewise.
15383 (tan_test): Likewise.
15384 (yn_test): Likewise.
15385 (initialize): Set errno to 0.
15386 (main): Print number of errno tests.
15387 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15389 2013-04-29 Andreas Jaeger <aj@suse.de>
15392 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15396 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15397 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15401 * stdlib/random.c (__initstate): Return NULL if
15405 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15406 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15409 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15413 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15415 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15416 of individual tests.
15417 (casin_test): Likewise.
15418 (casinh_test): Likewise.
15420 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15423 * math/s_catan.c (__catan): Handle arguments with large real or
15424 imaginary part separately without squaring.
15425 * math/s_catanf.c (__catanf): Likewise.
15426 * math/s_catanh.c (__catanh): Likewise.
15427 * math/s_catanhf.c (__catanhf): Likewise.
15428 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15430 (__catanhl): Handle arguments with large real or imaginary part
15431 separately without squaring.
15432 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15434 (__catanl): Handle arguments with large real or imaginary part
15435 separately without squaring.
15436 * math/libm-test.inc (catan_test): Add more tests.
15437 (catanh_test): Likewise.
15438 * sysdeps/i386/fpu/libm-test-ulps: Update.
15439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15441 2013-04-27 Andreas Jaeger <aj@suse.de>
15444 * stdlib/stdlib.h: Update guards for qecvt.
15445 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15448 2013-04-27 Allan McRae <allan@archlinux.org>
15450 * sysdeps/i386/fpu/libm-test-ulps: Update.
15452 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15455 * math/s_catan.c: Include <float.h>.
15456 (__catan): Ensure underflow exception occurs for underflowed
15458 * math/s_catanf.c: Include <float.h>.
15459 (__catanf): Ensure underflow exception occurs for underflowed
15461 * math/s_catanh.c: Include <float.h>.
15462 (__catanh): Ensure underflow exception occurs for underflowed
15464 * math/s_catanhf.c: Include <float.h>.
15465 (__catanhf): Ensure underflow exception occurs for underflowed
15467 * math/s_catanhl.c: Include <float.h>.
15468 (__catanhl): Ensure underflow exception occurs for underflowed
15470 * math/s_catanl.c: Include <float.h>.
15471 (__catanl): Ensure underflow exception occurs for underflowed
15473 * math/libm-test.inc (catan_test): Add more tests.
15474 (catanh_test): Likewise.
15477 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15478 underflowed result.
15479 * math/s_ccoshf.c (__ccoshf): Likewise.
15480 * math/s_ccoshl.c (__ccoshl): Likewise.
15481 * math/s_csin.c (__csin): Likewise.
15482 * math/s_csinf.c (__csinf): Likewise.
15483 * math/s_csinh.c (__csinh): Likewise.
15484 * math/s_csinhf.c (__csinhf): Likewise.
15485 * math/s_csinhl.c (__csinhl): Likewise.
15486 * math/s_csinl.c (__csinl): Likewise.
15487 * math/libm-test.inc (ccos_test): Add more tests.
15488 (ccosh_test): Likewise.
15489 (csin_test): Likewise.
15490 (csinh_test): Likewise.
15492 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15494 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15495 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15496 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15497 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15498 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15499 powerpc/power5+/fpu folders.
15500 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15503 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15507 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15509 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15510 additions to variable.
15511 [$(config-machine) = x86_64] (modules-names): Likewise.
15512 ($(objpfx)tst-audit3): Remove dependency.
15513 ($(objpfx)tst-audit3.out): Likewise.
15514 ($(objpfx)tst-audit4): Likewise.
15515 ($(objpfx)tst-audit4.out): Likewise.
15516 ($(objpfx)tst-audit5): Likewise.
15517 ($(objpfx)tst-audit5.out): Likewise.
15518 ($(objpfx)tst-audit6): Likewise.
15519 ($(objpfx)tst-audit6.out): Likewise.
15520 ($(objpfx)tst-audit7): Likewise.
15521 ($(objpfx)tst-audit7.out): Likewise.
15522 (tst-audit3-ENV): Remove variable.
15523 (tst-audit4-ENV): Likewise.
15524 (tst-audit5-ENV): Likewise.
15525 (tst-audit6-ENV): Likewise.
15526 (tst-audit7-ENV): Likewise.
15527 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15528 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15529 addition to variable.
15530 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15531 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15532 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15535 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15536 tst-audit3, tst-audit4 and tst-audit5.
15537 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15538 tst-audit6 and tst-audit7.
15539 [$(subdir) = elf] (modules-names): Add audit modules for those
15541 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15542 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15543 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15544 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15545 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15546 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15547 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15548 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15549 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15550 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15551 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15552 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15553 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15554 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15555 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15556 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15558 [$(subdir) = elf && $(config-cflags-avx) = yes]
15559 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15560 [$(subdir) = elf && $(config-cflags-avx) = yes]
15561 (CFLAGS-tst-auditmod4a.c): Likewise.
15562 [$(subdir) = elf && $(config-cflags-avx) = yes]
15563 (CFLAGS-tst-auditmod4b.c): Likewise.
15564 [$(subdir) = elf && $(config-cflags-avx) = yes]
15565 (CFLAGS-tst-auditmod6b.c): Likewise.
15566 [$(subdir) = elf && $(config-cflags-avx) = yes]
15567 (CFLAGS-tst-auditmod6c.c): Likewise.
15568 [$(subdir) = elf && $(config-cflags-avx) = yes]
15569 (CFLAGS-tst-auditmod7b.c): Likewise.
15570 * elf/tst-audit3.c: Move to ...
15571 * sysdeps/x86_64/tst-audit3.c: ... here.
15572 * elf/tst-audit4.c: Move to ...
15573 * sysdeps/x86_64/tst-audit4.c: ... here.
15574 * elf/tst-audit5.c: Move to ...
15575 * sysdeps/x86_64/tst-audit5.c: ... here.
15576 * elf/tst-audit6.c: Move to ...
15577 * sysdeps/x86_64/tst-audit6.c: ... here.
15578 * elf/tst-audit7.c: Move to ...
15579 * sysdeps/x86_64/tst-audit7.c: ... here.
15580 * elf/tst-auditmod3a.c: Move to ...
15581 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15582 * elf/tst-auditmod3b.c: Move to ...
15583 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15584 * elf/tst-auditmod4a.c: Move to ...
15585 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15586 * elf/tst-auditmod4b.c: Move to ...
15587 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15588 * elf/tst-auditmod5a.c: Move to ...
15589 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15590 * elf/tst-auditmod5b.c: Move to ...
15591 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15592 * elf/tst-auditmod6a.c: Move to ...
15593 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15594 * elf/tst-auditmod6b.c: Move to ...
15595 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15596 * elf/tst-auditmod6c.c: Move to ...
15597 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15598 * elf/tst-auditmod7a.c: Move to ...
15599 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15600 * elf/tst-auditmod7b.c: Move to ...
15601 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15603 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15606 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15607 define unconditionally.
15608 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15609 define unconditionally.
15610 (INT8_C, INT16_C, etc.): Likewise.
15612 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15614 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15615 __ehdr_start with hidden visibility.
15617 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15619 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15621 * math/libm-test.inc (cos_test): Use accurate hex constants.
15622 (sincost_test): Likewise.
15624 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15626 * math/libm-test.inc (catan_test): Add more tests.
15627 (catanh_test): Likewise.
15629 * math/s_catanf.c (__catanf): Use suffixed floating-point
15631 * math/s_catanhf.c (__catanhf): Likewise.
15632 * math/s_catanhl.c (__catanhl): Likewise.
15633 * math/s_catanl.c (__catanl): Likewise.
15636 * math/s_catan.c (__catan): Calculate imaginary part of result
15637 with log1p not log unless computing log of number close to 0.
15638 * math/s_catanf.c (__catanf): Likewise.
15639 * math/s_catanl.c (__catanl): Likewise.
15640 * math/s_catanh.c (__catanh): Calculate real part of result with
15641 log1p not log unless computing log of number close to 0.
15642 * math/s_catanhf.c (__catanhf): Likewise.
15643 * math/s_catanhl.c (__catanhl): Likewise.
15644 * math/libm-test.inc (catan_test): Add more tests.
15645 (catanh_test): Likewise.
15646 * sysdeps/i386/fpu/libm-test-ulps: Update.
15647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15649 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15651 * benchtests/Makefile: Mention files in which fast and slow
15652 paths of math functions are implemented.
15654 2013-04-23 Roland McGrath <roland@hack.frob.com>
15656 * sysdeps/posix/timespec_get.c: New file.
15658 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15660 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15662 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15664 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15665 powerpc/power5/fpu folders.
15666 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15667 * benchtests/Makefile: Add modf testcase.
15668 * benchtests/bench-modf.c: New file: Benchmark test for mo
15670 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15673 * time/Makefile (tests): Add tst-strptime-whitespace.
15674 * time/strptime_l.c (get_number): Use ISSPACE.
15675 (__strptime_internal): Likewise.
15676 * time/tst-strptime-whitespace.c: New test case.
15678 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15680 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15682 (_nss_files_init): Set it here.
15684 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15686 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15687 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15690 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15692 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15694 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15696 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15699 2013-04-21 David S. Miller <davem@davemloft.net>
15701 * po/ru.po: Update Russion translation from translation project.
15703 2013-04-17 Adam Conrad <adconrad@0c3.net>
15705 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15708 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15710 * configure.in: Remove i386 configure warning. Remove i386 case.
15711 * configure: Regenerate.
15712 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15713 Add example to error message.
15714 * sysdeps/i386/configure: Regenerate.
15716 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15718 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15720 * benchtests/cos-inputs: New file.
15721 * benchtests/slowcos-inputs: New file.
15722 * benchtests/slowcos.c: New file.
15723 * benchtests/slowtan-inputs: New file.
15724 * benchtests/slowtan.c: New file.
15725 * benchtests/tan-inputs: New file.
15727 2013-04-16 Roland McGrath <roland@hack.frob.com>
15729 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15732 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15734 * benchtests/Makefile: Include cppflags-iterator.mk to add
15735 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15737 * Makefile.in (bench-clean): New target.
15738 * benchtests/Makefile (bench-clean): Likewise.
15740 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15742 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15744 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15746 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15748 2013-04-15 Andreas Schwab <schwab@suse.de>
15750 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15751 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15752 * nscd/pwdcache.c (cache_addpw): Likewise.
15753 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15756 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15758 * benchtests/Makefile (bench): Write all output to
15759 bench-out.tmp together.
15761 2013-04-15 Andreas Schwab <schwab@suse.de>
15763 * nscd/nscd.c (main): Don't fork again after closing files.
15765 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15767 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15769 * benchtests/Rules (bench-deps): Collect dependencies into a
15770 single variable. Add Makefile to dependencies.
15771 ($(objpfx)bench-%.c): Depend on bench-deps.
15773 2013-04-12 Roland McGrath <roland@hack.frob.com>
15774 Xavier Roche <roche+kml2@exalead.com>
15777 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15778 just that it's a file descriptor.
15779 * manual/llio.texi (Synchronizing AIO Operations): Update description
15780 for EBADF error from aio_fsync.
15782 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15784 * Rules (bench): Move target definition...
15785 * benchtests/Makefile: ... here.
15787 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15789 * math/libm-test.inc (cos_test): Fix PI/2 test.
15790 (sincos_test): Likewise.
15791 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15792 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15794 2013-04-11 Andreas Schwab <schwab@suse.de>
15797 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15798 accept exponent character only when digits were seen.
15799 * stdio-common/Makefile (tests): Add bug26.
15800 * stdio-common/bug26.c: New file.
15803 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15806 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15808 * Makeconfig (rtld-prefix): Define built linker prefix.
15809 * Rules (run-bench): Use it.
15810 * math/Makefile (run-regen-ulps): Likewise.
15812 * Rules (bench): Remove eval.
15814 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15815 Roland McGrath <roland@hack.frob.com>
15816 Ondrej Bilka <neleai@seznam.cz>
15819 * time/getdate.c: Include ctype.h and alloca.h.
15820 (__getdate_r): Trim leading and trailing spaces of input.
15821 * time/tst-getdate.c (tests): Add tests with leading and
15824 2013-04-08 Roland McGrath <roland@hack.frob.com>
15827 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15828 when computing value.
15830 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15832 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15833 Use testrun.sh to run libm tests.
15836 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15838 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15841 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15843 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15845 * Makefile.in (regen-ulps): New target.
15846 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15847 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15848 [ifneq (no,$(PERL)] (regen-ulps): New target.
15849 [ifeq (no,$(PERL)] (regen-ulps): New target.
15850 * math/libm-test.inc (ulps_file_name): Define.
15851 (output_dir): New variable.
15852 (options): Add "output-dir" option.
15853 (parse_opt): Handle 'o' case.
15854 (main): If output_dir is non-NULL use it as a prefix
15856 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15858 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15860 [BZ #10060, #10062]
15861 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15862 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15863 fail configure if __sync_val_compare_and_swap is not inlined.
15864 * sysdeps/i386/configure: Regenerate.
15865 * configure.in: Build for i686 when configured for i386.
15866 * configure: Regenerate.
15867 * README: Remove i386 reference.
15869 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15871 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15872 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15874 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15876 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15877 (lmsnanval): New variables.
15878 (F): Add conversion tests.
15879 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15880 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15882 * stdio-common/tstdiomisc.c (F): Properly collect individual
15885 [BZ #14686, #15336]
15886 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15887 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15888 Instead, use input NaN values or generate a qNaN by arithmetic
15889 operation. Also fix bugs to comply with the standard.
15890 * math/libm-test.inc (remainder_test): Add more tests.
15892 [BZ #15335, #15342]
15893 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15895 input NaN values or generate a qNaN by arithmetic operation.
15897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15900 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15903 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15906 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15907 underflowed result.
15908 * math/s_cexpf.c (__cexpf): Likewise.
15909 * math/s_cexpl.c (__cexpl): Likewise.
15910 * math/libm-test.inc (cexp_test): Add more tests.
15912 2013-04-03 Andreas Schwab <schwab@suse.de>
15915 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15916 order arrays from heap if bigger than alloca cutoff.
15918 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15920 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15921 (SNAN_TESTS_double): Refer to GCC PR56831.
15922 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15925 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15927 * Rules (bench): Move bench.out after the run is complete.
15929 * Rules (bench): Echo currently running benchmark.
15931 * benchtests/Makefile (bench): Add atan and slowatan.
15932 * benchtests/atan-inputs: New file.
15933 * benchtests/slowatan-inputs: New file.
15934 * benchtests/slowatan.c: New file.
15936 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15941 * sysdeps/unix/sysv/linux/kernel-features.h
15942 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15943 __ASSUME_XFS_RESTRICTED_CHOWN.
15944 * sysdeps/unix/sysv/linux/pathconf.c
15945 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15946 Save and restore errno.
15948 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15951 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15952 arguments using __kernel_casinh.
15953 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15954 arguments using __kernel_casinhf.
15955 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15956 arguments using __kernel_casinhl.
15957 * math/libm-test.inc (cacosh_test): Add more tests.
15958 * sysdeps/i386/fpu/libm-test-ulps: Update.
15959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15961 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15963 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15964 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15966 * bench/Makefile (bench): Add sin and slowsin.
15967 * benchtests/sin-inputs: New file.
15968 * benchtests/slowsin-inputs: New file.
15969 * benchtests/slowsin.c: New file.
15971 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15972 (bench): Add slowexp and slowpow.
15973 (exp-ITER): Increase iterations.
15974 (pow-ITER): Likewise.
15975 * benchtests/exp-inputs: Change input.
15976 * benchtests/pow-inputs: Likewise.
15977 * benchtests/slowexp-inputs: New file.
15978 * benchtests/slowexp.c: New file.
15979 * benchtests/slowpow-inputs: New file.
15980 * benchtests/slowpow.c: New file.
15982 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15984 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15986 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15987 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15988 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15989 * benchtests/Makefile: Add rint benchtest.
15990 * benchtests/rint-inputs: Input for rint benchtest.
15992 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15994 * Versions.def (libm): Add GLIBC_2.18.
15995 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15996 hidden libm prototypes.
15997 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15998 * math/Makefile (libm-calls): Add s_issignaling.
15999 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16000 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16001 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16003 * math/math.h [__USE_GNU] (issignaling): New macro.
16004 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16005 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16007 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16010 * manual/arith.texi (issignaling): New section.
16011 * manual/libm-err-tab.pl (@all_functions): Update comment.
16012 * math/gen-libm-test.pl (parse_args): Apply special handling for
16014 * math/libm-test.inc (print_float, issignaling_test): New
16016 (check_float_internal): Add issignaling checks.
16017 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16018 default definition.
16019 * sysdeps/powerpc/math-tests.h: New file.
16020 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16022 * math/test-snan.c (TEST_FUNC): Likewise.
16024 2013-03-30 David S. Miller <davem@davemloft.net>
16026 * po/de.po: Update from translation team.
16028 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16031 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16032 imaginary part less than 1.0 and real part less than 0.5
16034 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16035 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16036 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16037 (cacos_test): Add more tests.
16038 (casin_test): Likewise.
16039 (casinh_test): Likewise.
16040 * sysdeps/i386/fpu/libm-test-ulps: Update.
16041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16045 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16046 ONE with its value.
16048 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16049 (__pow_mp): Replace ONE and MONE with their values.
16050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16051 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16052 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16053 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16054 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16055 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16057 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16059 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16060 (__pow_mp): Replace ZERO and MZERO with their values.
16061 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16062 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16063 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16065 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16066 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16069 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16071 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16073 2013-03-28 Roland McGrath <roland@hack.frob.com>
16075 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16076 Declare with __attribute__ ((weak)).
16077 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16078 Call __call_tls_dtors only if it's not NULL.
16080 2013-03-28 Roland McGrath <roland@hack.frob.com>
16082 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16083 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16084 magic __ehdr_start linker symbol if it's defined.
16085 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16086 them up here if it was already done.
16088 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16089 (_dl_aux_init): Use const in cast when setting it.
16090 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16091 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16092 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16094 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16096 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16097 * csu/libc-tls.c: Nor here.
16098 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16100 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16101 (__libc_message): Never call vsyslog.
16103 2013-03-28 Alan Modra <amodra@gmail.com>
16105 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16107 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16110 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16113 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16117 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16120 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16121 Don't add gid passed as argument.
16123 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16125 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16128 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16129 imaginary part between 1.0 and 1.5 and real part less than 0.5
16131 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16132 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16133 * math/libm-test.inc (cacos_test): Add more tests.
16134 (casin_test): Likewise.
16135 (casinh_test): Likewise.
16136 * sysdeps/i386/fpu/libm-test-ulps: Update.
16137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16139 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16141 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16144 (denorm): Likewise.
16145 (__dbl_mp): Likewise.
16146 (add_magnitudes): Likewise.
16147 (sub_magnitudes): Likewise.
16155 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16157 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16158 (__dubcos): Likewise.
16159 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16160 (__ieee754_acos): Likewise.
16161 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16162 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16163 (__exp1): Likewise.
16164 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16167 (my_log2): Likewise.
16168 (checkint): Likewise.
16169 * sysdeps/ieee754/dbl-64/e_remainder.c
16170 (__ieee754_remainder): Likewise.
16171 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16172 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16173 (bsloww): Likewise.
16174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16176 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16177 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16178 MANTISSA_STORE_T to store computations on mantissa. Use
16179 macros for rounding and division.
16180 (denorm): Likewise.
16181 (__dbl_mp): Likewise.
16182 (add_magnitudes): Likewise.
16183 (sub_magnitudes): Likewise.
16186 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16187 powers of two in terms of TWOPOW macro.
16188 (mp_no): Make type of mantissa as MANTISSA_T.
16189 [!RADIXI]: Define RADIXI.
16190 [!TWO52]: Define TWO52.
16191 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16193 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16195 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16196 llroundl symbol when building for PPC32.
16198 2013-03-24 Mark H Weaver <mhw@netris.org>
16200 * manual/arith.texi (Normalization Functions): Fix prototypes for
16201 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16203 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16207 high value to check if expl overflow.
16208 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16209 to check for underflow and overflow.
16210 * math/libm-test.inc: Add exp test.
16212 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16215 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16218 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16220 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16223 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16225 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16226 wrap blocks consisting of several statements.
16228 * sysdeps/generic/math-tests.h: New file.
16229 * sysdeps/i386/fpu/math-tests.h: Likewise.
16230 * math/test-snan.c: Include it.
16231 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16233 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16236 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16237 (__ieee754_j0l): Do not improve calculations using cos of twice
16238 input for inputs above LDBL_MAX / 2.0L.
16239 (__ieee754_y0l): Likewise.
16240 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16241 (__ieee754_j1l): Do not improve calculations using cos of twice
16242 input for inputs above LDBL_MAX / 2.0L.
16243 (__ieee754_y1l): Likewise.
16244 * math/libm-test.inc (j0_test): Add another test.
16245 (j1_test): Likewise.
16246 (y0_test): Likewise.
16247 (y1_test): Likewise.
16248 * sysdeps/i386/fpu/libm-test-ulps: Update.
16250 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16252 * Rules ($(objpfx)bench-%.c): Include code from a C source
16255 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16258 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16259 imaginary part 1.0 and real part less than 0.5 specially.
16260 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16261 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16262 * math/libm-test.inc (cacos_test): Add more tests.
16263 (casin_test): Likewise.
16264 (casinh_test): Likewise.
16265 * sysdeps/i386/fpu/libm-test-ulps: Update.
16266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16268 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16270 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16271 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16273 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16275 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16276 * config.make.in (config-cflags-sse4): Remove variable.
16277 (config-cflags-avx): Likewise.
16278 (config-cflags-sse2avx): Likewise.
16279 (config-cflags-novzeroupper): Likewise.
16280 (config-asflags-i686): Likewise.
16281 (have-mfma4): Likewise.
16282 (have-as-vis3): Likewise.
16284 * configure.in (MIG): Do not AC_SUBST.
16285 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16286 (libc_cv_cc_sse4): Do not AC_SUBST.
16287 (libc_cv_cc_avx): Likewise.
16288 (libc_cv_cc_sse2avx): Likewise.
16289 (libc_cv_cc_novzeroupper): Likewise.
16290 (libc_cv_cc_fma4): Likewise.
16291 (libc_cv_as_i686): Likewise.
16292 (libc_cv_sparc_as_vis3): Likewise.
16293 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16295 (config-asflags-i686): Likewise.
16296 (config-cflags-avx): Likewise.
16297 (config-cflags-sse2avx): Likewise.
16298 (have-mfma4): Likewise.
16299 (config-cflags-novzeroupper): Likewise.
16300 * sysdeps/mach/configure.in (MIG): Likewise.
16301 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16302 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16304 (config-cflags-avx): Likewise.
16305 (config-cflags-sse2avx): Likewise.
16306 (have-mfma4): Likewise.
16307 (config-cflags-novzeroupper): Likewise.
16308 * configure: Regenerated.
16309 * sysdeps/i386/configure: Likewise.
16310 * sysdeps/mach/configure: Likewise.
16311 * sysdeps/sparc/configure: Likewise.
16312 * sysdeps/x86_64/configure: Likewise.
16314 2013-03-20 Roland McGrath <roland@hack.frob.com>
16317 * locale/programs/localedef.c (options): Put N_ translation marker
16318 on argument names, not just descriptions.
16320 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16322 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16324 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16327 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16329 2013-03-19 Roland McGrath <roland@hack.frob.com>
16331 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16332 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16333 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16334 [!BEFORE_ABORT] (before_abort): New function.
16335 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16336 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16337 (writev_for_fatal): New function.
16338 (WRITEV_FOR_FATAL): New macro; call that.
16339 (backtrace_and_maps): New function.
16340 (BEFORE_ABORT): New macro; call that.
16341 (struct str_list): Type removed.
16342 (__libc_message, __libc_fatal): Functions removed.
16343 Include <sysdeps/posix/libc_fatal.c> instead.
16345 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16347 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16349 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16352 2013-03-19 Andreas Schwab <schwab@suse.de>
16354 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16355 * sysdeps/gnu/configure: Regenerate.
16357 * configure.in: Substitute libc_cv_rtlddir.
16358 * configure: Regenerate.
16359 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16360 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16361 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16362 * elf/Makefile (install-others, CFLAGS-interp.c)
16363 (ldso_install, common-ldd-rewrite): Likewise.
16364 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16365 $(inst_slibdir)/$(rtld-installed-name).
16366 * scripts/rellns-sh: Add -p option.
16367 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16370 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16372 * manual/nptl.texi: Renamed to ...
16373 * manual/threads.texi: ... this.
16374 * manual/Makefile (chapters): Update.
16376 2013-03-18 Roland McGrath <roland@hack.frob.com>
16379 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16380 on argument names, not just descriptions.
16381 * malloc/memusagestat.c (options): Likewise.
16382 * nss/getent.c (options): Likewise.
16384 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16387 * iconv/iconv_prog.c (options): Put N_ translation marker
16388 on argument names, not just descriptions.
16389 * iconv/iconvconfig.c (options): Likewise.
16391 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16393 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16394 implementation which is faster on all x86_64 architectures.
16395 Tested on AMD, Intel Nehalem, SNB, IVB.
16396 * sysdeps/x86_64/strnlen.S: Likewise.
16398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16399 Remove all multiarch strlen and strnlen versions.
16400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16401 Remove strlen and strnlen related parts.
16403 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16404 Inline strlen part.
16405 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16407 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16408 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16409 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16410 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16411 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16412 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16414 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16416 * manual/memory.texi (Malloc Tunable Parameters):
16417 Sort parameters alphabetically. Add comments for missing entries.
16419 2013-03-17 David S. Miller <davem@davemloft.net>
16421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16423 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16426 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16427 for arguments at most half maximum finite value.
16428 * math/libm-test.inc (j0_test): Add more tests.
16429 (j1_test): Likewise.
16430 (y0_test): Likewise.
16431 (y1_test): Likewise.
16432 * sysdeps/i386/fpu/libm-test-ulps: Update.
16433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16436 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16437 1 / x and functions P and Q for arguments above 0x1p256L.
16438 (__ieee754_y0l): Likewise.
16439 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16440 (__ieee754_y1l): Likewise.
16441 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16442 (j1_test): Likewise.
16443 (y0_test): Likewise.
16444 (y1_test): Likewise.
16446 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16448 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16451 2013-03-15 Roland McGrath <roland@hack.frob.com>
16453 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16454 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16455 zero since it's initialized to EXEC_PAGESIZE.
16457 * sysdeps/unix/sysv/linux/ldsodefs.h
16458 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16459 * sysdeps/generic/ldsodefs.h: ... here.
16461 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16463 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16465 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16467 * math/test-snan.c: Renamed from
16468 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16469 * math/Makefile (tests): Add test-snan.
16470 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16473 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16474 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16476 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16477 __builtin_nan family of functions.
16478 * math/libm-test.inc (initialize): Initialize qnan_value with
16479 __builtin_nan family of functions.
16480 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16482 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16484 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16485 storage class. Initialize qNaN_var and sNaN_var with
16486 __builtin_nan and __builtin_nans families of functions,
16489 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16490 (sqrt_test): Remove duplicate test with qNaN input.
16491 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16492 (round_test, signbit_test, significand_test): Note missing +/-Inf
16493 as well as qNaN tests.
16495 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16496 qNaN_var. Fix a few strings, too.
16497 * math/libm-test.inc (nan_value): Rename to qnan_value.
16498 * math/gen-libm-test.pl (%beautify): Adjust to that.
16499 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16500 * math/test-misc.c (main): Likewise.
16501 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16502 to __qnan_bytes, and __qnan_union, respectively.
16503 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16505 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16506 and lqnanval, respectively.
16507 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16508 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16509 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16510 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16512 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16513 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16516 * math/test-misc.c (main): Fix copy'n'pastos.
16517 * misc/tst-efgcvt.c (special): Likewise.
16519 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16520 Remove declarations.
16522 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16524 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16525 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16526 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16527 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16529 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16532 macro to return vdso values correctly in IFUNC implementations.
16533 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16534 Optimization by using IFUNC.
16536 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16537 Richard Henderson <rth@redhat.com>
16538 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16540 * Makefile.in (bench): New target.
16541 * NEWS: Mention the benchmark framework.
16542 * Rules (bench): Likewise.
16543 (binaries-bench): Generate binaries for functions to
16545 * benchtests/Makefile: New makefile for benchmark tests.
16546 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16548 * benchtests/exp-inputs: New input file for EXP function.
16549 * benchtests/pow-inputs: New input file for POW function.
16550 * scripts/bench.pl: New script to generate source files for
16551 benchmark programs.
16553 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16555 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16556 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16557 computations on mantissa. Use macros for rounding and
16559 (denorm): Likewise.
16560 (__dbl_mp): Likewise.
16561 (add_magnitudes): Likewise.
16562 (sub_magnitudes): Likewise.
16565 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16566 powers of two in terms of TWOPOW macro.
16567 (mp_no): Make type of mantissa as MANTISSA_T.
16568 [!RADIXI]: Define RADIXI.
16569 [!TWO52]: Define TWO52.
16570 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16572 * manual/nptl.texi (cindex): Modify threads to pthreads.
16574 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16576 * sysdeps/x86_64/preconfigure: Regenerated.
16578 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16581 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16583 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16584 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16586 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16587 * math/libm-test.inc (j0_test): Do not allow one spurious
16588 underflow exception.
16589 (y1_test): Likewise.
16591 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16593 * manual/Makefile (chapters): Add nptl.
16594 * manual/debug.texi (Debugging Support): Add link to Threads
16596 * manual/nptl.texi: New file.
16598 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16600 2013-03-14 Petr Baudis <pasky@ucw.cz>
16602 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16603 for non-NULL pointer before the memory validity test. Pointed
16604 out by Holger Brunck <holger.brunck@keymile.com>.
16606 2013-03-13 Andreas Schwab <schwab@suse.de>
16608 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16611 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16613 * timezone/zic.c: Update from tzcode 2013b.
16615 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16617 * manual/install.texi (Configuring and compiling):
16618 Mention i686 and i586.
16619 * INSTALL: Regenerate.
16621 2013-03-12 Roland McGrath <roland@hack.frob.com>
16623 * sysdeps/init_array/elf-init.c: New file.
16625 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16626 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16628 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16629 __gmon_start__ as global, but as static with a .preinit_array pointer.
16630 * sysdeps/init_array/gmon-start.c: New file. Use that.
16631 * sysdeps/init_array/crti.S: New file, empty except for comments.
16632 * sysdeps/init_array/crtn.S: Likewise.
16634 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16636 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16639 Remove Prefer_SSE_for_memop.
16640 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16641 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16642 HAS_PREFER_SSE_FOR_MEMOP.
16643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16646 Remove bzero, memset ifunc support.
16647 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16648 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16649 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16650 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16652 2013-03-11 Andreas Schwab <schwab@suse.de>
16655 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16658 (GLIBC_2.16): Remove pthread_atfork.
16660 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16662 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16663 (ptestcases.h): Likewise.
16665 2013-03-08 Roland McGrath <roland@hack.frob.com>
16667 * Makeconfig ($(common-objpfx)config.status): Depend on
16668 sysdeps/*/preconfigure{,.in} too.
16670 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16672 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16673 (__free_hook): Use void * instead of __malloc_ptr_t.
16674 (__malloc_hook): Likewise.
16675 (__realloc_hook): Likewise.
16676 (__memalign_hook): Likewise.
16677 (__after_morecore_hook): Likewise.
16678 * malloc/arena.c (save_malloc_hook): Likewise.
16679 (save_free_hook): Likewise.
16680 * malloc/hooks.c (malloc_hook_ini): Likewise.
16681 (realloc_hook_ini): Likewise.
16682 (memalign_hook_ini): Likewise.
16683 * malloc/malloc.c (malloc_hook_ini): Likewise.
16684 (realloc_hook_ini): Likewise.
16685 (memalign_hook_ini): Likewise.
16686 (__free_hook): Likewise.
16687 (__malloc_hook): Likewise.
16688 (__realloc_hook): Likewise.
16689 (__memalign_hook): Likewise.
16690 (__libc_malloc): Likewise.
16691 (__libc_free): Likewise.
16692 (__libc_realloc): Likewise.
16693 (__libc_memalign): Likewise.
16694 (__libc_valloc): Likewise.
16695 (__libc_pvalloc): Likewise.
16696 (__libc_calloc): Likewise.
16697 (__posix_memalign): Likewise.
16698 * malloc/morecore.c (__sbrk): Likewise.
16699 (__default_morecore): Likewise.
16701 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16703 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16704 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16705 __malloc_ptrdiff_t.
16707 * malloc/malloc.h (__malloc_size_t): Remove macro.
16708 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16710 (old_memalign_hook): Likewise.
16711 (old_realloc_hook): Likewise.
16712 (struct hdr): Likewise.
16714 (mallochook): Likewise.
16715 (memalignhook): Likewise.
16716 (reallochook): Likewise.
16717 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16718 (tr_old_realloc_hook): Likewise.
16719 (tr_old_memalign_hook): Likewise.
16720 (tr_mallochook): Likewise.
16721 (tr_reallochook): Likewise.
16722 (tr_memalignhook): Likewise.
16724 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16727 default_ldbl_pack and using as default implementation.
16728 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16730 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16731 redundant definition.
16732 (ldbl_insert_mantissa): Likewise.
16733 (ldbl_canonicalize): Likewise.
16734 (ldbl_nearbyint): Likewise.
16735 (ldbl_pack): Rename to ldbl_pack_ppc.
16736 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16737 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16738 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16740 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16743 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16744 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16745 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16747 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16748 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16749 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16751 2013-03-07 Andreas Jaeger <aj@suse.de>
16753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16756 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16758 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16759 Include mpa.h and declare __MPEXP.
16760 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16761 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16762 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16763 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16764 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16765 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16768 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16769 (__slowpow): Use long double EXPL and LOGL functions to
16771 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16772 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16773 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16774 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16775 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16776 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16779 intermediate variable to calculate exponent.
16781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16785 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16786 [!NO__SQR]: Define __sqr.
16787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16788 and NO__SQR. Remove all code except __mul and __sqr. Include
16789 sysdeps/ieee754/dbl-64/mpa.c.
16790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16793 * posix/Makefile (tests): Add tst-pathconf.
16794 * posix/tst-pathconf.c: New test case.
16795 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16797 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16799 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16801 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16803 2013-03-06 Andreas Jaeger <aj@suse.de>
16805 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16806 definition via __MAP_ANONYMOUS.
16808 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16809 it's not part of Linux headers.
16811 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16812 (MAP_HUGE_MASK): Define.
16814 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16816 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16819 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16820 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16822 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16823 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16825 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16827 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16828 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16829 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16830 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16831 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16832 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16834 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16837 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16838 Handle f2fs and efivarfs.
16840 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16843 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16844 (EFIVARFS_MAGIC): Add.
16845 (F2FS_LINK_MAX): Add.
16847 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16849 * stdio-common/vfprintf.c: Replace __builtin_expect with
16852 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16855 * sysdeps/generic/bp-sym.h: Remove file.
16856 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16857 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16858 <bp-sym.h> and <bp-asm.h>.
16859 (__longjmp): Don't use BP_SYM.
16860 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16862 (memcpy): Don't use BP_SYM.
16863 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16864 <bp-sym.h> and <bp-asm.h>.
16865 (memcpy): Don't use BP_SYM.
16866 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16868 (memcpy): Don't use BP_SYM.
16869 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16871 (memset): Don't use BP_SYM.
16872 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16873 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16874 (__bzero): Don't use BP_SYM.
16875 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16876 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16877 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16878 <bp-sym.h> and <bp-asm.h>.
16879 (memcmp): Don't use BP_SYM. Remove comment about bounded
16881 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16882 <bp-sym.h> and <bp-asm.h>.
16883 (memcpy): Don't use BP_SYM.
16884 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16885 <bp-sym.h> and <bp-asm.h>.
16886 (memset): Don't use BP_SYM.
16887 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16888 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16889 (__bzero): Don't use BP_SYM.
16890 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16891 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16892 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16893 <bp-sym.h> and <bp-asm.h>.
16894 (strncmp): Don't use BP_SYM. Remove comment about bounded
16896 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16897 <bp-sym.h> and <bp-asm.h>.
16898 (memcpy): Don't use BP_SYM.
16899 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16900 <bp-sym.h> and <bp-asm.h>.
16901 (memset): Don't use BP_SYM.
16902 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16903 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16904 (__bzero): Don't use BP_SYM.
16905 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16906 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16907 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16908 <bp-sym.h> and <bp-asm.h>.
16909 (__memchr): Don't use BP_SYM.
16910 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16911 <bp-sym.h> and <bp-asm.h>.
16912 (memcmp): Don't use BP_SYM. Remove comment about bounded
16914 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16915 <bp-sym.h> and <bp-asm.h>.
16916 (memcpy): Don't use BP_SYM.
16917 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16918 <bp-sym.h> and <bp-asm.h>.
16919 (__mempcpy): Don't use BP_SYM.
16920 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16921 <bp-sym.h> and <bp-asm.h>.
16922 (__memrchr): Don't use BP_SYM.
16923 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16924 <bp-sym.h> and <bp-asm.h>.
16925 (memset): Don't use BP_SYM.
16926 (__bzero): Likewise.
16927 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (__rawmemchr): Don't use BP_SYM.
16930 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16931 <bp-sym.h> and <bp-asm.h>.
16932 (__STRCMP): Don't use BP_SYM.
16933 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16934 <bp-sym.h> and <bp-asm.h>.
16935 (strchr): Don't use BP_SYM.
16936 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16937 <bp-sym.h> and <bp-asm.h>.
16938 (__strchrnul): Don't use BP_SYM.
16939 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16940 <bp-sym.h> and <bp-asm.h>.
16941 (strlen): Don't use BP_SYM.
16942 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16943 <bp-sym.h> and <bp-asm.h>.
16944 (strncmp): Don't use BP_SYM. Remove comment about bounded
16946 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16947 <bp-sym.h> and <bp-asm.h>.
16948 (__strnlen): Don't use BP_SYM.
16949 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16950 <bp-sym.h> and <bp-asm.h>.
16951 (__GI__setjmp): Don't use BP_SYM.
16952 (_setjmp): Likewise.
16953 (__sigsetjmp): Likewise.
16954 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16955 (L(start_addresses)): Don't use BP_SYM.
16956 (_start): Likewise.
16957 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16959 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16960 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16961 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16962 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16963 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16965 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16966 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16967 about bounded pointers.
16968 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16969 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16970 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16972 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16973 about bounded pointers. Remove GKM FIXME comments.
16974 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16975 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16977 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16978 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16979 Remove GKM FIXME comments.
16980 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16981 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16982 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16984 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16985 about bounded pointers. Remove GKM FIXME comment.
16986 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16988 (strncmp): Don't use BP_SYM. Remove comment about bounded
16990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16991 <bp-sym.h> and <bp-asm.h>.
16992 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16994 <bp-sym.h> and <bp-asm.h>.
16995 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16998 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17000 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17003 2013-03-05 David S. Miller <davem@davemloft.net>
17005 * po/es.po: Update from translation team.
17007 2013-03-05 Andreas Jaeger <aj@suse.de>
17009 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17010 <bits/mman-linux.h>.
17011 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17013 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17014 <bits/mman-linux.h> to end of file.
17015 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17017 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17018 <bits/mman-linux.h> to end of file.
17019 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17022 <bits/mman-linux.h> to end of file.
17024 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17025 (MCL_CURRENT, MCL_FUTURE): Define here.
17027 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17030 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17032 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17034 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17036 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17037 fourth parameter needed for rt_sigprocmask syscall.
17038 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17039 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17040 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17041 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17042 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17043 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17045 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17048 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17049 comment about bounded pointers.
17050 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17051 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17053 2013-03-04 Andreas Jaeger <aj@suse.de>
17055 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17056 common definitions.
17058 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17059 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17060 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17061 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17062 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17063 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17065 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17068 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17069 __ieee754_sqrl instead of __sqrl.
17071 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17073 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17074 * sysdeps/powerpc/fpu_control.h: ... here.
17075 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17076 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17077 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17078 * sysdeps/powerpc/bits/mathinline.h: ... here.
17080 2013-03-01 Roland McGrath <roland@hack.frob.com>
17082 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17083 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17084 to just [NEED_DL_SYSINFO_DSO].
17085 * elf/dl-support.c: Likewise.
17086 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17087 * elf/rtld.c (dl_main): Likewise.
17088 * elf/setup-vdso.h (setup_vdso): Likewise.
17089 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17090 * sysdeps/unix/sysv/linux/dl-sysdep.c
17091 (_dl_discover_osversion): Likewise.
17093 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17095 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17096 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17098 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17100 * NEWS: Mention libm performance improvements and non-x86 PI
17103 * csu/libc-start.c (__pthread_initialize_minimal): Change
17104 function arguments.
17105 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17107 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17110 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17111 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17112 <bp-sym.h> and <bp-asm.h>.
17113 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17114 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17116 (memcpy): Don't use BP_SYM.
17117 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17119 (__mpn_add_n): Don't use BP_SYM.
17120 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17121 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17123 (__mpn_addmul_1): Don't use BP_SYM.
17124 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17125 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17127 (_setjmp): Don't use BP_SYM.
17128 (__novmx_setjmp): Likewise.
17129 (__GI__setjmp): Likewise.
17130 (__vmx_setjmp): Likewise.
17131 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17133 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17134 (__bzero): Don't use BP_SYM.
17135 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17136 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17137 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17138 <bp-sym.h> and <bp-asm.h>.
17139 (memcpy): Don't use BP_SYM.
17140 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17141 <bp-sym.h> and <bp-asm.h>.
17142 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17143 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17144 <bp-sym.h> and <bp-asm.h>.
17145 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17146 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17148 (__mpn_lshift): Don't use BP_SYM.
17149 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17150 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17152 (memset): Don't use BP_SYM.
17153 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17154 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17155 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17157 (__mpn_mul_1): Don't use BP_SYM.
17158 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17159 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17160 <bp-sym.h> and <bp-asm.h>.
17161 (memcmp): Don't use BP_SYM.
17162 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17163 <bp-sym.h> and <bp-asm.h>.
17164 (memcpy): Don't use BP_SYM.
17165 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17166 <bp-sym.h> and <bp-asm.h>.
17167 (memset): Don't use BP_SYM.
17168 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17169 <bp-sym.h> and <bp-asm.h>.
17170 (strncmp): Don't use BP_SYM.
17171 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17172 <bp-sym.h> and <bp-asm.h>.
17173 (memcpy): Don't use BP_SYM.
17174 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17175 <bp-sym.h> and <bp-asm.h>.
17176 (memset): Don't use BP_SYM.
17177 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17178 <bp-sym.h> and <bp-asm.h>.
17179 (__memchr): Don't use BP_SYM.
17180 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17181 <bp-sym.h> and <bp-asm.h>.
17182 (memcmp): Don't use BP_SYM.
17183 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17184 <bp-sym.h> and <bp-asm.h>.
17185 (memcpy): Don't use BP_SYM.
17186 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17187 <bp-sym.h> and <bp-asm.h>.
17188 (__mempcpy): Don't use BP_SYM.
17189 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17190 <bp-sym.h> and <bp-asm.h>.
17191 (__memrchr): Don't use BP_SYM.
17192 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17193 <bp-sym.h> and <bp-asm.h>.
17194 (memset): Don't use BP_SYM.
17195 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17196 <bp-sym.h> and <bp-asm.h>.
17197 (__rawmemchr): Don't use BP_SYM.
17198 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17199 <bp-sym.h> and <bp-asm.h>.
17200 (__STRCMP): Don't use BP_SYM.
17201 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17202 <bp-sym.h> and <bp-asm.h>.
17203 (strchr): Don't use BP_SYM.
17204 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17205 <bp-sym.h> and <bp-asm.h>.
17206 (__strchrnul): Don't use BP_SYM.
17207 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17208 <bp-sym.h> and <bp-asm.h>.
17209 (strlen): Don't use BP_SYM.
17210 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17211 <bp-sym.h> and <bp-asm.h>.
17212 (strncmp): Don't use BP_SYM.
17213 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17214 <bp-sym.h> and <bp-asm.h>.
17215 (__strnlen): Don't use BP_SYM.
17216 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17218 (__mpn_rshift): Don't use BP_SYM.
17219 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17220 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17221 <bp-sym.h> and <bp-asm.h>.
17222 (__sigsetjmp): Don't use BP_SYM.
17223 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17224 (L(start_addresses)): Don't use BP_SYM.
17225 (_start): Likewise.
17226 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17228 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17229 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17230 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17231 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17233 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17234 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17235 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17236 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17238 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17240 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17241 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17243 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17245 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17246 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17247 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17249 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17251 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17253 (strncmp): Don't use BP_SYM,
17254 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17256 (__mpn_sub_n): Don't use BP_SYM.
17257 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17258 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17260 (__mpn_submul_1): Don't use BP_SYM.
17261 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17263 <bp-sym.h> and <bp-asm.h>.
17264 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17266 <bp-sym.h> and <bp-asm.h>.
17267 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17270 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17273 Use ZK to minimize writes to Z.
17274 (sub_magnitudes): Simplify code a bit.
17275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17276 Use ZK to minimize writes to Z.
17277 (sub_magnitudes): Simplify code a bit.
17279 2013-02-27 Roland McGrath <roland@hack.frob.com>
17281 * csu/gmon-start.c: Add special exception to license text.
17283 2013-02-27 Richard Henderson <rth@redhat.com>
17285 * scripts/config.guess: Update from config.git.
17286 * scripts/config.sub: Likewise.
17288 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17290 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17292 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17294 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17296 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17298 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17300 2013-02-26 Roland McGrath <roland@hack.frob.com>
17302 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17303 [$(build-shared = yes].
17305 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17307 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17308 (__mul): Reduce iterations for calculating mantissa.
17310 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17312 (__mpranred): Likewise.
17315 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17316 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17318 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17320 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17321 Define __attribute__.
17323 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17325 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17327 * posix/regex_internal.h (__attribute): Remove.
17328 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17329 (re_string_context_at): Likewise.
17330 (bitset_not): Use __attribute__ and mark function as possibly
17332 (bitset_merge): Likewise.
17333 (bitset_mask): Likewise.
17334 (re_string_char_size_at): Likewise.
17335 (re_string_wchar_at): Likewise.
17336 (re_string_elem_size_at): Likewise.
17338 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17340 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17344 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17348 (denorm): Likewise.
17349 (__dbl_mp): Likewise.
17350 (add_magnitudes): Likewise.
17351 (sub_magnitudes): Likewise.
17355 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17358 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17361 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17365 up changes with default code.
17366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17369 2013-02-24 Allan McRae <allan@archlinux.org>
17371 * manual/socket.texi (The Internet Namespace): Order menu items
17372 to match that in the file.
17374 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17375 node listing of the info page menu.
17377 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17380 * sysdeps/i386/bp-asm.h: Remove file.
17381 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17382 (PARMS): Do not use macros from bp-asm.h.
17386 (__mpn_add_n): Do not use BP_SYM
17387 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17389 (PARMS): Do not use macros from bp-asm.h.
17392 (__mpn_addmul_1): Do not use BP_SYM
17393 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17395 (PARMS): Do not use macros from bp-asm.h.
17396 (SIGMSK): Likewise.
17397 (_setjmp): Likewise. Do not use BP_SYM.
17398 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17400 (PARMS): Do not use macros from bp-asm.h.
17401 (SIGMSK): Likewise.
17402 (setjmp): Likewise. Do not use BP_SYM.
17403 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17405 (PARMS): Do not use macros from bp-asm.h.
17406 (__frexp): Do not use BP_SYM.
17408 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17410 (PARMS): Do not use macros from bp-asm.h.
17411 (__frexpf): Do not use BP_SYM.
17412 (frexpf): Likewise.
17413 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17415 (PARMS): Do not use macros from bp-asm.h.
17416 (__frexpl): Do not use BP_SYM.
17417 (frexpl): Likewise.
17418 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17420 (PARMS): Do not use macros from bp-asm.h.
17421 (__remquo): Do not use BP_SYM.
17422 (remquo): Likewise.
17423 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17425 (PARMS): Do not use macros from bp-asm.h.
17426 (__remquof): Do not use BP_SYM.
17427 (remquof): Likewise.
17428 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17430 (PARMS): Do not use macros from bp-asm.h.
17431 (__remquol): Do not use BP_SYM.
17432 (remquol): Likewise.
17433 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17435 (PARMS): Do not use macros from bp-asm.h.
17438 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17439 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17441 (PARMS): Do not use macros from bp-asm.h.
17442 (strlen): Do not use BP_SYM.
17443 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17445 (PARMS): Do not use macros from bp-asm.h.
17449 (__mpn_add_n): Do not use BP_SYM.
17450 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17452 (PARMS): Do not use macros from bp-asm.h.
17455 (__mpn_addmul_1): Do not use BP_SYM.
17456 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17459 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17461 (PARMS): Do not use macros from bp-asm.h.
17464 (__mpn_lshift): Do not use BP_SYM.
17465 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17467 (PARMS): Do not use macros from bp-asm.h.
17471 (memcpy): Likewise. Do not use BP_SYM.
17472 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17473 libc_hidden_def and weak_alias.
17474 (mempcpy): Do not use BP_SYM in weak_alias.
17475 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17477 (PARMS): Do not use macros from bp-asm.h.
17480 [!BZERO_P] (CHR): Likewise.
17481 (memset): Likewise. Do not use BP_SYM.
17482 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17484 (PARMS): Do not use macros from bp-asm.h.
17487 (__mpn_mul_1): Do not use BP_SYM.
17488 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17490 (PARMS): Do not use macros from bp-asm.h.
17493 (__mpn_rshift): Do not use BP_SYM.
17494 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17496 (PARMS): Do not use macros from bp-asm.h.
17499 (strchr): Likewise. Do not use BP_SYM.
17500 (index): Do not use BP_SYM in weak_alias.
17501 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17503 (PARMS): Do not use macros from bp-asm.h.
17506 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17507 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17509 (PARMS): Do not use macros from bp-asm.h.
17510 (strlen): Do not use BP_SYM.
17511 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17513 (PARMS): Do not use macros from bp-asm.h.
17517 (__mpn_sub_n): Do not use BP_SYM.
17518 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17520 (PARMS): Do not use macros from bp-asm.h.
17523 (__mpn_submul_1): Do not use BP_SYM.
17524 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17526 (PARMS): Do not use macros from bp-asm.h.
17530 (__mpn_add_n): Do not use BP_SYM.
17531 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17534 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17536 (PARMS): Do not use macros from bp-asm.h.
17539 (memcmp): Do not use BP_SYM.
17540 (bcmp): Do not use BP_SYM in weak_alias.
17541 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17543 (PARMS): Do not use macros from bp-asm.h.
17547 (memcpy): Likewise. Do not use BP_SYM.
17548 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17550 (PARMS): Do not use macros from bp-asm.h.
17554 (memmove): Likewise. Do not use BP_SYM.
17555 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17557 (PARMS): Do not use macros from bp-asm.h.
17561 (__mempcpy): Likewise. Do not use BP_SYM.
17562 (mempcpy): Do not use BP_SYM in weak_alias.
17563 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17565 (PARMS): Do not use macros from bp-asm.h.
17568 [!BZERO_P] (CHR): Likewise.
17569 (memset): Likewise. Do not use BP_SYM.
17570 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17572 (PARMS): Do not use macros from bp-asm.h.
17574 (strcmp): Do not use BP_SYM.
17575 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17577 (PARMS): Do not use macros from bp-asm.h.
17580 [USE_AS_STRTOK_R] (SAVE): Likewise.
17581 (FUNCTION): Likewise. Do not use BP_SYM.
17582 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17584 (strtok_r): Likewise.
17585 (__GI___strtok_r): Likewise.
17586 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17587 (PARMS): Do not use macros from bp-asm.h.
17590 (__mpn_lshift): Do not use BP_SYM.
17591 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17592 (PARMS): Do not use macros from bp-asm.h.
17595 (__memchr): Do not use BP_SYM.
17596 (memchr): Do not use BP_SYM in weak_alias.
17597 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17598 (PARMS): Do not use macros from bp-asm.h.
17601 (memcmp): Do not use BP_SYM.
17602 (bcmp): Do not use BP_SYM in weak_alias.
17603 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17604 (PARMS): Do not use macros from bp-asm.h.
17607 (__mpn_mul_1): Do not use BP_SYM.
17608 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17610 (PARMS): Do not use macros from bp-asm.h.
17613 (__rawmemchr): Do not use BP_SYM.
17614 (rawmemchr): Do not use BP_SYM in weak_alias.
17615 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17616 (PARMS): Do not use macros from bp-asm.h.
17619 (__mpn_rshift): Do not use BP_SYM.
17620 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17621 (PARMS): Do not use macros from bp-asm.h.
17622 (SIGMSK): Likewise.
17623 (__sigsetjmp): Likewise. Do not use BP_SYM.
17624 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17625 (_start): Do not use BP_SYM.
17626 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17627 (PARMS): Do not use macros from bp-asm.h.
17630 (__stpcpy): Likewise. Do not use BP_SYM.
17631 (stpcpy): Do not use BP_SYM in weak_alias.
17632 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17634 (PARMS): Do not use macros from bp-asm.h.
17638 (__stpncpy): Likewise. Do not use BP_SYM.
17639 (stpncpy): Do not use BP_SYM in weak_alias.
17640 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17641 (PARMS): Do not use macros from bp-asm.h.
17644 (strchr): Likewise. Do not use BP_SYM.
17645 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17647 (PARMS): Do not use macros from bp-asm.h.
17650 (__strchrnul): Likewise. Do not use BP_SYM.
17651 (strchrnul): Do not use BP_SYM in weak_alias.
17652 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17654 (PARMS): Do not use macros from bp-asm.h.
17656 (strcspn): Do not use BP_SYM.
17657 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17659 (PARMS): Do not use macros from bp-asm.h.
17662 (strpbrk): Likewise. Do not use BP_SYM.
17663 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17665 (PARMS): Do not use macros from bp-asm.h.
17668 (strrchr): Likewise. Do not use BP_SYM.
17669 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17670 (PARMS): Do not use macros from bp-asm.h.
17672 (strspn): Do not use BP_SYM.
17673 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17674 (PARMS): Do not use macros from bp-asm.h.
17678 (FUNCTION): Likewise. Do not use BP_SYM.
17679 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17681 (strtok_r): Likewise.
17682 (__GI___strtok_r): Likewise.
17683 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17684 (PARMS): Do not use macros from bp-asm.h.
17688 (__mpn_sub_n): Do not use BP_SYM.
17689 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17691 (PARMS): Do not use macros from bp-asm.h.
17694 (__mpn_submul_1): Do not use BP_SYM.
17695 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17697 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17699 (PARMS): Do not use macros from bp-asm.h.
17704 (__clone): Do not use BP_SYM.
17705 (clone): Do not use BP_SYM in weak_alias.
17706 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17708 (PARMS): Do not use macros from bp-asm.h.
17710 (__mmap64): Do not use BP_SYM.
17711 (mmap64): Do not use BP_SYM in weak_alias.
17712 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17713 <bp-sym.h> and <bp-asm.h>.
17714 (PARMS): Do not use macros from bp-asm.h.
17715 (__posix_fadvise64_l64): Do not use BP_SYM.
17716 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17717 (PARMS): Do not use macros from bp-asm.h.
17719 (semtimedop): Do not use BP_SYM.
17720 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17723 2013-02-21 Allan McRae <allan@archlinux.org>
17725 * manual/message.texi (Charset conversion in gettext):
17726 Move @end statement to beginning of line.
17728 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17735 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17736 (denorm): Likewise.
17737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17740 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17742 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17743 tail-call to the resolved function if pltexit isn't needed.
17745 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17748 or Y being zero as being unlikely.
17749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17752 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17754 * manual/nss.texi (System Databases and Name Service Switch):
17755 Remove frobnicate @pxref.
17757 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17759 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17760 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17762 2013-02-20 Petr Machata <pmachata@redhat.com>
17764 * elf/elf.h (R_ARM_TARGET1): New macro.
17765 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17766 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17767 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17768 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17769 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17770 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17771 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17772 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17773 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17774 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17775 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17776 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17777 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17778 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17779 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17780 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17781 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17782 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17783 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17784 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17785 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17786 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17787 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17788 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17789 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17790 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17791 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17792 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17793 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17794 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17795 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17796 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17797 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17798 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17799 (R_ARM_THM_GOT_BREL12): Likewise.
17800 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17801 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17802 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17803 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17804 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17805 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17806 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17807 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17808 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17810 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17812 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17813 __attribute_used__ to __attribute__ ((unused)).
17815 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17817 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17820 comment formatting.
17821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17823 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17826 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17828 (ENTER): Remove both macro definitions.
17830 (CHECK_BOUNDS_LOW): Likewise.
17831 (CHECK_BOUNDS_HIGH): Likewise.
17832 (CHECK_BOUNDS_BOTH): Likewise.
17833 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17834 (RETURN_BOUNDED_POINTER): Likewise.
17835 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17836 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17837 (POP_ERRNO_LOCATION_RETURN): Likewise.
17838 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17839 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17840 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17842 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17843 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17844 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17845 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17846 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17847 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17848 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17849 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17850 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17851 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17852 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17853 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17854 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17855 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17857 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17858 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17860 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17861 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17862 * sysdeps/i386/i586/memset.S (memset): Likewise.
17863 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17864 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17865 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17867 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17868 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17869 Change uses of L(2) to L(out).
17870 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17871 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17872 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17873 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17874 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17876 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17877 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17879 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17880 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17881 (RETURN): Do not use macro LEAVE.
17882 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17883 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17884 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17885 * sysdeps/i386/i686/memset.S (memset): Likewise.
17886 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17887 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17888 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17889 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17891 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17892 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17893 L(1_2) and L(1_3) into L(1).
17894 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17895 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17896 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17897 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17898 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17899 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17900 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17901 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17902 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17904 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17905 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17906 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17907 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17908 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17909 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17910 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17911 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17912 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17913 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17914 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17915 * sysdeps/i386/strspn.S (strspn): Likewise.
17916 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17918 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17919 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17920 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17921 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17922 L(1_3) into L(1_1).
17923 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17924 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17925 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17927 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17929 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17931 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17934 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17936 * math/atest-exp.c (exp_mpn): Remove ROUND.
17937 * math/atest-exp2.c (exp_mpn): Likewise.
17938 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17940 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17941 * stdlib/tst-tls-atexit-lib.c: Likewise.
17942 * stdlib/tst-tls-atexit.c: Likewise.
17944 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17946 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17947 and __attribute_alloc_size__.
17949 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17951 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17952 __attribute_alloc_size__.
17953 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17954 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17956 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17958 * include/programs/xmalloc.h: New file.
17959 * catgets/gencat.c: Include it.
17960 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17961 * elf/pldd.c: Likewise.
17962 * iconv/iconv_charmap.c: Likewise.
17963 * iconv/iconvconfig.c: Likewise.
17964 * iconv/strtab.c: Likewise.
17965 * locale/programs/locale.c: Likewise.
17966 * locale/programs/localedef.h: Likewise.
17967 * locale/programs/simple-hash.c: Likewise.
17968 * nscd/nscd.h: Likewise.
17969 * nss/makedb.c: Likewise.
17970 * sysdeps/generic/ldconfig.h: Likewise.
17972 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17974 * Versions.def: Add GLIBC_2.18.
17975 * include/link.h (struct link_map): New member l_tls_dtor_count.
17976 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17977 (__call_tls_dtors): Likewise.
17978 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17979 __cxa_thread_atexit_impl.
17980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17996 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17997 (tests): Add test case tst-tls-atexit.
17998 (modules-names): Add shared library for tst-tls-atexit.
17999 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18000 (GLIBC_PRIVATE): Add __call_tls_dtors.
18001 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18003 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18004 * stdlib/tst-tls-atexit.c: New test case.
18005 * stdlib/tst-tls-atexit-lib.c: New test case.
18007 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18009 * elf/Versions (ld): Add _dl_find_dso_for_object.
18010 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18011 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18012 (dl_open_worker): Use _dl_find_dso_for_object.
18013 * elf/dl-sym.c (do_sym): Likewise.
18014 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18016 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18018 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18019 Syntactic changes only.
18020 (_dl_runtime_profile): Do a tail-call to the resolved function.
18022 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18025 * sysdeps/x86_64/bp-asm.h: Remove file.
18026 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18027 <bp-sym.h> and <bp-asm.h>.
18028 (__clone): Do not use BP_SYM.
18029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18030 <bp-sym.h> and <bp-asm.h>.
18031 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18032 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18034 (_setjmp): Do not use BP_SYM.
18035 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18037 (setjmp): Do not use BP_SYM.
18038 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18040 (mempcpy): Do not use BP_SYM in weak_alias.
18041 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18043 (strchr): Do not use BP_SYM.
18044 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18046 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18047 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18048 (_start): Do not use BP_SYM.
18049 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18051 (strcat): Do not use BP_SYM.
18052 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18054 (STRCMP): Do not use BP_SYM.
18055 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18057 (STRCPY): Do not use BP_SYM.
18058 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18060 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18062 (FUNCTION): Do not use BP_SYM.
18063 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18065 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18067 2013-02-17 Andreas Jaeger <aj@suse.de>
18069 * time/Versions: Sort entries.
18070 * string/Versions: Likewise.
18071 * resolv/Versions: Likewise.
18072 * posix/Versions: Likewise.
18073 * iconv/Versions: Likewise.
18074 * elf/Versions: Likewise.
18075 * wcsmbs/Versions: Likewise.
18077 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18079 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18080 loop termination condition.
18082 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18083 variable to calculate EZ.
18086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18087 the lower precision input.
18089 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18092 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18093 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18094 (run-via-rtld-prefix): Do not handle %-bp tests.
18095 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18096 (all-object-suffixes): Remove .ob.
18097 (bppfx): Remove variable.
18098 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18099 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18100 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18101 [$(build-bounded) = yes] (libtype.ob): Likewise.
18102 * Makerules (elide-routines.ob): Remove variable.
18103 (do-tests-clean): Do not handle *-bp.out.
18104 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18105 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18106 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18107 (tests): Do not include $(tests-bp.out).
18108 (xtests): Do not include $(xtests-bp.out).
18109 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18110 [$(build-bounded) = yes] ($(addprefix
18111 $(objpfx),$(binaries-bounded))): Remove rule.
18112 ($(objpfx)%-bp.out): Remove rule.
18113 * config.make.in (build-bounded): Remove variable.
18114 * crypt/Makefile [$(build-bounded) = yes]
18115 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18116 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18117 append to variable.
18118 [$(build-bounded) = yes] (install-lib): Likewise.
18119 [$(build-bounded) = yes] (generated): Likewise.
18120 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18122 * intl/Makefile [$(build-bounded) = yes]
18123 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18124 * math/Makefile [$(build-bounded) = yes]
18125 ($(tests:%=$(objpfx)%-bp): Likewise.
18126 * misc/Makefile [$(build-bounded) = yes]
18127 ($(objpfx)tst-tsearch-bp): Likewise.
18128 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18129 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18131 * string/Makefile (o-objects.ob): Remove variable.
18132 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18133 (CFLAGS-.ob): Remove variable.
18134 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18135 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18136 both definitions of variable.
18137 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18138 (ASFLAGS-.ob): Remove variable.
18140 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18143 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18144 Remove __BOUNDED_POINTERS__ from condition.
18145 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18146 * string/bits/string2.h [!__NO_STRING_INLINES &&
18147 !__BOUNDED_POINTERS__]: Likewise.
18148 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18150 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18151 Remove conditional code.
18152 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18153 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18154 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18158 * csu/libc-start.c: Do not include <bp-sym.h>.
18159 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18160 * elf/dl-open.c: Do not include <bp-sym.h>.
18161 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18162 * math/fegetenv.c: Do not include <bp-sym.h>.
18163 (fegetenv): Do not use BP_SYM in versioned symbols.
18164 * nptl/sysdeps/pthread/bits/libc-lockP.h
18165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18168 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18170 (__pthread_mutex_destroy): Likewise.
18171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18172 (__pthread_mutex_lock): Likewise.
18173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18174 (__pthread_mutex_trylock): Likewise.
18175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18176 (__pthread_mutex_unlock): Likewise.
18177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18178 (__pthread_mutexattr_init): Likewise.
18179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18180 (__pthread_mutexattr_destroy): Likewise.
18181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18182 (__pthread_mutexattr_settype): Likewise.
18183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18184 (__pthread_rwlock_init): Likewise.
18185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18186 (__pthread_rwlock_destroy): Likewise.
18187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18188 (__pthread_rwlock_rdlock): Likewise.
18189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18190 (__pthread_rwlock_tryrdlock): Likewise.
18191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18192 (__pthread_rwlock_wrlock): Likewise.
18193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18194 (__pthread_rwlock_trywrlock): Likewise.
18195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18196 (__pthread_rwlock_unlock): Likewise.
18197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18198 (__pthread_key_create): Likewise.
18199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18200 (__pthread_setspecific): Likewise.
18201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18202 (__pthread_getspecific): Likewise.
18203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18206 (_pthread_cleanup_push_defer): Likewise.
18207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18208 (_pthread_cleanup_pop_restore): Likewise.
18209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18210 (pthread_setcancelstate): Likewise.
18211 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18213 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18214 (memchr): Do not use BP_SYM in weak_alias.
18215 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18216 (fegetenv): Do not use BP_SYM in versioned symbols.
18217 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18218 (fesetenv): Do not use BP_SYM in versioned symbols.
18219 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18220 (feupdateenv): Do not use BP_SYM in versioned symbols.
18221 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18222 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18223 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18224 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18225 (open64): Do not use BP_SYM in weak_alias.
18226 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18227 (fegetenv): Do not use BP_SYM in versioned symbols.
18228 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18229 (fesetenv): Do not use BP_SYM in versioned symbols.
18230 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18231 (feupdateenv): Do not use BP_SYM in versioned symbols.
18232 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18233 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18234 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18235 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18236 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18237 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18238 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18240 (__libc_start_main): Do not use BP_SYM.
18242 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18245 redundant return line.
18247 (denorm): Likewise.
18248 (dbl_mp): Likewise.
18249 (sub_magnitudes): Likewise.
18255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18257 (denorm): Likewise.
18258 (dbl_mp): Likewise.
18259 (sub_magnitudes): Likewise.
18266 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18268 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18269 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18272 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18273 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18275 of __mul for squares.
18276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18280 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18281 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18283 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18286 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18288 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18289 prototype or function definition. Rename ubp_* variables and
18290 parameters. Remove argv definitions conditional on
18291 [__BOUNDED_POINTERS__].
18292 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18293 * elf/dl-runtime.c (_dl_fixup): Likewise.
18294 * include/set-hooks.h (RUN_HOOK): Likewise.
18295 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18297 * string/strcpy.c (strcpy): Do not use __unbounded.
18298 * sysdeps/generic/frame.h (struct layout): Likewise.
18299 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18300 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18301 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18302 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18303 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18304 (__backtrace): Likewise.
18305 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18307 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18308 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18309 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18311 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18312 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18313 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18314 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18315 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18316 Do not use __unbounded.
18317 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18318 Rename __unboundedrlimits parameter to rlimits in prototype.
18319 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18320 Do not use __unbounded.
18321 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18322 not use __ptrvalue.
18323 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18324 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18325 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18326 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18327 __ptrvalue or __unbounded.
18328 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18329 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18331 (__new_msgctl): Do not use __ptrvalue.
18332 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18334 (__libc_msgrcv): Do not use __ptrvalue.
18335 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18336 startup_info): Do not use __unbounded.
18337 (__libc_start_main): Likewise. Rename ubp_* variables and
18338 parameters. Remove argv definitions conditional on
18339 [__BOUNDED_POINTERS__].
18340 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18342 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18344 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18346 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18348 (__new_shmctl): Do not use __ptrvalue.
18349 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18350 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18352 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18353 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18354 (__libc_sigaction): Likewise.
18355 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18356 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18358 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18360 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18362 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18364 * string/mempcpy.c: Implement by calling memcpy.
18366 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18373 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18374 values in the mantissa.
18376 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18377 minimize writes to Z.
18378 (sub_magnitudes): Simplify code a bit.
18380 2013-02-12 Roland McGrath <roland@hack.frob.com>
18382 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18383 from the message. The linker prefixes all warnings with that already.
18385 2013-02-12 Andreas Schwab <schwab@suse.de>
18388 * posix/regexec.c (extend_buffers): Add parameter min_len.
18389 (check_matching): Pass minimum needed length.
18390 (clean_state_log_if_needed): Likewise.
18391 (get_subexp): Likewise.
18392 * posix/Makefile (tests): Add bug-regex34.
18393 (bug-regex34-ENV): Define.
18394 * posix/bug-regex34.c: New file.
18397 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18398 elements compare against the byte sequence of it, not its name.
18399 * posix/Makefile (tests): Add bug-regex35.
18400 (bug-regex35-ENV): Define.
18401 * posix/bug-regex35.c: New file.
18403 2013-02-11 Tom de Vries <tom@codesourcery.com>
18405 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18407 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18408 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18409 (CHECK_EOL): Add undef.
18411 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18413 * bits/stdlib-bsearch.h: New file.
18414 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18415 * stdlib/stdlib.h: Likewise.
18417 2013-02-11 Roland McGrath <roland@hack.frob.com>
18419 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18420 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18422 * manual/search.texi (Array Search Function): Add missing const in
18424 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18425 declaration to use rlim_t.
18426 (Basic Scheduling Functions): Remove erroneous const from
18427 sched_getparam prototype. Remove erroneous * from
18428 sched_get_priority_max and sched_get_priority_min prototypes.
18429 (Resource Usage): Fix summary @comment on vtimes to refer to
18430 sys/vtimes.h rather than vtimes.h.
18431 Add missing *s in vtimes prototype.
18432 (Limits on Resources): Fix ulimit prototype to return long int.
18433 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18434 prototypes to use long int rather than double.
18435 (BSD Random): Fix initstate and setstate to use char *, not void *.
18436 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18437 prototype to make second argument 'struct aiocb64 *const[]'.
18438 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18439 (Status of AIO Operations): Remove erroneous const in aio_return and
18440 aio_return64 prototypes.
18441 (Synchronizing I/O): Fix sync prototype to return void.
18442 * manual/startup.texi (Suboptions): Remove an erroneous const in
18443 getsubopt prototype.
18444 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18445 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18446 use size_t rather than int.
18447 (Scanning All Users): Likewise for getpwent_r.
18448 (Setting Groups): Add missing const to setgroups prototype.
18449 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18450 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18451 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18452 'const void *' rather than 'const char *'.
18453 (Host Address Functions): Likewise for inet_ntop.
18454 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18455 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18456 ssize_t for return value.
18457 (Sending Data): Likewise for send, sendto, sendmsg.
18458 (Socket Option Functions): Add a missing const in setsockopt prototype.
18459 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18460 use wchar_t for the argument.
18461 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18462 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18464 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18465 double/float/long double for second argument.
18466 Fix return types of significand, significandf, significandl.
18467 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18468 argument in fchmod prototype.
18469 (File Owner): Use uid_t and gid_t in fchown prototype.
18470 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18471 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18472 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18473 use 'const struct dirent **' as argument types to CMP function pointer
18475 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18476 (File Times): Fix summary magic @comment for struct utimbuf and utime
18477 to refer to utime.h, not time.h.
18478 * manual/string.texi (Argz Functions): Add missing const in
18479 argz_extract and argz_next prototypes.
18480 (Finding Tokens in a String): Likewise for basename.
18481 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18482 (Copying and Concatenation): Fix typo in wmemmove prototype.
18483 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18484 (Signal Stack): Remove erroneous const in sigstack prototype.
18485 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18487 (Simple Calendar Time): Likewise for stime.
18488 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18490 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18491 say sys/sysctl.h instead.
18492 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18493 and vsyslog prototypes.
18495 2013-02-11 Tom de Vries <tom@codesourcery.com>
18497 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18500 2013-02-11 Roland McGrath <roland@hack.frob.com>
18502 * misc/sys/mman.h: Fix typo in mremap comment.
18504 2013-02-08 Roland McGrath <roland@hack.frob.com>
18506 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18507 the '\0' terminator.
18509 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18512 * debug/segfault.c: Don't include <bp-checks.h>.
18513 * sysdeps/generic/bp-checks.h: Remove file.
18514 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18515 (__GETDENTS): Don't use CHECK_N.
18516 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18517 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18518 (__getgroups): Don't use CHECK_N.
18519 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18520 (setgroups): Don't use CHECK_N.
18521 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18522 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18523 (__libc_msgrcv): Don't use CHECK_N.
18524 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18525 (__libc_msgsnd): Don't use CHECK_N.
18526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18528 (__libc_pread): Don't use CHECK_N.
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18530 include <bp-checks.h>.
18531 (__libc_pread64): Don't use CHECK_N.
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18533 include <bp-checks.h>.
18534 (__libc_pwrite): Don't use CHECK_N.
18535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18536 include <bp-checks.h>.
18537 (__libc_pwrite64): Don't use CHECK_N.
18538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18540 (__libc_pread): Don't use CHECK_N.
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18542 include <bp-checks.h>.
18543 (__libc_pread64): Don't use CHECK_N.
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18545 include <bp-checks.h>.
18546 (__libc_pwrite): Don't use CHECK_N.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18548 include <bp-checks.h>.
18549 (__libc_pwrite64): Don't use CHECK_N.
18550 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18551 (do_pread): Don't use CHECK_N.
18552 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18553 (do_pread64): Don't use CHECK_N.
18554 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18555 (do_pwrite): Don't use CHECK_N.
18556 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18557 (do_pwrite64): Don't use CHECK_N.
18558 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18559 (__libc_readv): Don't use CHECK_N.
18560 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18561 (semop): Don't use CHECK_N.
18562 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18564 (semtimedop): Don't use CHECK_N.
18565 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18566 (__libc_pread): Don't use CHECK_N.
18567 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18569 (__libc_pread64): Don't use CHECK_N.
18570 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18572 (__libc_pwrite): Don't use CHECK_N.
18573 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18575 (__libc_pwrite64): Don't use CHECK_N.
18576 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18578 (__libc_msgrcv): Don't use CHECK_N.
18579 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18580 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18581 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18582 (__libc_writev): Don't use CHECK_N.
18584 2013-02-08 Roland McGrath <roland@hack.frob.com>
18586 * string/strcpy.c: Removed unused variable.
18588 * Makeconfig (+sysdep-includes): Define with := rather than =.
18589 Use an existing include/ subdir of each sysdeps dir before it.
18591 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18593 * nscd/connection.c (register_traced_file): Comment function.
18594 [HAVE_INOTIFY] (union __inev): Define.
18595 [HAVE_INOTIFY] (inotify_check_files): New function.
18596 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18597 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18599 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18601 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18603 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18604 loaded if not already and that a failure is permanent.
18606 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18609 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18610 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18612 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18615 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18616 (CHECK_1_NULL_OK): Likewise.
18617 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18618 (__fxstat): Do not use CHECK_1.
18619 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18621 (___fxstat64): Do not use CHECK_1.
18622 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18624 (__fxstatat): Do not use CHECK_1.
18625 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18627 (__fxstatat64): Do not use CHECK_1.
18628 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18630 (__fxstat): Do not use CHECK_1.
18631 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18633 (__fxstatat): Do not use CHECK_1.
18634 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18636 (__getresgid): Do not use CHECK_1.
18637 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18639 (__getresuid): Do not use CHECK_1.
18640 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18642 (__lxstat): Do not use CHECK_1.
18643 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18645 (__old_msgctl): Do not use CHECK_1.
18646 (__new_msgctl): Likewise.
18647 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18649 (__new_setrlimit): Do not use CHECK_1.
18650 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18652 (__old_shmctl): Do not use CHECK_1.
18653 (__new_shmctl): Likewise.
18654 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18656 (__xstat): Do not use CHECK_1.
18657 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18658 (__lxstat): Do not use CHECK_1.
18659 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18661 (___lxstat64): Do not use CHECK_1.
18662 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18663 (__old_msgctl): Do not use CHECK_1.
18664 (__new_msgctl): Likewise.
18665 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18667 (__gettimeofday): Do not use CHECK_1.
18668 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18669 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18670 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18672 (__gettimeofday): Do not use CHECK_1.
18673 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18674 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18675 (__new_shmctl): Do not use CHECK_1.
18676 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18678 (do_sigtimedwait): Do not use CHECK_1.
18679 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18681 (do_sigwaitinfo): Do not use CHECK_1.
18682 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18684 (msgctl): Do not use CHECK_1.
18685 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18687 (shmctl): Do not use CHECK_1.
18688 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18689 (ustat): Do not use CHECK_1.
18690 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18692 (__fxstat): Do not use CHECK_1.
18693 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18695 (__fxstatat): Do not use CHECK_1.
18696 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18698 (__lxstat): Do not use CHECK_1.
18699 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18701 (__xstat): Do not use CHECK_1.
18702 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18703 (__xstat): Do not use CHECK_1.
18704 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18705 (___xstat64): Do not use CHECK_1.
18708 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18710 (CHECK_BOUNDS_HIGH): Likewise.
18711 * string/strcpy.c: Do not include <bp-checks.h>.
18712 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18714 2013-02-07 Roland McGrath <roland@hack.frob.com>
18716 * nscd/nscd-client.h (__nscd_drop_map_ref):
18717 Add __attribute__ ((unused)).
18718 * nis/nss-nisplus.h (niserr2nss): Likewise.
18720 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18721 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18723 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18724 Remove inline keyword.
18725 * include/rounding-mode.h (round_away): Likewise.
18726 * libio/wfileops.c (adjust_wide_data): Likewise.
18727 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18728 (__m128i_strloadu_tolower): Likewise.
18729 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18730 (__m128i_strloadu_tolower): Likewise.
18731 * time/mktime.c (ydhms_diff): Likewise.
18732 * locale/elem-hash.h (elem_hash): Likewise.
18733 * locale/setlocale.c (setdata): Likewise.
18734 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18735 (re_string_wchar_at): Likewise.
18736 (bitset_not, bitset_merge, bitset_mask): Likewise.
18737 [!(__GNUC__ > 3)] (inline): Remove macro.
18738 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18739 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18740 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18741 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18742 * string/memcmp.c (memcmp_bytes): Likewise.
18743 * locale/programs/locarchive.c (compute_hashval): Likewise.
18744 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18745 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18746 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18747 * nss/getent.c (print_rpc, print_protocols): Likewise.
18748 (print_passwd, print_group, print_aliases): Likewise.
18749 * nis/nss-nisplus.h (niserr2nss): Likewise.
18750 * nscd/connections.c (restart_p): Likewise.
18751 Change return type to bool.
18753 2013-02-05 Roland McGrath <roland@hack.frob.com>
18755 * Makeconfig (all-Depend-files): Add existing
18756 $(sorted-subdirs:=/Depend) files.
18757 (all-subdirs): Remove nss.
18758 * sysdeps/unix/inet/Subdirs: Add it here instead.
18759 * hesiod/Depend: New file.
18761 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18762 instead of calling alloca.
18764 * io/lseek.c (__lseek): Rename to __libc_lseek.
18765 Define __lseek as an alias.
18767 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18769 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18771 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18772 else clause and remove check for non-standard endianness.
18774 2013-02-04 David S. Miller <davem@davemloft.net>
18776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18778 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18781 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18782 (__ubp_memchr): Remove prototype.
18783 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18784 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18785 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18786 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18787 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18789 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18790 (__ubp_memchr): Likewise.
18791 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18792 (__ubp_memchr): Likewise.
18793 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18794 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18795 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18796 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18798 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18799 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18800 (__getcwd): Do not use CHECK_STRING.
18801 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18803 (__real_chown): Do not use CHECK_STRING.
18804 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18806 (fchownat): Do not use CHECK_STRING.
18807 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18809 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18811 (__lchown): Do not use CHECK_STRING.
18812 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18813 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18814 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18815 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18817 include <bp-checks.h>.
18818 (truncate64): Do not use CHECK_STRING.
18819 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18821 (__real_chown): Do not use CHECK_STRING.
18822 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18824 (__lchown): Do not use CHECK_STRING.
18825 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18827 (__chown): Do not use CHECK_STRING.
18828 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18830 (truncate64): Do not use CHECK_STRING.
18831 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18833 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18834 (__xmknod): Do not use CHECK_STRING.
18835 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18837 (__xmknodat): Do not use CHECK_STRING.
18838 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18839 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18841 2013-02-04 Andreas Schwab <schwab@suse.de>
18844 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18845 * include/netdb.h: Likewise for h_errno.
18846 * elf/tst-stackguard1.c: Include <tls.h>.
18848 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18850 * elf/link.h (struct link_map): Extend the l_addr comment.
18851 * include/link.h (struct link_map): Likewise.
18853 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18856 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18857 (BOUNDED_1): Remove macro.
18858 * debug/backtrace.c: Don't include <bp-checks.h>.
18859 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18860 (__backtrace): Likewise.
18861 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18863 (__backtrace): Don't use BOUNDED_1.
18864 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18866 (__backtrace): Don't use BOUNDED_1.
18867 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18868 (__backtrace): Don't use BOUNDED_1.
18869 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18870 (shmat): Don't use BOUNDED_N.
18872 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18875 * sysdeps/generic/bp-start.h: Remove file.
18876 * csu/libc-start.c: Don't include <bp-start.h>.
18877 (LIBC_START_MAIN): Set up __environ directly instead of using
18878 INIT_ARGV_and_ENVIRON.
18879 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18883 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18885 (CHECK_FCNTL): Likewise.
18886 (CHECK_N_PAGES): Likewise.
18889 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18891 (CHECK_SIGSET_NULL_OK): Likewise.
18892 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18894 (sigpending): Don't use CHECK_SIGSET.
18895 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18897 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18898 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18900 (do_sigsuspend): Don't use CHECK_SIGSET.
18901 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18903 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18904 (do_sigwait): Don't use CHECK_SIGSET.
18905 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18907 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18908 include <bp-checks.h>.
18909 (sigpending): Don't use CHECK_SIGSET.
18910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18911 include <bp-checks.h>.
18912 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18913 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18915 (sigpending): Don't use CHECK_SIGSET.
18916 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18918 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18921 * sysdeps/generic/bp-semctl.h: Remove file.
18922 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18923 <bp-checks.h> and <bp-semctl.h>.
18924 (__old_semctl): Don't use CHECK_SEMCTL.
18925 (__new_semctl): Likewise.
18926 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18928 (__old_semctl): Don't use CHECK_SEMCTL.
18929 (__new_semctl): Likewise.
18930 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18931 <bp-checks.h> and <bp-semctl.h>.
18932 (__old_semctl): Don't use CHECK_SEMCTL.
18933 (__new_semctl): Likewise.
18934 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18935 <bp-checks.h> and <bp-semctl.h>.
18936 (semctl): Don't use CHECK_SEMCTL.
18939 * Makerules (elide-bp-thunks): Remove variable.
18940 (elide-routines.oS): Don't use $(elide-bp-thunks).
18941 (elide-routines.os): Likewise.
18942 (elide-routines.o): Likewise.
18943 (elide-routines.op): Likewise.
18944 (elide-routines.og): Likewise.
18945 (objects): Don't use $(bp-thunks).
18946 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18948 (common-generated): Do not add s-proto-bp.d.
18949 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18952 Do not generate makefile rules for bounded-pointer thunks.
18953 * sysdeps/generic/bp-thunks.h: Remove file.
18954 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18955 * sysdeps/unix/s-proto-bp.S: Likewise.
18958 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18959 parts of result separately when argument is not close to line from
18960 -i to i and one part of argument is small.
18961 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18962 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18963 * math/libm-test.inc (cacos_test): Add more tests.
18964 (casin_test): Likewise.
18965 (casinh_test): Likewise.
18966 * sysdeps/i386/fpu/libm-test-ulps: Update.
18967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18969 2013-01-31 David S. Miller <davem@davemloft.net>
18971 * po/de.po: Update from translation team.
18973 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18975 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18977 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18979 * configure.in (_AC_PROG_CC_C89): New definition.
18980 * configure: Regenerate.
18982 * configure.in (AC_PROG_CPP): New definition.
18983 * configure: Regenerate.
18985 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18987 * debug/tst-backtrace.h: New file.
18988 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18989 (ret): Remove variable.
18991 (FAIL): Remove macro.
18992 (NO_INLINE): Likewise.
18993 (fn1): Use match function instead of strstr.
18994 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18995 (ret): Remove variable.
18997 (FAIL): Remove macro.
18998 (NO_INLINE): Likewise.
18999 (fn): Use match function instead of strstr.
19000 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19001 (ret): Remove variable.
19003 (FAIL): Remove macro.
19004 (NO_INLINE): Likewise.
19005 (handle_signal): Use match function instead of strstr.
19006 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19007 (ret): Remove variable.
19009 (FAIL): Remove macro.
19010 (NO_INLINE): Likewise.
19011 (handle_signal): Use match function instead of strstr.
19013 2013-01-23 Roland McGrath <roland@hack.frob.com>
19015 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19017 2013-01-23 David S. Miller <davem@davemloft.net>
19019 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19020 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19021 argument of CAS if possible.
19022 * sysdeps/sparc/sparc64/bits/atomic.h
19023 (__arch_compare_and_exchange_val_32_acq): Likewise.
19024 (__arch_compare_and_exchange_val_64_acq): Likewise.
19026 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19028 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19029 * sysdeps/posix/ulimit.c: ... this.
19030 Include <limits.h>.
19031 * sysdeps/unix/bsd/ulimit.c: Remove file.
19033 2013-01-23 Adam Conrad <adconrad@0c3.net>
19035 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19036 (LDFLAGS-tst-array5): Likewise.
19038 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19041 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19042 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19043 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19044 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19046 2013-01-21 David S. Miller <davem@davemloft.net>
19048 * sysdeps/sparc/backtrace.c: New file.
19049 * sysdeps/sparc/sparc32/backtrace.h: New file.
19050 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19051 * sysdeps/sparc/sparc64/backtrace.h: New file.
19052 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19053 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19056 2013-01-21 Andreas Schwab <schwab@suse.de>
19059 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19062 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19068 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19069 Mark Mitchell <mark@codesourcery.com>
19070 Tom de Vries <tom@codesourcery.com>
19071 Paul Pluzhnikov <ppluzhnikov@google.com>
19073 * debug/tst-backtrace2.c: New file.
19074 * debug/tst-backtrace3.c: Likewise.
19075 * debug/tst-backtrace4.c: Likewise.
19076 * debug/tst-backtrace5.c: Likewise.
19077 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19078 (CFLAGS-tst-backtrace3.c): Likewise.
19079 (CFLAGS-tst-backtrace4.c): Likewise.
19080 (CFLAGS-tst-backtrace5.c): Likewise.
19081 (LDFLAGS-tst-backtrace2): Likewise.
19082 (LDFLAGS-tst-backtrace3): Likewise.
19083 (LDFLAGS-tst-backtrace4): Likewise.
19084 (LDFLAGS-tst-backtrace5): Likewise.
19085 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19086 tst-backtrace4 and tst-backtrace5.
19088 2013-01-18 Anton Blanchard <anton@samba.org>
19089 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19091 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19092 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19093 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19094 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19096 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19097 "+r" and remove output regs list as redundant. Add explicit inline
19098 asm to specify register of return val to work around compiler codegen
19099 bug. Remove (int) cast on return value. Add return type parameter to
19100 use in macro so that this macro does not truncate return value for
19102 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19103 pass to INTERNAL_VSYSCALL_NCS.
19104 (INLINE_VSYSCALL): Add 'long int' as return type to
19105 INTERNAL_VSYSCALL_NCS macro invocation.
19106 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19107 INTERNAL_VSYSCALL_NCS macro invocation.
19108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19110 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19113 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19114 Fix application of SIMD FP exception mask.
19116 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19117 mp_no from a power of two.
19118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19119 __mpexp_twomm1. Use __pow_mp.
19121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19124 2013-01-17 David S. Miller <davem@davemloft.net>
19126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19128 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19131 * include/complex.h: Condition contents on [!_COMPLEX_H].
19132 (__kernel_casinhf): New prototype.
19133 (__kernel_casinh): Likewise.
19134 (__kernel_casinhl): Likewise.
19135 * math/Makefile (libm_calls): Add k_casinh.
19136 * math/k_casinh.c: New file.
19137 * math/k_casinhf.c: Likewise.
19138 * math/k_casinhl.c: Likewise.
19139 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19140 finite nonzero arguments.
19141 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19142 finite nonzero arguments.
19143 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19144 finite nonzero arguments.
19145 * math/s_casinh.c: Do not include <float.h>.
19146 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19147 * math/s_casinhf.c: Do not include <float.h>.
19148 (__casinhf): Move code for finite nonzero arguments to
19150 * math/s_casinhl.c: Do not include <float.h>.
19151 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19153 (__casinhl): Move code for finite nonzero arguments to
19155 * math/libm-test.inc (cacos_test): Add more tests.
19156 * sysdeps/i386/fpu/libm-test-ulps: Update.
19157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19159 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19161 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19162 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19163 [!HAVE_MREMAP]: Remove [defined linux] case.
19164 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19166 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19168 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19170 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19172 * elf/elf.h (R_386_SIZE32): New relocation.
19173 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19175 (elf_machine_rela): Likewise.
19176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19177 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19179 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19181 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19182 (FP_FAST_FMA): Do not define.
19183 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19184 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19185 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19186 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19187 !_SOFT_FLOAT]: Likewise.
19188 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19189 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19191 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19192 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19193 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19195 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19196 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19199 2013-01-16 Andreas Schwab <schwab@suse.de>
19202 * include/stdlib.h (__mktemp): Add declaration.
19203 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19204 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19206 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19208 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19210 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19211 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19212 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19214 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19215 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19217 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19219 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19220 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19221 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19223 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19224 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19226 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19228 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19230 2013-01-15 David S. Miller <davem@davemloft.net>
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19233 trunc{,f} to libm-sysdep_routes.
19234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19244 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19245 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19246 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19247 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19248 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19249 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19252 nearbyint{,f} to libm-sysdep_routes.
19253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19264 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19266 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19270 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19271 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19273 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19274 libc_feholdexcept and libc_fesetenv.
19276 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19278 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19280 2013-01-14 David S. Miller <davem@davemloft.net>
19282 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19283 (SPARC_ASM_VIS2_IFUNC): Likewise.
19284 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19286 use of 'siam' instruction.
19287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19320 routines to libm-sysdep_routines.
19321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19324 fdim/fdimf to libm-sysdep_routines.
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19333 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19334 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19335 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19336 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19338 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19340 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19341 to optimize copies.
19343 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19348 local variable MPTWO.
19349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19352 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19354 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19357 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19359 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19361 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19363 * manual/pattern.texi (glob_t): Document gl_flags.
19364 (glob64_t): Likewise.
19366 2013-01-11 David S. Miller <davem@davemloft.net>
19368 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19369 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19370 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19371 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19372 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19373 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19374 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19375 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19376 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19377 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19378 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19379 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19380 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19382 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19383 sparc V9 rather than using V8 code.
19384 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19385 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19387 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19389 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19392 2013-01-11 Roland McGrath <roland@hack.frob.com>
19394 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19395 not in the main loop.
19396 * configure: Regenerated.
19398 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19400 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19401 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19403 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19404 [!__GLIBC_HAVE_LONG_LONG] case.
19405 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19406 condition to just #else.
19407 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19408 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19409 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19410 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19412 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19413 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19414 #elif condition to just #else.
19415 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19416 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19417 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19418 #elif condition to just #else.
19420 2013-01-11 Steve Ellcey <sellcey@mips.com>
19422 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19423 (EF_MIPS_ARCH_64): Fix value.
19424 (EF_MIPS_ARCH_32R2): New.
19425 (EF_MIPS_ARCH_64R2): New.
19427 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19429 * Makeconfig (+link-pie-before-libc): New.
19430 (+link-pie-after-libc): Likewise.
19431 (+link-pie-tests): Likewise.
19432 (+link-pie): Rewritten.
19433 (link-before-libc): Remove $(config-LDFLAGS).
19434 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19435 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19436 (config-LDFLAGS): Renamed to ...
19437 (rtld-LDFLAGS): This.
19438 (rtld-tests-LDFLAGS): New macro.
19439 (link-libc-rpath-link): Likewise.
19440 (link-libc-tests-rpath-link): Likewise.
19441 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19442 (link-libc): Prepand $(link-libc-rpath-link).
19443 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19444 (test-program-prefix): New macro.
19445 (test-via-rtld-prefix): Likewise.
19446 (test-program-cmd): Likewise.
19447 (host-test-program-cmd): Likewise.
19448 * Makefile ($(common-objpfx)testrun.sh): Replace
19449 $(run-program-prefix) with $(test-program-prefix).
19450 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19452 ($(common-objpfx)shlib.lds): Likewise.
19453 (build-module-helper): Likewise.
19454 ($(common-objpfx)format.lds): Likewise.
19455 * Rules (binaries-pie-tests): New.
19456 (binaries-pie-notests): Likewise.
19457 (binaries-pie): Rewritten.
19458 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19459 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19460 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19461 (make-test-out): Replace $(host-built-program-cmd) with
19462 $(host-test-program-cmd).
19463 * config.make.in (build-hardcoded-path-in-tests): New variable.
19464 * configure.in (--enable-hardcoded-path-in-tests): New configure
19466 (hardcoded_path_in_tests): New AC_SUBST.
19467 * configure: Regenerated.
19468 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19469 $(built-program-cmd) with $(test-program-cmd).
19470 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19471 (test_program_cmd): This.
19472 * elf/Makefile ($(objpfx)order.out): Run test with
19473 $(test-program-prefix).
19474 ($(objpfx)order2.out): Likewise.
19475 ($(objpfx)tst-initorder.out): Likewise.
19476 ($(objpfx)tst-initorder2.out): Likewise.
19477 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19478 $(test-program-cmd).
19479 ($(objpfx)tst-array1-static.out): Likewise.
19480 ($(objpfx)tst-array2.out): Likewise.
19481 ($(objpfx)tst-array3.out): Likewise.
19482 ($(objpfx)tst-array4.out): Likewise.
19483 ($(objpfx)tst-array5.out): Likewise.
19484 ($(objpfx)tst-array5-static.out): Likewise.
19485 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19486 $(test-program-cmd).
19487 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19488 $(run-program-prefix) with $(test-program-prefix).
19489 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19490 (test_program_prefix): This.
19491 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19492 $(run-program-prefix) with $(test-program-prefix).
19493 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19494 (test_program_prefix): This.
19495 * iconvdata/tst-tables.sh: Likewise.
19496 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19497 $(run-program-prefix) with $(test-program-prefix).
19498 ($(objpfx)tst-translit.out): Likewise.
19499 ($(objpfx)tst-gettext2.out): Likewise.
19500 ($(objpfx)tst-gettext4.out): Likewise.
19501 ($(objpfx)tst-gettext6.out): Likewise.
19502 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19503 (test_program_prefix): This.
19504 * intl/tst-gettext2.sh: Likewise.
19505 * intl/tst-gettext4.sh Likewise.
19506 * intl/tst-gettext6.sh: Likewise.
19507 * intl/tst-translit.sh: Likewise.
19508 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19509 with $(test-program-cmd).
19510 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19511 $(run-program-prefix) with $(test-program-prefix).
19512 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19513 (test_program_prefix): This.
19514 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19515 $(run-program-prefix) with $(test-program-prefix).
19516 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19517 (test_program_prefix): This.
19518 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19519 * posix/Makefile ($(objpfx)globtest.out): Replace
19520 $(run-via-rtld-prefix) and $(test-wrapper) with
19521 $(test-program-prefix) and $(test-via-rtld-prefix).
19522 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19523 $(test-program-prefix).
19524 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19525 $(host-test-program-cmd).
19526 (tst-spawn-ARGS): Likewise.
19527 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19528 $(test-program-prefix).
19529 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19530 (test_via_rtld_prefix): This.
19531 (test_wrapper): Renamed to ...
19532 (test_program_prefix): This.
19533 (run_program_prefix): Replaced by test_program_prefix.
19534 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19535 (test_program_prefix): This.
19536 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19537 with $(host-test-program-cmd).
19538 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19539 $(run-program-prefix) with $(test-program-prefix).
19540 ($(objpfx)tst-printf.out): Likewise.
19541 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19542 $(test-program-cmd).
19543 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19544 (test_program_prefix): This.
19545 * stdio-common/tst-unbputc.sh: Likewise.
19546 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19547 $(run-program-prefix) with $(test-program-prefix).
19548 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19549 (test_program_prefix): This.
19550 * string/Makefile ($(objpfx)tst-svc.out): Replace
19551 $(built-program-cmd) with $(test-program-cmd).
19553 2013-01-11 Andreas Jaeger <aj@suse.de>
19556 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19557 value. Sync with Linux 3.7.
19559 2013-01-10 David S. Miller <davem@davemloft.net>
19561 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19562 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19563 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19565 2013-01-10 Roland McGrath <roland@hack.frob.com>
19567 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19569 * configure: Regenerated.
19571 2013-01-10 David S. Miller <davem@davemloft.net>
19573 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19574 sparc V9 rather than using V8 code.
19575 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19576 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19578 2013-01-10 Roland McGrath <roland@hack.frob.com>
19580 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19581 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19582 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19583 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19584 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19585 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19586 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19587 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19588 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19589 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19590 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19591 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19592 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19593 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19594 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19595 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19596 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19597 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19598 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19599 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19600 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19601 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19602 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19603 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19604 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19605 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19606 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19608 2013-01-10 David S. Miller <davem@davemloft.net>
19610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19612 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19614 * posix/Makefile (tests-static): New variable.
19615 (tests): Add $(tests-static).
19616 (tst-exec-static-ARGS): New variable.
19617 (tst-spawn-static-ARGS): Likewise.
19618 * posix/tst-exec-static.c: New file.
19619 * posix/tst-spawn-static.c: Likewise.
19620 * posix/tst-exec.c: Support run directly.
19621 * posix/tst-spawn.c: Likewise.
19623 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19625 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19627 * math/bits/mathcalls.h (llrint): Likewise.
19628 (llround): Likewise.
19629 * stdlib/stdlib.h (struct drand48_data): Likewise.
19630 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19631 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19632 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19634 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19636 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19637 (elf_greg_t): Likewise.
19638 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19639 (__jmp_buf): Likewise.
19640 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19642 (llrint): Likewise, for all definitions.
19643 (llrintl): Likewise.
19645 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19646 Remove [__GNUC__] condition.
19647 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19648 condition to just [__USE_ISOC99].
19649 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19651 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19654 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19655 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19657 (_POSIX_V6_ILP32_OFF32): Likewise.
19658 (_XBS5_ILP32_OFF32): Likewise.
19659 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19660 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19662 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19664 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19667 doubles __mpexp_twomm1. Adjust usage.
19668 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19671 2013-01-10 Andreas Schwab <schwab@suse.de>
19674 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19675 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19677 2013-01-09 David S. Miller <davem@davemloft.net>
19680 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19681 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19682 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19683 (TCP_FASTOPEN): Define.
19684 (tcp_repair_opt): New structure.
19685 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19687 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19688 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19689 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19690 (tcp_cookie_transactions): New structure.
19692 2013-01-09 Anton Blanchard <anton@samba.org>
19694 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19695 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19696 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19697 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19699 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19701 * include/features.h (__USE_ANSI): Remove.
19703 2013-01-09 Roland McGrath <roland@hack.frob.com>
19705 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19707 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19709 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19711 * sysdeps/s390/fpu/libm-test-ulps: Update.
19713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19715 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19719 (denorm): Likewise.
19720 (__mp_dbl): Likewise.
19721 (__dbl_mp): Likewise.
19722 (add_magnitudes): Likewise.
19723 (sub_magnitudes): Likewise.
19729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19733 (denorm): Likewise.
19734 (__mp_dbl): Likewise.
19735 (__dbl_mp): Likewise.
19736 (add_magnitudes): Likewise.
19737 (sub_magnitudes): Likewise.
19743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19747 (denorm): Likewise.
19748 (__mp_dbl): Likewise.
19749 (__dbl_mp): Likewise.
19750 (add_magnitudes): Likewise.
19751 (sub_magnitudes): Likewise.
19758 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19760 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19761 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19762 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19763 2 && __USE_EXTERN_INLINES]: Likewise.
19765 2013-01-08 Andreas Jaeger <aj@suse.de>
19768 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19770 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19771 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19773 2013-01-07 Anton Blanchard <anton@samba.org>
19775 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19776 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19777 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19778 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19779 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19780 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19781 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19782 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19784 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19785 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19786 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19787 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19788 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19789 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19790 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19792 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19793 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19794 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19795 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19796 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19797 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19798 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19799 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19800 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19801 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19802 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19804 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19805 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19807 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19808 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19809 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19810 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19811 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19812 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19813 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19814 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19815 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19817 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19819 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19821 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19822 (__MALLOC_PMT): Likewise.
19823 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19824 [__GNUC__], only on [_LIBC].
19825 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19826 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19827 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19828 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19829 forward declaration.
19830 (realloc_hook_ini): Likewise.
19831 (memalign_hook_ini): Likewise.
19832 (__libc_memalign): Do not use __MALLOC_PMT in variable
19834 (__libc_valloc): Likewise.
19835 (__libc_pvalloc): Likewise.
19836 (__libc_calloc): Likewise.
19837 (__posix_memalign): Likewise.
19840 * math/s_casinh.c: Include <float.h>.
19841 (__casinh): Do not do computation with squaring and square root
19842 for large arguments.
19843 * math/s_casinhf.c: Include <float.h>.
19844 (__casinhf): Do not do computation with squaring and square root
19845 for large arguments.
19846 * math/s_casinhl.c: Include <float.h>.
19847 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19848 (__casinhl): Do not do computation with squaring and square root
19849 for large arguments.
19850 * math/libm-test.inc (casin_test): Add more tests.
19851 (casinh_test): Likewise.
19852 * sysdeps/i386/fpu/libm-test-ulps: Update.
19853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19855 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19857 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19858 (__x86_64_raw_data_cache_size): Likewise.
19859 (__x86_64_data_cache_size_half): Likewise.
19860 (__x86_64_raw_data_cache_size_half): Likewise.
19861 (__x86_64_shared_cache_size): Likewise.
19862 (__x86_64_raw_shared_cache_size): Likewise.
19863 (__x86_64_shared_cache_size_half): Likewise.
19864 (__x86_64_raw_shared_cache_size_half): Likewise.
19865 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19867 (__x86_data_cache_size): This.
19868 (__x86_64_raw_data_cache_size): Renamed to ...
19869 (__x86_raw_data_cache_size): This.
19870 (__x86_64_data_cache_size_half): Renamed to ...
19871 (__x86_data_cache_size_half): This.
19872 (__x86_64_raw_data_cache_size_half): Renamed to ...
19873 (__x86_raw_data_cache_size_half): This.
19874 (__x86_64_shared_cache_size): Renamed to ...
19875 (__x86_shared_cache_size): This.
19876 (__x86_64_raw_shared_cache_size): Renamed to ...
19877 (__x86_raw_shared_cache_size): This.
19878 (__x86_64_shared_cache_size_half): Renamed to ...
19879 (__x86_shared_cache_size_half): This.
19880 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19881 (__x86_raw_shared_cache_size_half): This.
19882 * sysdeps/x86_64/memcpy.S: Updated.
19883 * sysdeps/x86_64/memset.S: Likewise.
19884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19885 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19886 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19888 2013-01-04 David S. Miller <davem@davemloft.net>
19890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19892 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19894 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19895 1 to avoid redefinition warning.
19896 (__USE_GNU): Don't define.
19897 (init_signaling_nan): Protoize.
19899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19901 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19903 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19905 (__cpymn): Likewise.
19906 (norm): Remove commented code.
19907 (denorm): Likewise.
19908 (__mp_dbl): Likewise.
19910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19911 (__cpymn): Likewise.
19912 (norm): Remove commented code.
19913 (denorm): Likewise.
19914 (__mp_dbl): Likewise.
19917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19918 mp_no value for 1.0 and 2.0.
19919 (norm): Use RADIXI instead of radixi.d.
19920 (denorm): Likewise.
19921 (__mul): Use 0.0 instead of zero.d.
19922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19923 mp_no value for 1.0 and 2.0.
19924 (norm): Use RADIXI instead of radixi.d.
19925 (denorm): Likewise.
19926 (__mul): Use 0.0 instead of zero.d.
19928 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19931 * math/s_casinh.c (__casinh): Reduce finite argument to first
19932 quadrant then set signs of results at the end.
19933 * math/s_casinhf.c (__casinhf): Likewise.
19934 * math/s_casinhl.c (__casinhl): Likewise.
19935 * math/libm-test.inc (casin_test): Add more tests.
19936 (casinh_test): Likewise.
19937 * sysdeps/i386/fpu/libm-test-ulps: Update.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19940 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19942 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19944 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19946 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19948 (denorm): Likewise.
19949 (__mp_dbl): Likewise.
19952 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19953 and adjust the header comment.
19955 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19956 variable name from declaration.
19958 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19961 Initialize COMMON_CPUID_INDEX_7 element.
19962 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19963 (CPUID_RTM): Likewise.
19964 (HAS_RTM): Likewise.
19965 (COMMON_CPUID_INDEX_7): New enum.
19967 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19970 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19971 size is zero, record memory as freed.
19973 2013-01-03 Andreas Jaeger <aj@suse.de>
19975 * po/ia.po: Add new Interlingua translation.
19977 2012-01-03 Allan McRae <allan@archlinux.org>
19979 * locale/programs/localedef.c: Fix description of '--posix' flag.
19981 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19983 * NEWS: Update dates in second copyright notice.
19984 * README: Update copyright dates in example.
19985 * manual/libc.texinfo: Update copyright dates.
19986 * scripts/test-installation.pl: Update copyright date in --version
19989 * hurd/ctty-input.c: Fix copyright notice formatting.
19990 * hurd/ctty-output.c: Likewise.
19991 * hurd/dtable.c: Likewise.
19992 * hurd/hurd-raise.c: Likewise.
19993 * hurd/hurdprio.c: Likewise.
19994 * hurd/msgportdemux.c: Likewise.
19995 * misc/sys/file.h: Likewise.
19996 * misc/sys/ioctl.h: Likewise.
19997 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19998 * sysdeps/mach/hurd/chdir.c: Likewise.
19999 * sysdeps/mach/hurd/fchdir.c: Likewise.
20000 * sysdeps/mach/hurd/rename.c: Likewise.
20001 * sysdeps/mach/hurd/rmdir.c: Likewise.
20002 * sysdeps/mach/hurd/seekdir.c: Likewise.
20003 * sysdeps/mach/hurd/setsid.c: Likewise.
20004 * sysdeps/posix/wait3.c: Likewise.
20006 * All files with FSF copyright notices: Update copyright dates
20007 using scripts/update-copyrights.
20008 * intl/plural.c: Regenerated.
20009 * locale/programs/charmap-kw.h: Likewise.
20010 * locale/programs/locfile-kw.h: Likewise.
20012 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20014 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20017 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20018 calculation loop and add branch prediction.
20020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20021 check access beyond bounds of m1np.
20023 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20025 (__inv): Remove local variable MPTWO to use the global
20027 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20028 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20031 MP3HALFS static const.
20033 2013-01-01 David S. Miller <davem@davemloft.net>
20035 * po/ca.po: Update from translation team.
20037 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20039 * scripts/update-copyrights: New file.
20040 * Makeconfig: Reformat copyright notice.
20041 * ctype/ctype.h: Likewise.
20042 * debug/swprintf_chk.c: Likewise.
20043 * elf/dl-cache.c: Likewise.
20044 * elf/dl-debug.c: Likewise.
20045 * elf/dl-object.c: Likewise.
20046 * grp/initgroups.c: Likewise.
20047 * hurd/Makefile: Likewise.
20048 * hurd/hurd/signal.h: Likewise.
20049 * hurd/hurdfault.c: Likewise.
20050 * hurd/hurdioctl.c: Likewise.
20051 * hurd/hurdlookup.c: Likewise.
20052 * hurd/intr-msg.c: Likewise.
20053 * iconv/gconv_open.c: Likewise.
20054 * libio/swprintf.c: Likewise.
20055 * locale/lc-ctype.c: Likewise.
20056 * locale/nl_langinfo.c: Likewise.
20057 * mach/Machrules: Likewise.
20058 * mach/Makefile: Likewise.
20059 * malloc/obstack.h: Likewise.
20060 * manual/Makefile: Likewise.
20061 * manual/tsort.awk: Likewise.
20062 * misc/bits/stab.def: Likewise.
20063 * nis/nis_print_group_entry.c: Likewise.
20064 * nis/nis_table.c: Likewise.
20065 * nis/nss_compat/compat-pwd.c: Likewise.
20066 * nis/nss_compat/compat-spwd.c: Likewise.
20067 * po/Makefile: Likewise.
20068 * posix/fnmatch.c: Likewise.
20069 * posix/regex.h: Likewise.
20070 * resolv/Makefile: Likewise.
20071 * resolv/nss_dns/dns-network.c: Likewise.
20072 * resolv/res_hconf.c: Likewise.
20073 * scripts/gen-sorted.awk: Likewise.
20074 * soft-fp/soft-fp.h: Likewise.
20075 * stdio-common/printf.h: Likewise.
20076 * stdlib/monetary.h: Likewise.
20077 * stdlib/random.c: Likewise.
20078 * stdlib/random_r.c: Likewise.
20079 * sysdeps/generic/Makefile: Likewise.
20080 * sysdeps/gnu/Makefile: Likewise.
20081 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20083 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20085 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20088 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20089 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20091 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20092 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20093 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20094 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20095 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20096 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20097 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20098 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20099 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20101 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20102 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20103 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20104 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20105 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20106 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20107 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20108 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20109 * sysdeps/mach/hurd/errnos.awk: Likewise.
20110 * sysdeps/mach/hurd/fork.c: Likewise.
20111 * sysdeps/mach/hurd/getcwd.c: Likewise.
20112 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20113 * sysdeps/mach/hurd/mmap.c: Likewise.
20114 * sysdeps/mach/hurd/utimes.c: Likewise.
20115 * sysdeps/mach/hurd/xmknod.c: Likewise.
20116 * sysdeps/posix/profil.c: Likewise.
20117 * sysdeps/posix/readdir_r.c: Likewise.
20118 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20119 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20120 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20121 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20123 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20124 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20125 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20127 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20128 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20129 * sysdeps/pthread/lio_listio.c: Likewise.
20130 * sysdeps/sparc/dl-procinfo.h: Likewise.
20131 * sysdeps/unix/i386/sysdep.S: Likewise.
20132 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20133 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20134 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20135 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20137 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20138 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20139 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20140 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20141 * sysdeps/wordsize-32/divdi3.c: Likewise.
20142 * time/sys/time.h: Likewise.
20143 * wcsmbs/Makefile: Likewise.
20145 2013-01-01 David S. Miller <davem@davemloft.net>
20147 * po/fr.po: Update from translation team.
20149 * catgets/gencat.c: Update copyright year.
20150 * csu/version.c: Likewise.
20151 * debug/catchsegv.sh: Likewise.
20152 * debug/pcprofiledump.c: Likewise.
20153 * debug/xtrace.sh: Likewise.
20154 * elf/ldconfig.c: Likewise.
20155 * elf/ldd.bash.in: Likewise.
20156 * elf/pldd.c: Likewise.
20157 * elf/sotruss.ksh: Likewise.
20158 * elf/sprof.c: Likewise.
20159 * iconv/iconv_prog.c: Likewise.
20160 * iconv/iconvconfig.c: Likewise.
20161 * locale/programs/locale.c: Likewise.
20162 * locale/programs/localedef.c: Likewise.
20163 * login/programs/pt_chown.c: Likewise.
20164 * malloc/memusage.sh: Likewise.
20165 * malloc/memusagestat.c: Likewise.
20166 * malloc/mtrace.pl: Likewise.
20167 * nscd/nscd.c: Likewise.
20168 * nss/getent.c: Likewise.
20169 * nss/makedb.c: Likewise.
20170 * posix/getconf.c: Likewise.
20172 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20174 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20177 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20179 * math/bits/mathcalls.h (modf): Use __nonnull.
20181 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20183 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20184 (split): Use macro CN instead of the bare value.
20185 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20187 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20188 instead of the bare value.
20189 (power1): Likewise.
20191 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20195 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20197 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20199 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20200 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20201 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20202 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20204 2012-12-28 Andreas Jaeger <aj@suse.de>
20206 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20207 values are from Linux 3.7.
20209 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20210 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20212 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20214 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20217 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20219 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20220 variables with preprocessor constants.
20221 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20222 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20223 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20225 2012-12-27 Bruno Haible <bruno@clisp.org>
20228 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20231 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20234 and use variable directly.
20235 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20237 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20239 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20240 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20242 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20243 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20244 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20245 include directive. Remove local variable MPONE.
20246 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20248 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20250 2012-12-25 David S. Miller <davem@davemloft.net>
20252 * version.h (RELEASE): Set to "development".
20253 (VERSION): Set to "2.17.90".
20254 * NEWS: Add 2.18 section.
20256 2012-12-21 David S. Miller <davem@davemloft.net>
20258 * po/hr.po: Update from translation team.
20260 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20262 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20264 2012-12-19 Steve Ellcey <sellcey@mips.com>
20266 * NEWS: Mention new memcpy for MIPS.
20268 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20270 * manual/contrib.texi (Contributors): Spelling correction.
20272 2012-12-15 David S. Miller <davem@davemloft.net>
20274 * po/ru.po: Update from translation team.
20276 2012-12-13 David S. Miller <davem@davemloft.net>
20278 * NEWS: Mention IFUNC testsuite enhancements.
20280 * po/pl.po: Update from translation team.
20281 * po/bg.po: Likewise.
20283 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20284 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20286 2012-12-11 David S. Miller <davem@davemloft.net>
20288 * po/sv.po: Update from translation team.
20290 * po/vi.po: Update from translation team.
20292 * po/cs.po: Update from translation team.
20294 * po/de.po: Update from translation team.
20295 * po/eo.po: Likewise.
20296 * po/nl.po: Likewise.
20298 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20301 * manual/argp.texi (Argp Helper Functions): Move node to follow
20302 Argp Parsing State.
20305 * manual/conf.texi (Limits on File System Capacity): Mention if
20306 terminating null is included in the max size.
20308 2012-12-10 Andreas Jaeger <aj@suse.de>
20310 * po/cs.po: Update from translation team.
20312 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20314 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20315 void pointer and cast to uintptr_t.
20316 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20318 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20319 * sysdeps/s390/s390-64/memset.S: Likewise.
20321 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20324 * menual/message.texi (Message Translation): Fix typos.
20325 (Helper programs for gettext): Likewise.
20327 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20330 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20333 2012-12-07 David S. Miller <davem@davemloft.net>
20335 * po/libc.pot: Update.
20337 2012-12-07 Richard Henderson <rth@redhat.com>
20340 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20341 normal/normal case to before the switch.
20342 (_FP_DIV): Likewise.
20344 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20345 Mike Frysinger <vapier@gentoo.org>
20347 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20348 check for __NR_fadvise64_64.
20350 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20352 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20353 0, not just to plain "0" as a statement.
20354 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20357 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20359 * NEWS: Use sourceware.org in Bugzilla URL.
20361 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20364 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20366 * stdio-common/tst-put-error.c (do_test): Add newline to the
20367 padded test to ensure flush.
20369 2012-12-05 Jeff Law <law@redhat.com>
20371 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20373 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20375 * README: Don't refer to ports add-on as distributed separately.
20376 Mention AArch64 in list of systems supported in the ports add-on.
20378 * LICENSES: Add more non-FSF copyright and license notices.
20380 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20383 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20385 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20386 10000 as width of padded output.
20388 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20390 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20392 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20393 variable LX with __attribute__ ((unused)).
20394 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20396 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20397 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20398 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20399 with __attribute__ ((unused)).
20401 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20403 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20405 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20407 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20408 (CFLAGS-nldbl-acos.c): New variable.
20409 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20417 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20418 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20419 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20420 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20421 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20422 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20423 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20424 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20425 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20426 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20427 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20428 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20429 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20430 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20431 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20432 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20433 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20434 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20435 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20436 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20437 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20438 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20439 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20440 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20441 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20442 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20443 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20444 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20445 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20446 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20447 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20448 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20449 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20450 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20451 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20452 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20453 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20454 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20455 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20456 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20457 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20458 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20459 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20460 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20461 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20462 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20463 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20464 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20465 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20466 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20467 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20468 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20469 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20470 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20471 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20472 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20473 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20474 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20475 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20476 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20477 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20478 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20479 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20480 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20481 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20482 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20483 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20484 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20485 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20486 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20487 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20488 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20489 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20490 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20491 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20492 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20493 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20494 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20495 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20496 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20497 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20498 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20499 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20501 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20502 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20503 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20504 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20505 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20508 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20511 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20512 whole low double instead of just low 47 bits when splitting values
20515 2012-12-03 Allan McRae <allan@archlinux.org>
20517 * manual/stdio.texi (Predefined Printf Handlers): Remove
20518 @hsep and @vsep usage.
20520 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20522 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20523 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20525 2012-12-03 Jeff Law <law@redhat.com>
20527 * time/sys/time.h (settimeofday): Do not mark TV argument
20530 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20532 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20533 when currently writing and seek to current position when not.
20534 * libio/Makefile (tests): Remove bug-fclose1.
20535 * libio/bug-fclose1.c: Delete.
20537 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20539 * manual/arith.texi (feenableexcept): Fix typo.
20540 (fedisableexcept): Likewise.
20542 2012-11-30 Roland McGrath <roland@hack.frob.com>
20544 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20545 second, differently-typed declaration, rather than a cast.
20547 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20549 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20550 * include/rpc/svc.h: ... here.
20552 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20555 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20556 depending n and resplen2 to catch cases where answer
20559 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20561 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20562 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20564 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20566 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20568 2012-11-29 Roland McGrath <roland@hack.frob.com>
20570 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20572 2012-11-28 Jeff Law <law@redhat.com>
20575 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20576 dataset_temporary. Track alloca usage into alloca_used.
20577 If dataset is large allocate and release it via malloc/free.
20579 2012-06-04 Florian Weimer <fweimer@redhat.com>
20582 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20584 2012-11-28 David S. Miller <davem@davemloft.net>
20586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20588 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20591 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20592 of pi/2 rounded to nearest to 64 bits.
20593 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20594 nearest to 64 bits.
20595 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20598 2012-11-28 Jeff Law <law@redhat.com>
20599 Martin Osvald <mosvald@redhat.com>
20602 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20603 * sunrpc/svc.c: Include time.h.
20604 (__svc_accept_failed): New function.
20605 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20606 any reason other than EINTR, call __svc_accept_failed.
20607 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20608 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20610 2012-11-28 Andreas Schwab <schwab@suse.de>
20612 * scripts/abilist.awk: Also handle indirect functions in .opd
20615 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20618 * sysdeps/x86/fpu/powl_helper.c: New file.
20619 * sysdeps/x86/fpu/Makefile: Likewise.
20620 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20622 (__ieee754_powl): Use __powl_helper for finite arguments except
20623 integer exponents below 8.
20624 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20626 (__ieee754_powl): Use __powl_helper for finite arguments except
20627 integer exponents below 8.
20628 * math/libm-test.inc (pow_test): Add more tests and enable some
20629 previously disabled tests.
20630 * sysdeps/i386/fpu/libm-test-ulps: Update.
20631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20633 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20634 Carlos O'Donell <carlos_odonell@mentor.com>
20636 * nss/makedb.c (is_prime): Assert that input is odd and greater
20637 than 4. Note that fact in a comment too.
20638 (next_prime): Add 4 to input.
20640 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20643 * libio/Makefile (tests): Add test case tst-fwrite-error.
20644 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20645 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20646 * libio/tst-fwrite-error.c: New test case.
20648 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20650 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20651 before casting to void *.
20652 * include/libc-internal.h (__pointer_type): New macro.
20653 (__integer_if_pointer_type_sub): Likewise.
20654 (__integer_if_pointer_type): Likewise.
20655 (cast_to_integer): Likewise.
20656 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20657 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20658 before casting to atomic64_t.
20659 (atomic_exchange_acq): Likewise.
20660 (__arch_exchange_and_add_body): Likewise.
20661 (__arch_add_body): Likewise.
20662 (atomic_add_negative): Likewise.
20663 (atomic_add_zero): Likewise.
20665 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20667 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20668 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20669 (add_fdes): Likewise.
20670 (linear_search_fdes): Likewise.
20671 (binary_search_unencoded_fdes): Likewise.
20673 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20675 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20677 2012-11-24 Adam Conrad <adconrad@0c3.net>
20679 * configure.in: Autodetect C++ header directories.
20680 * configure: Regenerated.
20682 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20684 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20686 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20690 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20692 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20693 LDBL_MANT_DIG == 106]: Disable some tests.
20694 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20696 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20700 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20701 input for small inputs. Return +/- pi/2 for large inputs.
20702 * math/libm-test.inc (atan_test): Add more tests.
20704 * sysdeps/generic/unwind-dw2-fde-glibc.c
20705 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20706 __attribute__ ((unused)).
20709 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20710 x * y if x and y are nonzero and z is zero.
20713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20714 nonzero exponents with absolute value below 0x1p-117 to +/-
20718 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20719 up arguments below 2**-450, not just those below 2**-500.
20720 * math/libm-test.inc (hypot_test): Add another test.
20723 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20724 Return a+b for ratio over 2**120, not 2**60.
20725 * math/libm-test.inc (hypot_test): Add another test.
20727 * math/libm-test.inc (clog_test): Use
20728 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20729 (clog10_test): Likewise.
20732 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20734 2012-11-22 Andreas Schwab <schwab@suse.de>
20736 * sysdeps/i386/fpu/libm-test-ulps: Update.
20738 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20740 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20741 printf output with newline.
20743 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20746 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20747 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20748 -z nodlopen, -z initfirst and -z execstack support.
20749 * configure: Regenerated.
20751 * elf/elf.h (DF_1_NODIRECT): New macro.
20752 (DF_1_IGNMULDEF): Likewise.
20753 (DF_1_NOKSYMS): Likewise.
20754 (DF_1_NOHDR): Likewise.
20755 (DF_1_EDITED): Likewise.
20756 (DF_1_NORELOC): Likewise.
20757 (DF_1_SYMINTPOSE): Likewise.
20758 (DF_1_GLOBAUDIT): Likewise.
20759 (DF_1_SINGLETON): Likewise.
20760 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20761 DT_1_SUPPORTED_MASK bits.
20762 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20764 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20766 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20768 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20770 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20773 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20774 (sendmmsg): Move declarations...
20775 * socket/sys/socket.h: ... here.
20776 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20777 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20779 * socket/recvmmsg.c: ... this new file.
20780 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20781 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20782 definition of __sendmmsg hidden.
20783 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20784 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20785 Move ENOSYS stub into and include it from...
20786 * socket/sendmmsg.c: ... this new file.
20787 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20788 (sysdep_routines): Move recvmmsg and sendmmsg...
20789 * socket/Makefile (routines): ... here.
20790 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20791 (GLIBC_PRIVATE): Add __sendmmsg.
20792 * include/sys/socket.h (__sendmmsg): Add declarations.
20793 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20796 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20799 variable I1 with __attribute__ ((unused)).
20800 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20802 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20804 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20805 DUMMY variables with __attribute__ ((unused)).
20807 * bits/byteswap.h: Include <bits/types.h>.
20808 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20810 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20812 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20813 string_t. Do not manually set errno.
20814 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20815 length with __strnlen. Make sure to both set errno and return it on
20818 2012-11-19 David S. Miller <davem@davemloft.net>
20820 With help from Joseph Myers.
20821 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20822 very large arguments properly.
20823 * math/libm-test.inc (atan_test): New tests.
20824 (atan2_test): New tests.
20825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20828 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20831 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20834 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20835 [POSIX] (EADDRNOTAVAIL): Likewise.
20836 [POSIX] (EAFNOSUPPORT): Likewise.
20837 [POSIX] (EALREADY): Likewise.
20838 [POSIX] (ECONNABORTED): Likewise.
20839 [POSIX] (ECONNREFUSED): Likewise.
20840 [POSIX] (ECONNRESET): Likewise.
20841 [POSIX] (EDESTADDRREQ): Likewise.
20842 [POSIX] (EDQUOT): Likewise.
20843 [POSIX] (EHOSTUNREACH): Likewise.
20844 [POSIX] (EIDRM): Likewise.
20845 [POSIX] (EISCONN): Likewise.
20846 [POSIX] (ELOOP): Likewise.
20847 [POSIX] (EMULTIHOP): Likewise.
20848 [POSIX] (ENETDOWN): Likewise.
20849 [POSIX] (ENETUNREACH): Likewise.
20850 [POSIX] (ENOBUFS): Likewise.
20851 [POSIX] (ENODATA): Likewise.
20852 [POSIX] (ENOLINK): Likewise.
20853 [POSIX] (ENOMSG): Likewise.
20854 [POSIX] (ENOPROTOOPT): Likewise.
20855 [POSIX] (ENOSR): Likewise.
20856 [POSIX] (ENOSTR): Likewise.
20857 [POSIX] (ENOTCONN): Likewise.
20858 [POSIX] (ENOTSOCK): Likewise.
20859 [POSIX] (EOPNOTSUPP): Likewise.
20860 [POSIX] (EOVERFLOW): Likewise.
20861 [POSIX] (EPROTO): Likewise.
20862 [POSIX] (EPROTONOSUPPORT): Likewise.
20863 [POSIX] (EPROTOTYPE): Likewise.
20864 [POSIX] (ESTALE): Likewise.
20865 [POSIX] (ETIME): Likewise.
20866 [POSIX] (ETXTBSY): Likewise.
20867 [POSIX] (EWOULDBLOCK): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20869 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20870 [POSIX] (SEEK_CUR): Likewise.
20871 [POSIX] (SEEK_END): Likewise.
20872 [POSIX || UNIX98] (mode_t): Do not require.
20873 [POSIX] (off_t): Likewise.
20874 [POSIX] (pid_t): Likewise.
20875 [POSIX] (sys/stat.h): Do not allow header.
20876 [POSIX] (unistd.h): Likewise.
20877 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20878 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20879 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20880 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20882 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20883 sigevent): Specify elements.
20884 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20886 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20887 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20889 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20890 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20891 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20892 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20893 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20894 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20895 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20896 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20897 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20898 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20899 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20900 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20901 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20902 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20904 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20906 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20910 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20911 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20912 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20913 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20914 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20915 Specify lower bound on value.
20916 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20917 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20918 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20919 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20920 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20921 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20922 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20923 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20925 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20927 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20928 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20929 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20930 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20931 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20932 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20933 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20934 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20935 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20936 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20937 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20938 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20939 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20940 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20941 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20942 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20944 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20946 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20947 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20948 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20949 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20950 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20951 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20953 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20954 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20955 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20956 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20957 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20958 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20959 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20961 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20962 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20964 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20965 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20966 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20967 specify as optional.
20968 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20969 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20970 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20971 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20972 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20973 [XPG3] (NL_LANGMAX): Likewise.
20974 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20975 [POSIX || XPG3] (NL_NMAX): Likewise.
20976 [POSIX || XPG3] (NL_SETMAX): Likewise.
20977 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20978 [XPG3] (NZERO): Likewise.
20979 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20980 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20981 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20982 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20983 (REG_ERANGE): Expect.
20984 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20986 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20987 Use (void) in prototype.
20988 [POSIX] (*_t): Allow.
20989 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20990 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20991 (WRDE_BADVAL): Expect.
20993 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20995 [XPG3 || XPG4] (O_RSYNC): Likewise.
20996 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20998 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20999 [XPG3 || XPG4] (sigqueue): Likewise.
21000 [XPG3 || XPG4] (sigtimedwait): Likewise.
21001 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21002 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21003 [XPG3 || XPG4] (vsnprintf): Likewise.
21004 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21006 [XPG3 || XPG4] (blksize_t): Likewise.
21007 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21009 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21010 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21011 [XPG3 || XPG4] (struct itimerspec): Likewise.
21012 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21013 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21014 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21015 [XPG3 || XPG4] (clockid_t): Likewise.
21016 [XPG3 || XPG4] (timer_t): Likewise.
21017 [XPG3 || XPG4] (clock_getres): Likewise.
21018 [XPG3 || XPG4] (clock_gettime): Likewise.
21019 [XPG3 || XPG4] (clock_settime): Likewise.
21020 [XPG3 || XPG4] (nanosleep): Likewise.
21021 [XPG3 || XPG4] (timer_create): Likewise.
21022 [XPG3 || XPG4] (timer_delete): Likewise.
21023 [XPG3 || XPG4] (timer_gettime): Likewise.
21024 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21025 [XPG3 || XPG4] (timer_settime): Likewise.
21026 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21027 [XPG3 || XPG4] (getlogin_r): Likewise.
21028 [XPG3 || XPG4] (pread): Likewise.
21029 [XPG3 || XPG4] (pthread_atfork): Likewise.
21030 [XPG3 || XPG4] (pwrite): Likewise.
21033 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21036 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21038 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21039 finalizing MALLSTREAM.
21041 * sysdeps/mach/hurd/syncfs.c: New file.
21043 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21046 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21047 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21048 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21049 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21050 (_nss_dns_gethostbyname4_r): Likewise.
21051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21052 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21054 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21057 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21059 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21061 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21062 * elf/cache.c (print_entry): Print ",AArch64" for
21065 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21066 * elf/cache.c (print_entry): Print ",hard-float" for
21069 2012-11-18 David S. Miller <davem@davemloft.net>
21071 With help from Joseph Myers.
21072 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21074 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21076 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21077 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21079 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21080 * math/libm-test.inc (y0_test): New tests.
21081 (y1_test): New tests.
21082 * sysdeps/i386/fpu/libm-test-ulps: Update.
21083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21086 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21088 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21090 * configure: Regenerated.
21092 2012-11-17 David S. Miller <davem@davemloft.net>
21095 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21096 nonzero exponents with absolute value below 0x1p-128 to +/-
21099 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21101 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21103 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21105 * posix/getconf-speclist.c: New file.
21106 * posix/posix-envs.def: Likewise.
21107 * posix/confstr.c (START_ENV_GROUP): New macro.
21108 (END_ENV_GROUP): Likewise.
21109 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21110 (KNOWN_PRESENT_ENV_STRING): Likewise.
21111 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21112 (UNKNOWN_ENVIRONMENT): Likewise.
21113 (confstr): Include posix-envs.def instead of handling
21114 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21115 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21116 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21117 (END_ENV_GROUP): Likewise.
21118 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21119 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21120 (UNKNOWN_ENVIRONMENT): Likewise.
21121 (__sysconf): Include posix-envs.def instead of handling associated
21122 cases directly here.
21123 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21124 preprocessing getconf-speclist.c rather than running getconf or
21125 generating empty file.
21127 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21129 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21131 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21134 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21136 2012-11-16 David S. Miller <davem@davemloft.net>
21138 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21139 smaller than LDBL_EPSILON/2.0L, just return xm1.
21141 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21143 * elf/tst-array1.c (init): Set constructor priority to 1000.
21144 (fini): Set destructor priority to 1000.
21145 * elf/tst-array2dep.c: Likewise.
21147 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21150 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21151 (_IO_new_file_xsputn): Also return EOF if none of the input
21152 data was written when overflow failed.
21153 * libio/iopadn.c (_IO_padn): Likewise.
21154 * libio/iowpadn.c (_IO_wpadn): Likewise.
21155 * stdio-common/tst-put-error.c: Add copyright notice.
21156 (do_test): Add case for printing padded string.
21157 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21158 _IO_padn returned error.
21159 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21160 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21163 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21165 * libio/libioP.h: Add comment note that the references to C++
21166 bits are now obsolete.
21168 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21170 * math/libm-test.inc (check_complex): Use asprintf.
21172 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21174 * debug/pcprofiledump.c (print_version): Update copyright year.
21175 * malloc/memusagestat.c (print_version): Likewise.
21177 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21180 * elf/Makefile (tests): Add tst-audit8.
21181 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21182 ($(objpfx)tst-audit8.out): New target.
21183 (tst-audit8-ENV): New variable.
21184 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21185 audit if l_reloc_result is NULL.
21186 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21187 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21188 * elf/tst-audit8.c: New file.
21190 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21192 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21193 * misc/Makefile (CFLAGS-select.c): Define.
21194 * posix/Makefile (CFLAGS-pause.c): Define.
21196 2012-11-13 David S. Miller <davem@davemloft.net>
21198 * crypt/Makefile: Move test targets after toplevel Rules
21199 inclusion. Grab any necessary sysdep routines when linking.
21200 * crypt/md5.c (md5_process_block): Remove define, we will always
21201 name it __md5_process_block.
21202 (md5_finish_ctx): Update md5_process_block call.
21203 (md5_stream): Likewise.
21204 (md5_process_bytes): Likewise.
21205 (md5_process_block): Rename to __md5_process_block and move to ...
21206 * crypt/md5-block.c: ... here.
21207 * crypt/sha256.c (sha256_process_block): Move to ...
21208 * crypt/sha256-block.c: ... here.
21209 * crypt/sha512.c (sha512_process_block): Move to ...
21210 * crypt/sha512-block.c: ... here.
21211 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21213 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21214 * sysdeps/sparc/sparc64/multiarch/Makefile
21215 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21217 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21218 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21220 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21221 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21222 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21223 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21224 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21225 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21226 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21227 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21228 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21230 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21233 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21235 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21237 * timezone/tzselect.ksh: Update from tzcode git revision
21238 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21239 * timezone/zdump.c: Likewise.
21240 * timezone/zic.c: Likewise.
21241 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21242 in TZVERSION setting, not $(PKGVERSION).
21243 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21244 REPORT_BUGS_TO settings.
21247 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21250 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21252 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21253 detection to immediately after _FP_ROUND().
21254 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21257 2012-11-11 David S. Miller <davem@davemloft.net>
21259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21261 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21262 __close rather than their public counterparts.
21264 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21266 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21268 [UNIX98] (sem_timedwait): Do not expect.
21269 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21270 [XPG4 || UNIX98] (sockatmark): Do not expect.
21271 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21272 (clock_getcpuclockid): Do not expect.
21273 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21274 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21276 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21277 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21278 [UNIX98] (vwscanf): Likewise.
21279 [UNIX98] (vswscanf): Likewise.
21281 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21283 * timezone/version.h: Remove file.
21284 * timezone/README: Do not refer to version.h.
21285 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21286 $(objpfx)version.h.
21287 ($(objpfx)zdump.o): Likewise.
21288 ($(objpfx)version.h): New target.
21290 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21292 * timezone/README: Don't mention modification to tzselect.ksh.
21293 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21294 work on unmodified tzselect.ksh. Substitute version numbers in
21297 * Makefile (format-me): Remove.
21298 (INSTALL): Adjust indentation. Use commands directly instead of
21299 using $(format-me).
21301 * aclocal.m4 (ACX_PKGVERSION): New macro.
21302 (ACX_BUGURL): Likewise.
21303 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21304 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21305 (REPORT_BUGS_TO): Likewise.
21306 * configure: Regenerated.
21307 * config.h.in (PKGVERSION): New macro.
21308 (REPORT_BUGS_TO): Likewise.
21309 * config.make.in (PKGVERSION): New variable.
21310 (PKGVERSION_TEXI): Likewise.
21311 (REPORT_BUGS_TO): Likewise.
21312 (REPORT_BUGS_TEXI): Likewise.
21313 * Makefile (format-me): Use -I$(common-objpfx)manual.
21314 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21315 ($(common-objpfx)manual/%): New target.
21316 (manual/%): Remove target.
21317 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21318 (print_version): Use PKGVERSION.
21319 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21320 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21321 and REPORT_BUGS_TO.
21322 ($(objpfx)xtrace): Likewise.
21323 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21324 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21325 (print_version): Use PKGVERSION.
21326 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21327 (do_version): Use PKGVERSION.
21328 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21330 (common-ldd-rewrite): Likewise.
21331 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21332 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21333 (print_version): Use PKGVERSION.
21334 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21335 * elf/pldd.c (argp_program_bug_address): Remove variable.
21336 (more_help): New function.
21337 (argp): Use more_help.
21338 (print_version): Use PKGVERSION.
21339 * elf/sln.c (main): Use PKGVERSION.
21340 (usage): Use REPORT_BUGS_TO.
21341 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21342 (top level): Use PKGVERSION.
21343 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21344 (print_version): Use PKGVERSION.
21345 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21346 (print_version): Use PKGVERSION.
21347 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21348 (print_version): Use PKGVERSION.
21349 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21350 (print_version): Use PKGVERSION.
21351 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21352 (print_version): Use PKGVERSION.
21353 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21354 (print_version): Use PKGVERSION.
21355 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21357 ($(objpfx)memusage): Likewise.
21358 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21359 (do_version): Use PKGVERSION.
21360 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21361 (print_version): Use PKGVERSION.
21362 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21363 ($PKGVERSION): New variable.
21364 ($REPORT_BUGS_TO): Likewise.
21365 (usage): Use $REPORT_BUGS_TO.
21366 (top level): Use $PKGVERSION.
21367 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21368 ($(objpfx)pkgvers.texi): New rule.
21369 ($(objpfx)stamp-pkgvers): Likewise.
21370 * manual/install.texi: Include pkgvers.texi.
21371 (--with-pkgversion): Document new configure option.
21372 (--with-bugurl): Likewise.
21373 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21374 than necessarily for this particular distribution. Use
21375 REPORT_BUGS_TO for where to report bugs.
21376 * INSTALL: Regenerated.
21377 * manual/libc.texinfo: Include pkgvers.texi.
21378 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21379 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21380 (print_version): Use PKGVERSION.
21381 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21382 (print_version): Use PKGVERSION.
21383 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21384 (print_version): Use PKGVERSION.
21385 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21386 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21388 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21389 (print_version): Use PKGVERSION.
21390 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21391 (print_version): Use PKGVERSION.
21392 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21395 * timezone/checktab.awk: Update from tzcode 2012i.
21396 * timezone/ialloc.c: Likewise.
21397 * timezone/private.h: Likewise.
21398 * timezone/scheck.c: Likewise.
21399 * timezone/tzfile.h: Likewise.
21400 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21401 (TZVERSION): Hardcode tzcode version number.
21402 * timezone/zdump.c: Update from tzcode 2012i.
21403 * timezone/zic.c: Likewise.
21404 * timezone/version.h: New file.
21405 * timezone/README: Describe version.h. Update upstream location.
21408 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21409 (mktemp): Enable declaration.
21410 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21427 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21428 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21429 for copies of such integer values.
21430 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21431 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21433 2012-11-09 Andreas Jaeger <aj@suse.de>
21435 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21436 definitions and declarations that are provided by
21437 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21439 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21441 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21442 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21443 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21446 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21448 * elf/elf.h: Update comment before AArch64 relocations.
21450 2012-11-07 David S. Miller <davem@davemloft.net>
21452 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21453 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21454 (__start_context): Declare.
21455 (__makecontext_ret): Delete.
21456 (__makecontext): Hook up __start_context instead of
21458 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21459 (sysdep_routines): Add __start_context when in stdlib.
21461 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21463 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21464 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21465 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21467 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21468 (READELF): New variable. Use it instead of hardcoded "readelf".
21470 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21472 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21473 * sysdeps/x86/Makefile: Here.
21474 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21475 * sysdeps/x86/tst-xmmymm.sh: This.
21477 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21479 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21481 [UNIX98] (pthread_barrier_t): Do not expect.
21482 [UNIX98] (pthread_barrierattr_t): Likewise.
21483 [UNIX98] (pthread_spinlock_t): Likewise.
21484 [UNIX98] (pthread_barrier_destroy): Likewise.
21485 [UNIX98] (pthread_barrier_init): Likewise.
21486 [UNIX98] (pthread_barrier_wait): Likewise.
21487 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21488 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21489 [UNIX98] (pthread_barrierattr_init): Likewise.
21490 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21491 [UNIX98] (pthread_getcpuclockid): Likewise.
21492 [UNIX98] (pthread_mutex_timedlock): Likewise.
21493 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21494 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21495 [UNIX98] (pthread_sigmask): Likewise.
21496 [UNIX98] (pthread_spin_destroy): Likewise.
21497 [UNIX98] (pthread_spin_init): Likewise.
21498 [UNIX98] (pthread_spin_lock): Likewise.
21499 [UNIX98] (pthread_spin_trylock): Likewise.
21500 [UNIX98] (pthread_spin_unlock): Likewise.
21501 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21503 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21504 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21505 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21506 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21507 [XPG3 || XPG4] (pthread_key_t): Likewise.
21508 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21509 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21510 [XPG3 || XPG4] (pthread_once_t): Likewise.
21511 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21512 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21513 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21514 [XPG3 || XPG4] (pthread_t): Likewise.
21516 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21518 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21520 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21521 Change function return type to int.
21523 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21524 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21525 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21526 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21527 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21528 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21529 [!POSIX] (posix_madvise): Likewise.
21530 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21532 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21533 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21534 (mode_t): Likewise.
21535 (posix_mem_offset): Likewise.
21536 (posix_typed_mem_get_info): Likewise.
21537 (posix_typed_mem_open): Likewise.
21539 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21540 Change condition to [XOPEN2K8].
21542 * conform/conformtest.pl: Preprocess allow-header data with -x c
21543 instead of from stdin.
21544 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21545 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21546 [C99-based standards] (cerfc): Likewise.
21547 [C99-based standards] (cexp2): Likewise.
21548 [C99-based standards] (cexpm1): Likewise.
21549 [C99-based standards] (clog10): Likewise.
21550 [C99-based standards] (clog1p): Likewise.
21551 [C99-based standards] (clog2): Likewise.
21552 [C99-based standards] (clgamma): Likewise.
21553 [C99-based standards] (ctgamma): Likewise.
21554 [C99-based standards] (cerff): Likewise.
21555 [C99-based standards] (cerfcf): Likewise.
21556 [C99-based standards] (cexp2f): Likewise.
21557 [C99-based standards] (cexpm1f): Likewise.
21558 [C99-based standards] (clog10f): Likewise.
21559 [C99-based standards] (clog1pf): Likewise.
21560 [C99-based standards] (clog2f): Likewise.
21561 [C99-based standards] (clgammaf): Likewise.
21562 [C99-based standards] (ctgammaf): Likewise.
21563 [C99-based standards] (cerfl): Likewise.
21564 [C99-based standards] (cerfcl): Likewise.
21565 [C99-based standards] (cexp2l): Likewise.
21566 [C99-based standards] (cexpm1l): Likewise.
21567 [C99-based standards] (clog10l): Likewise.
21568 [C99-based standards] (clog1pl): Likewise.
21569 [C99-based standards] (clog2l): Likewise.
21570 [C99-based standards] (clgammal): Likewise.
21571 [C99-based standards] (ctgammal): Likewise.
21572 * conform/data/inttypes.h-data [C99-based standards]: Include
21573 stdint.h-data. Remove all expectations for stdint.h contents.
21574 [C99-based standards] (PRI*): Do not allow.
21575 [C99-based standards] (SCN*): Likewise.
21576 [C99-based standards] (*_t): Likewise.
21577 [C99-based-standards] (PRId8): Expect macro.
21578 [C99-based-standards] (PRIi8): Likewise.
21579 [C99-based-standards] (PRIo8): Likewise.
21580 [C99-based-standards] (PRIu8): Likewise.
21581 [C99-based-standards] (PRIx8): Likewise.
21582 [C99-based-standards] (PRIX8): Likewise.
21583 [C99-based-standards] (SCNd8): Likewise.
21584 [C99-based-standards] (SCNi8): Likewise.
21585 [C99-based-standards] (SCNo8): Likewise.
21586 [C99-based-standards] (SCNu8): Likewise.
21587 [C99-based-standards] (SCNx8): Likewise.
21588 [C99-based-standards] (PRIdLEAST8): Likewise.
21589 [C99-based-standards] (PRIiLEAST8): Likewise.
21590 [C99-based-standards] (PRIoLEAST8): Likewise.
21591 [C99-based-standards] (PRIuLEAST8): Likewise.
21592 [C99-based-standards] (PRIxLEAST8): Likewise.
21593 [C99-based-standards] (PRIXLEAST8): Likewise.
21594 [C99-based-standards] (SCNdLEAST8): Likewise.
21595 [C99-based-standards] (SCNiLEAST8): Likewise.
21596 [C99-based-standards] (SCNoLEAST8): Likewise.
21597 [C99-based-standards] (SCNuLEAST8): Likewise.
21598 [C99-based-standards] (SCNxLEAST8): Likewise.
21599 [C99-based-standards] (PRIdFAST8): Likewise.
21600 [C99-based-standards] (PRIiFAST8): Likewise.
21601 [C99-based-standards] (PRIoFAST8): Likewise.
21602 [C99-based-standards] (PRIuFAST8): Likewise.
21603 [C99-based-standards] (PRIxFAST8): Likewise.
21604 [C99-based-standards] (PRIXFAST8): Likewise.
21605 [C99-based-standards] (SCNdFAST8): Likewise.
21606 [C99-based-standards] (SCNiFAST8): Likewise.
21607 [C99-based-standards] (SCNoFAST8): Likewise.
21608 [C99-based-standards] (SCNuFAST8): Likewise.
21609 [C99-based-standards] (SCNxFAST8): Likewise.
21610 [C99-based-standards] (PRId16): Likewise.
21611 [C99-based-standards] (PRIi16): Likewise.
21612 [C99-based-standards] (PRIo16): Likewise.
21613 [C99-based-standards] (PRIu16): Likewise.
21614 [C99-based-standards] (PRIx16): Likewise.
21615 [C99-based-standards] (PRIX16): Likewise.
21616 [C99-based-standards] (SCNd16): Likewise.
21617 [C99-based-standards] (SCNi16): Likewise.
21618 [C99-based-standards] (SCNo16): Likewise.
21619 [C99-based-standards] (SCNu16): Likewise.
21620 [C99-based-standards] (SCNx16): Likewise.
21621 [C99-based-standards] (PRIdLEAST16): Likewise.
21622 [C99-based-standards] (PRIiLEAST16): Likewise.
21623 [C99-based-standards] (PRIoLEAST16): Likewise.
21624 [C99-based-standards] (PRIuLEAST16): Likewise.
21625 [C99-based-standards] (PRIxLEAST16): Likewise.
21626 [C99-based-standards] (PRIXLEAST16): Likewise.
21627 [C99-based-standards] (SCNdLEAST16): Likewise.
21628 [C99-based-standards] (SCNiLEAST16): Likewise.
21629 [C99-based-standards] (SCNoLEAST16): Likewise.
21630 [C99-based-standards] (SCNuLEAST16): Likewise.
21631 [C99-based-standards] (SCNxLEAST16): Likewise.
21632 [C99-based-standards] (PRIdFAST16): Likewise.
21633 [C99-based-standards] (PRIiFAST16): Likewise.
21634 [C99-based-standards] (PRIoFAST16): Likewise.
21635 [C99-based-standards] (PRIuFAST16): Likewise.
21636 [C99-based-standards] (PRIxFAST16): Likewise.
21637 [C99-based-standards] (PRIXFAST16): Likewise.
21638 [C99-based-standards] (SCNdFAST16): Likewise.
21639 [C99-based-standards] (SCNiFAST16): Likewise.
21640 [C99-based-standards] (SCNoFAST16): Likewise.
21641 [C99-based-standards] (SCNuFAST16): Likewise.
21642 [C99-based-standards] (SCNxFAST16): Likewise.
21643 [C99-based-standards] (PRId32): Likewise.
21644 [C99-based-standards] (PRIi32): Likewise.
21645 [C99-based-standards] (PRIo32): Likewise.
21646 [C99-based-standards] (PRIu32): Likewise.
21647 [C99-based-standards] (PRIx32): Likewise.
21648 [C99-based-standards] (PRIX32): Likewise.
21649 [C99-based-standards] (SCNd32): Likewise.
21650 [C99-based-standards] (SCNi32): Likewise.
21651 [C99-based-standards] (SCNo32): Likewise.
21652 [C99-based-standards] (SCNu32): Likewise.
21653 [C99-based-standards] (SCNx32): Likewise.
21654 [C99-based-standards] (PRIdLEAST32): Likewise.
21655 [C99-based-standards] (PRIiLEAST32): Likewise.
21656 [C99-based-standards] (PRIoLEAST32): Likewise.
21657 [C99-based-standards] (PRIuLEAST32): Likewise.
21658 [C99-based-standards] (PRIxLEAST32): Likewise.
21659 [C99-based-standards] (PRIXLEAST32): Likewise.
21660 [C99-based-standards] (SCNdLEAST32): Likewise.
21661 [C99-based-standards] (SCNiLEAST32): Likewise.
21662 [C99-based-standards] (SCNoLEAST32): Likewise.
21663 [C99-based-standards] (SCNuLEAST32): Likewise.
21664 [C99-based-standards] (SCNxLEAST32): Likewise.
21665 [C99-based-standards] (PRIdFAST32): Likewise.
21666 [C99-based-standards] (PRIiFAST32): Likewise.
21667 [C99-based-standards] (PRIoFAST32): Likewise.
21668 [C99-based-standards] (PRIuFAST32): Likewise.
21669 [C99-based-standards] (PRIxFAST32): Likewise.
21670 [C99-based-standards] (PRIXFAST32): Likewise.
21671 [C99-based-standards] (SCNdFAST32): Likewise.
21672 [C99-based-standards] (SCNiFAST32): Likewise.
21673 [C99-based-standards] (SCNoFAST32): Likewise.
21674 [C99-based-standards] (SCNuFAST32): Likewise.
21675 [C99-based-standards] (SCNxFAST32): Likewise.
21676 [C99-based-standards] (PRId64): Likewise.
21677 [C99-based-standards] (PRIi64): Likewise.
21678 [C99-based-standards] (PRIo64): Likewise.
21679 [C99-based-standards] (PRIu64): Likewise.
21680 [C99-based-standards] (PRIx64): Likewise.
21681 [C99-based-standards] (PRIX64): Likewise.
21682 [C99-based-standards] (SCNd64): Likewise.
21683 [C99-based-standards] (SCNi64): Likewise.
21684 [C99-based-standards] (SCNo64): Likewise.
21685 [C99-based-standards] (SCNu64): Likewise.
21686 [C99-based-standards] (SCNx64): Likewise.
21687 [C99-based-standards] (PRIdLEAST64): Likewise.
21688 [C99-based-standards] (PRIiLEAST64): Likewise.
21689 [C99-based-standards] (PRIoLEAST64): Likewise.
21690 [C99-based-standards] (PRIuLEAST64): Likewise.
21691 [C99-based-standards] (PRIxLEAST64): Likewise.
21692 [C99-based-standards] (PRIXLEAST64): Likewise.
21693 [C99-based-standards] (SCNdLEAST64): Likewise.
21694 [C99-based-standards] (SCNiLEAST64): Likewise.
21695 [C99-based-standards] (SCNoLEAST64): Likewise.
21696 [C99-based-standards] (SCNuLEAST64): Likewise.
21697 [C99-based-standards] (SCNxLEAST64): Likewise.
21698 [C99-based-standards] (PRIdFAST64): Likewise.
21699 [C99-based-standards] (PRIiFAST64): Likewise.
21700 [C99-based-standards] (PRIoFAST64): Likewise.
21701 [C99-based-standards] (PRIuFAST64): Likewise.
21702 [C99-based-standards] (PRIxFAST64): Likewise.
21703 [C99-based-standards] (PRIXFAST64): Likewise.
21704 [C99-based-standards] (SCNdFAST64): Likewise.
21705 [C99-based-standards] (SCNiFAST64): Likewise.
21706 [C99-based-standards] (SCNoFAST64): Likewise.
21707 [C99-based-standards] (SCNuFAST64): Likewise.
21708 [C99-based-standards] (SCNxFAST64): Likewise.
21709 [C99-based-standards] (PRIdMAX): Likewise.
21710 [C99-based-standards] (PRIiMAX): Likewise.
21711 [C99-based-standards] (PRIoMAX): Likewise.
21712 [C99-based-standards] (PRIuMAX): Likewise.
21713 [C99-based-standards] (PRIxMAX): Likewise.
21714 [C99-based-standards] (PRIXMAX): Likewise.
21715 [C99-based-standards] (SCNdMAX): Likewise.
21716 [C99-based-standards] (SCNiMAX): Likewise.
21717 [C99-based-standards] (SCNoMAX): Likewise.
21718 [C99-based-standards] (SCNuMAX): Likewise.
21719 [C99-based-standards] (SCNxMAX): Likewise.
21720 [C99-based-standards] (PRIdPTR): Likewise.
21721 [C99-based-standards] (PRIiPTR): Likewise.
21722 [C99-based-standards] (PRIoPTR): Likewise.
21723 [C99-based-standards] (PRIuPTR): Likewise.
21724 [C99-based-standards] (PRIxPTR): Likewise.
21725 [C99-based-standards] (PRIXPTR): Likewise.
21726 [C99-based-standards] (SCNdPTR): Likewise.
21727 [C99-based-standards] (SCNiPTR): Likewise.
21728 [C99-based-standards] (SCNoPTR): Likewise.
21729 [C99-based-standards] (SCNuPTR): Likewise.
21730 [C99-based-standards] (SCNxPTR): Likewise.
21731 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21733 * conform/data/stdint.h-data: Update comments to clarify
21735 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21737 [C99-based standards] (INT8_MAX): Likewise.
21738 [C99-based standards] (INT16_MIN): Likewise.
21739 [C99-based standards] (INT16_MAX): Likewise.
21740 [C99-based standards] (INT32_MIN): Likewise.
21741 [C99-based standards] (INT32_MAX): Likewise.
21742 [C99-based standards] (INT64_MIN): Likewise.
21743 [C99-based standards] (INT64_MAX): Likewise.
21744 [C99-based standards] (UINT8_MAX): Likewise.
21745 [C99-based standards] (UINT16_MAX): Likewise.
21746 [C99-based standards] (UINT32_MAX): Likewise.
21747 [C99-based standards] (UINT64_MAX): Likewise.
21748 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21749 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21750 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21751 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21752 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21753 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21754 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21755 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21756 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21757 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21758 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21759 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21760 [C99-based standards] (INT_FAST8_MIN): Likewise.
21761 [C99-based standards] (INT_FAST8_MAX): Likewise.
21762 [C99-based standards] (INT_FAST16_MIN): Likewise.
21763 [C99-based standards] (INT_FAST16_MAX): Likewise.
21764 [C99-based standards] (INT_FAST32_MIN): Likewise.
21765 [C99-based standards] (INT_FAST32_MAX): Likewise.
21766 [C99-based standards] (INT_FAST64_MIN): Likewise.
21767 [C99-based standards] (INT_FAST64_MAX): Likewise.
21768 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21769 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21770 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21771 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21772 [C99-based standards] (INTPTR_MIN): Likewise.
21773 [C99-based standards] (INTPTR_MAX): Likewise.
21774 [C99-based standards] (UINTPTR_MAX): Likewise.
21775 [C99-based standards] (INTMAX_MIN): Likewise.
21776 [C99-based standards] (INTMAX_MAX): Likewise.
21777 [C99-based standards] (UINTMAX_MAX): Likewise.
21778 [C99-based standards] (PTRDIFF_MIN): Likewise.
21779 [C99-based standards] (PTRDIFF_MAX): Likewise.
21780 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21781 [C99-based standards] (SIZE_MAX): Likewise.
21782 [C99-based standards] (WCHAR_MAX): Likewise.
21783 [C99-based standards] (WINT_MAX): Likewise.
21784 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21785 constraint on value.
21786 [C99-based standards] (WCHAR_MIN): Likewise.
21787 [C99-based standards] (WINT_MIN): Likewise.
21788 [C99-based standards] (*_t): Allow.
21789 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21790 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21791 Include math.h-data and complex.h-data. Remove all expectations
21792 of math.h and complex.h contents.
21793 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21795 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21796 (struct tm): Expect tag.
21797 [C99-based-standards] (wcstof): Expect function.
21798 [C99-based-standards] (wcstold): Likewise.
21799 [C99-based-standards] (wcstoll): Likewise.
21800 [C99-based-standards] (wcstoull): Likewise.
21801 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21802 macro-int-constant. Specify type.
21803 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21804 constraint on value.
21805 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21807 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21809 [ISO C standards]: Do not allow headers.
21810 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21811 wcs[abcdefghijklmnopqrstuvwxyz]*.
21812 [ISO C standards] (*_t): Do not allow.
21813 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21815 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21816 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21818 [ISO C standards]: Do not allow headers.
21819 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21820 is[abcdefghijklmnopqrstuvwxyz]*.
21821 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21822 to[abcdefghijklmnopqrstuvwxyz]*.
21823 [ISO C standards] (*_t): Do not allow.
21824 * conform/data/stdalign.h-data: New file.
21825 * conform/data/stdbool.h-data: Likewise.
21826 * conform/data/stdnoreturn.h-data: Likewise.
21828 2012-11-07 Roland McGrath <roland@hack.frob.com>
21831 * manual/filesys.texi (Directory Entries): Typo fix.
21832 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21834 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21836 * elf/elf.h (EM_AARCH64): New macro.
21837 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21838 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21839 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21840 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21841 (R_AARCH64_TLSDESC): Likewise.
21842 (NT_ARM_TLS): Likewise.
21843 (NT_ARM_HW_BREAK): Likewise.
21844 (NT_ARM_HW_WATCH): Likewise.
21846 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21849 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21850 (__ieee754_powl): Saturate nonzero exponents with absolute value
21851 below 0x1p-79 to +/- 0x1p-79.
21852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21853 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21854 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21855 nonzero exponents with absolute value below 0x1p-32 to +/-
21857 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21858 (__ieee754_powl): Saturate nonzero exponents with absolute value
21859 below 0x1p-79 to +/- 0x1p-79.
21860 * math/libm-test.inc (pow_test): Add more tests.
21862 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21864 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21865 _dl_s390_cap_flags with kernel. Increase string length.
21866 (_dl_s390_platforms): Add z196 and zEC12.
21868 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21870 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21871 Change XOPEN21K to XOPEN2K.
21873 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21875 * string/memmove.c: Use memcpy when possible.
21877 2012-11-06 Andreas Jaeger <aj@suse.de>
21879 * po/eo.po: Update from translation team.
21881 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21885 exponent and small x and y exponents, scale x or y up. Increase
21886 by 2 the exponent used in scaling up.
21887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21888 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21889 * math/libm-test.inc (fma_test): Add more tests.
21890 (fma_test_towardzero): Likewise.
21891 (fma_test_downward): Likewise.
21892 (fma_test_upward): Likewise.
21894 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21897 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21901 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21902 namespace for names of struct fields.
21903 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21905 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21906 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21908 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21911 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21913 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21915 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21919 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21922 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21926 definitely overflow as x * y not x * y + z.
21927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21929 * math/libm-test.inc (fma_test): Add more tests.
21930 (fma_test_towardzero): Likewise.
21931 (fma_test_downward): Likewise.
21932 (fma_test_upward): Likewise.
21934 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21938 * include/stub-tag.h: Remove file.
21939 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21941 * manual/maint.texi (Porting): Don't reference it.
21942 * Makerules ($(objpfx)stubs): Likewise.
21943 * dirent/closedir.c: Don't include <stub-tag.h>.
21944 * dirent/dirfd.c: Likewise.
21945 * dirent/fdopendir.c: Likewise.
21946 * dirent/getdents.c: Likewise.
21947 * dirent/getdents64.c: Likewise.
21948 * dirent/opendir.c: Likewise.
21949 * dirent/readdir.c: Likewise.
21950 * dirent/readdir64.c: Likewise.
21951 * dirent/readdir64_r.c: Likewise.
21952 * dirent/readdir_r.c: Likewise.
21953 * dirent/rewinddir.c: Likewise.
21954 * dirent/seekdir.c: Likewise.
21955 * dirent/telldir.c: Likewise.
21956 * gmon/profil.c: Likewise.
21957 * grp/setgroups.c: Likewise.
21958 * inet/if_index.c: Likewise.
21959 * io/access.c: Likewise.
21960 * io/chdir.c: Likewise.
21961 * io/chmod.c: Likewise.
21962 * io/chown.c: Likewise.
21963 * io/close.c: Likewise.
21964 * io/dup.c: Likewise.
21965 * io/dup2.c: Likewise.
21966 * io/dup3.c: Likewise.
21967 * io/euidaccess.c: Likewise.
21968 * io/faccessat.c: Likewise.
21969 * io/fchdir.c: Likewise.
21970 * io/fchmod.c: Likewise.
21971 * io/fchmodat.c: Likewise.
21972 * io/fchown.c: Likewise.
21973 * io/fchownat.c: Likewise.
21974 * io/fcntl.c: Likewise.
21975 * io/flock.c: Likewise.
21976 * io/fstatfs.c: Likewise.
21977 * io/fstatfs64.c: Likewise.
21978 * io/fstatvfs.c: Likewise.
21979 * io/fstatvfs64.c: Likewise.
21980 * io/futimens.c: Likewise.
21981 * io/fxstat.c: Likewise.
21982 * io/fxstat64.c: Likewise.
21983 * io/fxstatat.c: Likewise.
21984 * io/fxstatat64.c: Likewise.
21985 * io/getcwd.c: Likewise.
21986 * io/isatty.c: Likewise.
21987 * io/lchmod.c: Likewise.
21988 * io/lchown.c: Likewise.
21989 * io/link.c: Likewise.
21990 * io/linkat.c: Likewise.
21991 * io/lseek.c: Likewise.
21992 * io/lseek64.c: Likewise.
21993 * io/lxstat64.c: Likewise.
21994 * io/mkdir.c: Likewise.
21995 * io/mkdirat.c: Likewise.
21996 * io/mkfifo.c: Likewise.
21997 * io/mkfifoat.c: Likewise.
21998 * io/open.c: Likewise.
21999 * io/open64.c: Likewise.
22000 * io/openat.c: Likewise.
22001 * io/openat64.c: Likewise.
22002 * io/pipe.c: Likewise.
22003 * io/pipe2.c: Likewise.
22004 * io/poll.c: Likewise.
22005 * io/posix_fadvise.c: Likewise.
22006 * io/posix_fadvise64.c: Likewise.
22007 * io/posix_fallocate.c: Likewise.
22008 * io/posix_fallocate64.c: Likewise.
22009 * io/read.c: Likewise.
22010 * io/readlink.c: Likewise.
22011 * io/readlinkat.c: Likewise.
22012 * io/rmdir.c: Likewise.
22013 * io/sendfile.c: Likewise.
22014 * io/sendfile64.c: Likewise.
22015 * io/statfs.c: Likewise.
22016 * io/statfs64.c: Likewise.
22017 * io/statvfs.c: Likewise.
22018 * io/statvfs64.c: Likewise.
22019 * io/symlink.c: Likewise.
22020 * io/symlinkat.c: Likewise.
22021 * io/ttyname.c: Likewise.
22022 * io/ttyname_r.c: Likewise.
22023 * io/umask.c: Likewise.
22024 * io/unlink.c: Likewise.
22025 * io/unlinkat.c: Likewise.
22026 * io/utime.c: Likewise.
22027 * io/utimensat.c: Likewise.
22028 * io/write.c: Likewise.
22029 * io/xmknod.c: Likewise.
22030 * io/xmknodat.c: Likewise.
22031 * io/xstat.c: Likewise.
22032 * io/xstat64.c: Likewise.
22033 * login/getpt.c: Likewise.
22034 * login/grantpt.c: Likewise.
22035 * login/unlockpt.c: Likewise.
22036 * math/e_acoshl.c: Likewise.
22037 * math/e_acosl.c: Likewise.
22038 * math/e_asinl.c: Likewise.
22039 * math/e_atan2l.c: Likewise.
22040 * math/e_atanhl.c: Likewise.
22041 * math/e_coshl.c: Likewise.
22042 * math/e_expl.c: Likewise.
22043 * math/e_fmodl.c: Likewise.
22044 * math/e_gammal_r.c: Likewise.
22045 * math/e_hypotl.c: Likewise.
22046 * math/e_j0l.c: Likewise.
22047 * math/e_j1l.c: Likewise.
22048 * math/e_jnl.c: Likewise.
22049 * math/e_lgammal_r.c: Likewise.
22050 * math/e_log10l.c: Likewise.
22051 * math/e_log2l.c: Likewise.
22052 * math/e_logl.c: Likewise.
22053 * math/e_powl.c: Likewise.
22054 * math/e_rem_pio2l.c: Likewise.
22055 * math/e_sinhl.c: Likewise.
22056 * math/e_sqrtl.c: Likewise.
22057 * math/fclrexcpt.c: Likewise.
22058 * math/fedisblxcpt.c: Likewise.
22059 * math/feenablxcpt.c: Likewise.
22060 * math/fegetenv.c: Likewise.
22061 * math/fegetexcept.c: Likewise.
22062 * math/fegetround.c: Likewise.
22063 * math/feholdexcpt.c: Likewise.
22064 * math/fesetenv.c: Likewise.
22065 * math/fesetround.c: Likewise.
22066 * math/feupdateenv.c: Likewise.
22067 * math/fgetexcptflg.c: Likewise.
22068 * math/fraiseexcpt.c: Likewise.
22069 * math/fsetexcptflg.c: Likewise.
22070 * math/ftestexcept.c: Likewise.
22071 * math/k_cosl.c: Likewise.
22072 * math/k_rem_pio2l.c: Likewise.
22073 * math/k_sinl.c: Likewise.
22074 * math/k_tanl.c: Likewise.
22075 * math/s_asinhl.c: Likewise.
22076 * math/s_atanl.c: Likewise.
22077 * math/s_cbrtl.c: Likewise.
22078 * math/s_erfl.c: Likewise.
22079 * math/s_expm1l.c: Likewise.
22080 * math/s_log1pl.c: Likewise.
22081 * math/s_tanhl.c: Likewise.
22082 * misc/acct.c: Likewise.
22083 * misc/brk.c: Likewise.
22084 * misc/chflags.c: Likewise.
22085 * misc/chroot.c: Likewise.
22086 * misc/fchflags.c: Likewise.
22087 * misc/fgetxattr.c: Likewise.
22088 * misc/flistxattr.c: Likewise.
22089 * misc/fremovexattr.c: Likewise.
22090 * misc/fsetxattr.c: Likewise.
22091 * misc/fsync.c: Likewise.
22092 * misc/ftruncate.c: Likewise.
22093 * misc/futimes.c: Likewise.
22094 * misc/futimesat.c: Likewise.
22095 * misc/getdomain.c: Likewise.
22096 * misc/getdtsz.c: Likewise.
22097 * misc/gethostid.c: Likewise.
22098 * misc/gethostname.c: Likewise.
22099 * misc/getloadavg.c: Likewise.
22100 * misc/getpagesize.c: Likewise.
22101 * misc/getsysstats.c: Likewise.
22102 * misc/getxattr.c: Likewise.
22103 * misc/gtty.c: Likewise.
22104 * misc/ioctl.c: Likewise.
22105 * misc/lgetxattr.c: Likewise.
22106 * misc/listxattr.c: Likewise.
22107 * misc/llistxattr.c: Likewise.
22108 * misc/lremovexattr.c: Likewise.
22109 * misc/lsetxattr.c: Likewise.
22110 * misc/lutimes.c: Likewise.
22111 * misc/madvise.c: Likewise.
22112 * misc/mincore.c: Likewise.
22113 * misc/mlock.c: Likewise.
22114 * misc/mlockall.c: Likewise.
22115 * misc/mmap.c: Likewise.
22116 * misc/mprotect.c: Likewise.
22117 * misc/msync.c: Likewise.
22118 * misc/munlock.c: Likewise.
22119 * misc/munlockall.c: Likewise.
22120 * misc/munmap.c: Likewise.
22121 * misc/preadv.c: Likewise.
22122 * misc/preadv64.c: Likewise.
22123 * misc/ptrace.c: Likewise.
22124 * misc/pwritev.c: Likewise.
22125 * misc/pwritev64.c: Likewise.
22126 * misc/readv.c: Likewise.
22127 * misc/reboot.c: Likewise.
22128 * misc/remap_file_pages.c: Likewise.
22129 * misc/removexattr.c: Likewise.
22130 * misc/revoke.c: Likewise.
22131 * misc/select.c: Likewise.
22132 * misc/setdomain.c: Likewise.
22133 * misc/setegid.c: Likewise.
22134 * misc/seteuid.c: Likewise.
22135 * misc/sethostid.c: Likewise.
22136 * misc/sethostname.c: Likewise.
22137 * misc/setregid.c: Likewise.
22138 * misc/setreuid.c: Likewise.
22139 * misc/setxattr.c: Likewise.
22140 * misc/sstk.c: Likewise.
22141 * misc/stty.c: Likewise.
22142 * misc/swapoff.c: Likewise.
22143 * misc/swapon.c: Likewise.
22144 * misc/sync.c: Likewise.
22145 * misc/syncfs.c: Likewise.
22146 * misc/syscall.c: Likewise.
22147 * misc/truncate.c: Likewise.
22148 * misc/ualarm.c: Likewise.
22149 * misc/usleep.c: Likewise.
22150 * misc/ustat.c: Likewise.
22151 * misc/utimes.c: Likewise.
22152 * misc/vhangup.c: Likewise.
22153 * misc/writev.c: Likewise.
22154 * posix/_exit.c: Likewise.
22155 * posix/alarm.c: Likewise.
22156 * posix/execve.c: Likewise.
22157 * posix/fexecve.c: Likewise.
22158 * posix/fork.c: Likewise.
22159 * posix/fpathconf.c: Likewise.
22160 * posix/getaddrinfo.c: Likewise.
22161 * posix/getegid.c: Likewise.
22162 * posix/geteuid.c: Likewise.
22163 * posix/getgid.c: Likewise.
22164 * posix/getgroups.c: Likewise.
22165 * posix/getlogin.c: Likewise.
22166 * posix/getlogin_r.c: Likewise.
22167 * posix/getpgid.c: Likewise.
22168 * posix/getpid.c: Likewise.
22169 * posix/getppid.c: Likewise.
22170 * posix/getresgid.c: Likewise.
22171 * posix/getresuid.c: Likewise.
22172 * posix/getsid.c: Likewise.
22173 * posix/getuid.c: Likewise.
22174 * posix/glob64.c: Likewise.
22175 * posix/nanosleep.c: Likewise.
22176 * posix/pathconf.c: Likewise.
22177 * posix/pause.c: Likewise.
22178 * posix/posix_madvise.c: Likewise.
22179 * posix/pread.c: Likewise.
22180 * posix/pread64.c: Likewise.
22181 * posix/pwrite.c: Likewise.
22182 * posix/pwrite64.c: Likewise.
22183 * posix/sched_getaffinity.c: Likewise.
22184 * posix/sched_getp.c: Likewise.
22185 * posix/sched_gets.c: Likewise.
22186 * posix/sched_primax.c: Likewise.
22187 * posix/sched_primin.c: Likewise.
22188 * posix/sched_rr_gi.c: Likewise.
22189 * posix/sched_setaffinity.c: Likewise.
22190 * posix/sched_setp.c: Likewise.
22191 * posix/sched_sets.c: Likewise.
22192 * posix/sched_yield.c: Likewise.
22193 * posix/setgid.c: Likewise.
22194 * posix/setlogin.c: Likewise.
22195 * posix/setpgid.c: Likewise.
22196 * posix/setresgid.c: Likewise.
22197 * posix/setresuid.c: Likewise.
22198 * posix/setsid.c: Likewise.
22199 * posix/setuid.c: Likewise.
22200 * posix/sleep.c: Likewise.
22201 * posix/spawni.c: Likewise.
22202 * posix/sysconf.c: Likewise.
22203 * posix/times.c: Likewise.
22204 * posix/wait.c: Likewise.
22205 * posix/wait3.c: Likewise.
22206 * posix/wait4.c: Likewise.
22207 * posix/waitpid.c: Likewise.
22208 * resolv/gai_sigqueue.c: Likewise.
22209 * resource/getpriority.c: Likewise.
22210 * resource/getrlimit.c: Likewise.
22211 * resource/getrusage.c: Likewise.
22212 * resource/nice.c: Likewise.
22213 * resource/setpriority.c: Likewise.
22214 * resource/setrlimit.c: Likewise.
22215 * resource/ulimit.c: Likewise.
22216 * rt/aio_cancel.c: Likewise.
22217 * rt/aio_fsync.c: Likewise.
22218 * rt/aio_read.c: Likewise.
22219 * rt/aio_sigqueue.c: Likewise.
22220 * rt/aio_suspend.c: Likewise.
22221 * rt/aio_write.c: Likewise.
22222 * rt/clock_getres.c: Likewise.
22223 * rt/clock_gettime.c: Likewise.
22224 * rt/clock_nanosleep.c: Likewise.
22225 * rt/clock_settime.c: Likewise.
22226 * rt/lio_listio.c: Likewise.
22227 * rt/mq_close.c: Likewise.
22228 * rt/mq_getattr.c: Likewise.
22229 * rt/mq_notify.c: Likewise.
22230 * rt/mq_open.c: Likewise.
22231 * rt/mq_receive.c: Likewise.
22232 * rt/mq_send.c: Likewise.
22233 * rt/mq_setattr.c: Likewise.
22234 * rt/mq_timedreceive.c: Likewise.
22235 * rt/mq_timedsend.c: Likewise.
22236 * rt/mq_unlink.c: Likewise.
22237 * rt/shm_open.c: Likewise.
22238 * rt/shm_unlink.c: Likewise.
22239 * rt/timer_create.c: Likewise.
22240 * rt/timer_delete.c: Likewise.
22241 * rt/timer_getoverr.c: Likewise.
22242 * rt/timer_gettime.c: Likewise.
22243 * rt/timer_settime.c: Likewise.
22244 * setjmp/__longjmp.c: Likewise.
22245 * setjmp/setjmp.c: Likewise.
22246 * signal/kill.c: Likewise.
22247 * signal/killpg.c: Likewise.
22248 * signal/raise.c: Likewise.
22249 * signal/sigaction.c: Likewise.
22250 * signal/sigaltstack.c: Likewise.
22251 * signal/sigblock.c: Likewise.
22252 * signal/sigignore.c: Likewise.
22253 * signal/sigintr.c: Likewise.
22254 * signal/signal.c: Likewise.
22255 * signal/sigpause.c: Likewise.
22256 * signal/sigpending.c: Likewise.
22257 * signal/sigqueue.c: Likewise.
22258 * signal/sigreturn.c: Likewise.
22259 * signal/sigset.c: Likewise.
22260 * signal/sigsetmask.c: Likewise.
22261 * signal/sigstack.c: Likewise.
22262 * signal/sigsuspend.c: Likewise.
22263 * signal/sigtimedwait.c: Likewise.
22264 * signal/sigvec.c: Likewise.
22265 * signal/sigwait.c: Likewise.
22266 * signal/sigwaitinfo.c: Likewise.
22267 * signal/sysv_signal.c: Likewise.
22268 * socket/accept.c: Likewise.
22269 * socket/accept4.c: Likewise.
22270 * socket/bind.c: Likewise.
22271 * socket/connect.c: Likewise.
22272 * socket/getpeername.c: Likewise.
22273 * socket/getsockname.c: Likewise.
22274 * socket/getsockopt.c: Likewise.
22275 * socket/isfdtype.c: Likewise.
22276 * socket/listen.c: Likewise.
22277 * socket/recv.c: Likewise.
22278 * socket/recvfrom.c: Likewise.
22279 * socket/recvmsg.c: Likewise.
22280 * socket/send.c: Likewise.
22281 * socket/sendmsg.c: Likewise.
22282 * socket/sendto.c: Likewise.
22283 * socket/setsockopt.c: Likewise.
22284 * socket/shutdown.c: Likewise.
22285 * socket/sockatmark.c: Likewise.
22286 * socket/socket.c: Likewise.
22287 * socket/socketpair.c: Likewise.
22288 * stdio-common/ctermid.c: Likewise.
22289 * stdio-common/cuserid.c: Likewise.
22290 * stdio-common/remove.c: Likewise.
22291 * stdio-common/rename.c: Likewise.
22292 * stdio-common/renameat.c: Likewise.
22293 * stdio-common/tempname.c: Likewise.
22294 * stdlib/getcontext.c: Likewise.
22295 * stdlib/makecontext.c: Likewise.
22296 * stdlib/setcontext.c: Likewise.
22297 * stdlib/swapcontext.c: Likewise.
22298 * stdlib/system.c: Likewise.
22299 * streams/fattach.c: Likewise.
22300 * streams/fdetach.c: Likewise.
22301 * streams/getmsg.c: Likewise.
22302 * streams/getpmsg.c: Likewise.
22303 * streams/putmsg.c: Likewise.
22304 * streams/putpmsg.c: Likewise.
22305 * sysdeps/unix/bsd/getpt.c: Likewise.
22306 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22307 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22308 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22311 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22312 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22313 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22314 * sysvipc/msgctl.c: Likewise.
22315 * sysvipc/msgget.c: Likewise.
22316 * sysvipc/msgrcv.c: Likewise.
22317 * sysvipc/msgsnd.c: Likewise.
22318 * sysvipc/semctl.c: Likewise.
22319 * sysvipc/semget.c: Likewise.
22320 * sysvipc/semop.c: Likewise.
22321 * sysvipc/semtimedop.c: Likewise.
22322 * sysvipc/shmat.c: Likewise.
22323 * sysvipc/shmctl.c: Likewise.
22324 * sysvipc/shmdt.c: Likewise.
22325 * sysvipc/shmget.c: Likewise.
22326 * termios/tcdrain.c: Likewise.
22327 * termios/tcflow.c: Likewise.
22328 * termios/tcflush.c: Likewise.
22329 * termios/tcgetattr.c: Likewise.
22330 * termios/tcgetpgrp.c: Likewise.
22331 * termios/tcsendbrk.c: Likewise.
22332 * termios/tcsetattr.c: Likewise.
22333 * termios/tcsetpgrp.c: Likewise.
22334 * time/adjtime.c: Likewise.
22335 * time/clock.c: Likewise.
22336 * time/getitimer.c: Likewise.
22337 * time/gettimeofday.c: Likewise.
22338 * time/setitimer.c: Likewise.
22339 * time/settimeofday.c: Likewise.
22340 * time/stime.c: Likewise.
22341 * time/time.c: Likewise.
22343 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22345 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22348 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22350 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22352 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22356 FE_TONEAREST before applying Dekker multiplication and Knuth
22357 addition. Clear inexact exceptions and check for exact zero
22358 results afterwards.
22359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22360 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22361 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22362 * math/libm-test.inc (fma_test): Add more tests.
22363 (fma_test_towardzero): Likewise.
22364 (fma_test_downward): Likewise.
22365 (fma_test_upward): Likewise.
22366 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22368 (libc_fesetround): New macro.
22369 (libc_fesetroundf): Likewise.
22370 (libc_fesetroundl): Likewise.
22371 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22373 (libc_fesetround_387): Likewise.
22374 (libc_fesetroundf): New macro.
22375 (libc_fesetround): Likewise.
22376 (libc_fesetroundl): Likewise.
22377 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22379 (libc_fesetroundf): New macro.
22380 (libc_fesetround): Likewise.
22381 (libc_fesetroundl): Likewise.
22382 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22383 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22384 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22386 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22387 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22389 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22390 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22392 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22396 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22397 integer constant usable in #if and use that to give value to enum
22399 (FE_DIVBYZERO): Likewise.
22400 (FE_UNDERFLOW): Likewise.
22401 (FE_OVERFLOW): Likewise.
22402 (FE_INVALID): Likewise.
22403 (FE_INVALID_SNAN): Likewise.
22404 (FE_INVALID_ISI): Likewise.
22405 (FE_INVALID_IDI): Likewise.
22406 (FE_INVALID_ZDZ): Likewise.
22407 (FE_INVALID_IMZ): Likewise.
22408 (FE_INVALID_COMPARE): Likewise.
22409 (FE_INVALID_SOFTWARE): Likewise.
22410 (FE_INVALID_SQRT): Likewise.
22411 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22412 (FE_TONEAREST): Likewise.
22413 (FE_TOWARDZERO): Likewise.
22414 (FE_UPWARD): Likewise.
22415 (FE_DOWNWARD): Likewise.
22416 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22417 (FE_DIVBYZERO): Likewise.
22418 (FE_OVERFLOW): Likewise.
22419 (FE_UNDERFLOW): Likewise.
22420 (FE_INEXACT): Likewise.
22421 (FE_TONEAREST): Likewise.
22422 (FE_DOWNWARD): Likewise.
22423 (FE_UPWARD): Likewise.
22424 (FE_TOWARDZERO): Likewise.
22425 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22426 (FE_UNDERFLOW): Likewise.
22427 (FE_OVERFLOW): Likewise.
22428 (FE_DIVBYZERO): Likewise.
22429 (FE_INVALID): Likewise.
22430 (FE_TONEAREST): Likewise.
22431 (FE_TOWARDZERO): Likewise.
22432 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22433 (FE_OVERFLOW): Likewise.
22434 (FE_UNDERFLOW): Likewise.
22435 (FE_DIVBYZERO): Likewise.
22436 (FE_INEXACT): Likewise.
22437 (FE_TONEAREST): Likewise.
22438 (FE_TOWARDZERO): Likewise.
22439 (FE_UPWARD): Likewise.
22440 (FE_DOWNWARD): Likewise.
22441 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22442 (FE_DIVBYZERO): Likewise.
22443 (FE_OVERFLOW): Likewise.
22444 (FE_UNDERFLOW): Likewise.
22445 (FE_INEXACT): Likewise.
22446 (FE_TONEAREST): Likewise.
22447 (FE_DOWNWARD): Likewise.
22448 (FE_UPWARD): Likewise.
22449 (FE_TOWARDZERO): Likewise.
22451 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22453 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22455 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22457 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22458 commands. Quote $PWD.
22459 (blacklist_exports): Don't use remove_newlines. Replace "declare
22461 (remove_newlines): Remove.
22463 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22465 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22466 * stdlib/stdlib.h (atof): Moved to ...
22467 * include/bits/stdlib-float.h: Here. New file.
22468 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22469 * stdlib/bits/stdlib-float.h: New file.
22470 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22472 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22475 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22477 * conform/conformtest.pl (@headers): Add fenv.h.
22478 * conform/data/fenv.h-data: New file.
22479 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22480 include of <math/fenv.h>.
22482 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22483 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22484 && !UNIX98]. Enables tests for XOPEN2K8.
22485 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22486 POSIX2008]: Likewise.
22488 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22489 (struct rusage): Do not expect type or its members.
22492 * math/math.h (FP_NAN): Define macro to integer constant usable in
22493 #if and use that to give value to enum constant.
22494 (FP_INFINITE): Likewise.
22495 (FP_ZERO): Likewise.
22496 (FP_SUBNORMAL): Likewise.
22497 (FP_NORMAL): Likewise.
22499 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22501 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22502 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22505 2012-11-02 Roland McGrath <roland@hack.frob.com>
22507 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22508 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22509 autoconf-time if not.
22510 * configure.in: Remove AC_PREREQ.
22512 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22514 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22515 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22516 of the internal implementation.
22518 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22520 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22521 except include of <misc/sys/syslog.h>.
22523 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22526 function returns with a NULL context exit with zero.
22528 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22530 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22532 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22534 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22535 (run_program_cmd): This.
22536 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22537 (tst_langinfo): New variable. Use it.
22539 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22541 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22542 floating point opcodes.
22544 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22546 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22549 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22551 * sysdeps/mach/hurd/powerpc: Remove directory.
22552 * sysdeps/mach/powerpc: Likewise.
22554 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22556 * scripts/check-local-headers.sh: Ignore c++ headers.
22558 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22560 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22561 __libc_cleanup_region_start argument.
22563 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22568 x * y using scaling, not as x * y + z.
22569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22570 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22571 * math/libm-test.inc (fma_test): Add more tests.
22572 (fma_test_towardzero): Likewise.
22573 (fma_test_downward): Likewise.
22574 (fma_test_upward): Likewise.
22576 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22578 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22580 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22582 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22585 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22587 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22589 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22596 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22599 Fix the order of the list for glibc 2.17.
22600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22603 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22607 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22610 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22611 for low part of x being zero before using __atanl (y).
22612 * math/libm-test.inc (atan2_test): Add another test.
22614 * manual/install.texi (Configuring and compiling): Document
22615 general use of test-wrapper and test-wrapper-env.
22616 * INSTALL: Regenerated.
22618 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22619 (__fma): Do not extract and scale down low bits on after-rounding
22620 systems when result rounded to normal precision would have normal
22622 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22623 (__fmal): Do not extract and scale down low bits on after-rounding
22624 systems when result rounded to normal precision would have normal
22626 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22627 (__fmal): Do not extract and scale down low bits on after-rounding
22628 systems when result rounded to normal precision would have normal
22630 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22632 (fma_test): Add more tests.
22633 (fma_test_towardzero): Likewise.
22634 (fma_test_downward): Likewise.
22635 (fma_test_upward): Likewise.
22637 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22639 * sysdeps/i386/tininess.h: Renamed to ...
22640 * sysdeps/x86/tininess.h: This.
22641 * sysdeps/x86_64/tininess.h: Removed.
22643 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22645 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22646 input. Use $(build-program-cmd).
22647 ($(objpfx)tst-array1-static.out): Likewise.
22648 ($(objpfx)tst-array2.out): Likewise.
22649 ($(objpfx)tst-array3.out): Likewise.
22650 ($(objpfx)tst-array4.out): Likewise.
22651 ($(objpfx)tst-array5.out): Likewise.
22652 ($(objpfx)tst-array5-static.out): Likewise.
22654 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22656 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22659 * nss/nsswitch.h (nss_interface_function): Provide new
22660 macro for use with NSS functions.
22661 * grp/initgroups.c: Use new macro.
22662 * nss/getXXbyYY.c: Likewise.
22663 * nss/getXXbyYY_r.c: Likewise.
22664 * nss/getXXent.c: Likewise.
22665 * nss/getXXent_r.c: Likewise.
22666 * sysdeps/posix/getaddrinfo.c: Likewise.
22668 2012-10-30 Andreas Jaeger <aj@suse.de>
22670 * po/ru.po: Update Russion translation from translation project.
22672 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22677 result and shift together with sticky bit instead of replicating
22678 round-to-nearest rounding.
22679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22680 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22681 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22682 missing underflow exceptions.
22683 (fma_test_towardzero): Add more tests.
22684 (fma_test_downward): Likewise.
22685 (fma_test_upward): Likewise.
22688 * sysdeps/generic/tininess.h: New file.
22689 * sysdeps/i386/tininess.h: Likewise.
22690 * sysdeps/sh/tininess.h: Likewise.
22691 * sysdeps/x86_64/tininess.h: Likewise.
22692 * stdlib/tst-strtod-underflow.c: Likewise.
22693 * stdlib/tst-tininess.c: Likewise.
22694 * stdlib/strtod_l.c: Include <tininess.h>.
22695 (round_and_return): Do not set errno for exact underflow cases.
22696 Force an underflow exception when setting errno for underflow.
22697 Determine underflow based on rounding to normal precision if
22698 TININESS_AFTER_ROUNDING.
22699 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22700 ERANGE for exact underflow cases.
22701 * stdlib/Makefile (tests): Add tst-tininess and
22702 tst-strtod-underflow.
22703 ($(objpfx)tst-tininess): Use $(link-libm).
22704 ($(objpfx)tst-strtod-underflow): Likewise.
22706 2012-10-30 Andreas Jaeger <aj@suse.de>
22709 * elf/Makefile (tests): Remove conditional for have-initfini-array
22710 since this is now always required and the variable does not exist
22712 (tests-static): Likewise.
22713 (modules-names): Likewise.
22715 * po/eo.po: Add Esperanto translation from translation project.
22717 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22718 merged with constructor/destructor.
22719 (init_array): Likewise.
22720 * elf/tst-array2dep.c (fini_array): Likewise.
22721 (init_array): Likewise.
22723 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22725 * manual/message.texi: Delete @cartouche tags.
22727 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22729 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22731 * sysdeps/mach/hurd/fsync.c: Likewise.
22733 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22734 [_POSIX_REALTIME_SIGNALS]: Change condition to
22735 [_POSIX_REALTIME_SIGNALS > 0].
22737 2012-10-27 Andreas Jaeger <aj@suse.de>
22739 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22740 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22742 [__WORDSIZE != 64]: Likewise.
22744 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22746 * iconvdata/tst-table.sh: Remove ${SHELL}.
22747 * iconvdata/tst-tables.sh: Likewise.
22749 2012-10-25 David S. Miller <davem@davemloft.net>
22751 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22752 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22757 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22758 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22759 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22762 2012-10-25 Roland McGrath <roland@hack.frob.com>
22764 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22765 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22768 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22769 Jim Blandy <jimb@codesourcery.com>
22771 * scripts/cross-test-ssh.sh: New file.
22772 * manual/install.texi (Configuring and compiling): Document use of
22774 * INSTALL: Regenerated.
22776 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22778 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22781 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22783 * Makeconfig (run-program-prefix): Fix comment.
22785 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22786 Jim Blandy <jimb@codesourcery.com>
22788 * Makeconfig (test-wrapper): New variable,
22789 (test-wrapper-env): Likewise.
22790 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22791 (run-built-tests): Define to yes.
22792 (run-program-prefix): Use $(test-wrapper).
22793 (built-program-cmd): Likewise.
22794 * Rules (make-test-out): Use $(test-wrapper-env) and
22795 $(host-built-program-cmd).
22796 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22797 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22799 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22800 $(test-wrapper-env) to tst-rtld-load-self.sh.
22801 ($(objpfx)order2.out): Use $(test-wrapper).
22802 ($(objpfx)tst-initorder.out): Likewise.
22803 ($(objpfx)tst-initorder2.out): Likewise.
22804 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22805 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22806 (test_wrapper_env): New variable. Use it to run ld.so.
22807 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22808 Use it to run ld.so.
22809 (test_wrapper_env): Likewise.
22810 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22811 $(test-wrapper) to run-iconv-test.sh.
22812 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22813 (ICONV): Use $test_wrapper.
22814 * posix/Makefile ($(objpfx)globtest.out): Pass
22815 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22816 globtest.sh, not $(run-program-prefix).
22817 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22818 (test_wrapper): Likewise.
22819 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22820 set together with run_via_rtld_prefix.
22821 (run_program_prefix): Define in terms of test_wrapper and
22822 run_via_rtld_prefix.
22824 2012-10-24 Roland McGrath <roland@hack.frob.com>
22826 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22827 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22831 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22832 Declare __clock_getres, __clock_gettime, __clock_settime,
22833 __clock_nanosleep, and __clock_getcpuclockid.
22834 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22835 Remove librt_hidden_def (clock_gettime).
22836 * sysdeps/unix/clock_gettime.c: Likewise.
22837 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22838 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22839 * rt/clock_getres.c: Define __clock_getres as an alias.
22840 * sysdeps/posix/clock_getres.c: Likewise.
22841 * rt/clock_settime.c: Define __clock_settime as an alias.
22842 * sysdeps/unix/clock_settime.c: Likewise.
22843 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22844 * sysdeps/unix/clock_nanosleep.c: Likewise.
22845 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22846 * rt/clock-compat.c: New file.
22847 * rt/Makefile (librt-routines): Add clock-compat and move
22848 $(clock-routines) to ...
22849 (routines): ... here, new variable.
22850 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22851 Don't add get_clockfreq here.
22852 * rt/Versions (libc: GLIBC_2.17): New version set.
22853 Add clock_* symbols here.
22854 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22855 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22856 (GLIBC_2.17): Add clock_* symbols.
22857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22868 * NEWS: Mention the move.
22870 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22871 Use __open, __read, __close rather than their public counterparts.
22872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22873 (__get_clockfreq_via_cpuinfo): Likewise.
22874 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22875 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22877 * config.h.in (HAVE_IFUNC): New #undef.
22878 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22880 * configure: Regenerated.
22882 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22884 * configure.in: Move READELF check to start of file.
22885 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22886 libc_cv_asm_gnu_indirect_function in the process.
22887 * configure: Regenerated.
22889 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22891 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22892 send the output to /dev/null.
22893 (libc_cv_cc_with_libunwind): Likewise.
22894 (libc_cv_as_noexecstack): Likewise.
22895 * configure: Regenerate.
22897 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22899 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22901 * posix/globtest.sh (TMPDIR): Do not set.
22902 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22903 (testout): Likewise.
22905 2012-10-24 Andreas Jaeger <aj@suse.de>
22907 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22908 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22909 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22910 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22911 posix_fadvise64, posix_fallocate64.
22913 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22914 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22915 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22917 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22919 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22922 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22923 <bits/fcntl-linux.h>.
22924 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22927 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22928 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22929 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22930 [__WORDSIZE != 64]: Likewise.
22932 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22934 * Makeconfig (run-built-tests): New variable.
22935 * Rules [$(cross-compiling) = yes]: Change condition to
22936 [$(run-built-tests) = no].
22937 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22938 to [$(run-built-tests) = yes].
22939 * elf/Makefile [$(cross-compiling) = no]: Likewise
22940 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22941 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22942 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22943 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22944 * io/Makefile [$(cross-compiling) = no]: Likewise.
22945 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22946 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22947 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22948 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22949 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22950 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22951 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22952 * string/Makefile [$(cross-compiling) = no]: Likewise.
22954 * posix/Makefile ($(objpfx)globtest.out): Pass
22955 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22956 $(rtld-installed-name).
22957 * posix/globtest.sh (elf_objpfx): Remove variable.
22958 (rtld_installed_name): Likewise.
22959 (library_path): Likewise.
22960 (run_program_prefix): New variable. Use for running globtest
22963 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22964 Joseph Myers <joseph@codesourcery.com>
22966 * Makeconfig (host-built-program-cmd): New variable.
22967 * elf/Makefile (tst-stackguard1-ARGS): Use
22968 $(host-built-program-cmd).
22969 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22970 (tst-spawn-ARGS): Likewise.
22971 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22973 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22974 Jim Blandy <jimb@codesourcery.com>
22976 * Makeconfig (run-via-rtld-prefix): New variable.
22977 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22978 (built-program-cmd): Likewise.
22980 2012-10-22 Andreas Jaeger <aj@suse.de>
22982 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22983 __O_RSYNC if it exists, otherwise to O_SYNC.
22985 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22986 Joseph Myers <joseph@codesourcery.com>
22988 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22990 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22992 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22995 2012-10-22 Andreas Jaeger <aj@suse.de>
22997 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23002 bits/fcntl-linux.h.
23004 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23005 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23012 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23013 Joseph Myers <joseph@codesourcery.com>
23015 * config.make.in (NM): New variable.
23017 2012-10-21 Andreas Jaeger <aj@suse.de>
23019 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23020 definitions and declarations that are provided by
23021 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23023 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23026 * elf/Makefile (tests-static): Add tst-leaks1-static.
23027 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23028 ($(objpfx)tst-leaks1-static): New rule.
23029 ($(objpfx)tst-leaks1-static-mem): Likewise.
23030 (tst-leaks1-static-ENV): New macro.
23031 * elf/dl-open.c (dl_open_worker): Check the main application
23032 only if SHARED is defined.
23033 * elf/tst-leaks1-static.c: New file.
23035 2012-10-20 Andreas Jaeger <aj@suse.de>
23037 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23038 generic values for Linux.
23039 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23040 and declarations that are provided by <bits/fcntl-linux.h> and
23041 include <bits/fcntl-linux.h>.
23042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23045 2012-10-20 Roland McGrath <roland@hack.frob.com>
23047 * io/fcntl.h: Move include of <bits/types.h> to the top and
23048 include it unconditionally.
23050 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23052 * wcsmbs/Makefile (tests-ifunc): New variable.
23053 (tests): Add $(tests-ifunc).
23054 * wcsmbs/test-wcschr-ifunc.c: New file.
23055 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23056 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23057 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23058 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23059 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23061 * string/Makefile (tests-ifunc): New variable.
23062 (tests): Add $(tests-ifunc).
23063 * string/test-memccpy.c (TEST_NAME): New macro.
23064 * string/test-memchr.c (TEST_NAME): Likewise.
23065 * string/test-memcmp.c (TEST_NAME): Likewise.
23066 * string/test-memcpy.c (TEST_NAME): Likewise.
23067 * string/test-memmem.c (TEST_NAME): Likewise.
23068 * string/test-memmove.c (TEST_NAME): Likewise.
23069 * string/test-memset.c (TEST_NAME): Likewise.
23070 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23071 * string/test-stpcpy.c (TEST_NAME): Likewise.
23072 * string/test-stpncpy.c (TEST_NAME): Likewise.
23073 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23074 * string/test-strcasestr.c (TEST_NAME): Likewise.
23075 * string/test-strcat.c (TEST_NAME): Likewise.
23076 * string/test-strchr.c (TEST_NAME): Likewise.
23077 * string/test-strcmp.c(TEST_NAME): Likewise.
23078 * string/test-strcpy.c (TEST_NAME): Likewise.
23079 * string/test-strcspn.c (TEST_NAME): Likewise.
23080 * string/test-strlen.c (TEST_NAME): Likewise.
23081 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23082 * string/test-strncmp.c (TEST_NAME): Likewise.
23083 * string/test-strncpy.c (TEST_NAME): Likewise.
23084 * string/test-strnlen.c (TEST_NAME): Likewise.
23085 * string/test-strpbrk.c (TEST_NAME): Likewise.
23086 * string/test-strrchr.c (TEST_NAME): Likewise.
23087 * string/test-strspn.c (TEST_NAME): Likewise.
23088 * string/test-strstr.c (TEST_NAME): Likewise.
23089 * string/test-bcopy-ifunc.c: New file.
23090 * string/test-bzero-ifunc.c: Likewise.
23091 * string/test-memccpy-ifunc.c: Likewise.
23092 * string/test-memchr-ifunc.c: Likewise.
23093 * string/test-memcmp-ifunc.c: Likewise.
23094 * string/test-memcpy-ifunc.c: Likewise.
23095 * string/test-memmem-ifunc.c: Likewise.
23096 * string/test-memmove-ifunc.c: Likewise.
23097 * string/test-mempcpy-ifunc.c: Likewise.
23098 * string/test-memset-ifunc.c: Likewise.
23099 * string/test-rawmemchr-ifunc.c: Likewise.
23100 * string/test-stpcpy-ifunc.c: Likewise.
23101 * string/test-stpncpy-ifunc.c: Likewise.
23102 * string/test-strcasecmp-ifunc.c: Likewise.
23103 * string/test-strcasestr-ifunc.c: Likewise.
23104 * string/test-strcat-ifunc.c: Likewise.
23105 * string/test-strchr-ifunc.c: Likewise.
23106 * string/test-strchrnul-ifunc.c: Likewise.
23107 * string/test-strcmp-ifunc.c: Likewise.
23108 * string/test-strcpy-ifunc.c: Likewise.
23109 * string/test-strcspn-ifunc.c: Likewise.
23110 * string/test-strlen-ifunc.c: Likewise.
23111 * string/test-strncasecmp-ifunc.c: Likewise.
23112 * string/test-strncat-ifunc.c: Likewise.
23113 * string/test-strncmp-ifunc.c: Likewise.
23114 * string/test-strncpy-ifunc.c: Likewise.
23115 * string/test-strnlen-ifunc.c: Likewise.
23116 * string/test-strpbrk-ifunc.c: Likewise.
23117 * string/test-strrchr-ifunc.c: Likewise.
23118 * string/test-strspn-ifunc.c: Likewise.
23119 * string/test-strstr-ifunc.c: Likewise.
23121 * debug/Makefile (tests-ifunc): New variable.
23122 (tests): Add $(tests-ifunc).
23123 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23124 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23125 * debug/test-stpcpy_chk-ifunc.c: New file.
23126 * debug/test-strcpy_chk-ifunc.c: Likewise.
23128 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23131 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23132 header is not read in.
23134 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23136 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23137 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23138 directly. Pass built executable to script as
23139 $(built-program-cmd).
23140 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23141 $testprogram without using LD_LIBRARY_PATH and $ldso.
23143 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23144 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23145 $(rtld-installed-name).
23146 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23147 (rtld_installed_name): Likewise.
23148 (library_path): Likewise.
23149 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23150 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23151 $(run-program-prefix) to tst-tables.sh.
23152 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23153 it to run tst-table-from and tst-table-to.
23154 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23155 Pass it to tst-table.sh.
23156 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23157 $(run-program-prefix) to tst-gettext.sh.
23158 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23160 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23162 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23163 to run tst-gettext.
23164 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23165 to run tst-gettext2.
23166 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23167 to run tst-translit.
23168 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23169 $(run-program-prefix) to tst-mtrace.sh.
23170 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23172 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23173 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23174 $(rtld-installed-name).
23175 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23176 (rtld_installed_name): Likewise.
23177 (run_program_prefix): New variable. Use it to run wordexp-test.
23179 * Makeconfig (ARCH): Remove all definitions.
23180 (machine): Likewise.
23181 [ARCH]: Remove conditional code.
23182 [!objdir]: Give error.
23183 [!objdir] (objpfx): Remove.
23184 [!objdir] (common-objpfx): Likewise.
23185 [!objdir] (common-objdir): Likewise.
23186 * configure.in (config_makefile): Remove. Hardcode Makefile in
23187 AC_CONFIG_FILES call.
23188 * configure: Regenerated.
23191 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23193 (testout): Likewise.
23195 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23196 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23197 $(rtld-installed-name).
23198 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23199 (rtld_installed_name): Likwise.
23200 (runit): Remove function.
23201 (run_getconf): New variable, Use it for running getconf binary.
23203 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23206 * string/test-memmem.c (check_result): New function.
23207 (do_one_test): Use it.
23208 (check1): New function.
23209 (test_main): Use it.
23211 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23213 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23215 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23217 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23218 (_G_LSEEK64): Likewise.
23219 (_G_MMAP64): Likewise.
23220 (_G_FSTAT64): Likewise.
23221 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23222 (_G_LSEEK64): Likewise.
23223 (_G_MMAP64): Likewise.
23224 (_G_FSTAT64): Likewise.
23225 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23226 unconditional. Call __mmap64 directly.
23227 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23228 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23229 __lseek64 directly.
23230 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23231 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23233 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23234 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23235 __lseek64 directly.
23236 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23237 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23238 __lseek64 directly.
23239 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23240 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23241 __lseek64 directly.
23242 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23243 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23244 __fxstat64 directly.
23245 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23246 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23248 (freopen64) [!_G_OPEN64]: Remove conditional code.
23249 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23251 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23252 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23254 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23255 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23257 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23258 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23260 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23261 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23263 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23264 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23266 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23267 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23269 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23271 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23274 * manual/memory.texi (Malloc Tunable Parameters): Add note
23275 about free list pointers overwriting some perturb bytes.
23276 Wording suggested by Roland McGrath.
23278 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23280 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23281 (lgamma_test): Likewise.
23282 (tgamma_test): Likewise.
23284 2012-10-16 Florian Weimer <fweimer@redhat.com>
23287 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23288 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23290 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23292 * NEWS: Mention BZ #14716.
23293 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23294 when removing AVAILABLE1_USES_J macro.
23296 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23298 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23299 (__bswap_64): __uint64_t for unsigned 64-bit int.
23301 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23303 * include/string.h (memmem): Declare libc hidden alias.
23304 * string/memmem.c (memmem): Define libc hidden alias.
23305 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23306 __read, __close instead of open, read, close.
23308 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23311 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23313 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23314 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23315 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23317 (__rawmemchr_sse2): Likewise.
23318 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23319 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23320 (__strchr_sse2): Likewise.
23321 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23322 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23323 (__strcasecmp_sse2): Likewise.
23324 (__strncasecmp_sse2): Likewise.
23325 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23326 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23327 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23328 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23329 (__strrchr_sse2): Likewise.
23330 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23332 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23333 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23334 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23335 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23336 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23337 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23338 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23339 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23340 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23341 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23342 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23343 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23344 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23345 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23346 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23347 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23348 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23349 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23350 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23351 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23352 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23353 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23354 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23355 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23356 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23357 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23358 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23359 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23360 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23361 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23363 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23365 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23366 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23367 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23368 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23370 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23372 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23373 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23374 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23375 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23377 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23378 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23379 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23380 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23381 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23382 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23383 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23384 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23385 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23386 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23387 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23388 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23389 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23390 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23391 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23392 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23393 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23394 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23395 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23396 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23397 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23398 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23399 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23400 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23401 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23402 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23403 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23404 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23405 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23406 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23407 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23408 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23409 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23410 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23411 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23412 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23413 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23414 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23415 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23416 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23417 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23419 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23420 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23421 * include/ifunc-impl-list.h: New file.
23422 * misc/ifunc-impl-list.c: Likewise.
23423 * misc/Makefile (routines): Add ifunc-impl-list.
23424 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23425 * string/test-string.h: Include <ifunc-impl-list.h>.
23426 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23427 TEST_NAME]: New variables.
23428 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23430 (test_init): Call __libc_ifunc_impl_list to initialize
23431 func_list if TEST_IFUNC and TEST_NAME are defined.
23433 * string/Makefile (strop-tests): Add bcopy and bzero.
23434 * string/test-bcopy.c: New file.
23435 * string/test-bzero.c: Likewise.
23436 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23438 * string/test-memset.c: Support bzero test if TEST_BZERO is
23440 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23442 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23444 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23447 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23449 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23450 * configure: Regenerated.
23452 * Makeconfig (+link-static-before-libc): Don't include
23453 $(link-static-libc).
23455 * libio/libio.h (_IO_pos_t): Remove.
23457 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23459 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23462 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23464 * crypt/crypt-entry.c: Include fips-private.h.
23465 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23466 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23467 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23468 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23470 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23472 * crypt/crypt-private.h: Include stdbool.h.
23473 (_ufc_setup_salt_r): Return bool.
23474 * crypt/crypt-entry.c: Include errno.h.
23475 (__crypt_r): Return NULL with EINVAL for bad salt.
23476 * crypt/crypt_util.c (bad_for_salt): New.
23477 (_ufc_setup_salt_r): Check that salt is long enough and within
23478 the specified alphabet.
23479 * crypt/badsalttest.c: New file.
23480 * crypt/Makefile (tests): Add it.
23481 ($(objpfx)badsalttest): New.
23483 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23485 * NEWS: Add entry for BZ #14602.
23487 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23489 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23491 * math/libm-test.inc: Update comment listing what functions and
23493 (isgreater_test): New function.
23494 (isgreaterequal_test): Likewise.
23495 (isless_test): Likewise.
23496 (islessequal_test): Likewise.
23497 (islessgreater_test): Likewise.
23498 (isunordered_test): Likewise.
23499 (main): Call the new functions.
23501 2012-10-09 Roland McGrath <roland@hack.frob.com>
23503 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23504 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23505 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23506 * sysdeps/i386/configure: Regenerated.
23507 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23508 * sysdeps/mach/configure: Regenerated.
23509 * sysdeps/mach/hurd/configure: Regenerated.
23510 * sysdeps/powerpc/configure: Regenerated.
23511 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23512 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23513 * sysdeps/s390/s390-32/configure: Regenerated.
23514 * sysdeps/s390/s390-64/configure: Regenerated.
23515 * sysdeps/sh/configure: Regenerated.
23516 * sysdeps/sparc/configure: Regenerated.
23517 * sysdeps/unix/sysv/linux/configure: Regenerated.
23518 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23519 * sysdeps/x86_64/configure: Regenerated.
23521 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23522 defined. Don't check if MAP is NULL.
23524 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23526 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23527 (_G_stat64): Likewise.
23528 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23529 (_G_stat64): Likewise.
23530 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23531 instead of struct _G_stat64.
23532 * libio/fileops.c (mmap_remap_check): Likewise.
23533 (decide_maybe_mmap): Likewise.
23534 (_IO_new_file_seekoff): Likewise.
23535 (_IO_file_stat): Likewise.
23536 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23538 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23539 instead of struct _G_stat64.
23540 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23542 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23545 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23547 (CHECK_EOL): New macro.
23548 (two_way_short_needle): Check beginning of haystack for EOL. Use
23550 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23551 Replace with CHECK_EOL.
23552 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23553 Replace with CHECK_EOL.
23555 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23557 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23559 * math/libm-test.inc: Update comment listing what functions and
23561 (finite_test): New function.
23562 (isinf_test): Likewise.
23563 (isnan_test): Likewise.
23564 (fpclassify_test): Test subnormal input.
23565 (isfinite_test): Likewise.
23566 (isnormal_test): Likewise.
23567 (main): Call the new functions.
23569 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23572 * Makerules (%.dynsym): Force C locale when running
23573 $(OBJDUMP) --dynamic-syms.
23575 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23577 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23580 2012-10-06 David S. Miller <davem@davemloft.net>
23582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23583 upper 32-bits of the length value in %o2 since we use branch-on-register
23584 tests which consider the entire 64-bit register.
23586 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23588 * string/test-strstr.c (check2): Add a test for page boundary.
23590 2012-10-05 David S. Miller <davem@davemloft.net>
23592 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23593 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23595 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23597 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23598 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23599 and bzero when HWCAP_SPARC_CRYPTO is present.
23601 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23604 * string/test-strstr.c (check2): New function.
23605 (test_main): Call check2.
23607 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23609 * string/bug-strcasestr1.c (do_test): Moved to ...
23610 * string/test-strcasestr.c (check1): Here. New function.
23611 (do_one_test): Break out result checking code into ...
23612 (check_result): This. New function.
23613 (do_one_test): Call check_result.
23614 (test_main): Call check1.
23615 * string/bug-strchr1.c (do_test): Moved to ...
23616 * string/test-strchr.c (check1): Here. New function.
23617 (do_one_test): Break out result checking code into ...
23618 (check_result): This. New function.
23619 (do_one_test): Call check_result.
23620 (test_main): Call check1.
23621 * string/bug-strstr1.c (main): Moved to ...
23622 * string/test-strstr.c (check1): Here. New function.
23623 (do_one_test): Break out result checking code into ...
23624 (check_result): This. New function.
23625 (do_one_test): Call check_result.
23626 (test_main): Call check1.
23627 * string/bug-strcasestr1.c: Removed.
23628 * string/bug-strchr1.c: Likewise.
23629 * string/bug-strstr1.c: Likewise.
23631 * elf/Makefile (dl-routines): Add hwcaps.
23632 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23633 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23634 (_dl_important_hwcaps): Moved to ...
23635 * elf/dl-hwcaps.c: Here. New file.
23636 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23639 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23640 if IS_IN_rtld isn't defined.
23642 * elf/dl-support.c (_dl_sysinfo_map): New.
23643 Include "get-dynamic-info.h" and "setup-vdso.h".
23644 (_dl_non_dynamic_init): Call setup_vdso.
23645 * elf/dynamic-link.h: Don't include <assert.h>.
23646 (elf_get_dynamic_info): Moved to ...
23647 * elf/get-dynamic-info.h: Here. New file.
23648 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23649 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23650 * elf/setup-vdso.h: Here. New file.
23651 * elf/rtld.c: Include "setup-vdso.h".
23652 (dl_main): Call setup_vdso.
23654 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23656 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23657 creal in comment listing functions tested. List finite, isinf,
23658 isnan, isless, islessequal, isgreater, isgreaterequal,
23659 islessgreater, isunordered, lgamma_r and pow10 as functions and
23660 macros not tested. Mention which functions not tested are aliases
23661 for other functions. Fix typo. Note that signs of NaNs are not
23664 * scripts/config.guess: Update from config.git.
23665 * scripts/config.sub: Likewise.
23667 2012-10-04 Roland McGrath <roland@hack.frob.com>
23669 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23670 * misc/madvise.c (madvise): Renamed to __madvise.
23671 Make madvise a weak alias.
23672 * include/sys/mman.h: Declare __madvise.
23673 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23674 * sysdeps/unix/syscalls.list
23675 (madvise): Make __madvise the strong name, and madvise a weak alias.
23676 * sysdeps/unix/sysv/linux/syscalls.list
23677 (madvise, mmap): Remove redundant entries.
23678 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23679 * malloc/malloc.c (mtrim): Likewise.
23680 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23682 2012-10-03 Roland McGrath <roland@hack.frob.com>
23684 * sysdeps/mach/hurd/dl-cache.c: File removed.
23685 * config.h.in (USE_LDCONFIG): New #undef.
23686 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23687 * configure: Regenerated.
23688 * elf/Makefile (dl-routines): Add dl-cache only under
23689 [$(use-ldconfig) = yes].
23690 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23691 cache on [USE_LDCONFIG].
23692 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23694 * elf/rtld.c (dl_main): Likewise.
23696 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23698 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23699 _SC_LEVEL4_CACHE_LINESIZE.
23701 2012-10-03 Roland McGrath <roland@hack.frob.com>
23703 * sysdeps/unix/bsd/confstr.h: File removed.
23705 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23707 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23710 2012-10-02 Roland McGrath <roland@hack.frob.com>
23712 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23713 Make 'mapoff' field ElfW(Off) rather than off_t.
23715 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23717 * nscd/Makefile: Remove nscd-cflags and all its users.
23718 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23719 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23722 * malloc.c (malloc_printerr): Clarify error message.
23724 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23728 Set bit_FMA_Usable if FMA is supported.
23729 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23731 (bit_FMA4_Usable): Updated.
23732 (index_FMA_Usable): New macro.
23733 (CPUID_FMA): Likewise
23734 (HAS_FMA): Defined with bit_FMA_Usable.
23736 2012-10-01 Roland McGrath <roland@hack.frob.com>
23738 * bits/types.h (__swblk_t): Type removed.
23739 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23740 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23741 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23742 (__SWBLK_T_TYPE): Likewise.
23743 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23744 (__SWBLK_T_TYPE): Likewise.
23745 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23746 (__SWBLK_T_TYPE): Likewise.
23747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23748 (__SWBLK_T_TYPE): Likewise.
23750 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23751 Honza Horak <hhorak@redhat.com>
23753 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23754 (xdr_mapname): Use YPMAXMAP as maxsize.
23755 (xdr_peername): Use YPMAXPEER as maxsize.
23756 (xdr_keydat): Use YPAXRECORD as maxsize.
23757 (xdr_valdat): Use YPMAXRECORD as maxsize.
23759 2012-10-01 Roland McGrath <roland@hack.frob.com>
23761 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23763 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23764 * csu/init-first.c: ... here.
23765 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23766 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23767 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23768 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23769 * sysdeps/i386/init-first.c: File removed.
23770 * sysdeps/sh/init-first.c: File removed.
23772 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23776 if x * y might underflow to zero and z is zero.
23777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23779 * math/libm-test.inc (min_subnorm_value): New variable.
23780 (fma_test): Add more tests.
23781 (fma_test_towardzero): Likewise.
23782 (fma_test_downward): Likewise
23783 (fma_test_upward): Likewise.
23784 (initialize): Set min_subnorm_value.
23786 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23791 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23792 mode for addition resulting in exact zero.
23793 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23796 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23798 * math/libm-test.inc (fma_test): Add more tests.
23799 (fma_test_towardzero): New function.
23800 (fma_test_downward): Likewise.
23801 (fma_test_upward): Likewise.
23802 (main): Call the new functions.
23804 2012-09-28 David S. Miller <davem@davemloft.net>
23806 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23808 2012-09-28 Roland McGrath <roland@hack.frob.com>
23810 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23811 instead of SIGALRM.
23813 * sysdeps/gnu/_G_config.h: Moved to ...
23814 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23815 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23816 * sysdeps/generic/_G_config.h: ... here.
23818 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23820 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23822 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23823 Conditionalize target on [libnss_test1.so-version].
23825 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23827 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23828 (elfobjdir): Move out of conditionals.
23830 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23831 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23832 (__nss_lookup_function): Conditionalize label remove_from_tree on
23833 [!DO_STATIC_NSS || SHARED], matching its only use.
23835 2012-09-28 David S. Miller <davem@davemloft.net>
23837 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23840 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23842 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23844 when HWCAP_SPARC_CRYPTO is present.
23846 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23848 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23850 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23853 * stdio-common/vfprintf.c (process_string_arg): Revert
23856 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23858 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23860 * stdio-common/tst-sprintf.c: Include <locale.h>
23861 (main): Test sprintf's handling of incomplete multibyte
23864 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23866 * elf/dl-runtime.c (VERSYMIDX): Removed.
23867 * elf/dl-version.c (VERSYMIDX): Likewise.
23868 * elf/do-rel.h (VERSYMIDX): Likewise.
23869 (VALIDX): Likewise.
23870 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23871 * elf/rtld.c (VALIDX): Likewise.
23872 (ADDRIDX): Likewise.
23873 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23874 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23875 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23876 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23877 (VALIDX): Likewise.
23878 (ADDRIDX): Likewise.
23880 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23882 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23884 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23887 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23889 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23890 addresses are in the same scope as 192.0.2/24.
23891 * posix/gai.conf: Document new scope table defaults.
23893 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23896 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23897 for ftell. Compute offsets from write pointers instead.
23898 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23900 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23903 * libio/Makefile (tests): New test case tst-fseek.
23904 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23905 combination works in wide mode.
23906 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23907 state when the external buffer state changes.
23909 2012-09-27 David S. Miller <davem@davemloft.net>
23912 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23913 pass reloc->r_addend in as the 'high' argument to
23914 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23918 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23920 * rt/tst-aio2.c: Include <pthread.h>.
23921 * rt/tst-aio3.c: Likewise.
23923 2012-09-27 Steve Ellcey <sellcey@mips.com>
23925 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23927 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23929 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23930 contents on [SHARED].
23932 2012-09-26 Marek Polacek <polacek@redhat.com>
23936 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23937 for C++ and GCC <4.3 as well as for non GCC compilers.
23939 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23943 2012-09-25 Roland McGrath <roland@hack.frob.com>
23945 * Makefile.in (all, install): Declare with .PHONY.
23946 Reported by Michael Hope <michael.hope@linaro.org>.
23948 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23950 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23951 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23953 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23955 (sydep_routines): Add the new and the internal functions.
23956 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23957 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23959 (GLIBC_2.17): Add the new function.
23960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23961 (GLIBC_2.17): Likewise.
23962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23963 (GLIBC_2.17): Likewise.
23964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23965 (GLIBC_2.17): Likewise.
23966 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23968 2012-09-25 Alan Modra <amodra@gmail.com>
23970 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23971 Add release barrier before setting once_control to say
23972 initialisation is done. Add hints on lwarx. Use macro in
23974 (clear_once_control): Add release barrier.
23976 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23979 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23981 * math/s_clog10.c (__clog10): Likewise.
23982 * math/s_clog10f.c (__clog10f): Likewise.
23983 * math/s_clog10l.c (__clog10l): Likewise.
23984 * math/s_clogf.c (__clogf): Likewise.
23985 * math/s_clogl.c (__clogl): Likewise.
23986 * math/Makefile (libm-calls): Add x2y2m1.
23987 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23988 (__x2y2m1): Likewise.
23989 (__x2y2m1l): Likewise.
23990 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23991 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23994 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23995 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23996 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23997 * sysdeps/i386/fpu/libm-test-ulps: Update.
23998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24001 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24002 int as type of variable DEPTH.
24003 (glob): Use size_t instead of int as type of variables NEWCOUNT
24006 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24008 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24009 Add s_sincosf-sse2.
24010 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24011 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24012 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24013 macros for using routine as __sincosf_ia32.
24014 Use macro for function declaration and weak_alias.
24015 * sysdeps/i386/fpu/libm-test-ulps: Update.
24017 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24020 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24021 subnormal argument.
24022 * math/s_cexpf.c (__cexpf): Likewise.
24023 * math/s_csinf.c (__csinf): Likewise.
24024 * math/s_csinhf.c (__csinhf): Likewise.
24025 * math/s_ctanf.c (__ctanf): Likewise.
24026 * math/s_ctanhf.c (__ctanhf): Likewise.
24027 * math/s_ccosh.c (__ccoshf): Likewise.
24028 * math/s_cexp.c (__cexpl): Likewise.
24029 * math/s_csin.c (__csin): Likewise.
24030 * math/s_csinh.c (__csinh): Likewise.
24031 * math/s_ctan.c (__ctan): Likewise.
24032 * math/s_ctanh.c (ctanh): Likewise.
24033 * math/s_ccoshl.c (__ccoshl): Likewise.
24034 * math/s_cexpl.c (__cexpl): Likewise.
24035 * math/s_csinl.c (__csinl): Likewise.
24036 * math/s_csinhl.c (__csinhl): Likewise.
24037 * math/s_ctanl.c (__ctanl): Likewise.
24038 * math/s_ctanhl.c (__ctanhl): Likewise.
24040 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24042 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24043 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24044 (_IO_off_t): Define to __off_t, not _G_off_t.
24045 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24046 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24047 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24048 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24049 type of __dummy and __dummy2 fields.
24050 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24051 (_G_ssize_t): Likewise.
24052 (_G_off_t): Likewise.
24053 (_G_pid_t): Likewise.
24054 (_G_uid_t): Likewise.
24055 (_G_wchar_t): Likewise.
24056 (_G_wint_t): Likewise.
24057 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24058 (_G_ssize_t): Likewise.
24059 (_G_off_t): Likewise.
24060 (_G_pid_t): Likewise.
24061 (_G_uid_t): Likewise.
24062 (_G_wchar_t): Likewise.
24063 (_G_wint_t): Likewise.
24064 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24065 (_G_ssize_t): Likewise.
24066 (_G_off_t): Likewise.
24067 (_G_pid_t): Likewise.
24068 (_G_uid_t): Likewise.
24069 (_G_wchar_t): Likewise.
24070 (_G_wint_t): Likewise.
24072 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24074 * malloc/arena.c: Include malloc-sysdep.h.
24075 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24076 is sufficient to shrink the heap or an unmap is needed.
24077 * sysdeps/generic/malloc-sysdep.h: New file. Define
24078 new function check_may_shrink_heap.
24079 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24080 new function check_may_shrink_heap.
24082 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24084 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24087 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24089 * catgets/test-gencat.sh: Add "set -e".
24090 * elf/tst-pathopt.sh: Likewise.
24091 * grp/tst_fgetgrent.sh: Likewise.
24092 * iconvdata/run-iconv-test.sh: Likewise.
24093 * intl/tst-gettext.sh: Likewise.
24094 * intl/tst-gettext2.sh: Likewise.
24095 * intl/tst-gettext4.sh: Likewise.
24096 * intl/tst-gettext6.sh: Likewise.
24097 * intl/tst-translit.sh: Likewise.
24098 * io/ftwtest-sh: Likewise.
24099 * libio/test-freopen.sh: Likewise.
24100 * malloc/tst-mtrace.sh: Likewise.
24101 * posix/globtest.sh: Likewise.
24102 * posix/tst-getconf.sh: Likewise.
24103 * posix/wordexp-tst.sh: Likewise.
24104 * stdio-common/tst-printf.sh: Likewise.
24105 * stdio-common/tst-unbputc.sh: Likewise.
24106 * stdlib/tst-fmtmsg.sh: Likewise.
24107 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24108 * catgets/Makefile: Do not specify -e option when running
24109 testsuite shell scripts.
24110 * elf/Makefile: Likewise.
24111 * grp/Makefile: Likewise.
24112 * iconvdata/Makefile: Likewise.
24113 * intl/Makefile: Likewise.
24114 * io/Makefile: Likewise.
24115 * libio/Makefile: Likewise.
24116 * malloc/Makefile: Likewise.
24117 * posix/Makefile: Likewise.
24118 * stdio-common/Makefile: Likewise.
24119 * stdlib/Makefile: Likewise.
24120 * sysdeps/x86_64/Makefile: Likewise.
24122 * io/ftwtest-sh: Add copyright header.
24123 * posix/globtest.sh: Likewise.
24124 * posix/tst-getconf.sh: Likewise.
24125 * posix/wordexp-tst.sh: Likewise.
24126 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24128 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24131 * Makeconfig (+link): Defined as $(+link-static) if
24132 $(build-shared) isn't yes.
24133 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24135 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24137 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24140 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24141 new chunk size with MALLOC_ALIGN_MASK.
24143 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24146 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24148 (__printf_fphex): Determine rounding using get_rounding_mode and
24150 * stdio-common/tst-printf-round.c (struct hex_test): New
24152 (hex_tests): New variable.
24153 (test_hex_in_one_mode): New function.
24154 (do_test): Also run tests for hex float output.
24156 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24158 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24159 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24160 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24161 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24162 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24163 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24164 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24165 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24167 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24169 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24170 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24171 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24172 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24174 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24177 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24179 * elf/tst-rtld-load-self.sh: New test.
24180 * elf/Makefile: Run it.
24182 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24185 (tst-writev-ENV): Remove.
24186 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24188 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24190 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24192 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24194 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24196 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24198 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24199 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24200 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24203 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24206 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24207 * config.make.in (have-cpp-asm-debuginfo): Removed.
24208 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24209 * configure: Regenerated.
24211 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24214 * stdio-common/printf_fp.c: Include <stdbool.h> and
24216 (___printf_fp): Determine rounding using get_rounding_mode and
24218 * stdio-common/tst-printf-round.c: New file.
24219 * stdio-common/Makefile (tests): Add tst-printf-round.
24220 (link-libm): New variable.
24221 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24223 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24226 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24227 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24229 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24232 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24234 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24235 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24236 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24237 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24239 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24242 * include/rounding-mode.h: New file.
24243 * sysdeps/generic/get-rounding-mode.h: Likewise.
24244 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24245 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24246 (MAX_VALUE): New macro.
24247 (MIN_VALUE): Likewise.
24248 (overflow_value): New function.
24249 (underflow_value): Likewise.
24250 (round_and_return): Use overflow_value and underflow_value to
24251 determine return values in overflow and underflow cases. Use
24252 round_away to determine rounding depending on rounding mode.
24253 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24254 determine return values in overflow and underflow cases.
24255 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24256 (struct test_results): New structure.
24257 (struct test): Use struct test_results to store expected results
24258 for all rounding modes.
24259 (TEST): Include expected results for all rounding modes.
24260 (test_in_one_mode): New function.
24261 (do_test): Use test_in_one_mode to compute and check results.
24262 Check results for all rounding modes.
24263 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24266 2012-12-09 Allan McRae <allan@archlinux.org>
24268 * sysdeps/i386/fpu/libm-test-ulps: Update
24270 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24272 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24273 (_G_int32_t): Likewise.
24274 (_G_uint16_t): Likewise.
24275 (_G_uint32_t): Likewise.
24276 (_G_HAVE_BOOL): Likewise.
24277 (_G_HAVE_ATEXIT): Likewise.
24278 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24279 (_G_HAVE_IO_FILE_OPEN): Likewise.
24280 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24281 (_G_int32_t): Likewise.
24282 (_G_uint16_t): Likewise.
24283 (_G_uint32_t): Likewise.
24284 (_G_HAVE_BOOL): Likewise.
24285 (_G_HAVE_ATEXIT): Likewise.
24286 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24287 (_G_HAVE_IO_FILE_OPEN): Likewise.
24288 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24289 (_G_int32_t): Likewise.
24290 (_G_uint16_t): Likewise.
24291 (_G_uint32_t): Likewise.
24292 (_G_HAVE_BOOL): Likewise.
24293 (_G_HAVE_ATEXIT): Likewise.
24294 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24295 (_G_HAVE_IO_FILE_OPEN): Likewise.
24297 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24299 * csu/libc-tls.c: Update copyright years.
24301 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24303 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24304 [!_G_USING_THUNKS]: Remove conditional code.
24305 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24306 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24308 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24309 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24310 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24311 (_G_VTABLE_LABEL_PREFIX): Likewise.
24312 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24313 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24314 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24315 (_G_VTABLE_LABEL_PREFIX): Likewise.
24316 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24317 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24318 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24319 (_G_VTABLE_LABEL_PREFIX): Likewise.
24320 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24322 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24324 * libio/Makefile: Include ../Makeconfig before tests.
24325 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24326 only if $(build-shared) is yes.
24328 * iconv/gconv_db.c: Update copyright years.
24330 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24332 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24333 unwind info if defined PIC. Fix special cases description.
24334 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24336 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24338 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24340 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24342 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24344 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24347 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24348 (LDLIBS-tst-chk4): This.
24349 (LDFLAGS-tst-chk5): Renamed to ...
24350 (LDLIBS-tst-chk5): This.
24351 (LDFLAGS-tst-chk6): Renamed to ...
24352 (LDLIBS-tst-chk6): This.
24353 (LDFLAGS-tst-lfschk4): Renamed to ...
24354 (LDLIBS-tst-lfschk4): This.
24355 (LDFLAGS-tst-lfschk5): Renamed to ...
24356 (LDLIBS-tst-lfschk5): This.
24357 (LDFLAGS-tst-lfschk6): Renamed to ...
24358 (LDLIBS-tst-lfschk6): This.
24360 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24361 on $(common-objpfx)soversions.mk.
24363 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24366 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24369 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24371 * malloc/arena.c (arena_get_retry): New function that gets
24372 another arena for the caller to try its request on.
24373 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24374 current arena cannot fulfill the request.
24375 (__libc_memalign): Likewise.
24376 (__libc_memalign): Likewise.
24377 (__libc_pvalloc): Likewise.
24378 (__libc_calloc): Likewise.
24380 2012-09-05 John Tobey <john.tobey@gmail.com>
24383 * manual/arith.texi (Operations on Complex): Fix description
24384 of carg branch cut.
24386 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24389 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24393 * manual/memory.texi (Memory): Make order of menu items match
24396 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24398 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24399 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24400 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24402 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24404 * csu/libc-tls.c (static_dtv): Renamed to ...
24405 (_dl_static_dtv): This. Make it global.
24406 (_dl_initial_dtv): Removed.
24407 (__libc_setup_tls): Updated.
24408 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24409 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24412 2012-09-06 Petr Machata <pmachata@redhat.com>
24414 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24415 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24416 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24417 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24419 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24422 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24423 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24426 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24429 * Makeconfig (link-static-before-libc): Replace $(+prector)
24431 (link-static-after-libc): Replace $(+postctor) with
24433 (link-bounded): Replace $(+prector)/$(+postctor) with
24434 $(+prectorT)/$(+postctorT).
24435 (+prectorT): New macro.
24436 (+postctorT): Likewise.
24438 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24440 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24441 (round_str): Handle values above the maximum for IBM long double
24443 * stdlib/tst-strtod-round.c (tests): Regenerated.
24445 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24447 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24449 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24450 zarch_nohighgprs around the zarch optimized routines.
24451 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24452 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24453 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24456 2012-09-05 David S. Miller <davem@davemloft.net>
24458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24460 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24461 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24462 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24463 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24466 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24468 * malloc/arena.c: Fold copyright years.
24469 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24471 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24473 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24475 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24477 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24479 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24481 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24482 change internal state upon failure.
24484 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24486 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24487 * malloc/memusage.c (mmap): Likewise.
24488 (mmap64, mremap): Likewise. Adjust name in comment.
24490 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24492 * libio/fileops.c: Fix typos in comments.
24493 * libio/oldfileops.c: Likewise.
24494 * libio/wfileops.c: Likewise.
24496 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24499 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24500 (tst-malloc-usable-ENV): Set environment for test case.
24501 * malloc/hooks.c (malloc_check_get_size): New function to get
24503 * malloc/malloc.c (musable): Use malloc_check_get_size.
24504 * malloc/tst-malloc-usable.c: New test case.
24506 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24508 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24510 2012-09-05 Allan McRae <allan@archlinux.org>
24513 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24514 determine header location.
24515 * configure: Regenerated.
24517 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24519 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24521 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24522 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24524 (test): Regenerate.
24526 2012-09-04 David S. Miller <davem@davemloft.net>
24528 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24529 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24530 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24532 2012-09-04 Florian Weimer <fweimer@redhat.com>
24534 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24537 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24539 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24542 * libio/iogetdelim.c: Include <limits.h>.
24543 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24544 + len + 1 would overflow.
24546 2012-09-03 Andreas Jaeger <aj@suse.de>
24548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24549 * sysdeps/i386/fpu/libm-test-ulps: Update.
24551 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24553 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24554 Add s_sinf-sse2, s_conf-sse2.
24556 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24557 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24558 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24559 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24561 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24562 for using routine as __sinf_ia32.
24563 Use macro for function declaration and weak_alias.
24564 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24565 for using routine as __cosf_ia32.
24566 Use macro for function declaration and weak_alias.
24568 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24569 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24571 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24572 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24575 * math/libm-test.inc (cos_test): Add more test cases.
24576 (sin_test): Likewise.
24577 (sincos_test): Likewise.
24579 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24581 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24582 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24584 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24586 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24589 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24590 first element of the GOT.
24591 (elf_machine_load_address): Return the difference between
24592 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24594 2012-09-01 Allan McRae <allan@archlinux.org>
24597 * configure.in (AWK): Require gawk version 3.0 or later.
24598 * configure: Regenerated.
24600 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24602 * sysdeps/unix/sysv/linux/kernel-features.h
24603 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24604 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24605 [__NR_clock_getres]: Make code unconditional.
24606 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24607 (clock_getcpuclockid): Remove code left unreachable by removal of
24609 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24610 code unconditional.
24611 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24612 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24613 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24614 Make code unconditional.
24615 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24616 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24617 * sysdeps/unix/sysv/linux/clock_settime.c
24618 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24620 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24621 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24623 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24626 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24627 scripts/test-installation.pl.
24629 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24630 and $ld_so_version if it is set.
24632 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24635 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24636 failure if reading from procfs failed.
24637 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24639 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24641 * sysdeps/unix/sysv/linux/kernel-features.h
24642 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24643 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24644 Remove conditional code.
24645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24646 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24647 Remove conditional code.
24648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24649 * sysdeps/unix/sysv/linux/i386/fxstat.c
24650 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24652 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24653 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24655 * sysdeps/unix/sysv/linux/i386/lxstat.c
24656 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24658 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24659 Remove conditional code.
24660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24661 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24662 Remove conditional code.
24663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24664 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24665 <kernel-features.h>.
24666 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24668 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24669 Remove conditional code.
24670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24671 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24672 Remove conditional.
24674 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24677 * NEWS: Add fixed bug number.
24679 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24682 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24683 underflowing exponent in case of negative sign.
24684 * stdlib/tst-strtod-round-data: Add more tests.
24685 * stdlib/tst-strtod-round.c (tests): Regenerated.
24688 * stdlib/strtod_l.c (NDIG): Remove.
24689 (HEXNDIG): Likewise.
24690 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24691 smallest representable value.
24692 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24693 lie within an exact representation of 1/2 ulp of the result.
24694 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24696 (TENS_P9_IDX): Define unconditionally.
24697 (TENS_P9_SIZE): Likewise.
24698 (TENS_P10_IDX): Likewise.
24699 (TENS_P10_SIZE): Likewise.
24700 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24701 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24702 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24703 entries for 10^2^13 and 10^2^14.
24704 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24705 (TENS_P13_IDX): Define.
24706 (TENS_P13_SIZE): Likewise.
24707 (TENS_P14_IDX): Likewise.
24708 (TENS_P14_SIZE): Likewise.
24709 (_fpioconst_pow10): Change array size to
24710 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24712 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24713 1024]: Add entries for 10^2^13 and 10^2^14.
24714 [LAST_POW10 > _LAST_POW10]: Remove #error.
24715 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24716 (_fpioconst_pow10): Change array size to
24717 FPIOCONST_POW10_ARRAY_SIZE.
24718 * stdlib/gen-fpioconst.c: New file.
24719 * stdlib/gen-tst-strtod-round.c: Likewise.
24720 * stdlib/tst-strtod-round-data: Likewise.
24721 * stdlib/tst-strtod-round.c: Likewise.
24722 * stdlib/Makefile (tests): Add tst-strtod-round.
24725 * stdlib/strtod_l.c: Include <stdint.h>.
24726 (NDEBUG): Do not define.
24727 (round_and_return): Change EXPONENT parameter to type intmax_t.
24728 Rearrange calculations to avoid internal overflow possibilities.
24729 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24730 Rearrange calculations to avoid internal overflow possibilities.
24731 Assert that number fits inside MPNSIZE limbs.
24732 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24733 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24734 calculations and add assertions to avoid internal overflow
24735 possibilities. Add casts to avoid signed/unsigned operations.
24736 * stdlib/tst-strtod-overflow.c: New file.
24737 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24739 2012-08-25 Marek Polacek <polacek@redhat.com>
24741 * time/time.h: Fix some typos in comments.
24743 2012-08-23 Roland McGrath <roland@hack.frob.com>
24745 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24746 * posix/tst-rfc3484-2.c: Likewise.
24747 * posix/tst-rfc3484-3.c: Likewise.
24749 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24751 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24752 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24754 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24756 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24757 #include of fxstatat64.c.
24759 2012-08-22 Roland McGrath <roland@hack.frob.com>
24761 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24762 * shadow/getspent_r.c: Likewise.
24763 * shadow/getspnam.c: Likewise.
24764 * shadow/getspnam_r.c: Likewise.
24765 * gshadow/getsgent.c: Likewise.
24766 * gshadow/getsgent_r.c: Likewise.
24767 * gshadow/getsgnam.c: Likewise.
24768 * gshadow/getsgnam_r.c: Likewise.
24769 * inet/getnetbyad.c: Likewise.
24770 * inet/getnetbyad_r.c: Likewise.
24771 * inet/getnetbynm.c: Likewise.
24772 * inet/getnetbynm_r.c: Likewise.
24773 * inet/getnetent.c: Likewise.
24774 * inet/getnetent_r.c: Likewise.
24775 * inet/getproto.c: Likewise.
24776 * inet/getproto_r.c: Likewise.
24777 * inet/getprtent.c: Likewise.
24778 * inet/getprtent_r.c: Likewise.
24779 * inet/getprtname.c: Likewise.
24780 * inet/getprtname_r.c: Likewise.
24781 * inet/getrpcbyname.c: Likewise.
24782 * inet/getrpcbyname_r.c: Likewise.
24783 * inet/getrpcbynumber.c: Likewise.
24784 * inet/getrpcbynumber_r.c: Likewise.
24785 * inet/getrpcent.c: Likewise.
24786 * inet/getrpcent_r.c: Likewise.
24787 * inet/getaliasent.c: Likewise.
24788 * inet/getaliasent_r.c: Likewise.
24789 * inet/getaliasname.c: Likewise.
24790 * inet/getaliasname_r.c: Likewise.
24791 * nscd/getgrgid_r.c: Likewise.
24792 * nscd/getgrnam_r.c: Likewise.
24793 * nscd/gethstbyad_r.c: Likewise.
24794 * nscd/gethstbynm3_r.c: Likewise.
24795 * nscd/getpwnam_r.c: Likewise.
24796 * nscd/getpwuid_r.c: Likewise.
24797 * nscd/getsrvbynm_r.c: Likewise.
24798 * nscd/getsrvbypt_r.c: Likewise.
24799 * nscd/gai.c: Likewise.
24801 * configure.in (build_nscd): New substituted variable, set
24802 by --disable-build-nscd and defaults to $use_nscd.
24803 * configure: Regenerated.
24804 * config.make.in (build-nscd): New substituted variable.
24805 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24806 Change conditional to require [$(build-nscd) = yes] as well.
24807 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24810 * configure.in (use_nscd): New substituted variable, set by
24811 --disable-nscd. If enabled, define USE_NSCD.
24812 * configure: Regenerated.
24813 * config.h.in: Add USE_NSCD.
24814 * config.make.in (use-nscd): New substituted variable.
24815 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24816 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24817 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24818 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24819 (CFLAGS-getgrnam_r.c): Likewise.
24820 (CFLAGS-initgroups.c): Likewise.
24821 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24822 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24824 * inet/getnetgrent_r.c
24825 (nscd_setnetgrent): New function, broken out of ...
24826 (setnetgrent): ... here. Call it.
24827 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24828 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24829 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24830 * nscd/Makefile (routines, aux): Move definitions after include of
24831 Makeconfig. Conditionalize on [$(use-nscd) != no].
24832 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24833 Conditionalize on [USE_NSCD].
24834 (is_nscd, nscd_init_cb): Likewise.
24835 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24836 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24837 * nss/nss_db/db-init.c: Likewise.
24838 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24840 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24841 (make_request): Use it.
24842 (cache_valid_p): New function.
24843 (__check_pf): Use it.
24844 * NEWS: Add item for --disable-nscd.
24846 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24848 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24849 to support sed >= 4.2.1-20-ga9bf076.
24850 * configure: Regenerated.
24852 2012-08-22 Roland McGrath <roland@hack.frob.com>
24854 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24855 Conditionalize whole body on [IREL].
24857 2012-08-22 Jeff Law <law@redhat.com>
24860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24861 if the family is PF_UNSPEC.
24863 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24865 * Makerules (lib-version): Rename from V.
24866 (install-lib-nosubdir): Change V to lib-version.
24868 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24871 * powerpc32/power6/wcschr.c: New file.
24872 * powerpc32/power6/wcscpy.c: New file.
24873 * powerpc32/power6/wcsrchr.c: New file.
24874 * powerpc64/power6/wcschr.c: New file.
24875 * powerpc64/power6/wcscpy.c: New file.
24876 * powerpc64/power6/wcsrchr.c: New file.
24878 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24880 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24881 (two_way_short_needle): Use it.
24882 * string/strstr.c (AVAILABLE1_USES_J): Define.
24883 * string/strcasestr.c: Likewise.
24885 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24887 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24890 * NEWS: Add an entry.
24891 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24892 define their defaults.
24893 (two_way_short_needle): Detect end-of-string on-the-fly.
24894 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24895 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24896 * string/bug-strcasestr1.c: New test.
24897 * string/Makefile: Run it.
24899 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24902 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24903 the first character.
24905 2012-08-21 Roland McGrath <roland@hack.frob.com>
24907 * csu/elf-init.c (__libc_csu_irel): Function removed.
24908 * csu/libc-start.c (apply_irel): New function.
24909 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24911 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24913 * sysdeps/unix/sysv/linux/kernel-features.h
24914 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24915 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24916 <kernel-features.h>.
24917 [__NR_fadvise64_64]: Make code unconditional.
24918 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24919 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24920 !__NR_fadvise64_64)]: Likewise.
24921 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24922 !__NR_fadvise64_64))]: Likewise.
24923 [__NR_fadvise64]: Make code unconditional.
24924 [!__NR_fadvise64]: Remove conditional code.
24925 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24926 <kernel-features.h>.
24927 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24929 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24932 not include <kernel-features.h>.
24933 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24935 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24937 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24938 include <kernel-features.h>.
24939 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24941 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24944 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24946 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24947 slight instruction rearrangements per scrollpipe analysis.
24948 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24950 2012-08-20 Roland McGrath <roland@hack.frob.com>
24952 * manual/syslog.texi (syslog; vsyslog, closelog):
24953 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24954 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24956 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24957 DSOCAPS to match condition on defining it.
24959 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24961 * sysdeps/unix/sysv/linux/kernel-features.h
24962 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24964 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24965 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24967 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24968 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24970 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24971 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24973 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24974 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24976 * sysdeps/unix/sysv/linux/kernel-features.h
24977 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24978 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24980 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24981 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24982 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24983 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24984 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24985 Make code unconditional.
24986 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24987 (__mmap64) [!__NR_mmap2]: Likewise.
24988 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24989 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24990 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24991 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24992 [__NR_mmap2]: Make code unconditional.
24993 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24994 (__mmap64) [!__NR_mmap2]: Likewise.
24996 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24998 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25000 2012-08-18 Andreas Jaeger <aj@suse.de>
25002 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25004 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25006 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25007 * include/unistd.h (__have_sock_cloexec): Likewise.
25008 (__have_pipe2): Likewise.
25009 (__have_dup3): Likewise.
25011 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25014 * include/unistd.h (__have_pipe2): Change define into an extern int.
25015 (__have_dup3): Likewise.
25016 * socket/have_sock_cloexec.c: Include fcntl.h.
25017 (__have_pipe2): New variable.
25018 (__have_dup3): Likewise.
25020 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25022 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25024 2012-08-17 Marek Polacek <polacek@redhat.com>
25026 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25027 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25029 2012-08-17 Roland McGrath <roland@hack.frob.com>
25031 * configure.in: Add AC_SUBST for sysheaders.
25032 * configure: Regenerated.
25033 * config.make.in (sysheaders): New substituted variable.
25035 * sysdeps/unix/mkfifo.c: Moved ...
25036 * sysdeps/posix/mkfifo.c: ... here.
25037 * sysdeps/unix/mkfifoat.c: Moved ...
25038 * sysdeps/posix/mkfifoat.c: ... here.
25040 * sysdeps/unix/utime.c: Moved ...
25041 * sysdeps/posix/utime.c: ... here.
25043 * sysdeps/unix/time.c: Moved ...
25044 * sysdeps/posix/time.c: ... here.
25045 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25046 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25048 * sysdeps/unix/nice.c: Moved ...
25049 * sysdeps/posix/nice.c: ... here.
25051 * sysdeps/unix/alarm.c: Moved ...
25052 * sysdeps/posix/alarm.c: ... here.
25054 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25056 2012-08-17 Jeff Law <law@redhat.com>
25058 * intl/Makefile (codeset_mo): New variable.
25059 ($(codeset_mo)): New target.
25060 (tst-codeset.out): Depend on that. Remove explicit rule.
25061 (tst-gettext3.out, tst-gettext5.out): Likewise.
25062 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25063 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25064 * intl/tst-codeset.sh: Remove.
25065 * intl/tst-gettext3.sh: Likewise.
25066 * intl/tst-gettext5.sh: Likewise.
25068 2012-08-17 Roland McGrath <roland@hack.frob.com>
25070 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25071 * sysdeps/unix/syscalls.list: ... here.
25073 * sysdeps/posix/getaddrinfo.c
25074 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25075 (gaiconf_init, gaiconf_reload): Use them.
25076 [!_STATBUF_ST_NSEC]
25077 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25078 Define using time_t rather than struct timespec.
25080 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25081 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25083 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25085 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25086 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25089 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25090 __libc_cleanup_push argument.
25092 * bits/param.h: New file.
25093 * misc/sys/param.h: New file.
25094 * include/sys/param.h: New file.
25095 * misc/Makefile (headers): Add bits/param.h.
25096 * sysdeps/generic/sys/param.h: File removed.
25097 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25098 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25099 * sysdeps/mach/hurd/bits/param.h: New file.
25100 * sysdeps/mach/hurd/sys/param.h: File removed.
25102 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25105 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25107 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25108 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25111 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25112 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25113 rather than -D_IO_MTSAFE_IO conditionally.
25114 * stdio-common/Makefile (CPPFLAGS): Likewise.
25115 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25116 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25117 Use $(libio-mtsafe).
25118 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25119 of -D_IO_MTSAFE_IO.
25120 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25121 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25122 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25123 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25124 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25125 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25126 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25127 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25128 (CFLAGS-fread_u_chk.c): Likewise.
25129 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25130 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25131 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25132 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25133 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25134 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25135 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25136 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25137 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25139 * libio/Makefile: Test [$(libc-reentrant) = yes]
25140 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25143 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25144 * sysdeps/pthread/configure: File removed.
25145 * sysdeps/pthread/Makeconfig: New file.
25146 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25147 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25149 2012-08-16 Gary Benson <gbenson@redhat.com>
25151 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25152 unmapping the first object in a namespace.
25154 2012-08-16 Roland McGrath <roland@hack.frob.com>
25156 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25157 (__internal_setnetgrent): ... this. Add internal_function to
25158 definition. Add libc_hidden_def.
25159 (setnetgrent): Update caller.
25160 (internal_endnetgrent): Renamed to ...
25161 (__internal_endnetgrent): ... this. Add internal_function to
25162 definition. Add libc_hidden_def.
25163 (endnetgrent): Update caller.
25164 (internal_getnetgrent_r): Renamed to ...
25165 (__internal_getnetgrent_r): ... this. Add internal_function to
25166 definition. Add libc_hidden_def.
25167 (__getnetgrent_r): Update caller.
25168 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25170 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25172 * stdlib/longlong.h: Update from GCC.
25174 2012-08-16 Roland McGrath <roland@hack.frob.com>
25176 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25177 on _QL, which is set by umul_ppmm but never used.
25178 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25179 variables, which are set by GMP macros but never used.
25180 * stdio-common/_itowa.c (_itowa): Likewise.
25181 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25182 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25184 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25186 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25187 struct La_sh_regs is not constant.
25188 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25189 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25190 and struct La_sparc64_regs are not constant.
25192 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25194 * sysdeps/unix/sysv/linux/kernel-features.h
25195 (__ASSUME_POSIX_TIMERS): Remove.
25196 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25197 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25198 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25199 Make code unconditional.
25200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25201 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25202 Make code unconditional.
25203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25204 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25205 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25207 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25208 Make code unconditional.
25209 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25210 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25211 (__libc_missing_posix_timers): Remove.
25213 2012-08-15 Roland McGrath <roland@hack.frob.com>
25215 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25216 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25218 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25220 * elf/dl-sym.c: Include <stdlib.h>.
25222 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25223 constants, which avoids warnings in 32-bit builds.
25225 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25226 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25228 * misc/lseek.c: File moved to ...
25229 * io/lseek.c: ... here.
25231 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25233 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25234 shifting LEN more than 31 bits at once.
25236 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25239 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25240 segmentation fault for a case of two empty input strings.
25241 * string/test-strncasecmp.c (check1): Renamed to...
25242 (bz12205): ...this.
25243 (bz14195): Add new testcase for two empty input strings and N > 0.
25244 (test_main): Call new testcase, adapt for renamed function.
25246 2012-08-15 Andreas Jaeger <aj@suse.de>
25249 * crypt/md5test2.c: New test, based on test supplied by Serge
25250 Belyshev <belyshev@depni.sinp.msu.ru>.
25251 * crypt/Makefile (xtests): Add md5test-giant..
25252 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25254 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25257 * crypt/md5.c (md5_process_block): Don't assume the buffer
25258 length is less than 2**32.
25259 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25260 length is less than 2**64.
25262 2012-08-15 Roland McGrath <roland@hack.frob.com>
25264 * string/str-two-way.h: Include <sys/param.h>.
25265 (MAX): Macro removed.
25267 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25268 Move #define and #undef of memmove to just before and after
25269 including <string.h>.
25271 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25272 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25273 and after including <string.h>. Move declarations of
25274 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25275 to before #include "string/memmove.c".
25277 * include/dirent.h: Declare __getdirentries.
25279 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25280 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25282 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25284 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25285 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25286 * sysdeps/i386/configure: Regenerated.
25287 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25288 STABS_CURRENT_FILE, and STABS_FUN.
25289 (END): Remove call to STABS_FUN_END.
25290 (STABS_CURRENT_FILE1): Delete.
25291 (STABS_CURRENT_FILE): Likewise.
25292 (STABS_FUN): Likewise.
25293 (STABS_FUN_END): Likewise.
25294 (STABS_FUN2): Likewise.
25295 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25296 * sysdeps/x86_64/configure: Regenerated.
25298 2012-08-14 Roland McGrath <roland@hack.frob.com>
25300 * elf/dl-open.c: Include <atomic.h>.
25301 * elf/dl-lookup.c: Likewise.
25303 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25305 * sysdeps/unix/sysv/linux/kernel-features.h
25306 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25307 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25309 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25311 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25312 condition on __ASSUME_CLONE_THREAD_FLAGS.
25314 2012-08-14 Andreas Jaeger <aj@suse.de>
25316 * sysdeps/i386/fpu/libm-test-ulps: Update.
25318 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25320 * include/atomic.h (atomic_exchange_and_add): Split into ...
25321 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25324 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25328 2012-08-13 Jeff Law <law@redhat.com>
25330 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25331 null byte in the output string.
25333 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25335 * sysdeps/unix/sysv/linux/kernel-features.h
25336 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25337 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25338 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25339 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25340 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25341 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25342 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25344 2012-08-09 Jeff Law <law@redhat.com>
25347 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25348 When avoid_arena is set, don't retry in the that arena. Pick the
25349 next one, whatever it might be.
25350 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25351 (arena_lock): Pass in new parameter to arena_get2.
25352 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25354 (__libc_malloc): Unify retrying after main arena failure with
25355 __libc_memalign version.
25356 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25358 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25361 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25362 to __redirect_strstr.
25363 (__strstr_sse42): Use typeof __redirect_strstr.
25364 (__strstr_ia32): Likewise.
25365 (__libc_strstr): New prototype.
25366 (strstr): Renamed to ...
25367 (__libc_strstr): This.
25368 (strstr): New strong alias of __libc_strstr.
25369 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25370 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25373 (__libc_time): New prototype.
25374 (time_ifunc): Replace time with __libc_time.
25375 (time): New strong alias and hidden definition of __libc_time.
25376 (__GI_time): Remove strong alias.
25377 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25378 Include <stddef.h>.
25379 (memmove): Redefined to __redirect_memmove.
25380 (__memmove_sse2): Use typeof __redirect_memmove.
25381 (__memmove_ssse3): Likewise.
25382 (__memmove_ssse3_back): Likewise.
25383 (__libc_memmove): New prototype.
25384 (memmove): Renamed to ...
25385 (__libc_memmove): This.
25386 (memmove): New strong alias of __libc_memmove.
25388 2012-08-08 Mark Salter <msalter@redhat.com>
25391 (R_MN10300_TLS_GD): Define.
25392 (R_MN10300_TLS_LD): Likewise.
25393 (R_MN10300_TLS_LDO): Likewise.
25394 (R_MN10300_TLS_GOTIE): Likewise.
25395 (R_MN10300_TLS_IE): Likewise.
25396 (R_MN10300_TLS_LE): Likewise.
25397 (R_MN10300_TLS_DTPMOD): Likewise.
25398 (R_MN10300_TLS_DTPOFF): Likewise.
25399 (R_MN10300_TLS_TPOFF): Likewise.
25400 (R_MN10300_SYM_DIFF): Likewise.
25401 (R_MN10300_ALIGN): Likewise.
25402 (R_MN10300_NUM): Update.
25404 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25406 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25409 2012-08-08 Roland McGrath <roland@hack.frob.com>
25411 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25413 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25414 sysdeps/unix -> sysdeps/posix move.
25415 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25417 2012-08-07 Allan McRae <allan@archlinux.org>
25420 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25421 (SUNOS_CPP): Likewise.
25422 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25424 (open_input): Call CPP using execvp.
25426 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25428 * sysdeps/unix/sysv/linux/kernel-features.h
25429 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25430 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25431 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25432 (__ASSUME_WAITID_SYSCALL): Likewise.
25433 * sysdeps/unix/sysv/linux/dl-execstack.c
25434 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25435 code unconditional.
25436 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25438 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25439 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25440 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25442 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25444 [__ASSUME_WAITID_SYSCALL]: Likewise.
25445 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25447 2012-08-07 Roland McGrath <roland@hack.frob.com>
25449 * sysdeps/unix/closedir.c: Renamed to ...
25450 * sysdeps/posix/closedir.c: ... here.
25451 * sysdeps/unix/dirfd.c: Renamed to ...
25452 * sysdeps/posix/dirfd.c: ... here.
25453 * sysdeps/unix/dirstream.h: Renamed to ...
25454 * sysdeps/posix/dirstream.h: ... here.
25455 * sysdeps/unix/fdopendir.c: Renamed to ...
25456 * sysdeps/posix/fdopendir.c: ... here.
25457 * sysdeps/unix/opendir.c: Renamed to ...
25458 * sysdeps/posix/opendir.c: ... here.
25459 * sysdeps/unix/readdir.c: Renamed to ...
25460 * sysdeps/posix/readdir.c: ... here.
25461 * sysdeps/unix/readdir_r.c: Renamed to ...
25462 * sysdeps/posix/readdir_r.c: ... here.
25463 * sysdeps/unix/rewinddir.c: Renamed to ...
25464 * sysdeps/posix/rewinddir.c: ... here.
25465 * sysdeps/unix/seekdir.c: Renamed to ...
25466 * sysdeps/posix/seekdir.c: ... here.
25467 * sysdeps/unix/telldir.c: Renamed to ...
25468 * sysdeps/posix/telldir.c: ... here.
25469 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25470 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25471 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25472 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25474 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25475 * bits/fcntl.h: ... here.
25477 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25479 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25480 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25481 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25482 (struct flock): Move l_start, l_len to the beginning.
25483 Use __pid_t for l_pid.
25484 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25485 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25486 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25487 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25488 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25489 [__USE_LARGEFILE64] (struct flock64): New type.
25490 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25492 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25493 * bits/dirent.h: ... here.
25495 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25496 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25498 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25500 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25501 Change from 2.6.0 to 2.6.16.
25502 * sysdeps/unix/sysv/linux/configure: Regenerated.
25503 * sysdeps/unix/sysv/linux/kernel-features.h
25504 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25505 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25507 (__ASSUME_UTIMES): Likewise.
25508 (__ASSUME_CLONE_STOPPED): Remove.
25509 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25510 architectures, not kernel version.
25511 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25512 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25513 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25514 (__ASSUME_WAITID_SYSCALL): Likewise.
25515 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25516 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25517 * README: State 2.6.16 as minimum Linux kernel version. Do not
25518 refer to older versions.
25520 2012-08-06 Roland McGrath <roland@hack.frob.com>
25522 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25523 Define alphasort64 as an alias.
25524 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25525 Define versionsort64 as an alias.
25526 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25527 Define scandir64 as an alias.
25528 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25529 Define scandirat64 as an alias.
25530 * dirent/alphasort64.c (alphasort64):
25531 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25532 * dirent/versionsort64.c: Likewise.
25533 * dirent/scandir64.c: Likewise.
25534 * dirent/scandirat64.c: Likewise.
25535 * sysdeps/wordsize-64/alphasort.c: File removed.
25536 * sysdeps/wordsize-64/alphasort64.c: File removed.
25537 * sysdeps/wordsize-64/scandir.c: File removed.
25538 * sysdeps/wordsize-64/scandir64.c: File removed.
25539 * sysdeps/wordsize-64/scandirat.c: File removed.
25540 * sysdeps/wordsize-64/scandirat64.c: File removed.
25541 * sysdeps/wordsize-64/versionsort.c: File removed.
25542 * sysdeps/wordsize-64/versionsort64.c: File removed.
25543 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25544 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25545 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25546 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25547 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25548 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25549 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25550 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25552 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25554 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25556 [defined __arch64__ || defined __sparcv9]
25557 (__INO_T_MATCHES_INO64_T): New macro.
25558 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25559 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25560 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25561 * sysdeps/unix/sysv/linux/bits/dirent.h
25562 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25563 (_DIRENT_MATCHES_DIRENT64): New macro.
25565 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25566 Define lockf64 as an alias.
25567 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25568 Define fseeko64 as an alias.
25569 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25570 Define ftello64 as an alias.
25571 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25572 Define _IO_fgetpos64 and fgetpos64 as aliases.
25573 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25574 Define _IO_fsetpos64 and fsetpos64 as aliases.
25575 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25576 Conditionalize body on this.
25577 * libio/fseeko64.c: Likewise.
25578 * libio/ftello64.c: Likewise.
25579 * libio/iofgetpos64.c: Likewise.
25580 * libio/iofsetpos64.c: Likewise.
25581 * sysdeps/wordsize-64/lockf.c: File removed.
25582 * sysdeps/wordsize-64/lockf64.c: File removed.
25583 * sysdeps/wordsize-64/fseeko.c: File removed.
25584 * sysdeps/wordsize-64/fseeko64.c: File removed.
25585 * sysdeps/wordsize-64/ftello.c: File removed.
25586 * sysdeps/wordsize-64/ftello64.c: File removed.
25587 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25588 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25589 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25590 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25595 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25599 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25602 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25604 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25606 [defined __arch64__ || defined __sparcv9]
25607 (__OFF_T_MATCHES_OFF64_T): New macro.
25608 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25609 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25611 (__OFF_T_MATCHES_OFF64_T): New macro.
25613 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25615 * stdlib/secure-getenv.c (__secure_getenv): Replace
25616 GLIBC_2_16 with GLIBC_2_17.
25618 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25620 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25621 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25623 2012-08-03 David S. Miller <davem@davemloft.net>
25625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25627 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25629 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25631 (__ASSUME_CORRECT_SI_PID): Likewise.
25632 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25633 (__ASSUME_TMPFS_NAME): Likewise.
25634 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25635 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25636 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25637 (HAVE_AUX_SECURE): Make definition unconditional.
25638 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25639 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25641 2012-08-03 Roland McGrath <roland@hack.frob.com>
25643 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25644 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25645 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25646 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25647 __eloop_threshold instead of SYMLOOP_MAX.
25649 * sysdeps/generic/eloop-threshold.h: New file.
25650 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25652 * elf/chroot_canon.c (chroot_canon): Likewise.
25654 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25658 Change to 2.6.0 everywhere.
25659 * sysdeps/unix/sysv/linux/configure: Regenerated.
25660 * sysdeps/unix/sysv/linux/kernel-features.h
25661 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25662 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25664 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25665 (__ASSUME_FUTEX_REQUEUE): Remove.
25666 (__ASSUME_STATFS64): Define unconditionally.
25667 (__ASSUME_AT_SECURE): Likewise.
25668 (__ASSUME_CORRECT_SI_PID): Likewise.
25669 (__ASSUME_TGKILL): Define without depending on kernel version for
25671 (__ASSUME_UTIMES): Likewise.
25672 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25674 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25675 (__ASSUME_TMPFS_NAME): Likewise.
25676 * README: Update reference to Linux kernel versions.
25678 2012-08-02 Marek Polacek <polacek@redhat.com>
25681 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25682 libc_cv_asm_type_prefix with %.
25683 * configure: Regenerated.
25684 * include/libc-symbols.h: Remove comment about
25685 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25686 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25687 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25688 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25689 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25690 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25691 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25692 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25693 * elf/tst-unique2mod1.c: Likewise.
25694 * elf/tst-unique1mod2.c: Likewise.
25695 * elf/tst-unique1mod1.c: Likewise.
25696 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25697 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25698 Replace ASM_TYPE_DIRECTIVE with .type.
25699 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25700 * sysdeps/i386/sysdep.h: Likewise.
25701 * sysdeps/x86_64/sysdep.h: Likewise.
25702 * sysdeps/sh/sysdep.h: Likewise.
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25704 Do not define ASM_TYPE_DIRECTIVE.
25705 * sysdeps/powerpc/sysdep.h: Likewise.
25706 * sysdeps/powerpc/powerpc32/sysdep.h:
25707 Replace ASM_TYPE_DIRECTIVE with .type.
25708 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25709 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25710 * sysdeps/i386/fpu/e_powf.S: Likewise.
25711 * sysdeps/i386/fpu/e_expl.S: Likewise.
25712 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25713 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25714 * sysdeps/i386/fpu/e_pow.S: Likewise.
25715 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25716 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25717 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25718 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25719 * sysdeps/i386/fpu/e_log2.S: Likewise.
25720 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25721 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25722 * sysdeps/i386/fpu/e_powl.S: Likewise.
25723 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25724 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25725 * sysdeps/i386/fpu/e_logl.S: Likewise.
25726 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25727 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25728 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25729 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25731 * sysdeps/i386/fpu/e_log.S: Likewise.
25732 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25733 * sysdeps/i386/fpu/e_logf.S: Likewise.
25734 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25735 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25736 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25737 * sysdeps/i386/fpu/e_log10.S: Likewise.
25738 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25739 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25740 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25741 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25742 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25743 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25744 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25745 * sysdeps/i386/i686/strtok.S: Likewise.
25746 * sysdeps/i386/i386-mcount.S: Likewise.
25747 * sysdeps/i386/strtok.S: Likewise.
25748 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25749 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25750 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25751 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25752 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25753 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25754 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25755 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25756 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25757 * sysdeps/x86_64/_mcount.S: Likewise.
25758 * sysdeps/x86_64/strtok.S: Likewise.
25759 * sysdeps/sh/_mcount.S: Likewise.
25761 2012-08-01 Roland McGrath <roland@hack.frob.com>
25763 * libio/iofopen.c: Include <fcntl.h>.
25764 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25765 (_IO_fopen64, fopen64): Define as aliases.
25766 * libio/iofopen64.c: Include <fcntl.h>.
25767 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25768 Conditionalize body on this.
25769 * sysdeps/wordsize-64/iofopen.c: File removed.
25770 * sysdeps/wordsize-64/iofopen64.c: File removed.
25772 2012-08-01 Marek Polacek <polacek@redhat.com>
25774 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25775 Use dlfcn directly instead of a variable.
25776 (binfmt-subdir): Do not define.
25779 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25781 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25782 Remove all definitions.
25783 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25784 <kernel-features.h>.
25785 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25786 (miss_F_GETOWN_EX): Remove all definitions.
25787 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25789 [!__ASSUME_FCNTL64]: Remove conditional code.
25790 [__ASSUME_FCNTL64]: Make code unconditional.
25791 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25792 <kernel-features.h>.
25793 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25794 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25795 (lockf64) [__NR_fcntl64]: Make code unconditional.
25796 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25798 * sysdeps/unix/sysv/linux/kernel-features.h
25799 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25800 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25801 Make code unconditional.
25802 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25803 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25805 [__NR_vfork]: Make code unconditional.
25806 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25807 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25809 [__NR_vfork]: Make code unconditional.
25810 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25811 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25813 2012-08-01 Roland McGrath <roland@hack.frob.com>
25815 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25816 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25818 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25819 Define mkstemp64 as an alias.
25820 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25821 Define mkstemps64 as an alias.
25822 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25823 Define mkostemp64 as an alias.
25824 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25825 Define mkostemps64 as an alias.
25826 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25827 Conditionalize body on this.
25828 * misc/mkostemp64.c: Likewise.
25829 * misc/mkostemps64.c: Likewise.
25830 * misc/mkstemps64.c: Likewise.
25831 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25832 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25833 * sysdeps/wordsize-64/mkostemp.c: File removed.
25834 * sysdeps/wordsize-64/mkstemp.c: File removed.
25835 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25836 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25841 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25842 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25843 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25844 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25846 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25847 compat_symbol macros from <shlib-compat.h> rather than the underlying
25848 default_symbol_version and symbol_version macros, so that DEFAULT
25849 lines in shlib-versions are respected.
25850 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25852 2012-08-01 Florian Weimer <fweimer@redhat.com>
25854 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25855 Declare with warn_unused_result.
25856 (setgid, setregid, setegid, setresgid): Likewise.
25857 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25859 * WUR-REPORT: Remove set*id functions.
25861 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25863 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25865 2012-07-31 Roland McGrath <roland@hack.frob.com>
25868 * include/sys/socket.h (__libc_accept, __libc_accept4):
25869 Add attribute_hidden.
25870 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25872 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25874 * inet/getnetgrent_r.c (setup): Likewise.
25876 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25878 2012-07-31 David S. Miller <davem@davemloft.net>
25880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25882 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25885 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25886 value between 1.0 and 2.0 and smaller part has absolute value less
25888 * math/s_clog10.c (__clog10): Likewise.
25889 * math/s_clog10f.c (__clog10f): Likewise.
25890 * math/s_clog10l.c (__clog10l): Likewise.
25891 * math/s_clogf.c (__clogf): Likewise.
25892 * math/s_clogl.c (__clogl): Likewise.
25893 * math/libm-test.inc (clog_test): Add more tests.
25894 (clog10_test): Likewise.
25895 * sysdeps/i386/fpu/libm-test-ulps: Update.
25896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25898 2012-07-31 Florian Weimer <fweimer@redhat.com>
25900 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25901 Exit with zero in case no suitable GID is found, and write a
25902 message to standard error.
25904 2012-07-30 Roland McGrath <roland@hack.frob.com>
25906 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25908 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25909 (MAXPATHLEN): Removed.
25910 (NOGROUP, NODEV): New macros.
25911 (setbit, clrbit, isset, isclr): New macros.
25912 (howmany, roundup, powerof2): New macros.
25913 (DEV_BSIZE): New macro.
25915 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25916 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25918 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25919 definition on [!__NO_LONG_DOUBLE_MATH].
25921 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25922 PTR_MANGLE and PTR_DEMANGLE.
25924 * socket/accept4.c (accept4): Rename to __libc_accept4.
25925 Define accept4 as a weak alias.
25927 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25928 on [_DIRENT_HAVE_D_TYPE].
25929 * io/ftw.c (ftw_dir): Likewise.
25931 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25933 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25935 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25936 Use the BSD numbers rather than the arbitrary ones we had.
25937 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25938 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25939 (SIGXCPU, SIGXFSZ): New macros.
25942 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25943 initializer on [_LIBC_REENTRANT].
25945 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25946 definitions inside [_POSIX_MAPPED_FILES].
25948 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25950 * dirent/opendir.c: Include <fcntl.h>.
25952 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25953 (__libc_getspecific): Likewise.
25954 (__libc_key_create): Likewise.
25956 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25957 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25958 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25959 (tmpfile64): Define as alias.
25960 * sysdeps/wordsize-64/tmpfile.c: File removed.
25961 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25962 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25965 * stdio-common/vfscanf.c: Include <stdbool.h>.
25966 * nss/makedb.c: Likewise.
25967 * stdio-common/_i18n_number.h: Likewise.
25968 * argp/argp-help.c: Likewise.
25969 * posix/wordexp.c: Likewise.
25970 * sysdeps/posix/spawni.c: Likewise.
25971 * nss/nss_files/files-initgroups.c: Likewise.
25972 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25973 * nss/nss_files/files-initgroups.c: Likewise.
25974 * nss/nss_db/db-netgrp.c: Likewise.
25975 * nss/nss_db/db-initgroups.c: Likewise.
25976 * io/fchmodat.c: Include <sys/stat.h>.
25978 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25979 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25981 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25984 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25985 Add multiple inclusion protection.
25987 2012-07-27 David S. Miller <davem@davemloft.net>
25989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25991 2012-07-27 Gary Benson <gbenson@redhat.com>
25994 * elf/rtld.c: Include <stap-probe.h>.
25995 (dl_main): Added static probes "init_start" and "init_complete".
25996 * elf/dl-load.c: Include <stap-probe.h>.
25997 (lose): Take new parameter "nsid".
25998 Added static probe "map_failed".
25999 (_dl_map_object_from_fd): Pass namespace id to lose.
26000 Added static probe "map_start".
26001 (open_verify): Pass namespace id to lose.
26002 * elf/dl-open.c: Include <stap-probe.h>.
26003 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26004 and "reloc_complete".
26005 * elf/dl-close.c: Include <stap-probe.h>.
26006 (_dl_close_worker): Added static probes "unmap_start" and
26008 * elf/rtld-debugger-interface.txt: New file documenting the above.
26010 2012-07-26 Roland McGrath <roland@hack.frob.com>
26012 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26013 rather than a string variable.
26014 * sunrpc/rpc_main.c (h_output): Likewise.
26015 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26017 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26019 * inet/check_native.c: New file.
26021 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26024 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26025 if larger part has absolute value 1.0.
26026 * math/s_clog10.c (__clog10): Likewise.
26027 * math/s_clog10f.c (__clog10f): Likewise.
26028 * math/s_clog10l.c (__clog10l): Likewise.
26029 * math/s_clogf.c (__clogf): Likewise.
26030 * math/s_clogl.c (__clogl): Likewise.
26031 * math/libm-test.inc (clog_test): Add more tests.
26032 (clog10_test): Likewise.
26033 * sysdeps/i386/fpu/libm-test-ulps: Update.
26034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26036 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26037 (pltexit): Likewise.
26038 (La_regs): Likewise.
26039 (La_retval): Likewise.
26040 (int_retval): Likewise.
26041 Update #error for removed macros to refer only to definitions in
26043 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26045 (pltexit): Likewise.
26046 (La_regs): Likewise.
26047 (La_retval): Likewise.
26048 (int_retval): Likewise.
26049 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26051 (pltexit): Likewise.
26052 (La_regs): Likewise.
26053 (La_retval): Likewise.
26054 (int_retval): Likewise.
26055 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26057 (pltexit): Likewise.
26058 (La_regs): Likewise.
26059 (La_retval): Likewise.
26060 (int_retval): Likewise.
26061 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26063 (pltexit): Likewise.
26064 (La_regs): Likewise.
26065 (La_retval): Likewise.
26066 (int_retval): Likewise.
26067 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26069 (pltexit): Likewise.
26070 (La_regs): Likewise.
26071 (La_retval): Likewise.
26072 (int_retval): Likewise.
26073 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26075 (pltexit): Likewise.
26076 (La_regs): Likewise.
26077 (La_retval): Likewise.
26078 (int_retval): Likewise.
26079 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26080 macro definitions in tst-audit.h.
26081 * sysdeps/i386/tst-audit.h: New file.
26082 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26083 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26084 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26085 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26086 * sysdeps/sh/tst-audit.h: Likewise.
26087 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26088 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26089 * sysdeps/x86_64/tst-audit.h: Likewise.
26091 2012-07-26 Andreas Jaeger <aj@suse.de>
26093 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26096 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26097 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26098 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26100 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26101 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26102 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26104 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26107 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26109 (si_call_addr, si_syscall, si_arch): Define new macro.
26110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26112 (si_call_addr, si_syscall, si_arch): Define new marcro.
26113 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26115 (si_call_addr, si_syscall, si_arch): Define new macro.
26116 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26118 (si_call_addr, si_syscall, si_arch): Define new macro.
26120 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26124 Change to 2.4.21 where previously 2.4.1.
26125 * sysdeps/unix/sysv/linux/configure: Regenerated.
26126 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26127 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26128 Linux kernel version.
26129 (__ASSUME_STD_AUXV): Remove.
26130 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26132 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26133 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26134 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26135 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26136 (__ASSUME_NETLINK_SUPPORT): Likewise.
26137 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26138 (__no_netlink_support): Remove conditional definition.
26139 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26141 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26142 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26143 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26144 (if_nameindex_ioctl): Remove.
26145 (if_nameindex_netlink): Do not handle __no_netlink_support.
26146 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26148 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26149 Remove conditional code.
26150 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26152 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26154 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26155 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26156 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26158 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26159 [!__ASSUME_STD_AUXV]: Remove conditional code.
26160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26161 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26162 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26164 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26165 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26167 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26169 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26170 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26172 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26174 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26177 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26180 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26181 code unconditional.
26182 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26184 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26186 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26189 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26191 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26194 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26195 code unconditional.
26196 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26198 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26200 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26203 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26204 code unconditional.
26205 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26207 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26209 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26212 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26214 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26215 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26216 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26217 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26218 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26219 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26220 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26221 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26222 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26223 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26224 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26225 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26226 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26227 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26228 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26229 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26230 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26231 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26232 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26234 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26235 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26238 2012-07-25 Florian Weimer <fweimer@redhat.com>
26240 * Versions.def: Add GLIBC_2.17.
26241 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26242 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26243 Introduce __libc_secure_getenv.
26244 * stdlib/Versions (2.17): Add secure_getenv
26245 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26246 * stdlib/secure-getenv.c: Rename __secure_getenv to
26247 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26248 symbol __secure_getenv for GLIBC_2.0.
26249 * stdlib/tst-secure-getenv.c: New.
26250 * stdlib/Makefile (tests): Add testcase.
26251 * manual/startup.texi (Environment Access): Document
26253 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26254 __libc_secure_getenv.
26255 * inet/ruserpass.c (ruserpass): Likewise.
26256 * malloc/mtrace.c (mtrace): Likewise.
26257 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26258 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26259 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26260 * sysdeps/posix/tempname.c: Likewise. Evaluate
26261 HAVE_SECURE_GETENV.
26262 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26263 __secure_getenv to __libc_secure_getenv.
26264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26271 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26277 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26279 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26280 (struct La_i86_retval): Likewise.
26281 (struct La_x86_64_regs): Likewise.
26282 (struct La_x86_64_retval): Likewise.
26283 (struct La_x32_regs): Likewise.
26284 (struct La_x32_retval): Likewise.
26285 (struct La_ppc32_regs): Likewise.
26286 (struct La_ppc32_retval): Likewise.
26287 (struct La_ppc64_regs): Likewise.
26288 (struct La_ppc64_retval): Likewise.
26289 (struct La_sh_regs): Likewise.
26290 (struct La_sh_retval): Likewise.
26291 (struct La_s390_32_regs): Likewise.
26292 (struct La_s390_32_retval): Likewise.
26293 (struct La_s390_64_regs): Likewise.
26294 (struct La_s390_64_retval): Likewise.
26295 (struct La_sparc32_regs): Likewise.
26296 (struct La_sparc32_retval): Likewise.
26297 (struct La_sparc64_regs): Likewise.
26298 (struct La_sparc64_retval): Likewise.
26299 (struct audit_ifaces): Remove architecture-specific pltenter and
26301 * sysdeps/i386/ldsodefs.h: New file.
26302 * sysdeps/powerpc/ldsodefs.h: Likewise.
26303 * sysdeps/s390/ldsodefs.h: Likewise.
26304 * sysdeps/sh/ldsodefs.h: Likewise.
26305 * sysdeps/sparc/ldsodefs.h: Likewise.
26306 * sysdeps/x86_64/ldsodefs.h: Likewise.
26308 2012-07-25 Marek Polacek <polacek@redhat.com>
26311 * math/libm-test.inc (yn_test): Add another test.
26312 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26313 to ERANGE when the result is +-Inf.
26314 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26315 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26316 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26317 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26319 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26321 * conform/data/time.h-data (NULL): Use macro-constant. Require
26323 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26325 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26327 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26329 * configure.in <sysdeps resolving>: Correct printing
26331 * configure: Regenerate.
26333 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26335 * math/w_ilogb.c: Include <limits.h>.
26336 * math/w_ilogbl.c: Likewise.
26338 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26340 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26341 va_copy. Document allowing for unavailable va_copy only as
26342 pre-C99 compatibility.
26343 * manual/string.texi (Copying and Concatenation): Use va_copy
26344 instead of __va_copy in concat example.
26346 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26348 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26349 (__sendto): Use create_address_port. Initialize APORT and deallocate
26352 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26353 with O_NOLINK passed to __file_name_lookup.
26355 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26356 with O_NOLINK passed to __file_name_lookup.
26358 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26359 negative N or less than NGIDS.
26361 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26362 type to string_t. Set ERANGE as errno and return it if NAME is not big
26363 enough. Use memcpy instead of strncpy.
26365 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26367 * elf/Makefile (check-data): Remove.
26368 (localplt.data): New vpath directive.
26369 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26370 instead of $(check-data).
26371 * scripts/data/localplt-generic.data: Move to ...
26372 * sysdeps/generic/localplt.data: ... here.
26373 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26374 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26375 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26378 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26381 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26384 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26387 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26390 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26394 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26396 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26397 PPC32 and PPC64 files.
26398 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26399 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26401 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26403 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26404 __makecontext_ret to ...
26405 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26406 ... here and call exit if uc_link is NULL. New file.
26407 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26408 __makecontext_ret.S.
26409 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26410 __makecontext_ret to ...
26411 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26412 ... here and call exit if uc_link is NULL. New file.
26413 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26414 __makecontext_ret.S.
26416 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26418 * elf/elf.h (R_390_IRELATIVE): New definition.
26419 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26420 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26421 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26422 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26423 (elf_machine_lazy_rel): Likewise.
26424 * sysdeps/s390/dl-irel.h: New file.
26425 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26426 * sysdeps/s390/s390-64/memset.S: New asm code.
26427 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26428 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26429 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26430 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26431 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26432 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26433 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26434 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26435 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26436 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26437 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26438 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26439 * sysdeps/s390/s390-32/memset.S: New asm code.
26440 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26442 2012-07-17 Marek Polacek <polacek@redhat.com>
26445 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26446 * sysdeps/s390/s390-64/configure.in: Likewise.
26447 * sysdeps/sparc/configure.in: Likewise.
26448 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26449 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26450 * sysdeps/i386/configure.in: Likewise.
26451 * sysdeps/x86_64/configure.in: Likewise.
26452 * sysdeps/sh/configure.in: Likewise.
26453 * sysdeps/s390/s390-32/configure: Regenerated.
26454 * sysdeps/s390/s390-64/configure: Likewise.
26455 * sysdeps/x86_64/configure: Likewise.
26456 * sysdeps/sh/configure: Likewise.
26457 * sysdeps/powerpc/powerpc64/configure: Likewise.
26458 * sysdeps/powerpc/powerpc32/configure: Likewise.
26459 * sysdeps/sparc/configure: Likwise.
26460 * sysdeps/i386/configure: Likewise.
26462 * elf/dl-open.c: Comment fixes.
26464 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26466 * Makefile [CXX] (check-data): Remove.
26467 [CXX] (c++-types.data): New vpath directive.
26468 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26469 vpath. Do not allow for C++ type data being missing.
26470 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26471 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26472 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26473 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26474 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26475 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26476 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26479 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26482 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26485 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26488 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26491 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26494 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26497 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26500 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26501 definitions to architecture-specific files.
26502 (TLS_IE): Likewise.
26503 (TLS_LD): Likewise.
26504 (TLS_GD): Likewise.
26505 * sysdeps/i386/tls-macros.h: New file.
26506 * sysdeps/powerpc/tls-macros.h: Likewise.
26507 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26508 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26509 * sysdeps/sh/tls-macros.h: Likewise.
26510 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26511 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26512 * sysdeps/x86_64/tls-macros.h: Likewise.
26514 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26516 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26517 zero value for regular exit case.
26519 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26520 (__start_context): Preserve zero value for regular exit case.
26522 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26523 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26525 * manual/setjmp.texi (setcontext): Clarify normal process
26526 termination when uc_link is the null pointer.
26527 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26530 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26532 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26533 preprocessor. Test for each exception mask separately.
26535 2012-07-16 Andreas Jaeger <aj@suse.de>
26537 * po/ru.po: Update from translation team.
26539 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26541 * conform/data/string.h-data (NULL): Use macro-constant. Require
26543 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26544 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26545 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26546 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26547 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26549 2012-07-13 Andreas Jaeger <aj@suse.de>
26551 * po/fr.po: Update from translation team.
26553 2012-07-12 Marek Polacek <polacek@redhat.com>
26556 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26557 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26560 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26564 Change to 2.4.1 where previously 2.4.0.
26565 * sysdeps/unix/sysv/linux/configure: Regenerated.
26566 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26567 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26569 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26570 (__ASSUME_AT_CLKTCK): Remove.
26571 (__ASSUME_AT_PAGESIZE): Likewise.
26572 (__ASSUME_AT_XID): Likewise.
26573 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26574 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26575 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26577 (HAVE_AUX_PAGESIZE): Likewise.
26578 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26579 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26580 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26582 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26586 the temporary buffer used to invoke __gethostbyname2_r,
26587 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26588 host_data / struct gaih_addrtuple.
26589 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26590 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26591 header file nss/nsswitch.h.
26592 * nss/nsswitch.h (global scope): Add definition of implementation
26593 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26594 resolv/nss_dns/dns-host.c).
26596 2012-07-11 Andreas Jaeger <aj@suse.de>
26598 * po/fr.po: Update from translation team.
26600 * po/sv.po: Update from translation team
26601 * po/fr.po: Another update from translation team.
26603 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26605 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26606 for subnormals or multiply small sinh result by itself.
26607 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26610 2012-07-11 David S. Miller <davem@davemloft.net>
26612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26614 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26617 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26618 (INTERNAL_MARK): Shift it here.
26620 2012-07-10 Marek Polacek <polacek@redhat.com>
26623 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26624 libc_cv_asm_global_directive with .globl.
26625 * configure: Regenerated.
26626 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26628 * sysdeps/i386/configure: Regenerated.
26629 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26631 * sysdeps/x86_64/configure: Regenerated.
26632 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26633 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26634 * elf/tst-unique2mod2.c: Likewise.
26635 * elf/tst-unique2mod1.c: Likewise.
26636 * elf/tst-unique1mod2.c: Likewise.
26637 * elf/tst-unique1mod1.c: Likewise.
26638 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26639 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26641 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26642 * sysdeps/mach/sysdep.h: Likewise.
26643 * sysdeps/i386/sysdep.h: Likewise.
26644 * sysdeps/i386/i386-mcount.S: Likewise.
26645 * sysdeps/x86_64/_mcount.S: Likewise.
26646 * sysdeps/x86_64/sysdep.h: Likewise.
26647 * sysdeps/sh/_mcount.S: Likewise.
26648 * sysdeps/sh/sysdep.h: Likewise.
26649 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26650 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26651 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26652 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26653 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26654 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26655 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26656 * locale/localeinfo.h: Likewise.
26657 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26658 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26660 2012-07-09 Roland McGrath <roland@hack.frob.com>
26663 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26665 * manual/message.texi (The Uniforum approach): Likewise.
26666 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26667 (glibc iconv Implementation): Likewise.
26669 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26672 * math/s_clog.c (__clog): Avoid scaling a value down where that
26673 could result in underflow.
26674 * math/s_clog10.c (__clog10): Likewise.
26675 * math/s_clog10f.c (__clog10f): Likewise.
26676 * math/s_clog10l.c (__clog10l): Likewise.
26677 * math/s_clogf.c (__clogf): Likewise.
26678 * math/s_clogl.c (__clogl): Likewise.
26679 * math/libm-test.inc (clog_test): Add more tests.
26680 (clog10_test): Likewise.
26681 * sysdeps/i386/fpu/libm-test-ulps: Update.
26682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26684 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26687 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26688 by 7 not 8 to examine high bit of fractional part.
26691 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26692 for call to __mcount_internal.
26693 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26694 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26695 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26697 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26700 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26701 approximation for values within 0x1p-13f of an odd multiple of
26703 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26704 exception. Add more tests.
26705 * sysdeps/i386/fpu/libm-test-ulps: Update.
26708 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26709 inputs and return -1 for them. Do not check for +Inf in case not
26710 reachable for +Inf.
26711 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26712 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26713 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26714 and return -1 for them. Do not check for +Inf in case not
26715 reachable for +Inf.
26716 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26718 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26719 and return -1 for them. Do not check for +Inf in case not
26720 reachable for +Inf.
26721 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26722 spurious underflow.
26723 * sysdeps/i386/fpu/libm-test-ulps: Update.
26724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26726 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26728 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26730 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26734 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26735 could result in spurious underflow. Scale down values above
26736 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26737 * math/s_csqrtf.c (__csqrtf): Likewise.
26738 * math/s_csqrtl.c (__csqrtl): Likewise.
26739 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26740 spurious underflow.
26741 * sysdeps/i386/fpu/libm-test-ulps: Update.
26742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26744 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26746 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26748 * catgets/xopen-msg.awk: New file.
26749 * catgets/xopen-msg.sed: Removed.
26751 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26753 * intl/po2test.awk: New file.
26754 * intl/po2test.sed: Removed.
26756 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26759 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26760 or multiply small sinh result by itself.
26761 * math/s_ctanf.c (__ctanf): Likewise.
26762 * math/s_ctanh.c (__ctanh): Likewise.
26763 * math/s_ctanhf.c (__ctanhf): Likewise.
26764 * math/s_ctanhl.c (__ctanhl): Likewise.
26765 * math/s_ctanl.c (__ctanl): Likewise.
26766 * math/libm-test.inc (ctan_test_tonearest): New function.
26767 (ctan_test_towardzero): Likewise.
26768 (ctan_test_downward): Likewise.
26769 (ctan_test_upward): Likewise.
26770 (ctanh_test_tonearest): Likewise.
26771 (ctanh_test_towardzero): Likewise.
26772 (ctanh_test_downward): Likewise.
26773 (ctanh_test_upward): Likewise.
26774 (main): Call these new functions.
26775 * sysdeps/i386/fpu/libm-test-ulps: Update.
26776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26778 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26780 * .gitignore: Delete /ports entry.
26782 2012-07-03 Andreas Jaeger <aj@suse.de>
26784 * po/bg.po: Update from translation team.
26785 * po/cs.po: Likewise.
26786 * po/de.po: Likewise.
26787 * po/hr.po: Likewise.
26788 * po/nl.pl: Likewise.
26789 * po/pl.po: Likewise.
26790 * po/vi.po: Likewise.
26792 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26794 * Makeconfig [!+link] (+link-before-libc): New variable.
26795 [!+link] (+link-after-libc): Likewise.
26796 [!+link] (+link-tests): Likewise.
26797 [!+link] (+link): Define in terms of $(+link-before-libc) and
26798 $(+link-after-libc).
26799 [!+link-static] (+link-static-before-libc): New variable.
26800 [!+link-static] (+link-static-after-libc): Likewise.
26801 [!+link-static] (+link-static-tests): Likewise.
26802 [!+link-static] (+link-static): Define in terms of
26803 $(+link-static-before-libc) and $(+link-static-after-libc).
26804 [build-shared] (link-libc-before-gnulib): New variable.
26805 [build-shared] (link-libc-tests): Likewise.
26806 [build-shared] (link-libc): Define in terms of
26807 $(link-libc-before-gnulib).
26808 [!build-shared] (link-libc-tests): New variable.
26809 (link-libc-static-tests): New variable.
26810 [!gnulib] (gnulib-arch): New variable.
26811 [!gnulib] (gnulib-tests): Likewise.
26812 [!gnulib] (static-gnulib-arch): Likewise.
26813 [!gnulib] (static-gnulib-tests): Likewise.
26814 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26815 Define with "=" instead of ":=".
26816 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26817 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26818 * Rules (binaries-all-notests): New variable.
26819 (binaries-all-tests): Likewise.
26820 (binaries-static-notests): Likewise.
26821 (binaries-static-tests): Likewise.
26822 (binaries-all): Define using $(binaries-all-notests) and
26823 $(binaries-all-tests).
26824 (binaries-static): Define using $(binaries-static-notests) and
26825 $(binaries-static-tests).
26826 (binaries-shared-tests): New variable.
26827 (binaries-shared-notests): Likewise.
26828 (binaries-shared): Remove variable.
26829 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26830 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26831 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26832 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26833 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26834 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26835 * elf/Makefile (sln-modules): New variable.
26836 (extra-objs): Add $(sln-modules:=.o).
26837 (ldconfig-modules): Add static-stubs.
26838 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26839 * elf/static-stubs.c: New file.
26842 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26843 by 7 not 8 to examine high bit of fractional part. Use volatile
26844 variables when splitting into final array of floats if
26845 __FLT_EVAL_METHOD__ != 0.
26846 * math/libm-test.inc (cos_test): Add another test.
26847 (sin_test): Likewise.
26848 * sysdeps/i386/fpu/libm-test-ulps: Update.
26851 * math/libm-test.inc (cosh_test): Add more tests.
26853 * version.h (RELEASE): Set to "development".
26854 (VERSION): Set to "2.16.90".
26856 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26858 * NEWS: Update copyright. Remove last-updated date.
26859 Mention math library bug fixes and timezone data changes.
26860 * README: Mention GNU/Hurd, x32, and HPPA support status.
26862 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26864 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26866 2012-06-27 Andreas Jaeger <aj@suse.de>
26868 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26870 2012-06-25 Andreas Jaeger <aj@suse.de>
26872 * sysdeps/s390/fpu/libm-test-ulps: Update.
26874 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26875 Thomas Schwinge <thomas@codesourcery.com>
26877 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26878 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26882 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26884 * sysdeps/mach/start.c: Remove file.
26885 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26886 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26887 * sysdeps/sh/init-first.c: Likewise.
26889 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26890 registers for frame unwinding purposes, add CFI directives.
26891 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26892 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26893 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26896 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26897 __fortify_fail returning.
26898 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26900 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26901 sysdeps/sh/____longjmp_chk.S.
26902 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26903 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26904 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26905 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26907 * sysdeps/sh/abort-instr.h: New file.
26908 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26909 process in case exit returns.
26911 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26912 initialize the GOT register before use.
26914 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26915 calculation of ARGC > 4.
26917 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26918 meaningful names to some local labels.
26920 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26921 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26923 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26924 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26925 (__arch_compare_and_exchange_val_16_acq): Likewise.
26926 (__arch_compare_and_exchange_val_32_acq): Likewise.
26927 (atomic_exchange_and_add): Fix gUSA sequence.
26928 (atomic_add): Likewise.
26929 (atomic_add_negative): Likewise.
26930 (atomic_add_zero): Likewise.
26931 (atomic_bit_test_set): Likewise.
26933 2012-06-22 Andreas Schwab <schwab@redhat.com>
26936 * include/link.h (struct link_map): Add l_free_initfini.
26937 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26939 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26940 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26941 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26944 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26946 * configure.in: Use AC_LANG_SOURCE.
26947 * configure: Regenerate.
26949 2012-06-22 Roland McGrath <roland@hack.frob.com>
26951 * configure.in (libc_cv_localstatedir): New substituted variable.
26952 * configure: Regenerated.
26953 * config.make.in (localstatedir): New variable, substituted from
26954 libc_cv_localstatedir.
26955 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26956 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26957 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26958 * sysdeps/gnu/configure: Regenerated.
26960 2012-06-21 Jeff Law <law@redhat.com>
26963 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26964 free. Simplify list management for _LIBC case.
26966 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26969 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26970 Clear sign bit of 64-bit integer value before comparing against
26973 * sysdeps/mach/configure: Regenerated.
26975 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26978 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26980 2012-06-21 Jeff Law <law@redhat.com>
26983 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26984 uint16_t for elements in the "seen" array to avoid char overflows.
26985 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26986 * elf/dl-open.c (dl_open_worker): Likewise.
26988 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26990 * scripts/list-sources.sh: Scan PORTS for translations.
26991 * po/libc.pot: Regenerated.
26993 2012-06-21 Andreas Jaeger <aj@suse.de>
26996 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26998 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26999 * bits/byteswap-16.h (__bswap_16): Likewise.
27000 * bits/byteswap.h (__bswap_constant_16): Likewise.
27002 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27005 * sysdeps/i386/fpu_control.h: Removed.
27006 * sysdeps/x86_64/fpu_control.h: Moved to ...
27007 * sysdeps/x86/fpu_control.h: Here.
27009 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27010 (_FPU_SETCW): Likewise.
27012 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27015 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27016 * sysdeps/x86/fpu/bits/mathinline.h: This.
27017 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27021 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27022 functions if __x86_64__ is defined.
27024 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27026 * string/endian.h: Add !__ASSEMBLER__ condition for including
27027 conversion interfaces.
27029 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27033 of ABS(x) in calculating zero to negative powers other than odd
27035 * math/libm-test.inc (pow_test): Add more tests.
27037 2012-06-15 Andreas Jaeger <aj@suse.de>
27039 * manual/contrib.texi (Contributors): Update entry of Liubov
27040 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27043 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27045 * string/string.h: Add __wur to GNU version of strerror_r.
27047 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27050 * string/Makefile (tests): Add tst-strtok_r.
27051 * string/tst-strtok_r.c: New file.
27052 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27053 RAX_LP/RDX_LP on SAVE_PTR.
27055 2012-06-14 Roland McGrath <roland@hack.frob.com>
27057 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27059 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27061 * libm_test.inc (csqrt_test): Allow more spurious underflow
27063 (j0_test): Likewise.
27064 (j1_test): Likewise.
27065 (y0_test): Likewise.
27066 (y1_test): Likewise.
27068 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27070 * po/Makefile (libc.pot): Use UTF-8 charset.
27072 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27075 Suppress sign-conversion warning from FD_SET.
27076 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27077 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27078 not unsigned long int.
27079 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27081 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27085 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27086 __extern_always_inline instead of __extern_inline.
27087 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27088 (__signbit): Likewise.
27089 (__signbitl): Support C++ namespace.
27090 (lrintf): New inline function.
27092 (llrintf): Likewise.
27093 (llrint): Likewise.
27103 (floorf): Likewise.
27104 (nearbyint): Likewise.
27105 (nearbyintf): Likewise.
27107 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27109 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27110 non-default versions.
27112 2012-06-11 Roland McGrath <roland@hack.frob.com>
27115 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27117 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27119 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27120 (FE_UPWARD, FE_DOWNWARD): Don't define.
27121 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27122 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27124 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27126 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27127 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27129 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27131 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27132 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27133 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27134 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27136 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27139 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27140 * sysdeps/i386/fpu/Implies: New file.
27141 * sysdeps/x86_64/fpu/Implies: Likewise.
27142 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27143 * sysdeps/x86/fpu/bits/fenv.h: This.
27145 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27148 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27151 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27152 character 0xffff that matches the last element of the
27155 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27157 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27160 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27163 values higher than 25.6283.
27165 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27167 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27168 subnormal exponent extraction and add some __builtin_expect.
27169 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27170 Fix for subnormal mantissa calculation.
27172 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27174 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27175 cpu2 is -1 and errno is not ENOSYS.
27177 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27180 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27181 * sysdeps/x86/bits/string.h: This.
27182 * sysdeps/x86_64/bits/string.h: Removed.
27184 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27185 if not compiling for x86-64, but compiling for >= i486.
27187 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27188 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27190 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27191 New macro from Linux kernel 3.4.0.
27192 (FP_XSTATE_MAGIC2): Likewise.
27193 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27194 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27195 (struct _fpx_sw_bytes): New struct.
27196 (struct _xsave_hdr): Likewise.
27197 (struct _ymmh_state): Likewise.
27198 (struct _xstate): Likewise.
27200 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27201 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27202 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27203 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27204 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27205 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27207 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27208 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27209 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27210 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27211 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27212 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27214 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27217 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27218 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27219 (sysdep_headers): Include sys/platform/ppc.h.
27220 * sysdeps/powerpc/test-gettimebase.c: Test for
27221 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27222 * manual/Makefile (appendices): Include platform.texi.
27223 * manual/contrib.texi (Contributors): Update @node pointers.
27224 * manual/maint.texi (Maintenance): Likewise.
27225 (Platform): New node.
27226 * manual/platform.texi: New file. Document the new features.
27228 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27229 Jakub Jelinek <jakub@redhat.com>
27232 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27233 where __builtin_expect is unavailable.
27235 2012-06-03 David S. Miller <davem@davemloft.net>
27237 * stdlib/longlong.h: Updated from GCC.
27239 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27242 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27243 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27246 (GLIBC_2.16): Likewise.
27248 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27250 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27252 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27255 (default-abi): New variable.
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27257 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27259 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27261 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27263 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27266 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27267 definition. Document in comment.
27269 2012-06-01 David S. Miller <davem@davemloft.net>
27271 * stdlib/longlong.h: Updated from GCC.
27273 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27276 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27277 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27278 sys/debugreg.h sys/io.h here.
27279 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27280 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27282 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27283 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27284 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27285 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27286 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27287 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27289 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27290 Define only if __x86_64__ is defined.
27292 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27295 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27296 Use int64_t for variable i.
27297 * math/libm-test.inc (fmod_test): Add more tests.
27299 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27300 z computation is not scheduled after fetestexcept.
27301 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27302 Use math_force_eval instead of asm to ensure calculation scheduled
27303 before exception test.
27304 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27305 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27307 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27310 computation is not scheduled after fetestexcept.
27312 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27315 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27316 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27318 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27320 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27321 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27323 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27326 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27328 (__WCHAR_MIN): Support __WORDSIZE == 64.
27329 (__WCHAR_MAX): Likewise.
27331 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27332 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27335 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27336 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27339 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27340 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27342 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27343 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27345 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27346 Defined to 1 if __x86_64__ isn't defined.
27347 (_STAT_VER_LINUX_OLD): New.
27348 (st_atime): Remove duplicate.
27349 (st_mtime): Likewise.
27350 (st_ctime): Likewise.
27352 2012-05-31 David S. Miller <davem@davemloft.net>
27354 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27357 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27359 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27363 * elf/dl-reloc.c: Include <_itoa.h>.
27364 (_dl_reloc_bad_type): Remove use of INTUSE.
27365 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27366 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27367 * stdio-common/psiginfo.c (psiginfo): Likewise.
27368 * stdio-common/psignal.c (psignal): Likewise.
27369 * string/strsignal.c (strsignal): Likewise.
27370 * include/signal.h (_sys_siglist): Declare hidden proto.
27371 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27372 INTVARDEF with libc_hidden_data_def.
27373 * stdio-common/itoa-udigits.c: Likewise.
27374 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27375 (_itoa_lower_digits_internal): Remove declaration.
27376 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27377 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27378 (_sys_sigabbrev_internal): Remove aliases.
27379 (_sys_siglist): Define hidden alias.
27381 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27386 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27389 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27390 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27392 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27393 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27394 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27395 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27396 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27397 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27399 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27400 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27401 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27403 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27411 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27412 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27413 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27415 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27416 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27417 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27418 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27419 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27420 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27422 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27423 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27425 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27426 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27430 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27432 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27433 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27435 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27437 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27438 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27439 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27441 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27443 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27445 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27447 * math/math.h (M_El): Use two more decimal places.
27448 (M_LOG2El): Likewise.
27449 (M_LOG10El): Likewise.
27450 (M_LN2l): Likewise.
27451 (M_LN10l): Likewise.
27453 (M_PI_2l): Likewise.
27454 (M_PI_4l): Likewise.
27455 (M_1_PIl): Likewise.
27456 (M_2_PIl): Likewise.
27457 (M_2_SQRTPIl): Likewise.
27458 (M_SQRT2l): Likewise.
27459 (M_SQRT1_2l): Likewise.
27461 2012-05-31 David S. Miller <davem@davemloft.net>
27463 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27464 values between float registers.
27465 * sysdeps/sparc/sparc64/memset.S: Likewise.
27466 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27468 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27470 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27471 -D_FORTIFY_SOURCE=1.
27472 (CPPFLAGS-tst-longjmp_chk.c): Define.
27473 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27474 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27475 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27476 CFLAGS-tst-wchar-h.c.
27478 2012-05-31 Marek Polacek <polacek@redhat.com>
27481 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27482 __endmntent_internal): Remove declaration.
27483 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27484 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27485 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27487 2012-05-30 David S. Miller <davem@davemloft.net>
27489 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27490 (___Q_simulate_exceptions): Use real FP ops rather than writing
27492 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27495 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27498 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27499 * sysdeps/x86/bits/xtitypes.h: This.
27501 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27502 * sysdeps/x86/bits/wordsize.h: This.
27504 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27505 * sysdeps/x86/bits/huge_vall.h: This.
27507 * sysdeps/i386/bits/select.h: Removed.
27508 * sysdeps/x86_64/bits/select.h: Renamed to ...
27509 * sysdeps/x86/bits/select.h: This.
27511 * sysdeps/i386/bits/setjmp.h: Removed.
27512 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27513 * sysdeps/x86/bits/setjmp.h: This.
27515 * sysdeps/i386/bits/mathdef.h: Removed.
27516 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27517 * sysdeps/x86/bits/mathdef.h: This.
27519 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27522 * include/sys/socket.h (__connect_internal)
27523 (__libc_sa_len_internal): Remove declaration.
27524 (__connect, __libc_sa_len): Declare hidden_proto.
27525 (SA_LEN): Remove use of INTUSE.
27526 * socket/connect.c: Add libc_hidden_def.
27527 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27528 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27529 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27531 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27533 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27534 of adding _internal alias.
27536 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27539 * sysdeps/i386/bits/link.h: Removed.
27540 * sysdeps/i386/bits/linkmap.h: Likewise.
27541 * sysdeps/x86_64/bits/link.h: Renamed to ...
27542 * sysdeps/x86/bits/link.h: This.
27543 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27544 * sysdeps/x86/bits/linkmap.h: This.
27546 * sysdeps/i386/bits/endian.h: Removed.
27547 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27548 * sysdeps/x86/bits/endian.h: This.
27550 * sysdeps/i386/bits/byteswap.h: Removed.
27551 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27552 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27553 * sysdeps/x86/bits/byteswap.h: This.
27554 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27555 * sysdeps/x86/bits/byteswap-16.h: This.
27556 * sysdeps/i386/Implies: Add x86.
27557 * sysdeps/x86_64/Implies: Likewise.
27559 2012-05-30 David S. Miller <davem@davemloft.net>
27561 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27562 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27563 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27564 (FP_TRAPPING_EXCEPTIONS): Define.
27565 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27566 (FP_TRAPPING_EXCEPTIONS): Define.
27567 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27568 subnormals only when inexact has been signalled or underflow
27569 exceptions are enabled.
27570 (_FP_PACK_CANONICAL): Likewise.
27572 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27575 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27576 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27578 2012-05-30 Richard Henderson <rth@twiddle.net>
27580 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27581 with #ifndef NOT_IN_libc.
27583 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27584 marked to avoid plt entry.
27586 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27589 * Makeconfig (default-abi): New macro.
27590 (abi-includes): Likewise.
27591 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27592 $(abi-$(default-abi)-lib-soname) for soname if defined.
27593 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27595 * Makefile (installed-stubs): Likewise.
27596 * include/stubs-biarch.h: Removed.
27597 * scripts/lib-names.awk: Only handle one library at a time.
27598 * scripts/soversions.awk: Remove WORDSIZE support.
27599 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27601 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27603 (syscall-list-default-condition): Likewise.
27604 (syscall-list-default-condition): Likewise.
27605 (syscall-list-includes): Likewise.
27606 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27607 syscall-list-* with abi-*. Handle undefined abi-variants.
27608 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27609 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27610 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27611 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27612 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27613 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27615 (syscall-list-32-options): Likewise.
27616 (syscall-list-32-condition): Likewise.
27617 (syscall-list-64-options): Likewise.
27618 (syscall-list-64-condition): Likewise.
27619 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27621 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27624 (abi-64-ld-soname): New macro.
27625 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27626 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27629 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27630 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27632 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27634 * sysdeps/unix/sysv/linux/kernel-features.h
27635 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27636 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27637 include <kernel-features.h>.
27638 [!__NR_ftruncate64]: Remove conditional code.
27639 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27640 [__NR_ftruncate64]: Make code unconditional.
27641 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27642 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27643 include <kernel-features.h>.
27644 [!__NR_ftruncate64]: Remove conditional code.
27645 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27646 [__NR_ftruncate64]: Make code unconditional.
27647 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27649 include <kernel-features.h>.
27650 [!__NR_ftruncate64]: Remove conditional code.
27651 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27652 [__NR_ftruncate64]: Make code unconditional.
27653 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27655 include <kernel-features.h>.
27656 [!__NR_ftruncate64]: Remove conditional code.
27657 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27658 [__NR_ftruncate64]: Make code unconditional.
27659 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27661 * configure.in (libc_cv_fpie): Weaken to a compile test using
27662 LIBC_TRY_CC_OPTION.
27663 * configure: Regenerated.
27665 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27680 2012-05-27 David S. Miller <davem@davemloft.net>
27682 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27684 (__Q_simulate_exceptions): Return void. Change to simulate
27685 exceptions by writing into the %fsr.
27686 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27687 (__Qp_handle_exceptions): Likewise.
27689 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27690 __Qp_handle_exceptions.
27691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27692 __Qp_handle_exceptions.
27693 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27694 as unused and give dummy FP_RND_NEAREST initializer.
27695 (FP_INHIBIT_RESULTS): Define.
27696 (___Q_simulate_exceptions): Update declaration.
27697 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27699 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27700 as unused and give dummy FP_RND_NEAREST initializer.
27701 (__Qp_handle_exceptions): Update declaration.
27702 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27705 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27707 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27708 the temporary FPU control word.
27709 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27710 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27711 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27712 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27713 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27714 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27715 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27716 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27717 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27718 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27719 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27721 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27723 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27726 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27728 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27729 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27730 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27731 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27733 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27734 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27737 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27739 * po/h.po: Update from translation team.
27741 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27743 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27745 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27746 handling of denormals.
27747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27748 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27749 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27750 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27752 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27756 2012-05-26 Marek Polacek <polacek@redhat.com>
27759 * math/libm-test.inc (fma_test): Don't always expect underflow
27762 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27765 * elf/tst-execstack.c: Include stackinfo.h.
27766 (do_test): Adjust test case to ensure that pthread_getattr_np
27767 behaviour remains the same after marking stack executable.
27769 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27771 * sysdeps/unix/sysv/linux/kernel-features.h
27772 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27773 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27775 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27776 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27777 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27779 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27780 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27782 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27784 * configure.in: Define the default includes to being none.
27785 * configure: Regenerated.
27787 2012-05-25 Roland McGrath <roland@hack.frob.com>
27789 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27790 * sysdeps/x86_64/setjmp.S: Likewise.
27791 * sysdeps/i386/bsd-setjmp.S: Likewise.
27792 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27793 * sysdeps/i386/setjmp.S: Likewise.
27794 * sysdeps/i386/__longjmp.S: Likewise.
27795 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27796 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27798 * include/stap-probe.h: New file.
27799 * configure.in: Handle --enable-systemtap.
27800 * configure: Regenerated.
27801 * config.h.in (USE_STAP_PROBE): New #undef.
27802 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27803 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27804 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27806 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27810 to 2.4.0 where earlier.
27811 * sysdeps/unix/sysv/linux/configure: Regenerated.
27812 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27813 <kernel-features.h>.
27814 [__ASSUME_32BITUIDS]: Make code unconditional.
27815 [!__ASSUME_32BITUIDS]: Remove conditional code.
27816 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27817 <kernel-features.h>.
27818 [__ASSUME_32BITUIDS]: Make code unconditional.
27819 [!__ASSUME_32BITUIDS]: Remove conditional code.
27820 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27821 [__ASSUME_32BITUIDS]: Make code unconditional.
27822 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27823 * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
27828 <kernel-features.h>.
27829 [__ASSUME_32BITUIDS]: Make code unconditional.
27830 [!__ASSUME_32BITUIDS]: Remove conditional code.
27831 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27832 <kernel-features.h>.
27833 [__ASSUME_32BITUIDS]: Make code unconditional.
27834 [!__ASSUME_32BITUIDS]: Remove conditional code.
27835 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27836 <kernel-features.h>.
27837 [__ASSUME_32BITUIDS]: Make code unconditional.
27838 [!__ASSUME_32BITUIDS]: Remove conditional code.
27839 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27840 <kernel-features.h>.
27841 [__ASSUME_32BITUIDS]: Make code unconditional.
27842 [!__ASSUME_32BITUIDS]: Remove conditional code.
27843 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27844 <kernel-features.h>.
27845 [__ASSUME_32BITUIDS]: Make code unconditional.
27846 [!__ASSUME_32BITUIDS]: Remove conditional code.
27847 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27848 <kernel-features.h>.
27849 [__ASSUME_32BITUIDS]: Make code unconditional.
27850 [!__ASSUME_32BITUIDS]: Remove conditional code.
27851 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27852 <kernel-features.h>.
27853 [__ASSUME_32BITUIDS]: Make code unconditional.
27854 [!__ASSUME_32BITUIDS]: Remove conditional code.
27855 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27856 <kernel-features.h>.
27857 [__ASSUME_32BITUIDS]: Make code unconditional.
27858 [!__ASSUME_32BITUIDS]: Remove conditional code.
27859 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27860 <kernel-features.h>.
27861 [__ASSUME_32BITUIDS]: Make code unconditional.
27862 [!__ASSUME_32BITUIDS]: Remove conditional code.
27863 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27864 <kernel-features.h>.
27865 [__NR_setresgid] (__setresgid): Do not declare.
27866 [__ASSUME_32BITUIDS]: Make code unconditional.
27867 [!__ASSUME_32BITUIDS]: Remove conditional code.
27868 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27869 <kernel-features.h>.
27870 [__NR_setresuid] (__setresuid): Do not declare.
27871 [__ASSUME_32BITUIDS]: Make code unconditional.
27872 [!__ASSUME_32BITUIDS]: Remove conditional code.
27873 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27874 <kernel-features.h>.
27875 [__ASSUME_32BITUIDS]: Make code unconditional.
27876 [!__ASSUME_32BITUIDS]: Remove conditional code.
27877 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27878 <kernel-features.h>.
27879 [__ASSUME_32BITUIDS]: Make code unconditional.
27880 [!__ASSUME_32BITUIDS]: Remove conditional code.
27881 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27882 <kernel-features.h>.
27883 [__ASSUME_32BITUIDS]: Make code unconditional.
27884 [!__ASSUME_32BITUIDS]: Remove conditional code.
27885 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27886 <kernel-features.h>.
27887 [__ASSUME_32BITUIDS]: Make code unconditional.
27888 [!__ASSUME_32BITUIDS]: Remove conditional code.
27889 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27890 <kernel-features.h>.
27891 [__ASSUME_32BITUIDS]: Make code unconditional.
27892 [!__ASSUME_32BITUIDS]: Remove conditional code.
27893 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27894 <kernel-features.h>.
27895 [__ASSUME_32BITUIDS]: Make code unconditional.
27896 [!__ASSUME_32BITUIDS]: Remove conditional code.
27897 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27898 <kernel-features.h>.
27899 [__ASSUME_32BITUIDS]: Make code unconditional.
27900 [!__ASSUME_32BITUIDS]: Remove conditional code.
27901 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27902 <kernel-features.h>.
27903 [__ASSUME_32BITUIDS]: Make code unconditional.
27904 [!__ASSUME_32BITUIDS]: Remove conditional code.
27905 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27906 <kernel-features.h>.
27907 [__ASSUME_32BITUIDS]: Make code unconditional.
27908 [!__ASSUME_32BITUIDS]: Remove conditional code.
27909 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27910 <kernel-features.h>.
27911 [__ASSUME_32BITUIDS]: Make code unconditional.
27912 [!__ASSUME_32BITUIDS]: Remove conditional code.
27913 * sysdeps/unix/sysv/linux/kernel-features.h
27914 (__ASSUME_SETRESUID_SYSCALL): Remove.
27915 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27916 (__ASSUME_32BITUIDS): Likewise.
27917 (__ASSUME_LDT_WORKS): Likewise.
27918 (__ASSUME_O_DIRECTORY): Likewise.
27919 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27920 architecture but not kernel version.
27921 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27922 (__ASSUME_MMAP2_SYSCALL): Likewise.
27923 (__ASSUME_STAT64_SYSCALL): Likewise.
27924 (__ASSUME_IPC64): Likewise.
27925 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27926 <kernel-features.h>.
27927 [__ASSUME_32BITUIDS]: Make code unconditional.
27928 [!__ASSUME_32BITUIDS]: Remove conditional code.
27929 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27930 <kernel-features.h>.
27931 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27932 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27933 132096]: Remove conditional code.
27934 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27935 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27936 <kernel-features.h>.
27937 [__ASSUME_32BITUIDS]: Make code unconditional.
27938 [!__ASSUME_32BITUIDS]: Remove conditional code.
27939 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27940 <kernel-features.h>.
27941 [__ASSUME_32BITUIDS]: Make code unconditional.
27942 [!__ASSUME_32BITUIDS]: Remove conditional code.
27943 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27944 <kernel-features.h>.
27945 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27947 (__setresgid): Do not declare.
27948 [__ASSUME_32BITUIDS]: Make code unconditional.
27949 [!__ASSUME_32BITUIDS]: Remove conditional code.
27950 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27951 <kernel-features.h>.
27952 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27954 (__setresuid): Do not declare.
27955 [__ASSUME_32BITUIDS]: Make code unconditional.
27956 [!__ASSUME_32BITUIDS]: Remove conditional code.
27957 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27958 <kernel-features.h>.
27959 [__ASSUME_32BITUIDS]: Make code unconditional.
27960 [!__ASSUME_32BITUIDS]: Remove conditional code.
27961 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27962 <kernel-features.h>.
27963 [__ASSUME_32BITUIDS]: Make code unconditional.
27964 [!__ASSUME_32BITUIDS]: Remove conditional code.
27966 2012-05-25 Richard Henderson <rth@twiddle.net>
27968 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27969 dl_hwcap to ifunc resolver.
27970 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27972 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27973 dl_hwcap to ifunc resolver.
27974 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27976 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27979 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27980 for |x| <= 2**-26, not 2**-57.
27981 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27984 2012-05-24 Jeff Law <law@redhat.com>
27986 * stdio-common/Makefile (tests): Add bug25.
27987 * stdio-common/bug25.c: New test.
27989 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27992 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27993 multiple of MALLOC_ALIGNMENT in size.
27994 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27996 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27998 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28000 (FILENAME_MAX): Use macro-int-constant.
28001 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28002 (_IOFBF): Use macro-int-constant.
28003 (_IOLBF): Likewise.
28004 (_IONBF): Likewise.
28005 (SEEK_CUR): Likewise.
28006 (SEEK_END): Likewise.
28007 (SEEK_SET): Likewise.
28008 (TMP_MAX): Likewise.
28009 (EOF): Use macro-int-constant. Require < 0.
28010 (NULL): Use macro-constant. Require == 0.
28011 (stdin): Require type to be FILE *.
28012 (stdout): Likewise.
28013 (stderr): Likewise.
28014 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28015 macro-int-constant.
28016 (EXIT_SUCCESS): Likewise.
28017 (NULL): Use macro-constant. Require == 0.
28018 (RAND_MAX): Use macro-int-constant.
28019 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28020 [C99-based standards] (strtof): Require function.
28021 [C99-based standards] (strtold): Likewise.
28022 [C99-based standards] (strtoll): Likewise.
28023 [C99-based standards] (strtoull): Likewise.
28024 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28025 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28026 [ISO || ISO99 || ISO11] (math.h): Likewise.
28027 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28028 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28031 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28034 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28035 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28036 * intl/dgettext.c (DCGETTEXT): Likewise.
28037 * intl/gettext.c (DCGETTEXT): Likewise.
28038 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28039 * posix/regex_internal.h (gettext): Likewise.
28040 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28041 Remove declaration.
28042 * include/argz.h (__argz_count_internal)
28043 (__argz_stringify_internal): Remove declaration.
28044 (__argz_count, __argz_stringify): Declare hidden proto.
28045 * intl/dcgettext.c: Remove use of INTDEF.
28046 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28047 * string/argz-stringify.c: Likewise.
28048 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28049 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28050 Declare hidden proto.
28051 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28052 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28053 Declare hidden proto.
28054 * include/stdio.h (__asprintf_internal): Don't declare.
28055 (__asprintf): Don't define as macro. Declare hidden proto.
28056 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28057 (__fsetlocking): Declare hidden proto.
28058 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28059 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28061 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28062 (_IO_setlinebuf): Remove use of INTUSE.
28063 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28064 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28065 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28066 Remove declaration.
28067 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28068 (_IO_do_flush): Remove use of INTUSE.
28069 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28070 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28071 (_IO_adjust_column, _IO_least_wmarker)
28072 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28073 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28074 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28075 (_IO_default_doallocate, _IO_wdefault_doallocate)
28076 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28077 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28078 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28079 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28080 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28081 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28082 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28083 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28084 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28085 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28086 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28087 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28088 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28090 (_IO_flush_all_internal, _IO_adjust_column_internal)
28091 (_IO_default_uflow_internal, _IO_default_finish_internal)
28092 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28093 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28094 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28095 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28096 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28097 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28098 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28099 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28100 (_IO_file_close_internal, _IO_file_close_it_internal)
28101 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28102 (_IO_file_init_internal, _IO_file_attach_internal)
28103 (_IO_file_fopen_internal, _IO_file_read_internal)
28104 (_IO_file_sync_internal, _IO_file_seek_internal)
28105 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28106 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28107 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28108 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28109 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28110 (_IO_list_all_internal, _IO_link_in_internal)
28111 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28112 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28113 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28114 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28115 (_IO_do_write_internal, _IO_padn_internal)
28116 (_IO_getline_info_internal, _IO_getline_internal)
28117 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28118 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28119 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28120 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28121 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28122 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28123 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28124 with libc_hidden_ver, remove use of INTUSE.
28125 * libio/genops.c: Likewise.
28126 * libio/freopen.c: Likewise.
28127 * libio/freopen64.c: Likewise.
28128 * libio/iofclose.c: Likewise.
28129 * libio/iofdopen.c: Likewise.
28130 * libio/iofflush.c: Likewise.
28131 * libio/iofflush_u.c: Likewise.
28132 * libio/iofgets.c: Likewise.
28133 * libio/iofgets_u.c: Likewise.
28134 * libio/iofopen.c: Likewise.
28135 * libio/iofopncook.c: Likewise.
28136 * libio/iofread.c: Likewise.
28137 * libio/iofread_u.c: Likewise.
28138 * libio/ioftell.c: Likewise.
28139 * libio/iofwrite.c: Likewise.
28140 * libio/iogetline.c: Likewise.
28141 * libio/iogets.c: Likewise.
28142 * libio/iogetwline.c: Likewise.
28143 * libio/iopadn.c: Likewise.
28144 * libio/iopopen.c: Likewise.
28145 * libio/ioseekoff.c: Likewise.
28146 * libio/ioseekpos.c: Likewise.
28147 * libio/iosetbuffer.c: Likewise.
28148 * libio/iosetvbuf.c: Likewise.
28149 * libio/ioungetc.c: Likewise.
28150 * libio/ioungetwc.c: Likewise.
28151 * libio/iovdprintf.c: Likewise.
28152 * libio/iovsprintf.c: Likewise.
28153 * libio/iovsscanf.c: Likewise.
28154 * libio/memstream.c: Likewise.
28155 * libio/obprintf.c: Likewise.
28156 * libio/oldfileops.c: Likewise.
28157 * libio/oldiofclose.c: Likewise.
28158 * libio/oldiofdopen.c: Likewise.
28159 * libio/oldiofopen.c: Likewise.
28160 * libio/oldiopopen.c: Likewise.
28161 * libio/oldstdfiles.c: Likewise.
28162 * libio/putc.c: Likewise.
28163 * libio/setbuf.c: Likewise.
28164 * libio/setlinebuf.c: Likewise.
28165 * libio/stdfiles.c: Likewise.
28166 * libio/strops.c: Likewise.
28167 * libio/vasprintf.c: Likewise.
28168 * libio/vscanf.c: Likewise.
28169 * libio/vsnprintf.c: Likewise.
28170 * libio/vswprintf.c: Likewise.
28171 * libio/wfiledoalloc.c: Likewise.
28172 * libio/wfileops.c: Likewise.
28173 * libio/wgenops.c: Likewise.
28174 * libio/wmemstream.c: Likewise.
28175 * libio/wstrops.c: Likewise.
28176 * libio/__fpurge.c: Likewise.
28177 * libio/__fsetlocking.c: Likewise.
28178 * assert/assert.c: Likewise.
28179 * debug/fgets_chk.c: Likewise.
28180 * debug/fgets_u_chk.c: Likewise.
28181 * debug/fread_chk.c: Likewise.
28182 * debug/fread_u_chk.c: Likewise.
28183 * debug/gets_chk.c: Likewise.
28184 * debug/obprintf_chk.c: Likewise.
28185 * debug/vasprintf_chk.c: Likewise.
28186 * debug/vdprintf_chk.c: Likewise.
28187 * debug/vsnprintf_chk.c: Likewise.
28188 * debug/vsprintf_chk.c: Likewise.
28189 * malloc/mtrace.c: Likewise.
28190 * misc/error.c: Likewise.
28191 * misc/syslog.c: Likewise.
28192 * stdio-common/asprintf.c: Likewise.
28193 * stdio-common/fxprintf.c: Likewise.
28194 * stdio-common/getw.c: Likewise.
28195 * stdio-common/isoc99_fscanf.c: Likewise.
28196 * stdio-common/isoc99_scanf.c: Likewise.
28197 * stdio-common/isoc99_vfscanf.c: Likewise.
28198 * stdio-common/isoc99_vscanf.c: Likewise.
28199 * stdio-common/isoc99_vsscanf.c: Likewise.
28200 * stdio-common/printf-prs.c: Likewise.
28201 * stdio-common/printf_fp.c: Likewise.
28202 * stdio-common/printf_fphex.c: Likewise.
28203 * stdio-common/printf_size.c: Likewise.
28204 * stdio-common/putw.c: Likewise.
28205 * stdio-common/scanf.c: Likewise.
28206 * stdio-common/sprintf.c: Likewise.
28207 * stdio-common/tmpfile.c: Likewise.
28208 * stdio-common/vfprintf.c: Likewise.
28209 * stdio-common/vfscanf.c: Likewise.
28210 * stdlib/strfmon_l.c: Likewise.
28211 * sunrpc/openchild.c: Likewise.
28212 * sunrpc/xdr_stdio.c: Likewise.
28213 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28214 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28216 2012-05-24 Roland McGrath <roland@hack.frob.com>
28218 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28220 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28221 in the third column, to generate for the shared library an IFUNC
28222 that uses _dl_vdso_vsym.
28223 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28224 * Makeconfig (object-suffixes-noshared): New variable.
28226 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28227 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28228 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28229 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28232 * include/sys/time.h (__gettimeofday): Remove macro.
28233 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28234 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28236 (__gettimeofday): Add libc_hidden_def.
28237 (gettimeofday): Add libc_hidden_weak.
28238 * sysdeps/mach/gettimeofday.c: Likewise.
28239 * sysdeps/posix/gettimeofday.c: Likewise.
28240 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28241 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28243 (__gettimeofday_internal): Remove strong_alias.
28244 (__gettimeofday): Add libc_hidden_def.
28245 (gettimeofday): Add libc_hidden_weak.
28246 * sysdeps/unix/syscalls.list (gettimeofday):
28247 Remove __gettimeofday_internal alias.
28249 2012-05-24 Daniel Jacobowitz <drow@false.org>
28250 H.J. Lu <hongjiu.lu@intel.com>
28253 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28254 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28255 (largebin_index_32_big): New.
28256 (largebin_index): Use it for 16-byte alignment.
28257 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28258 correction with front_misalign.
28260 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28288 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28289 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28291 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28295 * math/libm-test.inc (exp_test): Add test from bug 14036.
28296 (pow_test): Add test from bug 10846.
28298 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28300 (special_function): Do not include flags in test name.
28301 (parse_args): Likewise.
28302 * sysdeps/i386/fpu/libm-test-ulps: Update.
28303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28304 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28305 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28308 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28310 * math/libm-test.inc ("Philosophy"): Update comment about
28312 (UNDERFLOW_EXCEPTION): New macro.
28313 (UNDERFLOW_EXCEPTION_OK): Likewise.
28314 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28315 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28316 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28317 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28318 (INVALID_EXCEPTION_OK): Update value.
28319 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28320 (OVERFLOW_EXCEPTION_OK): Likewise.
28321 (IGNORE_ZERO_INF_SIGN): Likewise.
28322 (test_exceptions): Handle underflow exceptions.
28323 (acos_test): Update for underflow exception expectations.
28324 (cexp_test): Likewise.
28325 (clog_test): Likewise.
28326 (clog10_test): Likewise.
28327 (csqrt_test): Likewise.
28328 (ctan_test): Likewise.
28329 (ctanh_test): Likewise.
28330 (exp_test): Likewise.
28331 (exp10_test): Likewise.
28332 (exp2_test): Likewise.
28333 (expm1_test): Likewise.
28334 (fma_test): Likewise.
28335 (j0_test): Likewise.
28336 (jn_test): Likewise.
28337 (nexttoward_test): Likewise.
28338 (pow_test): Likewise.
28339 (scalbn_test): Likewise.
28340 (scalbln_test): Likewise.
28341 (tan_test): Likewise.
28342 (y1_test): Likewise.
28343 * sysdeps/i386/fpu/libm-test-ulps: Update.
28344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28346 2012-05-23 David S. Miller <davem@davemloft.net>
28348 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28349 (__libc_sigaction): Remove unused local variables.
28351 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28353 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28355 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28357 mktime: avoid signed integer overflow
28358 * time/mktime.c (__mktime_internal): Do not mishandle the case
28359 where diff == INT_MIN.
28361 mktime: simplify computation of average
28362 * time/mktime.c (ranged_convert): Use new time_t_avg function
28363 instead of rolling our own (probably-slower) code.
28365 mktime: do not assume signed right shift propagates sign bit
28366 * time/mktime.c (isdst_differ): New static function.
28367 (__mktime_internal): No need to normalize tm_isdst now.
28368 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28371 mktime: merge another wrapv change from gnulib
28372 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28373 from some compilers.
28375 mktime: remove incorrect attempt at unusual arithmetics
28376 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28377 The code didn't really work on such machines anyway.
28378 (TYPE_MINIMUM): Assume two's complement.
28379 (twos_complement_arithmetic): Verify that long_int and time_t
28380 are two's complement (or unsigned, in the latter case).
28382 mktime: check signed shifts on long_int and time_t, too
28383 * time/mktime.c (SHR): Check that shifts work as desired
28384 on the types long_int and time_t too, as SHR is used on
28387 mktime: do not assume 'long' is wide enough
28388 * time/mktime.c (verify): Move decl up.
28389 (long_int): New type.
28390 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28391 to remove assumption in the code that 'long' is wide enough to
28392 store year values. This assumption is not true on x32 and on
28393 some non-glibc platforms.
28395 mktime: merge wrapv change from gnulib
28396 * time/mktime.c (WRAPV): New macro.
28397 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28398 (guess_time_tm, __mktime_internal): Do not assume that signed
28399 integer overflow wraps around; modern compilers generate code
28400 where this assumption is no longer valid.
28402 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28404 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28405 Replace "jmp L(pseudo_end)" with "ret".
28406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28409 2012-05-23 Andreas Jaeger <aj@suse.de>
28411 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28412 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28414 2012-05-23 Andreas Jaeger <aj@suse.de>
28415 Maximilian Attems <max@stro.at>
28417 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28420 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28422 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28423 code so that pseudo_end is just ret and the stack pointer is
28424 correct also for static library in error case.
28426 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28428 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28429 move to syscalls.list.
28430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28435 * manual/install.texi (Running make install): Do not mention Linux
28436 kernel version for which pt_chown is not needed.
28437 (Linux): Do not mention problems with nscd with 2.0 kernels.
28438 * INSTALL: Regenerated.
28440 2012-05-23 Andreas Jaeger <aj@suse.de>
28442 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28443 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28445 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28446 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28447 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28448 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28449 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28451 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28452 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28453 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28454 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28455 * sysdeps/unix/sysv/linux/bits/in.h
28456 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28458 2012-05-22 Roland McGrath <roland@hack.frob.com>
28460 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28461 (PREPARE_VERSION): Just use assert instead, it will be elided
28462 under [NDEBUG] anyway.
28464 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28466 * sysdeps/unix/sysv/linux/Makefile: Include
28467 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28468 (sysdep_routines): Remove sysctl.
28469 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28470 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28471 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28472 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28473 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28475 2012-05-22 Andreas Jaeger <aj@suse.de>
28477 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28478 that pseudo_end is just ret and the stack pointer is correct also
28479 for static library in error case.
28481 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28484 * nss/nsswitch.c (defconfig_entries): New variable.
28485 (__nss_database_lookup): Don't leak defconfig entries.
28486 (nss_parse_service_list): Don't leak on error paths.
28487 (free_database_entries): New function.
28488 (free_defconfig): New function.
28489 (free_mem): Move common code to free_database_entries.
28491 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28493 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28495 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28497 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28498 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28501 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28502 (INTERNAL_SYSCALL_TYPES): Likewise.
28503 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28504 (LOAD_REGS_TYPES_[1-6]): Likewise.
28505 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28506 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28508 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28510 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28511 copysignl for GLIBC_2_0.
28512 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28513 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28515 logbl for GLIBC_2_0.
28516 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28517 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28519 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28521 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28522 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28524 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28527 * time/mktime.c: Update copyright years.
28529 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28531 mktime: merge comment-quoting-style change from gnulib
28532 * time/mktime.c: Quote 'like this' in comments.
28533 The GNU coding standards suggest that we no longer quote `like this',
28534 as "`" and "'" are typically rendered asymmetrically nowadays.
28535 The typical gnulib style is to quote 'like this' when quoting
28536 code, and "like this" when quoting English.
28538 * time/mktime.c (compile-command): Add "-I.".
28540 mktime: merge mktime-internal.h change from gnulib
28541 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28543 mktime: merge time_r change from gnulib
28544 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28546 mktime: merge DEBUG change from gnulib
28547 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28548 case system <time.h> has a #define.
28550 mktime: merge <sys/types.h> change from gnulib
28551 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28552 since <time.t> is now guaranteed to define time_t.
28554 mktime: merge HAVE_CONFIG_H change from gnulib
28555 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28557 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28562 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28564 (struct rusage): Use anonymous union to pad each field to
28567 2012-05-21 David S. Miller <davem@davemloft.net>
28569 * Makefules (o-iterator): Remove .s cases.
28570 (compile-command.s): Delete.
28571 (COMPILE.s): Delete.
28572 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28574 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28576 * configure.in (libc_cv_predef_stack_protector): Only consider
28577 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28578 * configure: Regenerated.
28580 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28583 New macro. Use R*LP on int and pointer.
28584 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28585 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28586 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28587 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28589 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28590 [__WORDSIZE_TIME64_COMPAT32] instead of
28591 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28592 (struct utmp): Likewise.
28593 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28594 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28596 (__WORDSIZE_TIME64_COMPAT32): This.
28597 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28598 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28599 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28600 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28601 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28602 (__WORDSIZE_TIME64_COMPAT32): New macro.
28604 2012-05-21 Andreas Jaeger <aj@suse.de>
28606 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28607 only if [SHARED]. Add prototype for __wcschr_ia32.
28609 2012-05-21 Roland McGrath <roland@hack.frob.com>
28611 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28612 of %rbp unmolested in the jmp_buf while mangling the low bits.
28613 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28614 unmolested high bits of %rbp while demangling the low bits.
28615 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28617 2012-05-21 Andreas Jaeger <aj@suse.de>
28619 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28620 * sunrpc/svc_simple.c: Use it for registerrpc.
28621 * sunrpc/xcrypt.c: Use it for passwd2des.
28623 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28625 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28627 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28628 Don't define if [__SYSCALL_WORDSIZE != 32].
28629 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28632 2012-05-21 Bruno Haible <bruno@clisp.org>
28633 Andreas Jaeger <aj@suse.de>
28635 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28636 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28637 inptr and inend for must_buffer_ch.
28638 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28639 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28640 * stdio-common/Makefile (tests): Remove bug15.
28641 (bug15-ENV): Remove macro.
28642 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28645 2012-05-19 Andreas Jaeger <aj@suse.de>
28646 Roland McGrath <roland@hack.frob.com>
28648 * manual/contrib.texi: Completely rewritten. It contains now an
28649 alphabetical list of contributors and their contributions.
28651 2012-05-21 Richard Henderson <rth@twiddle.net>
28653 * misc/getauxval.c (__getauxval): Use unsigned long int.
28654 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28655 (getauxval): Use unsigned long int.
28657 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28659 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28661 2012-05-21 Roland McGrath <roland@hack.frob.com>
28663 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28664 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28665 __alignof__ (long double).
28667 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28671 2012-05-20 Richard Henderson <rth@twiddle.net>
28673 * misc/getauxval.c: New file.
28674 * misc/sys/auxv.h: New file.
28675 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28676 (routines): Add getauxval.
28677 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28678 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28679 * elf/dl-sysdep.c (_dl_auxv): Remove.
28680 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28681 * elf/dl-support.c (_dl_auxv): New variable.
28682 (_dl_aux_init): Initialize it.
28683 * manual/startup.texi (Auxiliary Vector): New node.
28684 * sysdeps/generic/bits/hwcap.h: New file.
28685 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28686 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28687 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28688 * sysdeps/sparc/sysdep.h: ... here. Include it.
28689 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28690 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28696 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28702 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28706 2012-05-19 David S. Miller <davem@davemloft.net>
28708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28710 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28713 * math/s_ccosh.c: Include <float.h>
28714 (__ccosh): Avoid internal overflow calculating sinh and cosh
28715 values before multiplying by sin and cos values.
28716 * math/s_ccoshf.c: Likewise.
28717 * math/s_ccoshl.c: Likewise.
28718 * math/s_csin.c: Likewise.
28719 * math/s_csinf.c: Likewise.
28720 * math/s_csinl.c: Likewise.
28721 * math/s_csinh.c: Likewise.
28722 * math/s_csinhf.c: Likewise.
28723 * math/s_csinhl.c: Likewise.
28724 * math/libm-test.inc (ccos_test): Add more tests.
28725 (ccosh_test): Likewise.
28726 (csin_test): Likewise.
28727 (csinh_test): Likewise.
28728 * sysdeps/i386/fpu/libm-test-ulps: Update.
28729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28733 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28734 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28736 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28738 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28740 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28741 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28742 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28743 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28744 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28745 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28746 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28747 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28748 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28749 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28750 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28751 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28752 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28753 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28754 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28755 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28756 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28757 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28758 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28759 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28760 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28761 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28762 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28763 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28764 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28765 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28766 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28767 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28768 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28769 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28770 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28772 2012-05-18 Andreas Jaeger <aj@suse.de>
28774 * csu/.gitignore: Delete.
28776 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28778 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28779 (timex): Use __syscall_slong_t.
28781 2012-05-18 Andreas Jaeger <aj@suse.de>
28782 Carlos O'Donell <carlos_odonell@mentor.com>
28784 * manual/install.texi (Configuring and compiling): Update
28785 description about files modified in the source directory.
28786 * INSTALL: Regenerated.
28788 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28790 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28791 value. Use "or" to set return value to -1.
28792 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28793 negate return value.
28795 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28797 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28798 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28799 failure if the compiler has Graphite support disabled.
28800 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28802 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28803 (CFLAGS-memmove.c): Likewise.
28804 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28807 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28809 * sysdeps/x86_64/x32/_itoa.h: New file.
28811 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28812 getdents system call only if kernel and user dirents have the
28813 same d_ino and d_off.
28815 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28816 LLONG_MAX != LONG_MAX.
28817 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28818 (_fitoa_word): Likewise.
28820 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28823 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28824 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28826 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28827 include <bits/wordsize.h>. Check __x86_64__ instead of
28829 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28830 if __x86_64__ is defined. Use anonymous union on fpstate.
28832 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28835 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28837 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28838 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28839 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28840 Refer to _rtld_local_ro instead of _rtld_global_ro.
28841 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28843 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28845 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28847 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28848 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28849 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28851 * sysdeps/powerpc/powerpc32/dl-machine.c
28852 (__elf_machine_runtime_setup) [PROF]: Don't reference
28855 2012-05-18 Andreas Jaeger <aj@suse.de>
28857 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28858 function only available for GCCs before 3.4 since GCC 3.4
28859 introduced a builtin.
28861 (llrintf): Likewise.
28862 (llrint): Likewise.
28869 (nearbyint): Likewise.
28870 (nearbyintf): Likewise.
28874 (floorf): Likewise.
28876 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28878 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28879 on both fields and cast pointer to __syscall_ulong_t.
28881 * bits/types.h (__fsword_t): New type.
28882 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28883 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28885 (__FSWORD_T_TYPE): Likewise.
28886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28887 (__FSWORD_T_TYPE): Likewise.
28888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28889 (__FSWORD_T_TYPE): Likewise.
28890 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28891 (__FSWORD_T_TYPE): Likewise.
28892 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28893 __SWORD_TYPE with __fsword_t.
28894 (statfs64): Likewise.
28896 2012-05-17 David S. Miller <davem@davemloft.net>
28898 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28900 2012-05-17 Andreas Jaeger <aj@suse.de>
28902 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28905 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28907 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28909 2012-05-17 Andreas Jaeger <aj@suse.de>
28911 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28914 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28916 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28918 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28920 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28921 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28923 2012-05-17 Andreas Jaeger <aj@suse.de>
28924 Carlos O'Donell <carlos_odonell@mentor.com>
28927 * sysdeps/x86_64/multiarch/init-arch.h
28928 (bit_YMM_Usable): Rename to...
28929 (bit_AVX_Usable): ... this.
28930 (bit_FMA4_Usable): New macro.
28931 (bit_XMM_state): New macro.
28932 (bit_YMM_state): New macro.
28933 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28934 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28935 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28936 (CPUID_OSXSAVE): New macro.
28937 (CPUID_AVX): New macro.
28938 (CPUID_FMA4): New macro.
28939 (index_YMM_Usable): Rename to...
28940 (index_AVX_Usable): ... this.
28941 (HAS_AVX): Use HAS_ARCH_FEATURE.
28942 (HAS_FMA4): Likewise.
28943 (HAS_YMM_USABLE): Remove.
28944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28945 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28947 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28948 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28949 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28950 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28951 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28953 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28955 * math/libm-test.c: Support platforms without multiple rounding modes.
28956 * math/bug-nextafter.c: Support platforms without FP exceptions.
28957 * math/bug-nexttoward.c: Likewise.
28958 * math/test-fenv.c: Likewise.
28959 * math/test-misc.c: Likewise.
28960 * stdlib/bug-getcontext.c: Likewise.
28962 2012-05-17 Andreas Jaeger <aj@suse.de>
28964 * manual/examples/search.c (critter_cmp): Change signature to
28966 * manual/string.texi (Collation Functions): Likewise.
28968 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28970 * bits/types.h: Fold copyright years.
28971 * bits/typesizes.h: Likewise.
28972 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28976 * time/time.h: Likewise.
28978 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28981 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28982 in instead of returning them. Return void.
28983 (__libc_mallinfo): Accumulate over all arenas.
28984 (__malloc_stats): Adjust for change in int_mallinfo interface.
28986 2012-05-16 Roland McGrath <roland@hack.frob.com>
28989 * configure.in (NM): Add AC_CHECK_TOOL for it.
28990 (libc_extra_cflags): New substituted variable.
28991 Check for -fstack-protector being used implicitly.
28992 * configure: Regenerated.
28993 * config.make.in (config-extra-cflags): New variable,
28994 gets @libc_extra_cflags@.
28995 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28998 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28999 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29000 * configure: Regenerated.
29001 * config.make.in (CPPUNDEFS): New substituted variable.
29002 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29003 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29004 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29006 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29008 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29009 (mq_attr): Use __syscall_slong_t.
29011 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29013 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29014 Check __x86_64__ instead of __WORDSIZE.
29015 (_STAT_VER_LINUX): Likewise.
29016 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29017 __syscall_ulong_t and __syscall_slong_t.
29018 (stat64): Likewise.
29020 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29024 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29026 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29028 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29030 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29033 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29034 include <bits/wordsize.h>. Check __x86_64__ instead of
29036 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29038 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29040 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29041 include <bits/wordsize.h>. Check __x86_64__ instead of
29043 (user_regs_struct): Use "__extension__ unsigned long long"
29044 instead of "unsigned long" if __x86_64__ is defined.
29045 (user): Likewise. Pad after pointer field if __ILP32__ is
29048 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29050 * configure.in (makeinfo): Require version 4.5 or later. Allow
29052 * configure: Regenerated.
29053 * manual/install.texi (texinfo): Increase version requirement to
29055 * INSTALL: Regenerated.
29057 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29059 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29061 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29063 * sysdeps/x86_64/x32/ffs.c: New file.
29065 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29067 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29068 defined. Use __syscall_ulong_t.
29069 (shminfo): Use __syscall_ulong_t.
29070 (shm_info): Likewise.
29072 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29075 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29077 (msgqnum_t): Use __syscall_ulong_t.
29078 (msglen_t): Likewise.
29079 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29082 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29083 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29085 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29087 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29088 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29090 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29093 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29094 include <bits/wordsize.h>. Check __x86_64__ instead of
29097 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29098 "unsigned long long int" if __x86_64__ is defined.
29099 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29101 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29102 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29103 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29105 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29107 (GET_PC): Cast to uintptr_t first.
29108 (GET_FRAME): Likewise.
29109 (GET_STACK): Likewise.
29111 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29113 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29114 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29115 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29116 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29117 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29118 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29119 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29120 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29121 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29122 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29124 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29125 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29126 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29127 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29128 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29129 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29130 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29132 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29133 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29134 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29135 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29136 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29137 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29138 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29139 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29141 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29143 * Makerules (+depfiles): Also collect depfiles from .oS in
29145 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29146 .oS, $(libnldbl-routines)).
29148 * Makerules (native-compile-mkdep-flags): Define.
29149 * sunrpc/Makefile (extra-objs): Add $(addprefix
29150 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29151 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29152 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29153 calling $(make-target-directory).
29155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29157 * bits/types.h (__snseconds_t): Removed.
29158 * time/time.h (struct timespec): Replace __snseconds_t with
29160 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29161 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29164 (__SNSECONDS_T_TYPE): Likewise.
29165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29166 (__SNSECONDS_T_TYPE): Likewise.
29167 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29168 (__SNSECONDS_T_TYPE): Likewise.
29170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29172 * sysdeps/mach/hurd/bits/typesizes.h
29173 (__SYSCALL_SLONG_TYPE): New macro.
29174 (__SYSCALL_ULONG_TYPE): Likewise.
29176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29178 * bits/types.h (__syscall_slong_t): New type.
29179 (__syscall_ulong_t): Likewise.
29181 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29182 (__SYSCALL_ULONG_TYPE): Likewise.
29183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29184 (__SYSCALL_SLONG_TYPE): Likewise.
29185 (__SYSCALL_ULONG_TYPE): Likewise.
29186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29187 (__SYSCALL_SLONG_TYPE): Likewise.
29188 (__SYSCALL_ULONG_TYPE): Likewise.
29189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29190 (__SYSCALL_SLONG_TYPE): Likewise.
29191 (__SYSCALL_ULONG_TYPE): Likewise.
29193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29195 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29196 Add sigaltstack-offsets.sym.
29197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29198 <sigaltstack-offsets.h>.
29199 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29200 longjmp_msg pointer.
29201 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29202 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29204 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29206 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29208 * elf/stackguard-macros.h: Remove file.
29209 * sysdeps/generic/stackguard-macros.h: New file.
29210 * sysdeps/i386/stackguard-macros.h: Likewise.
29211 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29212 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29213 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29214 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29215 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29216 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29217 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29218 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29219 <elf/stackguard-macros.h>.
29222 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29223 __aligned__ in attribute.
29224 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29225 (gregset_t): Likewise.
29227 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29229 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29230 * sysdeps/x86_64/64/Implies-after: Here. New file.
29231 * sysdeps/x86_64/x32/Implies-after: New file.
29233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29235 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29236 and access return value for _dl_profile_fixup. Use R10_LP to
29239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29241 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29245 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29246 * sysdeps/x86_64/x32/sysdep.h: New file.
29248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29250 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29251 * sysdeps/x86_64/setjmp.S: Likewise.
29253 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29255 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29257 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29258 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29259 remove unused global constant.
29261 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29263 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29264 include of <not-cancel.h>.
29266 2012-05-15 Roland McGrath <roland@hack.frob.com>
29268 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29270 2012-05-15 Jeff Law <law@redhat.com>
29271 Andreas Jaeger <aj@suse.de>
29274 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29276 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29277 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29278 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29279 code changing __hst_map_handle.map.
29281 2012-05-15 Roland McGrath <roland@hack.frob.com>
29283 * configure.in (sysnames): Look for Implies-before and Implies-after
29285 * configure: Regenerated.
29287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29289 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29290 8-byte data alignment with LP_SIZE alignment.
29292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29294 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29299 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29303 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29304 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29305 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29307 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29311 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29312 (stackinfo_sub_sp): Likewise.
29314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29321 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29326 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29331 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29335 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29336 into R11_LP and load __x86_64_shared_cache_size_half into
29339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29341 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29344 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29346 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29352 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29353 powerpc32/power7/fpu/s_logb.c via #include.
29354 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29355 powerpc32/power7/fpu/s_logbf.c via #include.
29356 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29357 powerpc32/power7/fpu/s_logbl.c via #include.
29359 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29361 * README.libm: Remove file.
29363 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29365 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29366 count for x32. Use R*_LP and omit operand-size suffix.
29368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29370 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29371 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29372 * sysdeps/x86_64/x32/shlib-versions: New file.
29374 2012-05-14 Roland McGrath <roland@hack.frob.com>
29376 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29377 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29378 Use _dl_fatal_printf instead.
29380 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29382 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29383 set if not set by the user. Do not allow for being unset.
29384 * sysdeps/unix/sysv/linux/configure: Regenerated.
29386 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29388 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29389 the `q' suffix from lea and replace .quad with ASM_ADDR.
29391 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29393 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29394 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29396 (PTR_DEMANGLE): Likewise.
29398 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29400 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29402 (ASM_ADDR): Likewise.
29403 (RAX_LP): Likewise.
29404 (RBP_LP): Likewise.
29405 (RBX_LP): Likewise.
29406 (RCX_LP): Likewise.
29407 (RDI_LP): Likewise.
29408 (RSI_LP): Likewise.
29409 (RSP_LP): Likewise.
29412 (R10_LP): Likewise.
29413 (R10_LP): Likewise.
29414 (R11_LP): Likewise.
29415 (R12_LP): Likewise.
29416 (R13_LP): Likewise.
29417 (R14_LP): Likewise.
29418 (R15_LP): Likewise.
29420 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29422 * sysdeps/x86_64/x32/dl-machine.h: New file.
29424 2012-05-14 Andreas Jaeger <aj@suse.de>
29426 * manual/Makefile (subdir): Remove export of subdir.
29427 (all): Remove target.
29428 (.PHONY): Remove all from list.
29429 (mkinstalldirs): Remove.
29430 (.PHONY): Remove installdirs from list.
29431 ($(inst_infodir)/libc.info): Use make-target-directory.
29432 (installdirs): Remove.
29433 (subdir_%): Remove.
29434 (glibc-targets): Remove.
29437 ($(objpfx)stubs ../po/manual.pot): Remove.
29438 ($(objpfx)stamp%): Remove.
29439 (make-target-directory): Remove.
29440 (subdir_install): Remove.
29441 (routines): Remove.
29448 * manual/.gitignore: Remove, it's not needed anymore.
29449 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29451 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29453 (texis): Renamed to $(objpfx)texis.
29454 (texis-path): New, contains path to generated files.
29455 (chapters.%): Use texis-path for complete path, add extra argument
29457 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29458 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29459 (summary,texi, stamp-summary): Use complete path of
29460 files. Generate files in build dir.
29461 (dir-add.texi): Build in build dir.
29462 (libm-err.texi,stamp-libm-err): Likewise.
29463 (version.texi, stamp-version): Likewise.
29464 (.%c.texi): Likewise.
29465 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29466 (mostlyclean): Remove target.
29467 (realclean): Remove target.
29468 (generated): Add new variable with contents from mostlyclean and
29469 realclean, remove entries duplicated in common-mostlyclean, add
29470 stamp-libm-err and stamp-version.
29471 (generated-dirs): Add libc directory.
29472 ($(inst_infodir)/libc.info): Install files from build dir.
29474 * manual/install.texi (Configuring and compiling): Adjust since
29475 the info files are not part of the tar ball anymore.
29477 2012-05-14 Andreas Jaeger <aj@suse.de>
29479 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29482 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29485 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29486 to 2.2.0 where earlier.
29487 * sysdeps/unix/sysv/linux/configure: Regenerated.
29488 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29489 Remove conditional code.
29490 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29491 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29492 Remove conditional code.
29493 [!__NR_lchown]: Likewise.
29494 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29495 [__NR_lchown]: Likewise.
29496 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29497 comment referencing __ASSUME_LCHOWN_SYSCALL.
29498 * sysdeps/unix/sysv/linux/i386/sigaction.c
29499 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29500 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29501 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29502 Remove conditional code.
29503 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29504 (__protocol_available): Remove #if 0 code.
29505 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29507 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29508 * sysdeps/unix/sysv/linux/kernel-features.h
29509 (__ASSUME_GETCWD_SYSCALL): Don't define.
29510 (__ASSUME_REALTIME_SIGNALS): Likewise.
29511 (__ASSUME_PREAD_SYSCALL): Likewise.
29512 (__ASSUME_PWRITE_SYSCALL): Likewise.
29513 (__ASSUME_POLL_SYSCALL): Likewise.
29514 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29515 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29517 (__ASSUME_SIOCGIFNAME): Don't define.
29518 (__ASSUME_MSG_NOSIGNAL): Likewise.
29519 (__ASSUME_SENDFILE): Define unconditionally.
29520 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29521 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29523 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29524 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29525 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29526 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29527 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29528 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29529 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29531 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29532 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29534 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29537 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29538 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29540 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29541 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29543 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29544 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29546 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29549 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29550 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29554 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29555 Remove conditional code.
29556 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29557 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29558 Remove conditional code.
29559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29560 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29561 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29562 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29563 Remove conditional code.
29564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29565 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29566 Remove conditional code.
29567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29568 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29569 Remove conditional code.
29570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29571 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29572 Remove conditional code.
29573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29574 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29575 Remove conditional code.
29576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29577 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29578 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29580 * sysdeps/unix/sysv/linux/sigaction.c
29581 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29582 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29583 * sysdeps/unix/sysv/linux/sigpending.c
29584 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29585 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29586 * sysdeps/unix/sysv/linux/sigprocmask.c
29587 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29588 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29589 * sysdeps/unix/sysv/linux/sigsuspend.c
29590 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29591 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29593 (__libc_missing_rt_sigs): Remove.
29594 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29595 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29596 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29597 Remove conditional code.
29598 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29599 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29601 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29602 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29603 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29604 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29606 2012-05-14 Andreas Jaeger <aj@suse.de>
29608 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29609 it's not used in glibc.
29610 (__coshm1): Likewise.
29611 (__acosh1p): Likewise.
29614 * manual/string.texi (Copying and Concatenation): Add missing
29615 variable in concat example.
29616 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29622 __builtin_clzl with __builtin_clzll.
29624 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29627 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29630 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29632 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29633 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29634 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29635 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29637 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29639 * NEWS: Update ia64 info.
29641 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29643 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29646 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29648 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29649 * sysdeps/unix/syscalls.list (dup3): Likewise.
29650 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29651 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29653 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29655 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29656 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29658 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29660 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29662 (TLS_IE): Use mov/add instead of movq/addq to load thread
29664 (TLS_GD_PREFIX): New.
29667 2012-05-11 David S. Miller <davem@davemloft.net>
29669 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29670 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29671 (_FPU_SETCW): Likewise.
29673 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29675 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29676 is 32-byte aligned.
29678 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29681 * iconvdata/gb18030.c: Update tables.
29682 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29683 characters specially.
29684 (BODY for TO_LOOP): Add encoding of missing ranges.
29686 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29689 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29690 * sysdeps/mach/hurd/dup3.c: Likewise.
29691 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29692 * sysdeps/powerpc/memmove.c:: Likewise.
29694 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29696 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29697 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29699 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29701 * elf/elf.h (R_X86_64_RELATIVE64): New.
29702 (R_X86_64_NUM): Updated.
29703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29704 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29705 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29706 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29707 tst-quad1pie tst-quad2pie
29708 (modules-names): Add tst-quadmod1 tst-quadmod2.
29709 ($(objpfx)tst-quad1): New dependency.
29710 ($(objpfx)tst-quad2): Likewise.
29711 ($(objpfx)tst-quad1pie): Likewise.
29712 ($(objpfx)tst-quad2pie): Likewise.
29713 * sysdeps/x86_64/tst-quad1.c: New file.
29714 * sysdeps/x86_64/tst-quad1pie.c: New file.
29715 * sysdeps/x86_64/tst-quad2.c: Likewise.
29716 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29717 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29718 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29719 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29720 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29722 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29724 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29725 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29726 * streams/stropts.h (t_scalar_t): Define type.
29728 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29729 (_PATH_PRESERVE): Set to "/var/lib".
29730 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29732 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29735 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29736 if __dir_mkfile succeeded.
29738 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29739 checking for _hurd_dtablesize. Unlock it right after having
29740 finished _hurd_dtable allocation.
29742 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29744 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29745 * sysdeps/mach/hurd/configure: Regenerated.
29746 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29747 special-casing to...
29748 * sysdeps/gnu/configure.in: ... this new file.
29749 * sysdeps/unix/sysv/linux/configure: Regenerated.
29750 * sysdeps/gnu/configure: New generated file.
29752 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29753 for Linux: use nsec instead of usec, as well as:
29754 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29755 members of type struct timespec.
29756 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29758 (struct stat64): Likewise.
29759 (_STATBUF_ST_NSEC): New macro.
29760 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29762 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29763 __strtoul_internal rather than strtoul.
29765 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29767 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29772 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29773 which preserves existing values.
29774 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29776 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29778 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29779 TIMEOUT values. Return EINVAL for NFDS values either negative or
29780 greater than FD_SETSIZE.
29782 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29784 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29785 allocated, call __vm_protect to finish enabling the existing space, and
29786 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29787 allocate the remainder.
29789 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29791 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29792 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29794 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29796 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29797 sysdeps/mach/hurd/readlink.c.
29799 * posix/tst-sysconf.c (posix_options): Only use
29800 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29801 _POSIX_SYNCHRONIZED_IO when they are defined
29802 * sysdeps/mach/hurd/bits/posix_opt.h:
29803 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29804 (_XOPEN_REALTIME): Undefine macro.
29805 (_XOPEN_REALTIME_THREADS): Undefine macro.
29806 (_XOPEN_SHM): Undefine macro.
29807 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29809 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29811 (_POSIX_ASYNC_IO): Undefine macro.
29812 (_POSIX_PRIORITIZED_IO): Undefine macro.
29813 (_POSIX_SPIN_LOCKS): Define macro to -1.
29815 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29816 SA_NODEFER, SA_RESETHAND.
29817 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29818 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29821 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29823 * elf/Makefile (pldd-modules): Define unconditionally.
29825 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29827 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29829 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29831 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29832 Return ENOENT when name is empty.
29833 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29837 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29839 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29841 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29843 Fix mlock in all cases except non-readable pages.
29844 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29845 instead of VM_PROT_ALL as parameter to __vm_wire function.
29847 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29848 (__mkdir): When path is `/', just fail with EEXIST.
29849 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29853 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29854 <sys/uio.h> (for writev).
29855 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29856 and <sys/param.h> (for MIN).
29858 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29860 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29861 REQUESTED_TIME. Properly set the remaining time and return EINTR
29864 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29866 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29867 Depend on against $(link-rpcuserlibs).
29869 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29871 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29872 (__libc_stack_end): Do not use attribute_relro.
29873 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29874 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29875 to libthread-provided value.
29876 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29879 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29882 * bits/libc-lock.h (__libc_once_get): New macro.
29883 * sysdeps/mach/bits/libc-lock.h: Likewise.
29884 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29886 instead of using implementation details.
29888 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29889 * libio/freopen.c: Likewise.
29890 * libio/freopen64.c: Likewise.
29891 * misc/syslog.c: Likewise.
29892 * nscd/connections.c: Likewise.
29893 * nscd/netgroupcache.c: Likewise.
29894 * sysdeps/posix/getcwd.c: Likewise.
29896 2012-05-10 Roland McGrath <roland@hack.frob.com>
29898 * math/w_ilogbf.c: Add #include <limits.h>.
29900 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29902 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29903 path instead of returning without unlocking.
29905 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29906 immediate-write ioctls.
29907 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29909 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29911 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29912 __builtin_frame_address instead of making assumptions about the
29913 location of the return address relative to DATA. Force early load of
29914 the return address.
29915 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29916 __builtin_frame_address.
29919 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29920 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29921 implement dup3 and do some further code clean-ups.
29922 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29923 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29927 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29929 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29930 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29931 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29932 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29933 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29936 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29937 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29938 when handler == SIG_ERR, not when handler != SIG_ERR.
29940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29942 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29943 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29946 accept4 for GNU Hurd.
29947 * include/sys/socket.h (__libc_accept4): New prototype.
29948 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29949 to implement __libc_accept4.
29950 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29952 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29954 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29955 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29956 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29957 signal-defines.sym.
29959 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29961 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29963 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29965 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29966 assertion on O_CLOEXEC flag.
29967 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29968 * hurd/intern-fd.c: Likewise.
29969 * hurd/port2fd.c: Likewise.
29971 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29974 * bits/in.h (IPV6_PKTINFO): Define new macro.
29975 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29977 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29982 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29983 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29984 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29985 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29986 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29987 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29988 * math/libm-test.inc (logb_test) : Additional logb tests.
29990 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29991 Andreas Jaeger <aj@suse.de>
29993 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29994 * configure: Regenerated.
29995 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29996 * config.make.in (link-obsolete-rpc): New substituted variable.
29997 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29998 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29999 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30000 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30001 so that libc.a contains the symbols.
30002 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30003 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30004 * sunrpc/auth_none.c: Likewise.
30005 * sunrpc/auth_unix.c: Likewise.
30006 * sunrpc/authdes_prot.c: Likewise.
30007 * sunrpc/authuxprot.c: Likewise.
30008 * sunrpc/clnt_gen.c: Likewise.
30009 * sunrpc/clnt_perr.c: Likewise.
30010 * sunrpc/clnt_raw.c: Likewise.
30011 * sunrpc/clnt_simp.c: Likewise.
30012 * sunrpc/clnt_tcp.c: Likewise.
30013 * sunrpc/clnt_udp.c: Likewise.
30014 * sunrpc/clnt_unix.c: Likewise.
30015 * sunrpc/des_crypt.c: Likewise.
30016 * sunrpc/des_soft.c: Likewise.
30017 * sunrpc/get_myaddr.c: Likewise.
30018 * sunrpc/key_call.c: Likewise.
30019 * sunrpc/key_prot.c: Likewise.
30020 * sunrpc/netname.c: Likewise.
30021 * sunrpc/pm_getmaps.c: Likewise.
30022 * sunrpc/pm_getport.c: Likewise.
30023 * sunrpc/pmap_clnt.c: Likewise.
30024 * sunrpc/pmap_prot.c: Likewise.
30025 * sunrpc/pmap_prot2.c: Likewise.
30026 * sunrpc/pmap_rmt.c: Likewise.
30027 * sunrpc/publickey.c: Likewise.
30028 * sunrpc/rpc_cmsg.c: Likewise.
30029 * sunrpc/rpc_common.c: Likewise.
30030 * sunrpc/rpc_dtable.c: Likewise.
30031 * sunrpc/rpc_prot.c: Likewise.
30032 * sunrpc/rpc_thread.c: Likewise.
30033 * sunrpc/rtime.c: Likewise.
30034 * sunrpc/svc.c: Likewise.
30035 * sunrpc/svc_auth.c: Likewise.
30036 * sunrpc/svc_raw.c: Likewise.
30037 * sunrpc/svc_run.c: Likewise.
30038 * sunrpc/svc_tcp.c: Likewise.
30039 * sunrpc/svc_udp.c: Likewise.
30040 * sunrpc/svc_unix.c: Likewise.
30041 * sunrpc/svcauth_des.c: Likewise.
30042 * sunrpc/xcrypt.c: Likewise.
30043 * sunrpc/xdr.c: Likewise.
30044 * sunrpc/xdr_array.c: Likewise.
30045 * sunrpc/xdr_float.c: Likewise.
30046 * sunrpc/xdr_intXX_t.c: Likewise.
30047 * sunrpc/xdr_mem.c: Likewise.
30048 * sunrpc/xdr_rec.c: Likewise.
30049 * sunrpc/xdr_ref.c: Likewise.
30050 * sunrpc/xdr_sizeof.c: Likewise.
30051 * sunrpc/xdr_stdio.c: Likewise.
30053 2012-05-10 Roland McGrath <roland@hack.frob.com>
30055 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30056 change. Update copyright years.
30058 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30060 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30062 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30063 Joseph Myers <joseph@codesourcery.com>
30064 Paul Pluzhnikov <ppluzhnikov@google.com>
30067 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30069 [cross-compiling] (extra-libs): Likewise.
30070 [cross-compiling] (extra-libs-others): Likewise.
30071 [cross-compiling] (librpcsvc-routines): Likewise.
30072 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30073 [cross-compiling] (omit-deps): Likewise.
30074 (sunrpc-CPPFLAGS): New variable.
30075 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30076 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30077 (cross-rpcgen-objs): New variable.
30078 (extra-objs): Append $(cross-rpcgen-objs).
30079 ($(cross-rpcgen-objs)): New rule.
30080 ($(objpfx)cross-rpcgen): Likewise.
30081 (rpcgen-cmd): Define to use $(built-program-file). Expand
30083 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30084 ($(objpfx)x%.stmp): Likewise.
30085 * sunrpc/proto.h [IS_IN_build] (_): Define.
30086 [IS_IN_build] (_libc_intl_domainname): Likewise.
30088 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30091 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30092 and R_X86_64_TPOFF64.
30094 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30096 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30097 sysdeps/unix/sysv/syscalls.list.
30100 * sysdeps/unix/sysv/syscalls.list: Remove file.
30102 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30105 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30106 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30107 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30108 (__LC_IDENTIFICATION): Make these macros useful in #if
30109 expressions, as required by C99.
30111 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30113 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30114 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30117 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30119 * stdlib/longlong.h: Updated from GCC.
30121 2012-05-09 Andreas Jaeger <aj@suse.de>
30123 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30124 default is first entry.
30125 (run_mode): Set type.
30126 (main): Remove informal message about syslog.
30127 (options): Fix typo.
30130 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30133 (llrintf): Likewise.
30134 (llrint): Likewise.
30137 (nearbyint): Likewise.
30138 (nearbyintf): Likewise.
30140 2012-05-09 Andreas Jaeger <aj@suse.de>
30141 Pedro Alves <palves@redhat.com>
30143 * nscd/nscd.c (run_mode): Use enum.
30144 (main): Cleanup coding style issue.
30146 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30147 Andreas Jaeger <aj@suse.de>
30149 * nscd/nscd.c (go_background): Replaced with...
30150 (run_mode): ... this.
30151 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30152 (options): Add -F --foreground.
30153 (main): Implement it.
30154 (parse_opt): Parse it.
30156 2012-05-09 Andreas Jaeger <aj@suse.de>
30159 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30160 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30161 -Wconversion warning.
30162 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30165 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30167 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30169 (LC_ALL): Use macro-int-constant.
30170 (LC_COLLATE): Likewise.
30171 (LC_CTYPE): Likewise.
30172 (LC_MESSAGES): Likewise.
30173 (LC_MONETARY): Likewise.
30174 (LC_NUMERIC): Likewise.
30175 (LC_TIME): Likewise.
30176 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30177 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30179 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30181 [C99-based standards] (float_t): Expect type.
30182 [C99-based standards] (double_t): Expect type.
30183 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30185 [C99-based standards] (HUGE_VALL): Likewise.
30186 [C99-based standards] (INFINITY): Likewise.
30187 [C99-based standards] (NAN): Likewise.
30188 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30189 [C99-based standards] (FP_NAN): Likewise.
30190 [C99-based standards] (FP_NORMAL): Likewise.
30191 [C99-based standards] (FP_SUBNORMAL): Likewise.
30192 [C99-based standards] (FP_ZERO): Likewise.
30193 [C99-based standards] (FP_FAST_FMA): Use
30194 optional-macro-int-constant. Specify type. Require == 1.
30195 [C99-based standards] (FP_FAST_FMAF): Likewise.
30196 [C99-based standards] (FP_FAST_FMAL): Likewise.
30197 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30198 [C99-based standards] (FP_ILOGBNAN): Likewise.
30199 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30201 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30202 [C99-based standards] (math_errhandling): Specify type.
30203 [ISO99 || ISO11] (signgam): Do not allow.
30204 [non-C99-based standards] (copysignf): Do not allow.
30205 [non-C99-based standards] (exp2f): Likewise.
30206 [non-C99-based standards] (log2f): Likewise.
30207 [non-C99-based standards] (modff): Allow.
30208 [non-C99-based standards] (erff): Do not allow.
30209 [non-C99-based standards] (erfcf): Likewise.
30210 [non-C99-based standards] (gammaf): Likewise.
30211 [non-C99-based standards] (hypotf): Likewise.
30212 [non-C99-based standards] (j0f): Likewise.
30213 [non-C99-based standards] (j1f): Likewise.
30214 [non-C99-based standards] (jnf): Likewise.
30215 [non-C99-based standards] (lgammaf): Likewise.
30216 [non-C99-based standards] (tgammaf): Likewise.
30217 [non-C99-based standards] (y0f): Likewise.
30218 [non-C99-based standards] (y1f): Likewise.
30219 [non-C99-based standards] (ynf): Likewise.
30220 [non-C99-based standards] (isnanf): Likewise.
30221 [non-C99-based standards] (acoshf): Likewise.
30222 [non-C99-based standards] (asinhf): Likewise.
30223 [non-C99-based standards] (atanhf): Likewise.
30224 [non-C99-based standards] (cbrtf): Likewise.
30225 [non-C99-based standards] (expm1f): Likewise.
30226 [non-C99-based standards] (ilogbf): Likewise.
30227 [non-C99-based standards] (log1pf): Likewise.
30228 [non-C99-based standards] (logbf): Likewise.
30229 [non-C99-based standards] (nextafterf): Likewise.
30230 [non-C99-based standards] (remainderf): Likewise.
30231 [non-C99-based standards] (rintf): Likewise.
30232 [non-C99-based standards] (scalbf): Likewise.
30233 [non-C99-based standards] (copysignl): Likewise.
30234 [non-C99-based standards] (exp2l): Likewise.
30235 [non-C99-based standards] (log2l): Likewise.
30236 [non-C99-based standards] (modfl): Allow.
30237 [non-C99-based standards] (erfl): Do not allow.
30238 [non-C99-based standards] (erfcl): Likewise.
30239 [non-C99-based standards] (gammal): Likewise.
30240 [non-C99-based standards] (hypotl): Likewise.
30241 [non-C99-based standards] (j0l): Likewise.
30242 [non-C99-based standards] (j1l): Likewise.
30243 [non-C99-based standards] (jnl): Likewise.
30244 [non-C99-based standards] (lgammal): Likewise.
30245 [non-C99-based standards] (tgammal): Likewise.
30246 [non-C99-based standards] (y0l): Likewise.
30247 [non-C99-based standards] (y1l): Likewise.
30248 [non-C99-based standards] (ynl): Likewise.
30249 [non-C99-based standards] (isnanl): Likewise.
30250 [non-C99-based standards] (acoshl): Likewise.
30251 [non-C99-based standards] (asinhl): Likewise.
30252 [non-C99-based standards] (atanhl): Likewise.
30253 [non-C99-based standards] (cbrtl): Likewise.
30254 [non-C99-based standards] (expm1l): Likewise.
30255 [non-C99-based standards] (ilogbl): Likewise.
30256 [non-C99-based standards] (log1pl): Likewise.
30257 [non-C99-based standards] (logbl): Likewise.
30258 [non-C99-based standards] (nextafterl): Likewise.
30259 [non-C99-based standards] (remainderl): Likewise.
30260 [non-C99-based standards] (rintl): Likewise.
30261 [non-C99-based standards] (scalbl): Likewise.
30262 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30263 [non-C99-based standards] (FP_*): Do not allow.
30264 [C99-based standards] (FP_*): Change to
30265 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30266 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30268 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30269 (SIG_ERR): Likewise.
30270 [X/Open-based standards] (SIG_HOLD): Likewise.
30271 (SIG_IGN): Likewise.
30272 (SIGABRT): Use macro-int-constant. Specify type. Require
30274 (SIGFPE): Likewise.
30275 (SIGILL): Likewise.
30276 (SIGINT): Likewise.
30277 (SIGSEGV): Likewise.
30278 (SIGTER): Likewise.
30279 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30280 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30281 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30282 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30283 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30284 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30285 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30286 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30287 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30288 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30289 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30290 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30291 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30292 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30293 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30294 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30295 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30296 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30297 [X/Open-based standards] (SIGTRAP): Likewise.
30298 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30299 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30300 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30301 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30302 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30305 2012-05-08 Ian Wienand <ianw@vmware.com>
30308 * time/tzset.c (__tzset_parse_tz): Update default rules for
30309 daylight time changes in the Energy Policy Act of 2005.
30311 2012-05-09 Andreas Jaeger <aj@suse.de>
30314 * elf/ldconfig.c (parse_conf): Change string to make clear that
30315 ldconfig only issued a warning if ld.so.conf does not exist.
30317 2012-05-08 David S. Miller <davem@davemloft.net>
30319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30320 movxtod instead of popping the value on the stack.
30322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30324 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30326 * config.h.in: Add HAVE_ARM_PCS_VFP.
30328 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30331 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30332 checking but the checks are disabled for any reason.
30334 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30337 and ELF64_R_TYPE with ELFW(R_TYPE).
30339 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30341 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30342 (ulimit): Likewise.
30344 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30345 (settimeofday): Likewise.
30347 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30349 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30350 a struct th_u2 inside the union, and move tu_block/tu_code into
30351 a new th_u3 union of tu_block/tu_code inside of that. Move
30352 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30353 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30354 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30355 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30356 (th_stuff): Change to th_u1.tu_stuff.
30358 (th_msg): Change to th_u1.th_u2.tu_data.
30360 2012-05-07 David S. Miller <davem@davemloft.net>
30362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30365 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30366 (SETUP_PIC_REG): Use it.
30367 (SETUP_PIC_REG_LEAF): Use it.
30369 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30375 (EXPL_FINITE): Likewise.
30376 (FLDLOG): Likewise.
30377 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30378 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30380 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30382 (EXPL_FINITE): Likewise.
30383 (FLDLOG): Likewise.
30384 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30385 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30387 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30388 test of -max_value argument for long double.
30389 * sysdeps/i386/fpu/libm-test-ulps: Update.
30390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30392 2012-05-06 David S. Miller <davem@davemloft.net>
30394 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30395 quad soft-float symbols whose references which are compiler
30397 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30399 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30405 (EXPL_FINITE): Likewise.
30406 (FLDLOG): Likewise.
30409 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30410 Adjust comments for base varying.
30411 (__expl_finite): Change alias to EXPL_FINITE.
30412 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30414 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30415 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30416 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30417 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30418 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30420 (EXPL_FINITE): Likewise.
30421 (FLDLOG): Likewise.
30424 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30425 Adjust comments for base varying.
30426 (__expl_finite): Change alias to EXPL_FINITE.
30427 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30432 * math/libm-test.inc (check_float_internal): Correct ulp
30433 calculation for subnormal expected results.
30435 2012-05-06 Andreas Jaeger <aj@suse.de>
30437 * Makeconfig (+math-flags): New, set to -frounding-math.
30438 (+cflags): Add +math-flags so that all of glibc gets compiled with
30441 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30443 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30445 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30451 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30452 (__ieee754_expl): Allow for and saturate large arguments.
30453 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30454 (u_threshold): Likewise.
30455 (__exp): Call __ieee754_exp before checking for overflow and
30457 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30458 (u_threshold): Likewise.
30459 (__expf): Call __ieee754_expf before checking for overflow and
30461 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30462 (u_threshold): Likewise.
30463 (__expl): Call __ieee754_expl before checking for overflow and
30465 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30466 (__ieee754_expl): Allow for and saturate large arguments.
30467 * math/libm-test.inc (exp_test): Add another test. Do not allow
30468 missing overflow exception on overflow.
30469 (expm1_test): Do not allow missing overflow exception on overflow.
30471 * sysdeps/i386/fpu/e_expl.c: Move to ...
30472 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30473 rather than using inline asm.
30474 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30475 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30476 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30478 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30481 (signal): Likewise.
30485 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30487 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30488 sysdeps/unix/common/syscalls.list.
30489 (fchmod): Likewise.
30490 (fchown): Likewise.
30491 (ftruncate): Likewise.
30492 (getrusage): Likewise.
30493 (gettimeofday): Likewise.
30494 (setpgid): Likewise.
30495 (setregid): Likewise.
30496 (setreuid): Likewise.
30497 (sigaction): Likewise.
30498 (truncate): Likewise.
30499 (vhangup): Likewise.
30500 * sysdeps/unix/common/syscalls.list: Remove file.
30501 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30502 * sysdeps/unix/sysv/linux/Implies: Likewise.
30504 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30506 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30508 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30512 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30515 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30518 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30521 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30524 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30527 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30530 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30534 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30538 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30541 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30545 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30549 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30551 * sysdeps/unix/common/bits/dirent.h: Remove file.
30552 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30554 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30555 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30556 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30557 * sysdeps/unix/bsd/isatty.c: Likewise.
30558 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30559 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30560 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30562 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30566 long double comparison inaccuracies.
30567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30570 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30572 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30573 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30575 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30578 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30579 nonzero digits before rounding a hex value.
30580 * stdlib/tst-strtod.c (tests): Add another test.
30582 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30584 * sysdeps/s390/fpu/libm-test-ulps: Update.
30586 2012-05-03 Andreas Jaeger <aj@suse.de>
30588 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30589 does not get optimized out.
30590 (malloc_opt_barrier): New.
30592 2012-05-03 Andreas Jaeger <aj@suse.de>
30593 Roland McGrath <roland@hack.frob.com>
30595 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30596 intermediate file deletion.
30597 (generated): Add .symlist files.
30599 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30602 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30603 Redirect under this condition.
30604 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30605 [__USE_GNU] (__dprintf_chk): Not under this condition.
30606 [__USE_GNU] (__vdprintf_chk): Likewise.
30607 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30608 under this condition.
30609 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30610 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30611 [__USE_XOPEN2K8] (vdprintf): Likewise.
30612 [__USE_GNU] (__dprintf_chk): Not under this condition.
30613 [__USE_GNU] (__vdprintf_chk): Likewise.
30614 [__USE_GNU] (dprintf): Likewise.
30615 [__USE_GNU] (vdprintf): Likewise.
30617 2012-05-03 Roland McGrath <roland@hack.frob.com>
30619 * elf/Makefile (common-generated): Set this instead of generated for
30620 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30621 $(all-built-dso)-derived lists.
30623 2012-05-03 Andreas Jaeger <aj@suse.de>
30625 * sysdeps/i386/fpu/libm-test-ulps: Update.
30628 * FAQ.in: Likewise.
30629 * scripts/gen-FAQ.pl: Likewise.
30630 * manual/install.texi (Installation): Point to online location of
30632 * Makefile (files-for-dist): Remove FAQ.
30635 2012-05-02 Allan McRae <allan@archlinux.org>
30637 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30638 (LDFLAGS-reldepmod5.so): Likewise.
30639 (LDFLAGS-reldep6mod1.so): Likewise.
30640 (LDFLAGS-reldep6mod4.so): Likewise.
30641 (LDFLAGS-reldep8mod3.so): Likewise.
30642 (LDFLAGS-unload4mod1.so): Likewise.
30643 (LDFLAGS-unload4mod2.so): Likewise.
30644 (LDFLAGS-tst-initorder): Likewise.
30645 (LDFLAGS-tst-initordera2.so): Likewise.
30646 (LDFLAGS-tst-initordera3.so): Likewise.
30647 (LDFLAGS-tst-initordera4.so): Likewise.
30648 (LDFLAGS-tst-initorderb2.so): Likewise.
30649 (LDFLAGS-noload): Likewise.
30650 (LDFLAGS-next): Likewise.
30651 (LDFLAGS-order2mod1.so): Likewise.
30652 (LDFLAGS-order2mod2.so): Likewise.
30653 (LDFLAGS-tst-initorder2): Likewise.
30654 (LDFLAGS-tst-initorder2a.so): Likewise.
30655 (LDFLAGS-tst-initorder2b.so): Likewise.
30656 (LDFLAGS-tst-initorder2c.so): Likewise.
30657 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30659 2012-05-02 David S. Miller <davem@davemloft.net>
30661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30663 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30666 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30668 2012-05-02 Andreas Jaeger <aj@suse.de>
30670 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30671 since we manipulate rounding mode.
30672 (CPPFLAGS-test-idouble.c): Likewise.
30673 (CPPFLAGS-test-ifloat.c): Likewise.
30674 (CFLAGS-test-ldouble.c): Likewise.
30675 (CFLAGS-test-double.c): Likewise.
30676 (CFLAGS-test-float.c): Likewise.
30677 (CFLAGS-test-misc.c): Likewise.
30678 (CFLAGS-test-test-fenv.c): Likewise.
30680 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30684 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30685 comparisons to determine direction to adjust input.
30687 2012-05-01 Roland McGrath <roland@hack.frob.com>
30689 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30690 output to the target.
30692 * scripts/localplt.awk: New file.
30693 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30694 (check-localplt-CFLAGS): Variable removed.
30695 ($(all-built-dso:=.jmprel)): New static pattern rule.
30696 (generated): Add those targets.
30697 (localplt-built-dso): New variable.
30698 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30700 * elf/check-localplt.c: File removed.
30702 * scripts/check-execstack.awk: New file.
30703 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30704 (check-execstack-CFLAGS): Variable removed.
30705 ($(objpfx)check-execstack.h): Target removed.
30706 ($(objpfx)execstack-default): New target.
30707 (generated): Add that instead of check-execstack.h.
30708 ($(all-built-dso:=.phdr)): New static pattern rule.
30709 (generated): Add those targets.
30710 * elf/check-execstack.c: File removed.
30712 * scripts/check-textrel.awk: New file.
30713 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30714 (check-textrel-CFLAGS): Variable removed.
30715 (all-built-dso): Use := to define.o
30716 ($(all-built-dso:=.dyn)): New static pattern rule.
30717 (generated): Add those targets.
30718 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30719 * config.make.in (READELF): New substituted variable.
30720 * elf/check-textrel.c: File removed.
30722 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30724 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30726 * conform/data/ctype.h-data [C99-based standards] (isblank):
30728 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30729 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30731 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30732 Specify type. Require positive value.
30733 (EILSEQ): Likewise.
30734 (ERANGE): Likewise.
30735 [ISO || POSIX] (EILSEQ): Do not expect.
30736 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30737 Specify type. Require positive value.
30738 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30739 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30743 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30744 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30745 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30746 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30747 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30748 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30749 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30750 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30751 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30752 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30753 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30754 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30755 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30756 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30757 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30758 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30759 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30760 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30761 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30762 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30763 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30764 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30765 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30766 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30767 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30768 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30769 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30770 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30771 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30772 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30773 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30774 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30775 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30776 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30777 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30778 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30779 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30780 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30781 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30782 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30783 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30784 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30785 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30786 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30787 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30788 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30789 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30790 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30791 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30792 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30793 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30794 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30795 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30796 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30797 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30798 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30799 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30800 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30801 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30802 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30803 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30804 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30805 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30806 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30807 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30808 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30809 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30810 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30811 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30812 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30813 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30814 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30816 (FLT_ROUNDS): Expect as macro, not constant.
30817 (FLT_MANT_DIG): Use macro-int-constant.
30818 (DBL_MANT_DIG): Likewise.
30819 (LDBL_MANT_DIG): Likewise.
30820 (FLT_DIG): Likewise.
30821 (DBL_DIG): Likewise.
30822 (LDBL_DIG): Likewise.
30823 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30824 (DBL_MIN_EXP): Likewise.
30825 (LDBL_MIN_EXP): Likewise.
30826 (FLT_MAX_EXP): Use macro-int-constant.
30827 (DBL_MAX_EXP): Likewise.
30828 (LDBL_MAX_EXP): Likewise.
30829 (FLT_MAX_10_EXP): Likewise.
30830 (DBL_MAX_10_EXP): Likewise.
30831 (LDBL_MAX_10_EXP): Likewise.
30832 (FLT_MAX): Use macro-constant.
30833 (DBL_MAX): Likewise.
30834 (LDBL_MAX): Likewise.
30835 (FLT_EPSILON): Use macro-constant. Give upper bound.
30836 (DBL_EPSILON): Likewise.
30837 (LDBL_EPSILON): Likewise.
30838 (FLT_MIN): Likewise.
30839 (DBL_MIN): Likewise.
30840 (LDBL_MIN): Likewise.
30841 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30842 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30843 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30844 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30845 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30846 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30847 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30848 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30849 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30850 [ISO11] (FLT_TRUE_MIN): Likewise.
30851 [ISO11] (LDBL_TRUE_MIN): Likewise.
30852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30853 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30854 (SCHAR_MIN): Use macro-int-constant. Specify type.
30855 (SCHAR_MAX): Likewise.
30856 (UCHAR_MAX): Likewise.
30857 (CHAR_MIN): Likewise.
30858 (CHAR_MAX): Likewise.
30859 (MB_LEN_MAX): Use macro-int-constant.
30860 (SHRT_MIN): Use macro-int-constant. Specify type.
30861 (SHRT_MAX): Likewise.
30862 (USHRT_MAX): Likewise.
30863 (INT_MAX): Likewise.
30864 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30866 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30868 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30870 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30871 bound negative. Suffix upper bound with "L".
30872 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30874 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30876 [C99-based standards] (LLONG_MAX): Likewise.
30877 [C99-based standards] (ULLONG_MAX): Likewise.
30878 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30880 [ISO11] (max_align_t): Require type.
30881 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30883 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30884 from $CFLAGS, without defining away __attribute__ calls.
30885 (checknamespace): Use $CFLAGS_namespace.
30887 * conform/conformtest.pl (@keywords): Only include C99 keywords
30888 for standards based on C99 or C11.
30890 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30892 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30895 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30896 usability of symbols in #if.
30898 * conform/conformtest.pl: If macro or constant types start
30899 "promoted:", expect the symbol to be of the following type
30900 promoted by the integer promotions.
30902 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30903 in one place. Also handle "macro-constant".
30905 * conform/conformtest.pl: Only accept expected macro values with
30906 "==". Parse all "macro" lines in one place.
30907 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30909 * conform/conformtest.pl: Handle braced types on "constant" lines
30910 instead of handling "typed-constant".
30911 * conform/data/signal.h-data: Use "constant" instead of
30914 * conform/conformtest.pl: Handle "optional-" at start of lines in
30915 one place rather than duplicating several cases. Handle each
30916 format of "macro" line with initial "optional-".
30918 * conform/conformtest.pl: Only accept expected constant or
30919 optional-constant values with "==". Parse all "constant" lines in
30920 one place. Parse all "optional-constant" lines in one place.
30921 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30922 * conform/data/fmtmsg.h-data: Likewise.
30923 * conform/data/netinet/in.h-data: Likewise.
30924 * conform/data/tar.h-data: Likewise.
30925 * conform/data/limits.h-data: Use "==" form on "constant" and
30926 "optional-constant" lines.
30928 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30929 Use -std=c99 for XOPEN2K.
30930 (@knownproblems): Remove.
30931 (newtoken): Don't check %isknown.
30933 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30934 Do not expect macro.
30935 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30947 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30948 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30965 [XPG3] (acosh): Likewise.
30966 [XPG3] (asinh): Likewise.
30967 [XPG3] (atanh): Likewise.
30968 [XPG3] (cbrt): Likewise.
30969 [XPG3] (expm1): Likewise.
30970 [XPG3] (ilogb): Likewise.
30971 [XPG3] (log1p): Likewise.
30972 [XPG3] (logb): Likewise.
30973 [XPG3] (nextafter): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30976 [XPG3] (remainder): Likewise.
30977 [XPG3] (rint): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30985 [UNIX98 || XOPEN2K] (scalb): Expect.
30986 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30987 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31059 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31060 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31061 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31066 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31124 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31125 _XOPEN_SOURCE_EXTENDED for XPG4.
31127 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31129 * Makeconfig (localtime): Remove variable.
31130 (inst_localtime-file): Likewise.
31132 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31153 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31157 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31158 comparisons to determine direction to adjust input.
31159 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31160 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31161 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31163 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31165 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31167 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31168 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31170 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31172 * math/libm-test.inc (nexttoward_test): Add more tests.
31174 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31177 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31178 in version GLIBC_2.1, not GLIBC_2.0.
31179 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31182 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31185 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31187 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31188 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31189 * math/libm-test.inc (acos_test): Add more tests.
31190 (asin_test): Likewise.
31191 * sysdeps/i386/fpu/libm-test-ulps: Update.
31192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31195 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31197 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31198 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31199 * math/libm-test.inc (acos_test_tonearest): New function.
31200 (acos_test_towardzero): Likewise.
31201 (acos_test_downward): Likewise.
31202 (acos_test_upward): Likewise.
31203 (asin_test_tonearest): Likewise.
31204 (asin_test_towardzero): Likewise.
31205 (asin_test_downward): Likewise.
31206 (asin_test_upward): Likewise.
31207 (main): Call the new functions.
31208 * sysdeps/i386/fpu/libm-test-ulps: Update.
31209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31213 * math/e_exp10.c: Include <float.h>.
31214 (__ieee754_exp10): Handle underflow here rather than multiplying
31215 large negative argument by M_LN10.
31216 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31218 * math/e_exp10l.c: Include <float.h>.
31219 (__ieee754_exp10l): Handle underflow here rather than multiplying
31220 large negative argument by M_LN10l.
31221 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31222 spurious overflow exception on underflow.
31224 2012-04-29 Marek Polacek <polacek@redhat.com>
31226 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31227 (__fortify_function): New macro.
31228 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31229 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31230 __extern_always_inline.
31231 * libio/bits/stdio2.h: Likewise.
31232 * libio/bits/stdio.h: Likewise.
31233 * string/string.h: Likewise.
31234 * string/bits/string3.h: Likewise.
31235 * include/stdio.h: Likewise.
31236 * stdlib/bits/stdlib.h: Likewise.
31237 * stdlib/stdlib.h: Likewise.
31238 * rt/bits/mqueue2.h: Likewise.
31239 * rt/mqueue.h: Likewise.
31240 * posix/bits/unistd.h: Likewise.
31241 * posix/unistd.h: Likewise.
31242 * io/bits/poll2.h: Likewise.
31243 * io/bits/fcntl2.h: Likewise.
31244 * io/fcntl.h: Likewise.
31245 * io/sys/poll.h: Likewise.
31246 * misc/bits/syslog.h: Likewise.
31247 * misc/bits/syslog-ldbl.h: Likewise.
31248 * misc/sys/syslog.h: Likewise.
31249 * socket/bits/socket2.h: Likewise.
31250 * socket/sys/socket.h: Likewise.
31251 * debug/tst-chk1.c: Likewise.
31252 * wcsmbs/bits/wchar2.h: Likewise.
31253 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31254 * wcsmbs/wchar.h: Likewise.
31256 2012-04-29 Andreas Jaeger <aj@suse.de>
31258 * Makerules (tests): Remove enable-check-abi protection.
31259 (check-abi-warn): Remove.
31260 (check-abi-%): Remove check-abi-warn usage.
31262 * configure.in: Remove check-abi configure option.
31263 * configure: Regenerated.
31264 * config.make.in (enable-check-abi): Remove.
31266 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31269 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31270 double functions to double *_finite functions.
31273 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31274 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31276 * stdio-common/Makefile (tests): Add tst-sprintf3.
31277 * stdio-common/tst-sprintf3.c: New file.
31279 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31280 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31282 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31284 * conform/conformtest.pl: Remove duplicate typed-constant
31287 2012-04-28 David S. Miller <davem@davemloft.net>
31289 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31290 (check-abi-%): Remove AWK script prerequisite and explicit
31292 (check-abi): Rewrite to just diff the symlist with the abilist.
31293 (config-tls, config-abi-config): Delete, no longer used.
31294 (update-abi-%): Remove AWK script and explicit abilist directory.
31295 (update-abi): Rewrite to simply compare and conditionally copy the
31296 symlist and the sysdep abilist file. Remove update-abi-config
31298 * abilist/ld.abilist: Remove.
31299 * abilist/libBrokenLocale.abilist: Remove.
31300 * abilist/libanl.abilist: Remove.
31301 * abilist/libcrypt.abilist: Remove.
31302 * abilist/libdl.abilist: Remove.
31303 * abilist/librt.abilist: Remove.
31304 * abilist/libthread_db.abilist: Remove.
31305 * abilist/libutil.abilist: Remove.
31306 * scripts/extract-abilist.awk: Remove.
31307 * scripts/merge-abilist.awk: Remove.
31308 * sysdeps/generic/libcidn.abilist: New file.
31309 * sysdeps/generic/libnss_compat.abilist: New file.
31310 * sysdeps/generic/libnss_db.abilist: New file.
31311 * sysdeps/generic/libnss_dns.abilist: New file.
31312 * sysdeps/generic/libnss_files.abilist: New file.
31313 * sysdeps/generic/libnss_hesiod.abilist: New file.
31314 * sysdeps/generic/libnss_nis.abilist: New file.
31315 * sysdeps/generic/libnss_nisplus.abilist: New file.
31316 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31317 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31318 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31320 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31321 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31322 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31323 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31324 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31325 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31326 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31327 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31328 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31330 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31331 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31332 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31333 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31335 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31336 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31337 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31338 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31339 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31340 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31342 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31343 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31344 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31346 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31449 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31450 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31451 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31453 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31454 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31455 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31456 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31457 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31458 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31459 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31460 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31461 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31462 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31514 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31516 * conform/conformtest.pl: Fix typo in handling typed-constant from
31519 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31521 * README: Cut down references to pre-2.6 Linux kernels and
31522 Linuxthreads. Update lists of configurations in libc and ports
31523 and sort alphabetically. Say "or newer" with Linux kernel version
31526 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31528 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31531 * math/libm-test.inc (logb_test_downward): New test to expose
31532 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31535 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31538 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31540 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31541 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31543 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31545 * sysdeps/unix/i386/brk.S: Remove file.
31546 * sysdeps/unix/i386/dl-brk.S: Likewise.
31547 * sysdeps/unix/i386/pipe.S: Likewise.
31548 * sysdeps/unix/i386/sigreturn.S: Likewise.
31549 * sysdeps/unix/i386/syscall.S: Likewise.
31550 * sysdeps/unix/i386/vfork.S: Likewise.
31551 * sysdeps/unix/i386/wait.S: Likewise.
31553 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31554 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31556 * configure.in (arm*-none*): Do not allow without
31557 --enable-hacker-mode.
31558 (netbsd*): Remove case setting base_os.
31559 (386bsd*): Likewise.
31560 (freebsd*): Likewise.
31563 (sunos*): Likewise.
31564 (ultrix*): Likewise.
31565 (newsos*): Likewise.
31566 (dynix*): Likewise.
31572 (minix*): Likewise.
31573 (irix4*): Likewise.
31574 (irix6*): Likewise.
31575 (solaris[2-9]*): Likewise.
31577 * configure: Regenerated.
31579 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31582 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31583 overflow or cancellation in calculating denominator.
31584 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31585 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31586 down expression to avoid unexpected rounding in newer GCCs.
31587 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31589 2012-04-26 David S. Miller <davem@davemloft.net>
31591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31592 long-double compat symbols.
31593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31607 2012-04-25 David S. Miller <davem@davemloft.net>
31609 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31610 HWCAP_* values only after the memory barriers have been defined.
31611 (atomic_full_barrier): Define.
31612 (atomic_read_barrier): Define.
31613 (atomic_write_barrier): Define.
31615 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31617 * shlib-versions: Add libgcc_s version information.
31618 * sysdeps/generic/libgcc_s.h: Remove.
31619 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31621 * sysdeps/gnu/unwind-resume.c: Likewise.
31622 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31624 2012-04-25 David S. Miller <davem@davemloft.net>
31626 * sysdeps/unix/sparc/brk.S: Delete.
31627 * sysdeps/unix/sparc/dl-brk.S: Delete.
31628 * sysdeps/unix/sparc/pipe.S: Delete.
31629 * sysdeps/unix/sparc/sysdep.S: Delete.
31630 * sysdeps/unix/sparc/sysdep.h: Delete.
31631 * sysdeps/unix/sparc/vfork.S: Delete.
31632 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31633 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31634 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31635 (ret_ERRVAL, r0, r1, MOVE): Define.
31636 (JUMPTARGET): Remove.
31637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31638 sysdeps/unix/sparc/sysdep.h
31639 (ENTRY, END): Remove.
31640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31642 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31644 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31645 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31648 * timezone/README: Update upstream location and email address for
31650 * timezone/zdump.c: Update from tzcode 2012b.
31651 * timezone/zic.c: Likewise.
31653 * configure.in (libc_cv_as_needed): Remove test.
31654 * configure: Regenerated.
31655 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31656 conditional definition.
31657 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31658 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31659 * config.make.in (have-as-needed): Remove variable.
31661 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31662 Paul Pluzhnikov <ppluzhnikov@google.com>
31664 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31667 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31669 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31670 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31671 * sysdeps/sh/strlen.S: Likewise.
31673 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31675 * sysdeps/unix/fork.S: Remove file.
31676 * sysdeps/unix/i386/fork.S: Likewise.
31677 * sysdeps/unix/sparc/fork.S: Likewise.
31679 * sysdeps/unix/system.c: Remove file.
31680 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31682 * sysdeps/unix/getegid.S: Remove file.
31683 * sysdeps/unix/geteuid.S: Likewise.
31685 2012-04-24 Roland McGrath <roland@hack.frob.com>
31687 * scripts/check-localplt.awk: New file.
31688 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31690 * scripts/data/localplt-generic.data: Add a comment.
31692 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31693 NODE when __dir_mkfile failed.
31694 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31695 Reported by Ludovic Courtès <ludo@gnu.org>.
31697 2012-04-24 Andreas Jaeger <aj@suse.de>
31699 * Makerules (common-clean): Also remove gen-as-const-headers
31702 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31704 * Makerules (native-compile): Do not change working directory for
31705 build. Use $(OUTPUT_OPTION) in command.
31706 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31708 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31711 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31712 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31713 * math/libm-test.inc (floor_test): Add more tests.
31714 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31716 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31718 * sysdeps/unix/getdents.c: Remove file.
31719 * sysdeps/unix/sysv/getdents.c: Likewise.
31720 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31722 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31723 sysdeps/unix/mman/syscalls.list.
31725 (mprotect): Likewise.
31727 (munmap): Likewise.
31728 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31729 * sysdeps/unix/mman/syscalls.list: Remove.
31730 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31732 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31733 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31734 * configure: Regenerated.
31735 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31736 $(libgcc_s_suffix).
31737 * config.make.in (libgcc_s_suffix): Remove variable.
31739 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31741 * sysdeps/unix/sysv/gethostname.c: Move to ...
31742 * sysdeps/posix/gethostname.c: ... here.
31744 * sysdeps/unix/execve.S: Remove file.
31746 * sysdeps/unix/_exit.S: Remove file.
31748 2012-04-23 Andreas Jaeger <aj@suse.de>
31751 * manual/Makefile: Remove make dist support, there's no
31752 need for a stand-alone documentation tar ball.
31753 (TEXI2DVI): Define always, it's not in Makeconfig.
31756 (edition): Removed.
31757 (glibc-doc-$(edition).tar): Removed
31761 (ETAGS): Remove, it's in Makeconfig.
31762 (move-if-change): Remove, it's in Makeconfig.
31764 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31767 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31768 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31769 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31770 (strtod_l, strtof_l, strtold_l): Remove __wur.
31771 It is not necessarily an error to ignore strtol's return value.
31772 One can reliably look at the stored endptr to decide whether
31773 the number had valid syntax.
31775 2012-04-21 Andreas Jaeger <aj@suse.de>
31778 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31780 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31782 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31783 * sysdeps/unix/sysv/Versions: Remove file.
31785 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31790 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31793 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31794 version from __vm86.
31796 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31798 * sysdeps/unix/common/lxstat.c: Remove file.
31799 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31801 * sysdeps/unix/sysv/Makefile: Remove file.
31803 * sysdeps/unix/sysv/direct.h: Remove file.
31805 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31806 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31807 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31808 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31809 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31810 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31811 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31813 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31815 * sysdeps/unix/xmknod.c: Remove file.
31816 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31818 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31820 * sysdeps/unix/sysv/i386/time.S: Remove file.
31822 * sysdeps/unix/fxstat.c: Remove file.
31823 * sysdeps/unix/xstat.c: Likewise.
31824 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31826 * sysdeps/unix/sysv/sigaction.c: Remove file.
31828 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31829 (sysdep_headers): Remove variable.
31830 [termio.h not in sysdep_headers] (generated): Likewise.
31831 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31832 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31833 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31834 * sysdeps/unix/sysv/tcflow.c: Likewise.
31835 * sysdeps/unix/sysv/tcflush.c: Likewise.
31836 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31837 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31838 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31839 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31840 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31842 * sysdeps/unix/siglist.c: Remove file.
31844 * sysdeps/unix/getppid.S: Remove file.
31846 * sysdeps/unix/mkdir.c: Remove file.
31847 * sysdeps/unix/rmdir.c: Likewise.
31849 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31851 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31853 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31854 errlist-compat value.
31856 2012-04-18 David S. Miller <davem@davemloft.net>
31858 * sysdeps/generic/memcopy.h (reg_char): Delete.
31859 * debug/strcat_chk.c: Use char, not reg_char.
31860 * debug/strcpy_chk.c: Likewise.
31861 * debug/strncat_chk.c: Likewise.
31862 * debug/strncpy_chk.c: Likewise.
31863 * string/memchr.c: Likewise.
31864 * string/memrchr.c: Likewise.
31865 * string/rawmemchr.c: Likewise.
31866 * string/strcat.c: Likewise.
31867 * string/strchr.c: Likewise.
31868 * string/strchrnul.c: Likewise.
31869 * string/strcmp.c: Likewise.
31870 * string/strcpy.c: Likewise.
31871 * string/strncat.c: Likewise.
31872 * string/strncmp.c: Likewise.
31873 * string/strncpy.c: Likewise.
31875 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31877 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31878 __builtin_memcopy is called when src and dest ranges are known to not
31881 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31883 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31884 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31885 fwd_align_merge macro call.
31886 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31887 bwd_align_merge macro call.
31888 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31890 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31892 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31893 bwd_align_merge macros.
31894 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31895 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31896 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31898 2012-04-18 David S. Miller <davem@davemloft.net>
31900 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31902 2012-04-18 Andreas Jaeger <aj@suse.de>
31905 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31906 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31907 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31909 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31910 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31911 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31913 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31914 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31915 Adjust for changed ldbl-128 files.
31917 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31918 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31919 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31921 2012-04-17 David S. Miller <davem@davemloft.net>
31923 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31925 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31927 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31928 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31929 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31930 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31931 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31932 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31934 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31937 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31938 * math/libm-test.inc: Add ilogb errno and exception tests.
31939 * math/w_ilogb.c: New file: ilogb wrapper.
31940 * math/w_ilogbf.c: New file: ilogbf wrapper.
31941 * math/w_ilogbl.c: New file: ilogbl wrapper.
31942 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31943 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31944 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31945 exception being thrown with 0.0 as argument.
31946 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31947 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31948 exception being thrown with 0.0 as argument.
31949 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31950 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31951 exception being thrown with 0.0 as argument.
31952 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31953 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31954 exception being thrown with 0.0 as argument.
31955 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31956 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31957 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31958 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31959 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31960 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31961 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31962 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31963 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31965 2012-04-17 Petr Baudis <pasky@ucw.cz>
31967 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31970 2012-04-16 Marek Polacek <polacek@redhat.com>
31972 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31974 2012-04-16 Marek Polacek <polacek@redhat.com>
31976 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31977 operands of fdivp instruction.
31979 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31981 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31982 * elf/tst-auditmod3b.c: Likewise.
31983 * elf/tst-auditmod4b.c: Likewise.
31984 * elf/tst-auditmod5b.c: Likewise.
31985 * elf/tst-auditmod6b.c: Likewise.
31986 * elf/tst-auditmod6c.c: Likewise.
31987 * elf/tst-auditmod7b.c: Likewise.
31988 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31989 * sysdeps/x86_64/preconfigure.in: Likewise.
31990 * sysdeps/x86_64/preconfigure: Regenerated.
31992 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31994 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31997 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32000 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32002 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32005 * locale/iso-639.def: Fix gl language name. Spotted by
32008 2012-04-12 Roland McGrath <roland@hack.frob.com>
32011 * libio/libio.h (__io_write_fn): Update comment.
32013 2012-04-12 Petr Baudis <pasky@ucw.cz>
32016 * stdio.texi (Hook Functions): The user provided writer function
32017 is not allowed to return -1.
32019 2012-04-11 David S. Miller <davem@davemloft.net>
32021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32023 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32025 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32026 Add a leading slash to rtkaio.
32028 2012-04-11 Jim Meyering <meyering@redhat.com>
32031 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32032 It is not necessarily an error to ignore fwrite's return
32033 value. One can reliably use ferror to test for errors after
32036 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32038 * bits/types.h (__snseconds_t): New type.
32039 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32041 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32043 (__SNSECONDS_T_TYPE): Likewise.
32044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32045 (__SNSECONDS_T_TYPE): Likewise.
32046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32047 (__SNSECONDS_T_TYPE): Likewise.
32049 2012-04-10 Andreas Jaeger <aj@suse.de>
32052 * manual/time.texi (Processor Time): Return type of times is
32053 elapsed real time since an arbitrary point in the past.
32054 (CPU Time): Move CLK_TCK from here...
32055 (Processor Time): ...to here. Correct description.
32056 * manual/conf.texi (Constants for Sysconf): Correct description of
32059 2012-04-10 David S. Miller <davem@davemloft.net>
32062 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32063 where the is a gap between DT_REL(A) and DT_JMPREL.
32065 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32067 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32068 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32069 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32071 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32073 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32074 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32075 (dl_main): Handle --inhibit-cache.
32076 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32078 * elf/dl-load.c (_dl_map_object): Use it.
32079 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32081 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32084 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32085 (__ieee754_powl): Saturate large exponents rather than testing for
32086 overflow of y*log2(x).
32087 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32088 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32092 * math/s_ctan.c: Include <float.h>.
32093 (__ctan): Avoid internal overflow or cancellation in calculating
32095 * math/s_ctanf.c: Likewise.
32096 * math/s_ctanl.c: Likewise.
32097 * math/s_ctanh.c: Likewise.
32098 * math/s_ctanhf.c: Likewise.
32099 * math/s_ctanhl.c: Likewise.
32100 * math/libm-test.inc (ctan_test): Add more tests.
32101 (ctanh_test): Likewise.
32102 * sysdeps/i386/fpu/libm-test-ulps: Update.
32103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32105 2012-04-09 Andreas Jaeger <aj@suse.de>
32108 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32109 is an optional BSD extension.
32112 * manual/stdio.texi (Opening Streams): Document additional fopen
32115 2012-04-09 Roland McGrath <roland@hack.frob.com>
32117 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32118 %eax without telling the compiler.
32120 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32123 * manual/install.texi: Use sourceware.org.
32125 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32128 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32129 (__ieee754_pow): Generate overflow and underflow using huge*huge
32130 and tiny*tiny rather than just returning constant infinity or zero
32131 for large exponents.
32132 * math/libm-test.inc (pow_test): Require overflow exceptions for
32133 applicable cases of large exponents.
32136 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32137 (__ieee754_pow): Use iterative multiplication algorithm only for
32138 integer exponents with absolute value below 1024. Check for odd
32139 integer exponents when using algorithm for real exponents.
32140 * math/libm-test.inc (pow_test): Add more tests.
32141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32143 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32146 * math/libm-test.inc (exp_test): Do not allow overflow exception
32149 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32152 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32153 instead of __kernel_standard_f.
32155 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32157 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32158 * sysdeps/x86_64/memset_chk.S: Likewise.
32160 2012-04-08 Andreas Jaeger <aj@suse.de>
32163 * manual/startup.texi (Environment Access): Describe return value
32164 for putenv and setenv.
32167 * manual/filesys.texi (Directory Entries): Add description for
32171 * manual/filesys.texi (Directory Entries): Clarify that it's file
32172 system not operating system in the description of DT_UNKNOWN.
32175 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32177 2012-04-08 Stephen Compall <s11@member.fsf.org>
32180 * manual/llio.texi (Opening and Closing Files): Add cross
32181 reference to explain mode argument.
32183 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32185 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32186 * sysdeps/x86_64/memset_chk.S: Likewise.
32188 2012-04-07 David S. Miller <davem@davemloft.net>
32190 * elf/elf.h (R_SPARC_WDISP10): Define.
32191 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32194 R_SPARC_SIZE64 and R_SPARC_H34.
32196 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32198 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32199 conditions and remove no longer applicable assertion.
32201 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32203 * bits/byteswap.h: Include <features.h>.
32204 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32205 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32207 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32209 * bits/byteswap.h (__bswap_16): Removed.
32210 Include <bits/byteswap-16.h> to get __bswap_16.
32211 * sysdeps/i386/bits/byteswap.h: Likewise.
32212 * sysdeps/s390/bits/byteswap.h: Likewise.
32213 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32214 * bits/byteswap-16.h: New file.
32215 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32216 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32217 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32218 * string/Makefile (headers): Add bits/byteswap-16.h.
32220 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32223 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32225 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32226 * nss/tst-nss-static.c: New.
32228 2012-04-06 Robert Millan <rmh@gnu.org>
32231 * manual/llio.texi (File Position Primitive): lseek
32232 refers to WHENCE when it really means OFFSET.
32234 2012-04-06 Andreas Jaeger <aj@suse.de>
32236 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32237 strncmp declarations.
32239 * abilist/libc.abilist: Add __poll and __ppoll.
32241 2012-04-05 David S. Miller <davem@davemloft.net>
32243 * scripts/check-local-headers.sh: Accept a host triplet in the
32244 path matched by the exclude regexp.
32246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32248 * sysdeps/powerpc/powerpc32/dl-machine.h
32249 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32250 * sysdeps/s390/s390-32/dl-machine.h
32251 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32252 * sysdeps/sparc/sparc32/dl-machine.h
32253 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32254 * sysdeps/sparc/sparc64/dl-machine.h
32255 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32257 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32259 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32260 undefined symbol errors.
32262 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32265 2012-04-05 Michael Matz <matz@suse.de>
32268 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32270 2012-04-05 Andreas Jaeger <aj@suse.de>
32273 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32276 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32278 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32279 which ROUND is no valid rounding mode.
32281 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32283 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32285 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32287 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32289 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32290 an exception using FPU order intentionally.
32292 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32294 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32295 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32296 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32297 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32299 2012-04-05 Simon Josefsson <simon@josefsson.org>
32302 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32303 EINVAL when BUFLEN is too smal.
32305 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32308 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32309 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32311 2012-04-03 Andreas Jaeger <aj@suse.de>
32314 * manual/setjmp.texi (System V contexts): Fix sentence.
32317 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32318 New macro for this case.
32319 [!__GNUC__] (__bswap_64): New inline function for this case.
32320 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32321 * bits/byteswap.h: Likewise.
32322 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32323 ull, guard with __GLIBC_HAVE_LONG_LONG.
32325 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32326 __GLIBC_HAVE_LONG_LONG.
32328 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32329 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32331 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32334 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32335 inptr and inend, rather than using last_ch.
32337 2012-04-02 David S. Miller <davem@davemloft.net>
32339 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32340 * stdio-common/printf-parse.h (read_int): Change return type to
32341 'int', return -1 on INT_MAX overflow.
32342 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32343 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32344 overflows INT_MAX. Check for overflow of in-format-string precision
32345 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32346 SIZE_MAX not INT_MAX for integer overflow test.
32347 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32348 skip the construct in the format string but do not record anything.
32349 * stdio-common/bug22.c: Adjust to test both width/prevision
32350 INT_MAX overflow as well as total length INT_MAX overflow. Check
32351 explicitly for proper errno values.
32353 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32355 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32357 * string/test-strcmp.c [! WIDE]: Likewise.
32358 * time/tst-mktime2.c: Likewise for INT_MAX.
32359 * string/test-string.h: #include <sys/param.h> for MIN.
32361 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32362 * sysdeps/i386/init-first.c (init): Likewise.
32363 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32364 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32365 * sysdeps/sh/init-first.c (init): Likewise.
32367 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32369 * po/ru.po: Update from translation team.
32370 * po/vi.po: Likewise.
32372 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32374 * resolv/nss_dns/dns-host.c: Merge copyright years.
32376 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32378 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32379 Optimize memcpy with prefetch if
32380 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32381 src, dst pointers have unequal 16 byte alignments.
32383 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32386 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32387 from a CNAME entry and return the minimum ttl for the query.
32388 (gaih_getanswer_slice): Likewise.
32390 2012-03-30 Jeff Law <law@redhat.com>
32392 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32394 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32395 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32397 * resolv/nss_dns/dns-host.c: Update copyright year.
32399 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32401 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32402 requests to save a system call. Fix check that all bytes are sent.
32404 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32405 comments for sendmmsg.
32407 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32410 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32411 with only 1 character between 0x0041 and 0x01b0.
32412 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32413 * wcsmbs/tst-mbsnrtowcs.c: New file.
32415 2012-03-29 David S. Miller <davem@davemloft.net>
32417 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32418 small copies by hand.
32420 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32423 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32424 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32427 2012-03-28 David S. Miller <davem@davemloft.net>
32429 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32430 that branches into memcpy.
32431 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32434 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32437 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32438 implementation too.
32439 * sysdeps/sparc/mempcpy.S: New file.
32441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32442 the IFUNC routine in the libc case.
32443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32445 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32446 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32447 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32448 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32449 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32450 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32451 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32452 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32454 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32455 loop to 256 bytes instead of 64 bytes and fix test signedness.
32457 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32458 * sysdeps/sparc/sparc32/Makefile: rather than here...
32459 * sysdeps/sparc/sparc64/Makefile: and here.
32461 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32463 * malloc/mallocbug.c: Avoid warnings about unused variables.
32465 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32468 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32469 in the right place. Discard and retry query if response is
32470 larger than input buffer size.
32472 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32477 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32478 x for large integer exponent.
32479 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32480 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32481 sign of result as needed afterwards.
32482 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32483 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32484 result for underflowing pow the same as for overflow.
32485 (__kernel_standard_l): Handle powl overflow and underflow here
32486 rather than calling __kernel_standard.
32487 * math/libm-test.inc (pow_test): Add more tests.
32502 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32503 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32504 (__kernel_standard_l): New function.
32505 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32507 * math/w_acosl.c (__acosl): Likewise.
32508 * math/w_asinl.c (__asinl): Likewise.
32509 * math/w_atan2l.c (__atan2l): Likewise.
32510 * math/w_atanhl.c (__atanhl): Likewise.
32511 * math/w_coshl.c (__coshl): Likewise.
32512 * math/w_exp10l.c (__exp10l): Likewise.
32513 * math/w_exp2l.c (__exp2l): Likewise.
32514 * math/w_fmodl.c (__fmodl): Likewise.
32515 * math/w_hypotl.c (__hypotl): Likewise.
32516 * math/w_j0l.c (__j0l, __y0l): Likewise.
32517 * math/w_j1l.c (__j1l, __y1l): Likewise.
32518 * math/w_jnl.c (__jnl, __ynl): Likewise.
32519 * math/w_lgammal.c (__lgammal): Likewise.
32520 * math/w_log10l.c (__log10l): Likewise.
32521 * math/w_log2l.c (__log2l): Likewise.
32522 * math/w_logl.c (__logl): Likewise.
32523 * math/w_powl.c (__powl): Likewise.
32524 * math/w_remainderl.c (__remainderl): Likewise.
32525 * math/w_scalbl.c (sysv_scalbl): Likewise.
32526 * math/w_sinhl.c (__sinhl): Likewise.
32527 * math/w_sqrtl.c (__sqrtl): Likewise.
32528 * math/w_tgammal.c (__tgammal): Likewise.
32529 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32530 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32531 * math/libm-test.inc (acos_test): Add more tests.
32532 (acosh_test): Likewise.
32533 (asin_test): Likewise.
32534 (atanh_test): Likewise.
32535 (exp_test): Likewise.
32536 (exp10_test): Likewise.
32537 (exp2_test): Likewise.
32538 (expm1_test): Likewise.
32539 (lgamma_test): Likewise.
32540 (log_test): Likewise.
32541 (log10_test): Likewise.
32542 (log1p_test): Likewise.
32543 (log2_test): Likewise.
32544 (pow_test): Do not allow some spurious overflow exceptions.
32545 (sqrt_test): Add more tests.
32546 (tgamma_test): Likewise.
32547 (y0_test): Likewise.
32548 (y1_test): Likewise.
32549 (yn_test): Likewise.
32551 2012-03-27 Anton Blanchard <anton@samba.org>
32553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32555 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32556 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32557 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32559 2012-03-27 David S. Miller <davem@davemloft.net>
32561 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32563 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32564 have-as-vis3 check.
32566 2012-03-27 Andreas Jaeger <aj@suse.de>
32568 * sysdeps/x86_64/elf/configure.in: Moved to ...
32569 * sysdeps/x86_64/configure.in: ... here.
32570 * sysdeps/x86_64/elf/start.S: Moved to ...
32571 * sysdeps/x86_64/start.S: ... here.
32572 * sysdeps/x86_64/elf/configure: Delete.
32574 * sysdeps/x86_64/configure.in: Merge contents from
32575 sysdeps/i386/configure.in (without i686 check).
32577 * sysdeps/i386/elf/Versions: Merge into ...
32578 * sysdeps/i386/Versions: ... this.
32579 * sysdeps/i386/elf/Versions: Delete file.
32580 * sysdeps/i386/elf/start.S: Moved to ...
32581 * sysdeps/i386/start.S: ...here.
32582 * sysdeps/i386/elf/configure.in: Merge into...
32583 * sysdeps/i386/configure.in: ...here.
32584 * sysdeps/i386/elf/configure.in: Delete file.
32585 * sysdeps/i386/elf/configure: Delete file.
32587 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32588 * debug/backtracesyms.c: ... here.
32589 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32590 * debug/backtracesymsfd.c: ... here.
32591 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32592 * sysdeps/generic/ifunc-sel.h: ... here.
32594 * sysdeps/unix/i386/start.c: Delete file.
32595 * sysdeps/unix/sparc/start.c: Delete file.
32596 * sysdeps/unix/start.c: Delete file.
32598 * sysdeps/sh/elf/configure.in: Moved to ...
32599 * sysdeps/sh/configure.in: ... here.
32600 * sysdeps/sh/elf/start.S: Moved to ...
32601 * sysdeps/sh/start.S: ... here.
32602 * sysdeps/sh/elf/configure: Delete file.
32604 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32605 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32606 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32607 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32608 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32609 * sysdeps/powerpc/powerpc64/start.S: here.
32610 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32611 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32612 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32613 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32614 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32616 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32617 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32618 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32619 * sysdeps/powerpc/powerpc32/start.S: ... here.
32620 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32621 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32622 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32624 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32625 * sysdeps/powerpc/ifunc-sel.h: ... here.
32626 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32627 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32629 * sysdeps/sparc/elf/configure.in: Moved to ...
32630 * sysdeps/sparc/configure.in: ... here.
32631 * sysdeps/sparc/elf/configure: Delete file.
32632 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32633 * sysdeps/sparc/sparc32/start.S: ... here.
32634 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32635 * sysdeps/sparc/sparc64/start.S: ... here.
32636 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32637 * sysdeps/sparc/sparc32/Makefile: ... this.
32638 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32639 * sysdeps/sparc/sparc64/Makefile: ... this.
32641 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32642 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32643 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32644 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32645 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32646 * sysdeps/s390/s390-32/setjmp.S: ... here.
32647 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32648 * sysdeps/s390/s390-32/configure.in: ... here.
32649 * sysdeps/s390/s390-32/elf/configure: Delete file.
32650 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32651 * sysdeps/s390/s390-32/start.S: ... here.
32653 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32654 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32655 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32656 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32657 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32658 * sysdeps/s390/s390-64/setjmp.S: ... here.
32659 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32660 * sysdeps/s390/s390-64/configure.in: ... here
32661 * sysdeps/s390/s390-64/elf/configure: Delete file.
32662 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32663 * sysdeps/s390/s390-64/start.S: ... here.
32664 * sysdeps/s390/s390-64/elf/configure: Delete.
32666 * configure.in: Remove support for elf directories in sysdeps.
32668 * configure: Regenerated.
32669 * sysdeps/i386/configure: Regenerated.
32670 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32671 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32672 * sysdeps/s390/s390-32/configure: Regenerated.
32673 * sysdeps/s390/s390-64/configure: Regenerated.
32674 * sysdeps/sh/configure: Regenerated.
32675 * sysdeps/sparc/configure: Regenerated.
32676 * sysdeps/x86_64/configure: Regenerated.
32678 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32682 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32683 denormal result into account.
32685 2012-03-25 Roland McGrath <roland@hack.frob.com>
32687 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32688 Reported by Allan McRae <allan@archlinux.org>.
32690 2012-03-23 Jeff Law <law@redhat.com>
32692 * nss/getnssent.c (__nss_getent): Fix typo.
32694 2012-03-23 David S. Miller <davem@davemloft.net>
32696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32698 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32700 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32701 to pad to uint64_t for each field.
32702 (dl_tls_index): Replace unsigned long with uint64_t.
32704 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32705 Paul Pluzhnikov <ppluzhnikov@google.com>
32708 * grp/Makefile (otherlibs): Don't set it.
32709 * inet/Makefile (otherlibs): Likewise.
32710 * login/Makefile (otherlibs): Likewise.
32711 * nscd/Makefile (otherlibs): Likewise.
32712 * posix/Makefile (otherlibs): Likewise.
32713 * pwd/Makefile (otherlibs): Likewise.
32714 * rt/Makefile (otherlibs): Likewise.
32715 * sunrpc/Makefile (otherlibs): Likewise.
32716 * nss/Makefile (otherlibs): Likewise.
32717 Add libnss_files to routines and static-only-routines.
32718 ($(objpfx)getent): Remove rule.
32719 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32720 static-only-routines.
32722 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32725 * math/s_cexp.c: Include <float.h>.
32726 (__cexp): Handle exp result overflowing not necessarily
32727 overflowing both real and imaginary parts of result.
32728 * math/s_cexpf.c: Likewise.
32729 * math/s_cexpl.c: Likewise.
32730 * math/libm-test.inc (cexp_test): Add more tests.
32731 * sysdeps/i386/fpu/libm-test-ulps: Update.
32732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32734 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32736 * include/link.h (ELFW): New macro.
32737 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32738 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32740 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32742 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32745 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32747 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32749 (struct La_x32_retval): Likewise.
32751 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32753 * sysdeps/x86_64/preconfigure.in: New file.
32754 * sysdeps/x86_64/preconfigure: New generated file.
32756 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32759 * math/e_exp2l.c: Include <float.h>.
32760 (__ieee754_exp2l): Handle overflow and underflow cases
32761 separately. Only pass fractional part of argument to
32763 * math/libm-test.inc (exp2_test): Add more tests.
32765 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32766 negating x to take absolute value.
32767 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32769 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32770 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32772 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32773 computing low part if x was negated.
32774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32776 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32778 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32779 la_x32_gnu_pltexit.
32780 (pltexit): Cast int_retval to ptrdiff_t.
32781 * elf/tst-auditmod3b.c: Likewise.
32782 * elf/tst-auditmod4b.c: Likewise.
32783 * elf/tst-auditmod5b.c: Likewise.
32784 * elf/tst-auditmod6b.c: Likewise.
32785 * elf/tst-auditmod6c.c: Likewise.
32786 * elf/tst-auditmod7b.c: Likewise.
32788 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32789 and x32_gnu_pltexit.
32791 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32792 __ELF_NATIVE_CLASS.
32793 (La_x32_regs): New macro.
32794 (La_x32_retval): Likewise.
32795 (la_x32_gnu_pltenter): New function prototype.
32796 (la_x32_gnu_pltexit): Likewise.
32798 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32800 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32805 * configure.in (libc_cv_cc_nofma): Check for option to disable
32806 generation of FMA instructions.
32807 * configure: Regenerate.
32808 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32809 * sysdeps/ieee754/dbl-64/Makefile: New file.
32810 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32811 Remove brandred-fma4.
32812 (CFLAGS-brandred-fma4.c): Remove.
32813 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32814 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32816 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32819 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32821 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32822 LLONG_MAX != LONG_MAX.
32823 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32824 (_fitoa_word): Likewise.
32825 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32826 LLONG_MAX != LONG_MAX.
32827 * stdio-common/_itowa.h: Include <_itoa.h>.
32828 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32829 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32830 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32831 only if not defined.
32832 (_ITOA_WORD_TYPE): Likewise.
32833 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32834 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32836 2012-03-21 David S. Miller <davem@davemloft.net>
32838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32840 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32842 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32843 of x86_64 when setting libc_cv_slibdir, libdir and
32845 * sysdeps/unix/sysv/linux/configure: Regenerated.
32847 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32849 * manual/lang.texi (Old Varargs): Remove section.
32850 (How Variadic): Update menu.
32851 (va_start): Do not mention varargs.h.
32853 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32854 Joseph Myers <joseph@codesourcery.com>
32856 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32858 * configure: Regenerated.
32860 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32862 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32863 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32866 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32869 * Makefile (files-for-dist): Remove NOTES.
32870 (NOTES): Remove rule.
32871 * README: Don't refer to NOTES.
32872 * manual/creature.texi: Don't include macros.texi.
32873 * manual/intro.texi (creature.texi): Remove comment referring to
32876 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32877 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32878 * configure: Regenerated.
32879 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32880 LIBC_TRY_CC_OPTION.
32881 (libc_cv_as_i686): Likewise.
32882 (libc_cv_cc_avx): Likewise.
32883 (libc_cv_cc_sse2avx): Likewise.
32884 (libc_cv_cc_fma4): Likewise.
32885 (libc_cv_cc_novzeroupper): Likewise.
32886 * sysdeps/i386/configure: Regenerated.
32889 * sysdeps/i386/fpu/s_cexp.S: Remove.
32890 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32891 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32892 * math/libm-test.inc (cexp_test): Add more tests.
32893 * sysdeps/i386/fpu/libm-test-ulps: Update.
32894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32896 2012-03-21 Allan McRae <allan@archlinux.org>
32898 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32900 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32903 * math/w_exp2.c: Do not include <float.h>.
32904 (o_threshold, u_threshold): Remove.
32905 (__exp2): Calculate result before checking finiteness and calling
32907 * math/w_exp2f.c: Likewise.
32908 * math/w_exp2l.c: Likewise.
32909 * math/libm-test.inc (exp2_test): Require overflow exception for
32913 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32914 range of signed 64-bit integers before using fistpll. Remove
32915 checks for whether integers fit in mantissa bits.
32916 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32917 the range of signed 32-bit integers before using fistpl. Remove
32918 checks for whether integers fit in mantissa bits.
32919 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32920 (__ieee754_powl): Test for y outside the range of signed 64-bit
32921 integers before using fistpll. Reduce 64-bit values to 63-bit
32923 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32924 divide-by-zero is raised for zero to large negative powers.
32925 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32926 (__ieee754_powl): Test for y outside the range of signed 64-bit
32927 integers before using fistpll. Reduce 64-bit values to 63-bit
32929 * math/libm-test.inc (pow_test): Add more tests.
32931 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32933 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32934 <stdio-common/_itoa.h>.
32935 * debug/segfault.c: Likewise.
32936 * elf/dl-cache.c: Likewise.
32937 * elf/dl-minimal.c: Likewise.
32938 * elf/dl-misc.c: Likewise.
32939 * elf/dl-sysdep.c: Likewise.
32940 * elf/dl-version.c: Likewise.
32941 * elf/rtld.c: Likewise.
32942 * hurd/hurdsock.c: Likewise.
32943 * hurd/lookup-retry.c: Likewise.
32944 * malloc/malloc.c: Likewise.
32945 * malloc/mtrace.c: Likewise.
32946 * nscd/nscd_getgr_r.c: Likewise.
32947 * nscd/nscd_getpw_r.c: Likewise.
32948 * nscd/nscd_getserv_r.c: Likewise.
32949 * posix/getopt_init.c: Likewise.
32950 * posix/wordexp.c: Likewise.
32951 * stdio-common/_itoa.c: Likewise.
32952 * stdio-common/printf_fphex.c: Likewise.
32953 * stdio-common/vfprintf.c: Likewise.
32954 * string/_strerror.c: Likewise.
32955 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32956 * sysdeps/i386/i686/hp-timing.h: Likewise.
32957 * sysdeps/mach/_strerror.c: Likewise.
32958 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32959 * sysdeps/mach/hurd/sethostid.c: Likewise.
32960 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32961 * sysdeps/mach/xpg-strerror.c: Likewise.
32962 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32963 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32964 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32965 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32966 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32967 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32968 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32969 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32970 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32971 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32972 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32973 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32974 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32975 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32976 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32977 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32978 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32979 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32980 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32981 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32982 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32984 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32986 * stdio-common/_itoa.h: Moved to ...
32987 * sysdeps/generic/_itoa.h: Here.
32989 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32991 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32992 instead of "_itoa.h" and "_itowa.h".
32993 * stdio-common/vfprintf.: Likewise.
32995 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32997 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32999 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33000 (__signbit): Likwise.
33001 (llrintf): Likwise.
33004 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33006 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33009 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33011 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33012 OVERFLOW_EXCEPTION_OK.
33013 * math/libm-test.inc ("Philosophy"): Update comment about
33015 (OVERFLOW_EXCEPTION): Define.
33016 (OVERFLOW_EXCEPTION_OK): Likewise.
33017 (INVALID_EXCEPTION_OK): Renumber.
33018 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33019 (IGNORE_ZERO_INF_SIGN): Likewise.
33020 (test_exceptions): Handle FE_OVERFLOW.
33021 (exp10_test): Expect overflow exceptions.
33022 (exp2_test): Likewise.
33023 (expm1_test): Likewise.
33024 (nextafter_test): Likewise.
33025 (pow_test): Likewise.
33026 (scalbn_test): Likewise.
33027 (scalbln_test): Likewise.
33029 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33031 * sysdeps/x86_64/bits/atomic.h
33032 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33034 (atomic_exchange_acq): Likewise.
33035 (__arch_exchange_and_add_body): Likewise.
33036 (__arch_add_body): Likewise.
33037 (atomic_add_negative): Likewise.
33038 (atomic_add_zero): Likewise.
33040 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33042 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33043 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33047 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33048 Check __x86_64__ instead of __WORDSIZE.
33050 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33052 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33054 2012-03-19 David S. Miller <davem@davemloft.net>
33056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33058 * sysdeps/sparc/fpu/fenv_private.h: New file.
33059 * sysdeps/sparc/fpu/math_private.h: Use it.
33060 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33062 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33063 (libc_feholdexcept_setroundl): Remove.
33064 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33066 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33067 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33069 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33071 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33072 int64_t instead of long int.
33073 (INSERT_WORDS64): Likwise.
33075 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33077 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33078 _Unwind_GetCFA return to _Unwind_Ptr first.
33080 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33083 * math/s_clog.c: Include <float.h>.
33084 (__clog): Scale large or subnormal inputs.
33085 * math/s_clogf.c: Likewise.
33086 * math/s_clogl.c: Likewise.
33087 * math/s_clog10.c: Include <float.h>.
33088 (M_LOG10_2): Define.
33089 (__clog10): Scale large or subnormal inputs.
33090 * math/s_clog10f.c: Likewise.
33091 * math/s_clog10l.c: Likewise.
33092 * math/libm-test.inc (clog_test): Add more tests.
33093 (clog10_test): Likewise.
33094 * sysdeps/i386/fpu/libm-test-ulps: Update.
33095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33098 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33100 * math/libm-test.inc (atan2_test): Add another test.
33102 * Makerules (common-objdir-compile): Remove.
33103 * sysdeps/unix/Makefile (config-generated): Do not add
33104 $(unix-generated) to variable.
33105 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33106 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33108 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33110 [generic bits/local_lim.h] (before-compile): Do not append to
33112 [generic bits/local_lim.h] (common-generated): Likewise.
33113 [generic sys/param.h] (before-compile): Do not append to variable.
33114 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33115 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33116 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33117 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33119 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33120 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33121 [generic sys/param.h] ($(addprefix
33122 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33123 [generic sys/param.h] (common-generated): Do not append to
33125 [generic sys/param.h] (sysdep_headers): Likewise.
33126 [generic bits/errno.h] (before-compile): Do not append to
33128 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33130 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33131 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33132 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33133 [generic bits/errno.h] (common-generated): Do not append to
33135 [generic bits/ioctls.h] (before-compile): Do not append to
33137 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33139 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33140 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33141 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33143 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33144 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33145 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33146 [generic bits/ioctls.h] (common-generated): Do not append to
33148 [generic sys/syscall.h] (syscall.h): Remove variable.
33149 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33151 [generic sys/syscall.h] (before-compile): Do not append to
33153 [generic sys/syscall.h] (common-generated): Likewise.
33154 * sysdeps/unix/errnos-tmpl.c: Remove file.
33155 * sysdeps/unix/errnos.awk: Likewise.
33156 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33157 * sysdeps/unix/ioctls.awk: Likewise.
33158 * sysdeps/unix/mk-local_lim.c: Likewise.
33159 * sysdeps/unix/snarf-ioctls: Likewise.
33161 2012-03-19 Richard Henderson <rth@twiddle.net>
33163 * sysdeps/i386/fpu/fenv_private.h: New file.
33164 * sysdeps/i386/fpu/math_private.h: Use it.
33165 (math_opt_barrier, math_force_eval): Remove.
33166 (libc_feholdexcept_setround_53bit): Remove.
33167 (libc_feupdateenv_53bit): Remove.
33168 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33169 (math_opt_barrier, math_force_eval): Remove.
33170 (libc_feholdexcept): Remove.
33171 (libc_feholdexcept_setround): Remove.
33172 (libc_fetestexcept, libc_fesetenv): Remove.
33173 (libc_feupdateenv_test): Remove.
33174 (libc_feupdateenv, libc_feholdsetround): Remove.
33175 (libc_feresetround): Remove.
33177 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33178 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33180 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33181 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33182 (libc_feupdateenv_testl): New.
33183 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33184 (libc_feupdateenv_testf): New.
33185 (libc_feupdateenv): Use libc_feupdateenv_test.
33186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33187 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33189 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33190 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33191 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33192 (libc_feresetround_noex): New.
33193 (libc_feresetround_noexf): New.
33194 (libc_feresetround_noexl): New.
33195 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33196 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33197 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33198 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33203 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33204 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33205 SET_RESTORE_ROUND_NOEX.
33206 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33207 SET_RESTORE_ROUND_NOEXF.
33208 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33209 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33210 (libc_feholdsetroundf): New.
33211 (libc_feresetround, libc_feresetroundf): New.
33213 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33214 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33215 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33217 * sysdeps/generic/math_private.h: Include <fenv.h>.
33218 (default_libc_feholdexcept): New.
33219 (default_libc_feholdexcept_setround): New.
33220 (default_libc_fesetenv, default_libc_feupdateenv): New.
33221 (libc_feholdexcept): Only define if undefined.
33222 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33223 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33224 (libc_feholdexcept_setroundl): Likewise.
33225 (libc_feholdexcept_setround_53bit): Likewise.
33226 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33227 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33228 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33229 (libc_feupdateenv_53bit): Likewise.
33230 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33231 (libc_feholdexcept): Convert from macro to inline function.
33232 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33233 (libc_fesetenv, libc_feupdateenv): Likewise.
33235 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33236 not previously defined.
33237 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33238 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33239 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33240 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33241 * sysdeps/ieee754/flt-32/math_private.h: New file.
33242 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33243 math_private.h below SET_FLOAT_WORD.
33244 (__isnan, __isinf_ns, __finite): Remove.
33245 (__isnanf, __isinf_nsf, __finitef): Remove.
33247 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33251 2012-03-17 David S. Miller <davem@davemloft.net>
33254 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33257 2012-03-16 David S. Miller <davem@davemloft.net>
33259 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33263 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33265 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33266 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33267 sysdep_routines when subdir is sysvipc.
33268 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33269 __getshmlba helper.
33271 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33273 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33275 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33278 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33280 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33281 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33282 (__lround): Renamed to ...
33283 (__llround): This. Replace long int with long long int.
33284 Define lround functions as aliases of llround functions.
33285 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33287 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33289 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33290 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33291 adresses to uintptr_t. Replace "long int" and "unsigned long
33292 int" with "greg_t" on va_arg.
33294 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33296 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33297 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33299 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33300 Move e_machine check before EI_CLASS check. Handle x32
33301 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33302 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33303 SKIP_EM_IA_64 and include
33304 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33306 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33307 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33308 (add_system_dir): New macro.
33310 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33311 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33313 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33324 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33326 * math/w_j0f.c (j0f): Likewise.
33328 * math/w_j0l.c (__j0l): Likewise.
33330 * math/w_j1.c (j1): Likewise.
33332 * math/w_j1f.c (j1f): Likewise.
33334 * math/w_j1l.c (__j1l): Likewise.
33336 * math/w_jn.c (jn): Likewise.
33338 * math/w_jnf.c (jnf): Likewise.
33340 * math/w_jnl.c (__jnl): Likewise.
33342 * math/libm-test.inc (j0_test): Add more tests.
33343 (j1_test): Likewise.
33344 (jn_test): Likewise. Add trailing semicolon to existing test.
33345 (y0_test): Likewise.
33346 (y1_test): Likewise.
33347 * sysdeps/i386/fpu/libm-test-ulps: Update.
33348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33352 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33353 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33354 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33355 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33356 (__tanl): Set errno for infinite argument.
33357 * sysdeps/i386/fpu/mptan.c: Remove.
33358 * sysdeps/i386/fpu/s_tan.S: Likewise.
33359 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33360 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33361 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33362 * math/libm-test.inc (tan_test): Add more tests and enable more
33363 tests for double and long double.
33364 * sysdeps/i386/fpu/libm-test-ulps: Update.
33365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33367 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33369 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33370 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33372 2012-03-16 Roland McGrath <roland@hack.frob.com>
33374 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33375 * configure.in: Use it for both main tree and add-ons.
33376 * configure: Regenerated.
33378 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33380 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33382 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33384 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33388 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33389 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33390 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33391 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33392 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33394 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33395 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33396 != 0 for prec == 2.
33397 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33398 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33399 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33400 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33401 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33402 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33403 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33404 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33405 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33406 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33407 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33408 * math/libm-test.inc (cos_test): Add more tests and enable more
33409 tests for long double.
33410 (sin_test): Likewise.
33411 (sincos_test): Likewise.
33412 * sysdeps/i386/fpu/libm-test-ulps: Update.
33413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33415 2012-03-16 David S. Miller <davem@davemloft.net>
33417 * sysdeps/sparc/fpu/math_private.h: New file.
33419 2012-03-15 David S. Miller <davem@davemloft.net>
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33431 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33435 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33436 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33438 * sysdeps/sparc/sparc-ifunc.h: New file.
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33465 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33466 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33477 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33479 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33484 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33486 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33490 2012-03-15 Andreas Jaeger <aj@suse.de>
33493 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33494 ieee754/flt-32 implementation for sin, cos and sincos.
33495 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33496 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33497 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33498 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33499 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33500 ieee754/flt-32 implementation for tan.
33502 * math/libm-test.inc (cos_test): Enable some large input tests for
33504 (sin_test): Likewise.
33505 (sincos_test): Likewise.
33506 (tan_test): Add tests for large input.
33508 * sysdeps/i386/fpu/libm-test-ulps: Update.
33510 2012-03-15 Andreas Jaeger <aj@suse.de>
33513 * math/libm-test.inc (cos_test): Add more test cases.
33514 (sin_test): Likewise.
33515 (sincos_test): Likewise.
33517 2012-03-15 Andreas Jaeger <aj@suse.de>
33520 * math/libm-test.inc (cos_test): Add a test case for large input
33522 (sin_test): Likewise.
33523 (sincos_test): Likewise.
33525 2012-03-15 Andreas Jaeger <aj@suse.de>
33526 Joseph Myers <joseph@codesourcery.com>
33529 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33530 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33531 * sysdeps/i386/fpu/branred.c: Likewise.
33532 * sysdeps/i386/fpu/dosincos.c: Likewise.
33533 * sysdeps/i386/fpu/mpa.c: Likewise.
33534 * sysdeps/i386/fpu/s_cos.S: Likewise.
33535 * sysdeps/i386/fpu/s_sin.S: Likewise.
33536 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33537 * sysdeps/i386/fpu/sincos32.c: Likewise.
33539 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33541 (libc_feupdateenv_53bit): Define.
33542 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33544 (libc_feupdateenv_53bit): Define.
33546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33547 53 bit (without extend i386 double precision).
33549 * math/libm-test.inc (sincos_test): Add tests for large input.
33553 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33555 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33559 2012-03-15 David S. Miller <davem@davemloft.net>
33561 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33562 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33563 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33564 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33589 fmin/fmax sysdep routines.
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33592 2012-03-14 David S. Miller <davem@davemloft.net>
33594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33598 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33614 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33615 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33666 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33671 * sysdeps/sparc/configure.in: New file.
33672 * sysdeps/sparc/configure: Generate.
33673 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33674 * configure: Regenerate.
33675 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33676 * config.make.in (have-as-vis3): New.
33677 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33678 available use -Av9d instead of -Av9a.
33679 * sysdeps/sparc/sparc64/Makefile: Likewise.
33680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33690 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33695 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33696 fzeros/fnegs to load 0x80000000 into a float register instead of
33698 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33700 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33704 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33705 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33706 ($(inst_includedir)/bits/syscall.h): Remove rule.
33707 ($(objpfx)bits/syscall.d): Include instead of
33708 $(objpfx)syscall-list.d.
33709 (generated): Change syscall-list.h and syscall-list.d to
33710 bits/syscall.h and bits/syscall.d.
33712 2012-03-14 Roland McGrath <roland@hack.frob.com>
33715 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33717 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33720 * math/s_csqrt.c: Include <float.h>.
33721 (__csqrt): Scale large or subnormal inputs.
33722 * math/s_csqrtf.c: Likewise.
33723 * math/s_csqrtl.c: Likewise.
33724 * math/libm-test.inc (csqrt_test): Add more tests.
33725 * sysdeps/i386/fpu/libm-test-ulps: Update.
33726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33729 * math/libm-test.inc (hypot_test): Add more tests.
33731 2012-03-13 David S. Miller <davem@davemloft.net>
33734 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33735 double-precision for the calculation instead of scaling.
33737 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33739 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33740 manipulate bits before adding and subtracting TWO52[sx].
33741 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33742 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33744 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33746 2012-03-13 David S. Miller <davem@davemloft.net>
33748 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33749 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33751 rtld-global-offsets.h
33752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33754 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33757 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33759 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33760 'err' in the ifdef scope in which it is actually used.
33762 * nss/nss_db/db-init.c: Include string.h
33764 2012-03-12 David S. Miller <davem@davemloft.net>
33766 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33767 masking out of the most significant byte of random value used.
33768 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33769 Fix coding style in previous change.
33771 * sysdeps/unix/sysv/linux/kernel-features.h
33772 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33773 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33775 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33778 2012-03-11 David S. Miller <davem@davemloft.net>
33780 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33781 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33782 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33783 for 'resultvar' otherwise things get truncated on 64-bit.
33785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33786 Fix masking out of the most significant byte of random value used.
33788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33790 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33794 2012-03-09 David S. Miller <davem@davemloft.net>
33796 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33797 variables with appropriate CPP guards.
33798 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33799 from the frame pointer, not the stack pointer. Correct layout
33800 comments. Fix test on resulting framesize and the management of
33801 the outregs buffer for pltexit. Preserve floating point return
33802 values across _dl_call_pltexit call.
33803 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33804 framesize and the management of the outregs buffer for pltexit.
33805 Preserve floating point return values across _dl_call_pltexit
33807 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33808 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33809 (la_sparc64_gnu_pltexit): New functions.
33810 (print_exit): Fix format string for return register value.
33812 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33814 * sunrpc/Makefile (others): Add rpcgen.
33815 ($(objpfx)rpcgen): Remove special build rule and dependency on
33817 * sunrpc/rpcgen.c: New file.
33819 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33822 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33823 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33824 * sysdeps/i386/crti.S: Likewise.
33825 * sysdeps/i386/crtn.S: Likewise.
33826 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33827 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33828 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33829 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33830 * sysdeps/sh/crti.S: Likewise.
33831 * sysdeps/sh/crtn.S: Likewise.
33832 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33835 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33837 * locale/programs/locfile-kw.gperf: Likewise.
33838 * locale/programs/charmap-kw.h: Regenerated.
33839 * locale/programs/locfile-kw.h: Likewise.
33842 * intl/plural.y: Replace FSF snail mail address with URL.
33843 * intl/plural.c: Regenerated.
33845 2012-03-09 Richard Henderson <rth@twiddle.net>
33847 * include/math_private.h: Remove file.
33848 * math/math_private.h: Move file ...
33849 * sysdeps/generic/math_private.h: ... here.
33851 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33852 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33853 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33855 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33856 and <math_private.h>.
33857 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33858 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33859 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33860 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33861 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33868 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33869 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33872 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33874 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33878 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33879 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33881 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33882 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33883 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33884 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33886 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33887 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33888 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33889 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33890 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33891 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33892 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33893 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33894 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33895 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33896 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33897 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33898 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33899 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33900 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33901 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33902 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33903 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33906 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33908 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33911 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33913 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33914 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33915 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33916 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33917 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33918 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33920 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33921 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33922 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33923 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33924 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33925 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33926 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33927 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33929 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33931 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33935 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33936 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33937 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33938 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33939 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33940 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33941 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33944 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33945 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33946 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33947 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33948 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33949 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33950 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33951 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33952 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33954 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33955 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33956 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33957 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33958 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33959 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33960 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33961 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33962 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33963 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33964 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33965 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33966 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33967 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33968 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33969 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33970 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33971 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33972 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33973 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33974 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33975 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33976 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33977 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33978 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33979 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33980 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33981 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33982 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33983 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33984 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33985 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33986 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33987 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33988 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33989 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33990 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33991 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33992 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33993 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33994 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33995 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33996 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33997 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33998 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33999 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34000 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34001 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34002 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34003 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34004 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34005 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34006 * sysdeps/ieee754/k_standard.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34029 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34034 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34035 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34040 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34041 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34051 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34052 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34053 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34054 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34056 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34057 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34058 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34059 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34061 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34063 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34068 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34069 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34073 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34074 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34075 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34085 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34093 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34095 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34114 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34117 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34122 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34124 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34126 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34127 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34128 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34129 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34134 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34139 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34148 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34149 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34151 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34152 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34153 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34155 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34156 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34157 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34162 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34163 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34164 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34165 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34167 * sysdeps/ieee754/s_lib_version.c: Likewise.
34168 * sysdeps/ieee754/s_matherr.c: Likewise.
34169 * sysdeps/ieee754/s_signgam.c: Likewise.
34170 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34171 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34172 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34173 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34174 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34175 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34176 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34177 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34178 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34179 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34180 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34181 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34182 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34183 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34184 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34185 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34186 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34187 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34188 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34192 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34194 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34195 * sunrpc/rpc_main.c: Likewise.
34196 * sunrpc/rpc_svcout.c: Likewise.
34198 2012-03-09 David S. Miller <davem@davemloft.net>
34200 * include/math_private.h: New file.
34202 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34204 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34205 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34206 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34207 from <bits/socket_type.h>.
34208 (enum __socket_type): Don't define here.
34209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34211 bits/socket_type.h.
34214 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34215 checking __USE_GNU.
34217 * Makerules ($(inst_includedir)/%.h): New rule.
34218 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34219 (install-others): Remove variable setting.
34220 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34222 2012-03-08 Richard Henderson <rth@twiddle.net>
34224 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34225 from macro to inline function; merge with the
34226 !__LIBC_INTERNAL_MATH_INLINES version.
34227 (__ieee754_sqrtf): Likewise.
34229 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34230 to inline function.
34231 (__rintf, __floor, __floorf): Likewise.
34233 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34234 macro to inline function.
34235 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34237 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34238 not <math/math_private.h>.
34240 2012-03-08 David S. Miller <davem@davemloft.net>
34242 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34244 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34246 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34248 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34250 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34251 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34253 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34255 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34256 be defined individually, they must be defined as a block. Define
34257 S for printing a string instead of hidint the different by using a
34258 macro for adding the 'l'.
34259 * stdio-common/tst-fphex-wide.c: Adjust.
34261 2012-03-07 Marek Polacek <polacek@redhat.com>
34263 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34265 2012-03-08 Marek Polacek <polacek@redhat.com>
34268 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34269 * stdio-common/tst-fphex.c: Define a few macros to make the
34270 test reusable. Use them.
34271 * stdio-common/tst-fphex-wide.c: New file.
34273 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34276 * manual/macros.texi (gnusystems): New macro.
34277 (nongnusystems): Likewise.
34278 (gnulinuxhurdsystems): Likewise.
34279 (gnuhurdsystems): Likewise..
34280 (gnulinuxsystems): Likewise.
34281 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34282 variants of the GNU system, not "GNU system".
34283 * manual/conf.texi: Likewise.
34284 * manual/errno.texi: Likewise. Update example of errno macro
34286 * manual/filesys.texi: Likewise.
34287 (getumask): Document as specific to GNU/Hurd.
34288 * manual/install.texi: Likewise. Reword some references to
34290 * manual/intro.texi: Likewise.
34291 * manual/io.texi: Likewise.
34292 (File Name Portability): Detail which constraints are inapplicable
34293 to all GNU systems and which are only inapplicable to GNU/Hurd.
34294 * manual/job.texi: Likewise.
34295 * manual/llio.texi: Likewise.
34296 (O_NOCTTY): Document as present on GNU/Linux.
34297 * manual/maint.texi: Likewise.
34298 * manual/memory.texi: Likewise.
34299 * manual/pattern.texi: Likewise.
34300 * manual/pipe.texi: Likewise.
34301 * manual/process.texi: Likewise.
34302 * manual/resource.texi: Likewise.
34303 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34305 * manual/setjmp.texi: Likewise.
34306 * manual/signal.texi: Likewise.
34307 * manual/startup.texi: Likewise.
34308 * manual/stdio.texi: Likewise.
34309 * manual/terminal.texi: Likewise.
34310 (ONLCR): Document as POSIX.
34311 (OXTABS): Document availability on GNU/Linux as XTABS.
34312 (ONOEOT): Document availability separately from other bits.
34313 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34314 * manual/time.texi: Likewise.
34315 * manual/users.texi: Likewise.
34316 * INSTALL: Regenerated.
34317 * sysdeps/gnu/errlist.c: Regenerated.
34319 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34320 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34321 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34323 * configure: Regenerated.
34325 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34327 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34328 default includes instead of AC_HEADER_CHECK.
34329 * sysdeps/i386/configure: Regenerated.
34332 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34333 * math/s_cacoshf.c (__cacoshf): Likewise.
34334 * math/s_cacoshl.c (__cacoshl): Likewise.
34335 * math/s_casinh.c (__casinh): Set signs of result from argument.
34336 * math/s_casinhf.c (__casinhf): Likewise.
34337 * math/s_casinhl.c (__casinhl): Likewise.
34338 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34339 (casinh_test): Add more tests.
34340 * sysdeps/i386/fpu/libm-test-ulps: Update.
34341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34343 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34345 * po/zh_TW.po: Update from translation team.
34347 * login/Makefile (distribute): Remove variable.
34348 * catgets/Makefile: Likewise.
34349 * mach/Makefile: Likewise.
34350 * malloc/Makefile: Likewise.
34351 * misc/Makefile: Likewise.
34352 * iconv/Makefile: Likewise.
34353 * nscd/Makefile: Likewise.
34354 * hurd/Makefile: Likewise.
34355 * manual/Makefile: Likewise.
34356 * locale/Makefile: Likewise.
34357 * intl/Makefile: Likewise.
34358 * conform/Makefile: Likewise.
34359 * nss/Makefile: Likewise.
34360 * time/Makefile: Likewise.
34361 * soft-fp/Makefile: Likewise.
34362 * dirent/Makefile: Likewise.
34363 * gmon/Makefile: Likewise.
34364 * po/Makefile: Likewise.
34365 * rt/Makefile: Likewise.
34366 * socket/Makefile: Likewise.
34367 * math/Makefile: Likewise.
34368 * signal/Makefile: Likewise.
34369 * debug/Makefile: Likewise.
34370 * elf/Makefile: Likewise.
34371 * timezone/Makefile: Likewise.
34372 * stdlib/Makefile: Likewise.
34373 * iconvdata/Makefile: Likewise.
34374 * sunrpc/Makefile: Likewise.
34375 * io/Makefile: Likewise.
34376 * argp/Makefile: Likewise.
34377 * inet/Makefile: Likewise.
34378 * hesiod/Makefile: Likewise.
34379 * grp/Makefile: Likewise.
34380 * csu/Makefile: Likewise.
34381 * wctype/Makefile: Likewise.
34382 * crypt/Makefile: Likewise.
34383 * libio/Makefile: Likewise.
34384 * string/Makefile: Likewise.
34385 * nis/Makefile: Likewise.
34386 * resolv/Makefile: Likewise.
34387 * stdio-common/Makefile: Likewise.
34388 * wcsmbs/Makefile: Likewise.
34389 * dlfcn/Makefile: Likewise.
34390 * posix/Makefile: Likewise.
34393 * timezone/Makefile: Don't install timezone files, just the programs
34396 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34398 * nss/databases.def: Add missing gshadow entry.
34400 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34402 2012-03-06 Marek Polacek <polacek@redhat.com>
34405 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34406 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34407 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34408 * stdio-common/tst-long-dbl-fphex.c: New file.
34410 2012-03-06 David S. Miller <davem@davemloft.net>
34412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34413 (set_obp_int): New function.
34414 (get_obp_int): New function.
34415 (__get_clockfreq_via_dev_openprom): Likewise.
34416 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34417 Avoid unused variable warnings on 'val' and use builtin_expect.
34418 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34420 (INLINE_CLONE_SYSCALL): Likewise.
34422 2012-03-05 David S. Miller <davem@davemloft.net>
34424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34426 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34430 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34431 only for |x| >= 40.
34432 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34434 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34436 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34437 Replace gettimeofday with __vdso_gettimeofday.
34439 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34440 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34441 __vdso_clock_gettime and __vdso_getcpu.
34443 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34444 time with __vdso_time.
34446 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34448 * manual/lang.texi (size_t): Note types to which size_t may be
34449 equivalent with the GNU C Library, but do not describe when
34450 differences between them are significant.
34452 2012-03-05 Andreas Jaeger <aj@suse.de>
34454 * sysdeps/i386/fpu/libm-test-ulps: Update.
34456 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34459 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34460 (__ieee754_pow): Save and restore rounding mode and use
34461 round-to-nearest for main computations.
34462 * math/libm-test.inc (pow_test_tonearest): New function.
34463 (pow_test_towardzero): Likewise.
34464 (pow_test_downward): Likewise.
34465 (pow_test_upward): Likewise.
34466 (main): Call the new functions.
34467 * sysdeps/i386/fpu/libm-test-ulps: Update.
34468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34471 * math/libm-test.inc (cosh_test_tonearest): New function.
34472 (cosh_test_towardzero): Likewise.
34473 (cosh_test_downward): Likewise.
34474 (cosh_test_upward): Likewise.
34475 (sinh_test_tonearest): Likewise.
34476 (sinh_test_towardzero): Likewise.
34477 (sinh_test_downward): Likewise.
34478 (sinh_test_upward): Likewise.
34479 (main): Call the new functions.
34480 * sysdeps/i386/fpu/libm-test-ulps: Update.
34481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34483 2012-03-05 Tom de Vries <tom@codesourcery.com>
34485 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34486 default stack guard is set in last bytes.
34487 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34489 2012-03-05 Kees Cook <keescook@chromium.org>
34491 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34494 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34495 possibly allocate from heap instead of stack.
34496 * stdio-common/bug-vfprintf-nargs.c: New file.
34497 * stdio-common/Makefile (tests): Add nargs overflow test.
34499 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34503 2012-03-03 Marek Polacek <polacek@redhat.com>
34505 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34506 * math/math_private.h: Likewise.
34507 * stdlib/tst-strtod.c: Likewise.
34508 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34509 * sysdeps/x86_64/bits/atomic.h: Likewise.
34511 2012-03-02 David S. Miller <davem@davemloft.net>
34513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34517 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34518 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34519 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34520 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34522 2012-03-02 Roland McGrath <roland@hack.frob.com>
34525 * manual/examples/README: New file, says the example source files
34526 can be used under GPL>=2.
34527 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34528 line containing just "*/".
34529 * manual/examples/add.c: Add copyright header (GPL>=2).
34530 * manual/examples/argp-ex1.c: Likewise.
34531 * manual/examples/argp-ex2.c: Likewise.
34532 * manual/examples/argp-ex3.c: Likewise.
34533 * manual/examples/argp-ex4.c: Likewise.
34534 * manual/examples/atexit.c: Likewise.
34535 * manual/examples/db.c: Likewise.
34536 * manual/examples/dir.c: Likewise.
34537 * manual/examples/dir2.c: Likewise.
34538 * manual/examples/execinfo.c: Likewise.
34539 * manual/examples/filecli.c: Likewise.
34540 * manual/examples/filesrv.c: Likewise.
34541 * manual/examples/fmtmsgexpl.c: Likewise.
34542 * manual/examples/genpass.c: Likewise.
34543 * manual/examples/inetcli.c: Likewise.
34544 * manual/examples/inetsrv.c: Likewise.
34545 * manual/examples/isockad.c: Likewise.
34546 * manual/examples/longopt.c: Likewise.
34547 * manual/examples/memopen.c: Likewise.
34548 * manual/examples/memstrm.c: Likewise.
34549 * manual/examples/mkfsock.c: Likewise.
34550 * manual/examples/mkisock.c: Likewise.
34551 * manual/examples/mygetpass.c: Likewise.
34552 * manual/examples/pipe.c: Likewise.
34553 * manual/examples/popen.c: Likewise.
34554 * manual/examples/rprintf.c: Likewise.
34555 * manual/examples/search.c: Likewise.
34556 * manual/examples/select.c: Likewise.
34557 * manual/examples/setjmp.c: Likewise.
34558 * manual/examples/sigh1.c: Likewise.
34559 * manual/examples/sigusr.c: Likewise.
34560 * manual/examples/stpcpy.c: Likewise.
34561 * manual/examples/strdupa.c: Likewise.
34562 * manual/examples/strftim.c: Likewise.
34563 * manual/examples/strncat.c: Likewise.
34564 * manual/examples/subopt.c: Likewise.
34565 * manual/examples/swapcontext.c: Likewise.
34566 * manual/examples/termios.c: Likewise.
34567 * manual/examples/testopt.c: Likewise.
34568 * manual/examples/testpass.c: Likewise.
34569 * manual/examples/timeval_subtract.c: Likewise.
34572 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34574 * manual/timeval_subtract.c.texi: ... here, new file.
34576 2012-03-02 David S. Miller <davem@davemloft.net>
34578 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34580 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34583 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34584 (__sin): Save and restore rounding mode and use round-to-nearest
34585 for all computations.
34586 (__cos): Save and restore rounding mode and use round-to-nearest
34587 for all computations.
34588 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34590 (tan): Save and restore rounding mode and use round-to-nearest for
34592 * math/libm-test.inc (cos_test_tonearest): New function.
34593 (cos_test_towardzero): Likewise.
34594 (cos_test_downward): Likewise.
34595 (cos_test_upward): Likewise.
34596 (sin_test_tonearest): Likewise.
34597 (sin_test_towardzero): Likewise.
34598 (sin_test_downward): Likewise.
34599 (sin_test_upward): Likewise.
34600 (tan_test_tonearest): Likewise.
34601 (tan_test_towardzero): Likewise.
34602 (tan_test_downward): Likewise.
34603 (tan_test_upward): Likewise.
34604 (main): Call the new functions.
34605 * sysdeps/i386/fpu/libm-test-ulps: Update.
34606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34609 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34610 small n, then large n, before computing and testing k+n.
34611 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34612 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34616 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34617 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34618 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34619 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34622 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34623 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34624 * math/libm-test.inc (scalbn_test): Add more tests.
34625 (scalbln_test): Likewise.
34627 * manual/filesys.texi (mode_t): Describe constraints on size and
34628 signedness, not exact equivalence to a particular type.
34630 (ino64_t): Likewise.
34632 (nlink_t): Likewise.
34633 (blkcnt_t): Likewise.
34634 (blkcnt64_t): Likewise.
34635 * manual/llio.texi (off_t): Likewise.
34638 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34639 (__ieee754_exp): Save and restore rounding mode and use
34640 round-to-nearest for all computations.
34641 * math/libm-test.inc (exp_test_tonearest): New function.
34642 (exp_test_towardzero): Likewise.
34643 (exp_test_downward): Likewise.
34644 (exp_test_upward): Likewise.
34645 (main): Call the new functions.
34646 * sysdeps/i386/fpu/libm-test-ulps: Update.
34647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34649 2012-03-01 Chris Demetriou <cgd@google.com>
34651 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34652 have predictable order.
34654 2012-03-01 David S. Miller <davem@davemloft.net>
34656 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34658 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34659 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34660 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34661 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34663 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34664 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34665 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34667 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34668 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34669 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34670 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34671 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34675 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34676 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34677 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34679 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34680 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34681 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34682 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34683 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34684 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34685 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34686 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34687 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34688 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34689 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34690 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34692 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34693 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34695 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34696 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34697 * sysdeps/sparc/elf/configure: Regenerated.
34699 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34701 * configure.in (AS, LD): Require binutils 2.20 or later.
34702 * configure: Regenerated.
34703 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34704 as required minimum version.
34705 * INSTALL: Regenerated.
34709 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34710 before squaring exponent.
34711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34712 bottom long double and 27 bits of top long double before squaring
34714 * math/libm-test.inc (erfc_test): Add more tests.
34715 * sysdeps/i386/fpu/libm-test-ulps: Update.
34716 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34719 2012-03-01 Kai Tietz <ktietz@redhat.com>
34721 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34722 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34723 containing bit-fields.
34724 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34725 * soft-fp/single.h (_FP_UNION_S): Likewise.
34726 * soft-fp/double.h (_FP_UNION_D): Likewise.
34728 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34731 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34732 not include ../strcmp.S.
34733 [USE_AS_STRNCASECMP_L]: Likewise.
34734 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34735 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34736 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34737 (__strncasecmp_l_ia32): Define as alias to
34738 __strncasecmp_l_nonascii.
34741 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34742 * sysdeps/i386/fpu/libm-test-ulps: Update.
34743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34745 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34748 2012-02-29 Jeff Law <law@redhat.com>
34750 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34751 out of bounds read.
34753 2012-02-29 Marek Polacek <polacek@redhat.com>
34756 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34757 * elf/Makefile: Add rules to run tst-unused-dep.out.
34759 2012-02-28 David S. Miller <davem@davemloft.net>
34761 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34762 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34764 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34765 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34766 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34768 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34770 * math/libm-test.inc (llround_test): Move one test from
34771 lround_test. Use TEST_f_L in moved test.
34772 (lround_test): Move misplaced test to llround_test. Add testcase
34775 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34777 * sysdeps/x86_64/fpu/e_expf.S: New file.
34778 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34780 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34783 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34784 of remain_len that may cause incomplete multi-byte character and
34786 * posix/bug-regex33.c: New file.
34787 * posix/Makefile (tests): Add bug-regex33.
34789 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34791 * manual/macros.texi: New file.
34792 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34793 * manual/libc.texinfo: Include macros.texi.
34794 * manual/creatute.texi: Likewise.
34795 * manual/install.texi: Likewise.
34796 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34797 @glibcadj{} in references to the GNU C Library.
34798 * manual/charset.texi: Likewise.
34799 * manual/conf.texi: Likewise.
34800 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34801 when not using those macros.
34802 * manual/creature.texi: Likewise.
34803 * manual/crypt.texi: Likewise.
34804 * manual/errno.texi: Likewise.
34805 * manual/filesys.texi: Likewise.
34806 * manual/header.texi: Likewise.
34807 * manual/install.texi: Likewise.
34808 * manual/intro.texi: Likewise.
34809 * manual/io.texi: Likewise.
34810 * manual/job.texi: Likewise.
34811 * manual/lang.texi: Likewise.
34812 * manual/libc.texiinfo: Likewise.
34813 * manual/llio.texi: Likewise.
34814 * manual/locale.texi: Likewise.
34815 * manual/maint.texi: Likewise.
34816 * manual/math.texi: Likewise.
34817 * manual/memory.texi: Likewise.
34818 * manual/message.texi: Likewise.
34819 * manual/nss.texi: Likewise.
34820 * manual/pattern.texi: Likewise.
34821 * manual/process.texi: Likewise.
34822 * manual/resource.texi: Likewise.
34823 * manual/search.texi: Likewise.
34824 * manual/setjmp.texi: Likewise.
34825 * manual/signal.texi: Likewise.
34826 * manual/socket.texi: Likewise.
34827 * manual/startup.texi: Likewise.
34828 * manual/stdio.texi: Likewise.
34829 * manual/string.texi: Likewise.
34830 * manual/sysinfo.texi: Likewise.
34831 * manual/syslog.texi: Likewise.
34832 * manual/terminal.texi: Likewise.
34833 * manual/time.texi: Likewise.
34834 * manual/users.texi: Likewise.
34835 * INSTALL: Regenerated.
34836 * NOTES: Regenerated.
34837 * sysdeps/gnu/errlist.c: Regenerated.
34839 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34841 * include/dirent.h: Include <dirstream.h> before
34844 2012-02-28 David S. Miller <davem@davemloft.net>
34846 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34847 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34848 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34849 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34851 2012-02-27 David S. Miller <davem@davemloft.net>
34853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34855 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34856 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34859 frame pointer instead of stack pointer relative arg slot.
34860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34861 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34862 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34864 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34867 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34869 2012-02-27 David S. Miller <davem@davemloft.net>
34871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34875 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34876 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34877 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34878 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34880 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34882 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34883 later. Allow versions 5-9.
34884 * configure: Regenerated.
34885 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34886 required minimum version and 4.6 as recommended version. Do not
34887 mention bugs in GCC 2.7 and 2.8.
34888 * INSTALL: Regenerated.
34890 2012-02-27 David S. Miller <davem@davemloft.net>
34892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34896 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34897 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34898 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34899 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34901 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34902 manipulate bits before adding and subtracting TWO112[sx].
34903 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34905 2012-02-27 Roland McGrath <roland@hack.frob.com>
34908 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34909 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34910 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34911 being in POSIX, because they are in 1003.1-2008.
34913 * rt/tst-aio.c: Include <fcntl.h>.
34914 * rt/tst-aio7.c: Likewise.
34915 * rt/tst-aio64.c: Likewise.
34917 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34919 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34921 * manual/install.texi (--with-headers): Describe headers as
34922 interface headers, not private headers.
34923 (Specific advice for GNU/Linux systems): Describe use of headers
34924 from "make headers_install", not private headers from older
34926 * INSTALL: Regenerated.
34927 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34929 * sysdeps/unix/sysv/linux/configure: Regenerated.
34931 * manual/llio.texi (fclean): Remove documentation.
34933 * manual/Makefile (libc-texi-generated): New variable. Include
34935 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34936 $(libc-texi-generated), not duplicated list of files.
34937 (version.texi, stamp-version): New rules.
34938 (realclean): Remove $(libc-texi-generated), not individual files
34939 from that list. Do not remove dir-add.texinfo.
34940 * manual/libc.texinfo: Comment out uses of edition numbers and
34941 references to printed manual. Remove last-updated dates.
34942 (EDITION): Comment out.
34944 (VERSION, UPDATED): Remove.
34945 (version.texi): Include.
34947 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34949 * sysdeps/posix/spawni.c: Include <signal.h>.
34950 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34951 * sysdeps/pthread/aio_fsync.c: Likewise.
34953 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34955 * conform/Makefile (tests): Run only when not cross-compiling and
34956 when fast-check is not defined.
34958 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34959 * conform/data/limits.h-data: Fixes for POSIX2008.
34960 * conform/run-conformtest.sh: Run all tests.
34961 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34963 * include/bits/dlfcn.h: Likewise.
34964 * include/langinfo.h: Likewise.
34965 * include/monetary.h: Likewise.
34966 * include/sys/poll.h: Likewise.
34968 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34970 * posix/spawn.h: Define __need_sigset_t.
34971 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34972 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34973 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34974 to get sigevent_t only.
34975 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34976 only for __USE_GNU.
34977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34978 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34979 process_vm_writev only for __USE_GNU.
34980 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34982 * conform/Makefile: For now ignore errors from run-conformtest.
34983 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34984 POSIX to avoid namespace pollution. Don't prepend headers.
34985 * conform/data/aio.h-data: Fixes for POSIX testing.
34986 * conform/data/fcntl.h-data: Likewise.
34987 * conform/data/glob.h-data: Likewise.
34988 * conform/data/grp.h-data: Likewise.
34989 * conform/data/pthread.h-data: Likewise.
34990 * conform/data/pwd.h-data: Likewise.
34991 * conform/data/signal.h-data: Likewise.
34992 * conform/data/spawn.h-data: Likewise.
34993 * conform/data/stdio.h-data: Likewise.
34994 * conform/data/stdlib.h-data: Likewise.
34995 * conform/data/stropts.h-data: Likewise.
34996 * conform/data/sys/mman.h-data: Likewise.
34997 * conform/data/sys/stat.h-data: Likewise.
34998 * conform/data/sys/types.h-data: Likewise.
34999 * conform/data/sys/wait.h-data: Likewise.
35000 * conform/data/time.h-data: Likewise.
35001 * conform/data/unistd.h-data: Likewise.
35002 * conform/data/utime.h-data: Likewise.
35004 * io/sys/stat.h: fchmod was always in POSIX.
35005 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35006 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35007 * rt/aio.h: Define __need_timespec before including <time.h>.
35008 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35009 struct. Add forward declaration of pthread_attr_t and use it in
35011 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35012 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35013 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35014 always remove CLK_TCK definition.
35016 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35018 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35020 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35022 * conform/run-conformtest.sh: New file.
35023 * conform/Makefile: Run run-conformtest for tests.
35024 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35027 * conform/data/uchar.h-data: New file.
35028 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35029 * conform/data/arpa/inet.h-data: Likewise.
35030 * conform/data/assert.h-data: Likewise.
35031 * conform/data/complex.h-data: Likewise.
35032 * conform/data/cpio.h-data: Likewise.
35033 * conform/data/ctype.h-data: Likewise.
35034 * conform/data/dirent.h-data: Likewise.
35035 * conform/data/dlfcn.h-data: Likewise.
35036 * conform/data/errno.h-data: Likewise.
35037 * conform/data/fcntl.h-data: Likewise.
35038 * conform/data/float.h-data: Likewise.
35039 * conform/data/fmtmsg.h-data: Likewise.
35040 * conform/data/fnmatch.h-data: Likewise.
35041 * conform/data/ftw.h-data: Likewise.
35042 * conform/data/glob.h-data: Likewise.
35043 * conform/data/grp.h-data: Likewise.
35044 * conform/data/iconv.h-data: Likewise.
35045 * conform/data/inttypes.h-data: Likewise.
35046 * conform/data/langinfo.h-data: Likewise.
35047 * conform/data/libgen.h-data: Likewise.
35048 * conform/data/limits.h-data: Likewise.
35049 * conform/data/locale.h-data: Likewise.
35050 * conform/data/math.h-data: Likewise.
35051 * conform/data/monetary.h-data: Likewise.
35052 * conform/data/mqueue.h-data: Likewise.
35053 * conform/data/ndbm.h-data: Likewise.
35054 * conform/data/net/if.h-data: Likewise.
35055 * conform/data/netdb.h-data: Likewise.
35056 * conform/data/netinet/in.h-data: Likewise.
35057 * conform/data/nl_types.h-data: Likewise.
35058 * conform/data/poll.h-data: Likewise.
35059 * conform/data/pthread.h-data: Likewise.
35060 * conform/data/pwd.h-data: Likewise.
35061 * conform/data/regex.h-data: Likewise.
35062 * conform/data/sched.h-data: Likewise.
35063 * conform/data/search.h-data: Likewise.
35064 * conform/data/semaphore.h-data: Likewise.
35065 * conform/data/setjmp.h-data: Likewise.
35066 * conform/data/signal.h-data: Likewise.
35067 * conform/data/spawn.h-data: Likewise.
35068 * conform/data/stdarg.h-data: Likewise.
35069 * conform/data/stdio.h-data: Likewise.
35070 * conform/data/stdlib.h-data: Likewise.
35071 * conform/data/string.h-data: Likewise.
35072 * conform/data/strings.h-data: Likewise.
35073 * conform/data/stropts.h-data: Likewise.
35074 * conform/data/sys/ipc.h-data: Likewise.
35075 * conform/data/sys/mman.h-data: Likewise.
35076 * conform/data/sys/msg.h-data: Likewise.
35077 * conform/data/sys/resource.h-data: Likewise.
35078 * conform/data/sys/select.h-data: Likewise.
35079 * conform/data/sys/sem.h-data: Likewise.
35080 * conform/data/sys/shm.h-data: Likewise.
35081 * conform/data/sys/socket.h-data: Likewise.
35082 * conform/data/sys/stat.h-data: Likewise.
35083 * conform/data/sys/statvfs.h-data: Likewise.
35084 * conform/data/sys/time.h-data: Likewise.
35085 * conform/data/sys/timeb.h-data: Likewise.
35086 * conform/data/sys/times.h-data: Likewise.
35087 * conform/data/sys/types.h-data: Likewise.
35088 * conform/data/sys/uio.h-data: Likewise.
35089 * conform/data/sys/un.h-data: Likewise.
35090 * conform/data/sys/utsname.h-data: Likewise.
35091 * conform/data/sys/wait.h-data: Likewise.
35092 * conform/data/syslog.h-data: Likewise.
35093 * conform/data/tar.h-data: Likewise.
35094 * conform/data/termios.h-data: Likewise.
35095 * conform/data/utime.h-data: Likewise.
35096 * conform/data/utmpx.h-data: Likewise.
35097 * conform/data/varargs.h-data: Likewise.
35098 * conform/data/wchar.h-data: Likewise.
35099 * conform/data/wctype.h-data: Likewise.
35100 * conform/data/wordexp.h-data: Likewise.
35102 * include/stropts.h: New file.
35103 * include/uchar.h: New file.
35104 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35105 * include/assert.h: Likewise.
35106 * include/ctype.h: Likewise.
35107 * include/dirent.h: Likewise.
35108 * include/dlfcn.h: Likewise.
35109 * include/fcntl.h: Likewise.
35110 * include/fnmatch.h: Likewise.
35111 * include/glob.h: Likewise.
35112 * include/grp.h: Likewise.
35113 * include/libio.h: Likewise.
35114 * include/locale.h: Likewise.
35115 * include/math.h: Likewise.
35116 * include/net/if.h: Likewise.
35117 * include/netdb.h: Likewise.
35118 * include/netinet/in.h: Likewise.
35119 * include/pthread.h: Likewise.
35120 * include/pwd.h: Likewise.
35121 * include/regex.h: Likewise.
35122 * include/sched.h: Likewise.
35123 * include/search.h: Likewise.
35124 * include/setjmp.h: Likewise.
35125 * include/signal.h: Likewise.
35126 * include/stdio.h: Likewise.
35127 * include/stdlib.h: Likewise.
35128 * include/string.h: Likewise.
35129 * include/sys/cdefs.h: Likewise.
35130 * include/sys/mman.h: Likewise.
35131 * include/sys/msg.h: Likewise.
35132 * include/sys/resource.h: Likewise.
35133 * include/sys/select.h: Likewise.
35134 * include/sys/socket.h: Likewise.
35135 * include/sys/stat.h: Likewise.
35136 * include/sys/statvfs.h: Likewise.
35137 * include/sys/time.h: Likewise.
35138 * include/sys/times.h: Likewise.
35139 * include/sys/uio.h: Likewise.
35140 * include/sys/utsname.h: Likewise.
35141 * include/sys/wait.h: Likewise.
35142 * include/termios.h: Likewise.
35143 * include/time.h: Likewise.
35144 * include/ulimit.h: Likewise.
35145 * include/unistd.h: Likewise.
35146 * include/utime.h: Likewise.
35147 * include/wchar.h: Likewise.
35148 * include/wctype.h: Likewise.
35149 * include/wordexp.h: Likewise.
35151 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35153 * time/time.h: TIME_UTC must be a macro.
35154 Make timespec_get available for ISO C11 only as well.
35156 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35158 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35159 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35161 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35163 * configure.in: Use -o not -a in test for unsupported multi-arch.
35165 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35167 * manual/texinfo.tex: Update to version 2012-01-19.16.
35169 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35171 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35173 2012-02-24 Roland McGrath <roland@hack.frob.com>
35176 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35177 * manual/fdl-1.3.texi: New file.
35178 * manual/fdl-1.1.texi: File removed.
35181 * manual/libc.texinfo (FDL_VERSION): New @set.
35182 Use it for mention of FDL in cover text.
35183 (Documentation License): Use it in @include file name.
35185 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35186 Roland McGrath <roland@hack.frob.com>
35189 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35190 (not LONG_LONG_MAX and LONG_LONG_MIN.
35191 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35192 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35194 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35196 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35200 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35201 manipulate bits before adding and subtracting TWO23[sx].
35202 * math/libm-test.inc (nearbyint_test): Add more tests.
35204 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35207 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35208 bits before adding and subtracting TWO23[sx].
35209 * math/libm-test.inc (rint_test): Add more tests.
35210 (rint_test_tonearest): Likewise.
35211 (rint_test_towardzero): Likewise.
35212 (rint_test_downward): Likewise.
35213 (rint_test_upward: Likewise.
35215 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35218 * include/stdc-predef.h: New file. Extracted from features.h.
35219 * include/features.h: Include stdc-predef.h.
35220 * Makefile (headers): Add stdc-predef.h.
35221 * CONFORMANCE (Compiler limitations): Update.
35223 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35225 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35227 2012-02-21 David S. Miller <davem@davemloft.net>
35229 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35232 2012-02-20 David S. Miller <davem@davemloft.net>
35234 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35235 using a normal save/restore sequence, rather than allocating a
35236 dummy stack frame just to store a frame pointer and restore.
35237 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35239 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35241 * manual/install.texi: Fix stray word in line-wrapped comment.
35243 2012-02-20 David S. Miller <davem@davemloft.net>
35245 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35246 both binutils and gcc support GOTDATA.
35248 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35249 "rd %pc" in the PIC register setup sequences.
35251 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35252 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35253 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35254 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35255 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35257 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35258 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35260 (SYSCALL_ERROR_HANDLER): Likewise.
35261 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35262 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35264 (SYSCALL_ERROR_HANDLER): Likewise.
35266 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35267 (HAVE_GCC_GOTDATA): New.
35268 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35269 relocation support in both binutils and gcc.
35270 * sysdeps/sparc/elf/configure: Regenerate.
35272 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35273 * sysdeps/sparc/sparc32/elf/configure: Delete.
35274 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35275 * sysdeps/sparc/sparc64/elf/configure: Delete.
35276 * sysdeps/sparc/elf/configure.in: New file.
35277 * sysdeps/sparc/elf/configure: Generate.
35279 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35280 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35281 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35282 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35283 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35285 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35287 * manual/install.texi: Do not mention specific glibc version
35289 * manual/libc.texinfo (VERSION, UPDATED): Update.
35290 (@copying): Use @copyright{} and range of years.
35292 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35295 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35296 [crti.S not in sysdirs] (generated): Do not append.
35297 [crti.S not in sysdirs] (omit-deps): Likewise.
35298 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35299 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35300 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35301 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35302 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35304 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35305 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35306 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35307 * csu/defs.awk: Remove file.
35308 * sysdeps/generic/initfini.c: Likewise.
35309 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35311 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35314 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35316 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35317 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35318 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35319 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35320 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35321 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35323 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35324 (__EPOLL_PACKED): Define to empty if not defined by
35326 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35330 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35332 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35333 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35334 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35335 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35337 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35341 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35343 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35346 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35350 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35352 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35353 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35355 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35357 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35358 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35360 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35362 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35365 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35367 * math/w_acos.c: Use non-signaling floating-point comparisons.
35368 * math/w_acosf.c: Likewise.
35369 * math/w_acosh.c: Likewise.
35370 * math/w_acoshf.c: Likewise.
35371 * math/w_acoshl.c: Likewise.
35372 * math/w_acosl.c: Likewise.
35373 * math/w_asin.c: Likewise.
35374 * math/w_asinf.c: Likewise.
35375 * math/w_asinl.c: Likewise.
35376 * math/w_atanh.c: Likewise.
35377 * math/w_atanhf.c: Likewise.
35378 * math/w_atanhl.c: Likewise.
35379 * math/w_exp2.c: Likewise.
35380 * math/w_exp2f.c: Likewise.
35381 * math/w_exp2l.c: Likewise.
35382 * math/w_j0.c: Likewise.
35383 * math/w_j0f.c: Likewise.
35384 * math/w_j0l.c: Likewise.
35385 * math/w_j1.c: Likewise.
35386 * math/w_j1f.c: Likewise.
35387 * math/w_j1l.c: Likewise.
35388 * math/w_jn.c: Likewise.
35389 * math/w_jnf.c: Likewise.
35390 * math/w_log.c: Likewise.
35391 * math/w_log10.c: Likewise.
35392 * math/w_log10f.c: Likewise.
35393 * math/w_log10l.c: Likewise.
35394 * math/w_log2.c: Likewise.
35395 * math/w_log2f.c: Likewise.
35396 * math/w_log2l.c: Likewise.
35397 * math/w_logf.c: Likewise.
35398 * math/w_logl.c: Likewise.
35399 * math/w_sqrt.c: Likewise.
35400 * math/w_sqrtf.c: Likewise.
35401 * math/w_sqrtl.c: Likewise.
35402 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35403 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35405 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35406 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35408 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35411 * manual/string.texi (strnlen): Use correct parameter name in
35412 equivalent expression.
35414 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35417 * manual/users.texi (seteuid): Consistently use neweuid for
35420 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35423 * manual/nss.texi (Services in the NSS configuration): Correct
35424 list of services in example configuration file.
35426 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35429 * manual/arith.texi: Remove statements about negative zero
35430 behaving identically to zero.
35432 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35435 * manual/install.texi: Do not document upgrading from libc5.
35437 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35440 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35442 2012-02-18 David S. Miller <davem@davemloft.net>
35444 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35445 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35446 %o7 across the call.
35447 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35450 SETUP_PIC_REG_LEAF.
35451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35452 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35453 * sysdeps/sparc/crtn.S: Likewise.
35455 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35457 * aout/Makefile: Remove.
35459 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35462 * manual/examples/argp-ex1.c (main): Format definition in GNU
35464 * manual/examples/argp-ex2.c (main): Likewise.
35465 * manual/examples/argp-ex3.c (main): Likewise.
35466 * manual/examples/argp-ex4.c (main): Likewise.
35467 * manual/examples/longopt.c (main): Use new-style prototype
35469 * manual/examples/strncat.c (main): Specify return type and use
35470 (void) for arguments.
35471 * manual/examples/subopt.c (main): Use char **argv argument.
35473 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35476 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35479 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35482 * manual/string.texi (strchr): Change when strchrnul is
35485 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35488 * manual/locale.texi (setlocale): Document LOCPATH.
35490 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35493 * manual/process.texi (execle): Move @dots{} before last argument.
35495 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35498 * manual/charset.texi (Generic Charset Conversion): Fix typo
35499 (LC_TYPE -> LC_CTYPE).
35501 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35504 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35505 (scalbnf): Likewise.
35506 (scalbnl): Likewise.
35507 (scalbln): Likewise.
35508 (scalblnf): Likewise.
35509 (scalblnl): Likewise.
35510 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35511 (vwarnx): Likewise.
35514 * manual/filesys.texi (telldir): Use braces around return type.
35515 * manual/llio.texi (mmap): Add space after comma.
35516 (mmap64): Likewise.
35517 * manual/math.texi (jn): Use @var{} on parameter names.
35523 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35525 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35527 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35528 (sched_get_priority_max): Likewise.
35529 * manual/signal.texi (sigvec): Add space after comma.
35530 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35532 (if_indextoname): Likewise.
35533 (if_freenameindex): Likewise.
35534 (sendto): Use ',' instead of '.' in prototype.
35535 * manual/startup.texi (syscall): Use @dots{} instead of literal
35537 * manual/stdio.texi (__fpending): Separate initial words of
35538 paragraph from @deftypefun line.
35539 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35541 (vsyslog): Use @var{} on parameter names.
35542 * manual/terminal.texi (stty): Use @var{} on parameter names.
35543 * manual/users.texi (getutmp): Use @var{} on parameter names.
35544 (getutmpx): Likewise.
35546 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35549 * manual/stdio.texi (fopen): Fix typos in description of
35552 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35555 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35556 get clock_id definition.
35558 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35561 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35562 (madvise): Cast every argument to void on its own.
35564 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35567 * manual/startup.texi (Exit Status): Fix typo.
35569 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35572 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35573 * manual/examples/argp-ex2.c: Likewise.
35574 * manual/examples/argp-ex3.c: Likewise.
35576 2012-02-16 Richard Henderson <rth@redhat.com>
35578 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35579 * sysdeps/s390/s390-32/initfini.c: Remove.
35580 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35581 * sysdeps/s390/s390-64/initfini.c: Remove.
35583 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35585 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35586 compiler output for sysdeps/generic/initfini.c.
35587 * sysdeps/sh/elf/initfini.c: Remove file.
35589 2012-02-16 David S. Miller <davem@davemloft.net>
35592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35594 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35595 * sysdeps/sparc/crti.S: New file.
35596 * sysdeps/sparc/crtn.S: New file.
35597 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35598 * sysdeps/sparc/sparc64/Makefile: Likewise.
35600 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35603 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35605 2012-02-15 Roland McGrath <roland@hack.frob.com>
35608 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35610 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35611 (write, read, close): Likewise.
35612 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35614 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35616 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35617 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35618 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35619 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35621 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35625 2012-02-14 Marek Polacek <polacek@redhat.com>
35627 * sysdeps/x86_64/crti.S: New file.
35628 * sysdeps/x86_64/crtn.S: New file.
35629 * sysdeps/x86_64/elf/initfini.c: Remove file.
35631 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35633 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35634 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35635 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35636 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35638 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35642 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35644 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35645 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35646 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35647 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35649 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35653 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35655 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35656 __feraiseexcept instead of feraiseexcept.
35658 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35659 nanosleep invocations.
35660 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35661 strings, and add error checking for a nanosleep invocations.
35663 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35665 Replace FSF snail mail address with URLs, as per GNU coding standards.
35666 Most of the snail mail addresses were wrong anyway, and omitting
35667 them makes the source code easier to maintain. Almost all of the
35668 changes are to license notices and to locale LC_IDENTIFICATION
35669 addresses, except for this one:
35670 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35671 not its snail mail address.
35673 2012-02-09 Richard Henderson <rth@twiddle.net>
35675 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35676 of kernel-features.h.
35678 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35680 2012-02-08 Marek Polacek <polacek@redhat.com>
35682 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35683 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35684 * sysdeps/gnu/_G_config.h: Likewise.
35685 * sysdeps/generic/_G_config.h: Likewise.
35687 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35689 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35693 * sysdeps/powerpc/powerpc32/crti.S: New file.
35694 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35695 * sysdeps/powerpc/powerpc64/crti.S: New file.
35696 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35698 * Makeconfig (have-initfini): Don't set.
35699 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35700 * configure.in (nopic_initfini): Don't substitute.
35701 * config.h.in (HAVE_INITFINI): Don't #undef.
35702 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35703 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35705 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35707 Support crti.S and crtn.S provided directly by architectures.
35708 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35709 [crti.S in sysdirs] (omit-deps): Likewise.
35710 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35711 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35712 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35713 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35714 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35715 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35716 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35717 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35718 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35719 compiler output for sysdeps/generic/initfini.c.
35720 * sysdeps/i386/elf/Makefile: Remove file.
35721 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35723 2012-02-07 Marek Polacek <polacek@redhat.com>
35725 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35726 * sysdeps/gnu/_G_config.h: Likewise.
35727 * sysdeps/mach/hurd/_G_config.h: Likewise.
35729 2012-02-07 Marek Polacek <polacek@redhat.com>
35731 * math/Makefile (tests): Add tst-CMPLX2.
35732 * math/tst-CMPLX2.c: New file.
35734 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35736 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35738 * math/libm-test.inc (jn_test): Add missing L suffix.
35740 2012-02-06 Marek Polacek <polacek@redhat.com>
35742 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35743 * sysdeps/i386/fpu/e_powf.S: Likewise.
35744 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35745 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35746 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35747 * sysdeps/i386/fpu/e_pow.S: Likewise.
35748 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35749 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35750 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35751 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35752 * sysdeps/i386/fpu/e_log2.S: Likewise.
35753 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35754 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35755 * sysdeps/i386/fpu/e_powl.S: Likewise.
35756 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35757 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35758 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35759 * sysdeps/i386/fpu/e_logl.S: Likewise.
35760 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35761 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35762 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35763 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35764 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35766 * sysdeps/i386/fpu/e_log.S: Likewise.
35767 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35768 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35769 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35770 * sysdeps/i386/fpu/e_logf.S: Likewise.
35771 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35772 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35773 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35774 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35775 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35776 * sysdeps/i386/fpu/e_log10.S: Likewise.
35777 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35778 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35779 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35780 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35781 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35782 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35783 * sysdeps/i386/asm-syntax.h: Likewise.
35784 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35785 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35786 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35787 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35788 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35789 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35790 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35791 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35792 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35793 * sysdeps/powerpc/sysdep.h: Likewise.
35794 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35795 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35797 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35800 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35802 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35804 * sysdeps/i386/sysdep.h: Include <features.h>.
35805 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35808 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35810 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35812 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35815 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35817 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35818 (SETUP_PIC_REG): Use GET_PC_THUNK.
35819 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35822 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35824 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35825 for non-PIC compilation.
35826 (SETUP_PIC_REG): Add .p2align directive.
35827 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35828 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35829 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35830 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35832 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35833 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35834 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35835 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35836 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35838 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35841 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35842 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35844 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35846 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35847 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35849 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35850 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35851 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35854 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35855 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35856 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35857 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35858 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35859 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35860 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35861 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35862 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35863 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35864 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35865 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35866 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35867 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35869 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35871 * math/tst-CMPLX.c: Include <stdio.h>.
35873 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35875 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35877 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35878 * sysdeps/sparc/bits/mathdef.h: Likewise.
35880 2012-01-31 Marek Polacek <polacek@redhat.com>
35882 * libio/libio.h: Don't define _PARAMS.
35883 * locale/programs/config.h: Don't define PARAMS.
35884 * stdlib/strtol_l.c: Likewise.
35885 (__strtol_l): Remove PARAMS from the prototype.
35887 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35889 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35890 names. Just use the correct names. Remove unnecessary wrapper
35892 * malloc/arena.c: Likewise.
35893 * malloc/hooks.c: Likewise.
35895 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35896 ARENA_TEST says not to. Simplify test for creation of a new arena.
35897 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35899 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35901 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35903 (update_get_addr): New function.
35904 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35905 GET_ADDR_MODULE parameter.
35907 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35909 * crypt/cert.c: Remove __STDC__ conditionals.
35910 * crypt/crypt-entry.c: Likewise.
35911 * crypt/crypt_util.c: Likewise.
35912 * libio/filedoalloc.c: Likewise.
35913 * libio/fileops.c: Likewise.
35914 * libio/genops.c: Likewise.
35915 * libio/iofclose.c: Likewise.
35916 * libio/iofdopen.c: Likewise.
35917 * libio/iofopen.c: Likewise.
35918 * libio/iofopen64.c: Likewise.
35919 * libio/iogetdelim.c: Likewise.
35920 * libio/iopopen.c: Likewise.
35921 * libio/obprintf.c: Likewise.
35922 * libio/oldfileops.c: Likewise.
35923 * libio/oldiofclose.c: Likewise.
35924 * libio/oldiofdopen.c: Likewise.
35925 * libio/oldiofopen.c: Likewise.
35926 * libio/oldiopopen.c: Likewise.
35927 * libio/wfiledoalloc.c: Likewise.
35928 * libio/wgenops.c: Likewise.
35929 * locale/programs/xmalloc.c: Likewise.
35930 * misc/syslog.c: Likewise.
35931 * stdio-common/xbug.c: Likewise.
35932 * string/memchr.c: Likewise.
35933 * string/memcmp.c: Likewise.
35934 * string/memrchr.c: Likewise.
35935 * string/rawmemchr.c: Likewise.
35936 * sysdeps/posix/getcwd.c: Likewise.
35937 * time/strftime_l.c: Likewise.
35939 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35941 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35942 * config.make.in (config-cflags-sse2avx): Define.
35943 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35946 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35948 * scripts/config.guess: Update from upstream config git repository.
35949 * scripts/config.sub: Likewise.
35951 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35953 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35955 (R_TILEPRO_*, R_TILEGX_*): New macros.
35957 * scripts/firstversions.awk: Fix bug in version range handling.
35959 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35961 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35963 * include/sys/epoll.h: New file.
35964 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35967 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35969 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35970 Avoid unnecessary __WORDSIZE == 64 test.
35971 (fmaxf): Use VEX format if possible.
35976 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35977 * math/math_private.h: Remove libc_fegetround* and
35979 * sysdeps/i386/configure.in: Check for -msse2avx.
35980 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35981 also if SSE2AVX is defined.
35982 Remove libc_fegetround* and libc_fesetround*.
35983 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35984 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35985 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35987 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35988 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35989 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35990 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35991 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35993 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35995 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35997 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35999 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36001 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36004 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36006 * Makeconfig (libm): Define.
36007 * elf/Makefile: Add rules to build and run tst-relsort1.
36008 * elf/tst-relsort1.c: New file.
36009 * elf/tst-relsort1mod1.c: New file.
36010 * elf/tst-relsort1mod2.c: New file.
36012 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36014 * math/s_ldexp.c: Remove __STDC__ conditionals.
36015 * math/s_ldexpf.c: Likewise.
36016 * math/s_ldexpl.c: Likewise.
36017 * math/s_nextafter.c: Likewise.
36018 * math/s_nexttowardf.c: Likewise.
36019 * math/s_significand.c: Likewise.
36020 * math/s_significandf.c: Likewise.
36021 * math/s_significandl.c: Likewise.
36022 * math/w_jnl.c: Likewise.
36023 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36024 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36025 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36026 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36027 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36029 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36030 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36031 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36032 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36033 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36034 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36035 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36036 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36037 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36038 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36039 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36040 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36042 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36043 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36044 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36045 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36046 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36047 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36048 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36049 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36050 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36051 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36052 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36053 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36054 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36055 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36056 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36057 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36058 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36059 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36060 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36061 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36062 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36063 * sysdeps/ieee754/k_standard.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36068 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36072 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36073 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36075 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36077 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36081 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36083 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36088 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36092 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36093 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36096 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36097 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36098 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36108 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36109 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36112 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36113 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36114 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36115 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36116 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36117 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36118 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36119 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36120 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36121 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36122 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36123 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36125 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36128 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36129 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36130 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36132 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36133 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36134 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36138 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36139 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36142 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36143 * sysdeps/ieee754/s_matherr.c: Likewise.
36144 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36145 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36149 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36151 * crypt/md5.h: Remove __STDC__ conditionals.
36152 * libio/libioP.h: Likewise.
36153 * locale/programs/config.h: Likewise.
36154 * sysdeps/generic/sysdep.h: Likewise.
36155 * sysdeps/i386/asm-syntax.h: Likewise.
36156 * sysdeps/s390/asm-syntax.h: Likewise.
36157 * sysdeps/unix/sysdep.h: Likewise.
36158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36161 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36163 * libio/libio.h: Remove __STDC__ conditionals.
36164 * malloc/obstack.h: Likewise.
36165 * math/complex.h: Likewise.
36166 * math/math.h: Likewise.
36167 * sysdeps/generic/_G_config.h: Likewise.
36168 * sysdeps/gnu/_G_config.h: Likewise.
36169 * sysdeps/mach/hurd/_G_config.h: Likewise.
36170 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36171 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36172 * sysdeps/sparc/bits/mathdef.h: Likewise.
36174 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36177 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36178 Clean up HAS_* macros.
36179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36180 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36182 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36184 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36185 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36186 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36187 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36188 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36190 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36192 * elf/tst-unique3.cc (gets): Remove declaration.
36193 * elf/tst-unique3lib.cc (gets): Likewise.
36194 * elf/tst-unique3lib2.cc (gets): Likewise.
36195 * elf/tst-unique4.cc (gets): Likewise.
36197 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36199 * include/stdio.h: Add C++ protection. Add gets declarations and
36201 * debug/tst-chk1.c: Don't declare gets here.
36202 * stdio-common/tst-gets.c: Likewise.
36204 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36206 * posix/glob: Remove directory.
36208 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36210 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36212 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36214 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36215 of the non-standard EPFNOSUPPORT.
36217 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36219 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36220 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36221 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36223 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36225 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36227 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36229 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36231 * nscd/grpcache.c (cache_addgr): Likewise.
36232 * nscd/hstcache.c (cache_addhst): Likewise.
36233 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36234 * nscd/pwdcache.c (cache_addpw): Likewise.
36235 * nscd/servicescache.c (cache_addserv): Likewise.
36237 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36239 * malloc/malloc.c: Various cleanups.
36240 * malloc/hooks.c: Likewise.
36242 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36243 * stdlib/bug-fmtmsg1.c: New file.
36245 * stdlib/fmtmsg.c (init): Add missing unlock.
36246 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36248 2012-01-12 Marek Polacek <polacek@redhat.com>
36250 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36253 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36255 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36256 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36257 macro to ensure uniqueness of label name.
36258 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36259 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36261 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36263 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36265 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36266 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36267 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36270 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36272 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36274 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36275 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36276 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36278 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36280 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36281 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36282 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36285 * math/bits/math-finite.h: Add ldexp support.
36287 2012-01-10 Marek Polacek <polacek@redhat.com>
36289 * locale/programs/localedef.h (show_archive_content): Add noreturn
36292 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36294 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36296 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36298 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36300 * io/Makefile (headers): Add bits/poll2.h.
36302 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36305 typo #include statement.
36307 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36309 * include/sys/cdefs.h: Define __attribute_alloc_size.
36310 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36311 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36312 * elf/pldd.c: Likewise.
36313 * iconv/iconv_charmap.c: Likewise.
36314 * iconv/iconvconfig.c: Likewise.
36315 * iconv/strtab.c: Likewise.
36316 * locale/programs/locale.c: Likewise.
36317 * locale/programs/localedef.h: Likewise.
36318 * locale/programs/simple-hash.c: Likewise.
36319 * nscd/nscd.h: Likewise.
36320 * nss/makedb.c: Likewise.
36321 * sysdeps/generic/ldconfig.h: Likewise.
36322 * locale/programs/localedef.c: Remove xmalloc prototype.
36323 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36325 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36327 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36330 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36332 * math/Makefile (tests): Add tst-CMPLX.
36333 * math/tst-CMPLX.c: New file.
36335 * math/complex.h (CMPLXL): Fix typo.
36337 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36338 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36340 * debug/tst-chk1.c: Add poll and ppoll tests.
36341 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36342 * include/sys/poll.h: Add hidden proto for ppoll.
36343 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36344 * sysdeps/mach/hurd/ppoll.c: Likewise.
36345 * io/ppoll.c: Likewise.
36346 * debug/poll_chk.c: New file.
36347 * debug/ppoll_chk.c: New file.
36348 * include/bits/poll2.h: New file.
36349 * io/bits/poll2.h: New file.
36352 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36354 * configure.in: static is always set to yes. Remove.
36355 * config.make.in: Don't set build-static.
36356 * Makeconfig: Remove use of build-static.
36357 * dlfcn/Makefile: Likewise.
36358 * elf/Makefile: Likewise.
36359 * math/Makefile: Likewise.
36360 * misc/Makefile: Likewise.
36361 * nptl/Makefile: Likewise.
36362 * sysdeps/mach/hurd/Makefile: Likewise.
36364 * configure.in: PWD_P is not used anymore.
36365 * config.make.in: Remove PWD_P entry.
36367 * configure.in: Remove last remnants of RANLIB.
36368 No need to check for signed size_t anymore.
36369 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36371 Remove __builtin_expect test because we require at least gcc 3.4.
36372 * aclocal.m4: Likewise.
36374 * wcsmbs/mbrtoc16.c: Implement using towc function.
36375 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36376 * wcsmbs/wcsmbsload.c: Likewise.
36377 * iconv/gconv_simple.c: Likewise.
36378 * iconv/gconv_int.h: Likewise.
36379 * iconv/gconv_builtin.h: Likewise.
36380 * iconv/iconv_prog.c: Remove CHAR16 handling.
36382 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36384 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36386 * configure.in: Remove --with-elf and --enable-bounded options.
36387 Dont set base_machine for ia64. More non-ELF conditions removed.
36388 Remove testing and setting of leading underscore information.
36389 * config.make.in (build-bounded): Set to no.
36390 * config.h.in: Remove NO_UNDERSCORES entry.
36391 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36393 * csu/start.c: Remove !NO_UNDERSCORE code.
36394 * locale/localeinfo.h: Likewise.
36395 * sysdeps/generic/machine-gmon.h: Likewise.
36396 * sysdeps/generic/sysdep.h: Likewise.
36397 * sysdeps/i386/sysdep.h: Likewise.
36398 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36399 * sysdeps/mach/sysdep.h: Likewise.
36400 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36401 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36402 * sysdeps/sh/sysdep.h: Likewise.
36403 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36404 * sysdeps/unix/i386/sysdep.S: Likewise.
36405 * sysdeps/unix/sparc/start.c: Likewise.
36406 * sysdeps/unix/sparc/sysdep.S: Likewise.
36407 * sysdeps/unix/sparc/sysdep.h: Likewise.
36408 * sysdeps/unix/start.c: Likewise.
36409 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36410 * sysdeps/x86_64/sysdep.h: Likewise.
36412 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36415 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36417 * argp/argp-fmtstream.h: Use const instead __const.
36418 * argp/argp.h: Likewise.
36419 * assert/assert.h: Likewise.
36420 * bits/fenv.h: Likewise.
36421 * bits/sched.h: Likewise.
36422 * bits/sigset.h: Likewise.
36423 * bits/sigthread.h: Likewise.
36424 * catgets/nl_types.h: Likewise.
36425 * conform/data/pthread.h-data: Likewise.
36426 * crypt/crypt-private.h: Likewise.
36427 * crypt/crypt.h: Likewise.
36428 * crypt/crypt_util.c: Likewise.
36429 * ctype/ctype.h: Likewise.
36430 * debug/execinfo.h: Likewise.
36431 * debug/mbsnrtowcs_chk.c: Likewise.
36432 * debug/mbsrtowcs_chk.c: Likewise.
36433 * debug/wcsnrtombs_chk.c: Likewise.
36434 * debug/wcsrtombs_chk.c: Likewise.
36435 * debug/wcstombs_chk.c: Likewise.
36436 * dirent/dirent.h: Likewise.
36437 * dlfcn/dlfcn.h: Likewise.
36438 * elf/neededtest4.c: Likewise.
36439 * grp/grp.h: Likewise.
36440 * gshadow/gshadow.h: Likewise.
36441 * iconv/gconv.h: Likewise.
36442 * iconv/gconv_int.h: Likewise.
36443 * iconv/gconv_simple.c: Likewise.
36444 * iconv/iconv.h: Likewise.
36445 * iconv/loop.c: Likewise.
36446 * iconv/skeleton.c: Likewise.
36447 * include/aio.h: Likewise.
36448 * include/aliases.h: Likewise.
36449 * include/argz.h: Likewise.
36450 * include/arpa/inet.h: Likewise.
36451 * include/assert.h: Likewise.
36452 * include/dirent.h: Likewise.
36453 * include/dlfcn.h: Likewise.
36454 * include/execinfo.h: Likewise.
36455 * include/fcntl.h: Likewise.
36456 * include/fenv.h: Likewise.
36457 * include/glob.h: Likewise.
36458 * include/grp.h: Likewise.
36459 * include/libintl.h: Likewise.
36460 * include/mntent.h: Likewise.
36461 * include/netdb.h: Likewise.
36462 * include/pwd.h: Likewise.
36463 * include/rpc/netdb.h: Likewise.
36464 * include/sched.h: Likewise.
36465 * include/search.h: Likewise.
36466 * include/shadow.h: Likewise.
36467 * include/signal.h: Likewise.
36468 * include/stdio.h: Likewise.
36469 * include/stdlib.h: Likewise.
36470 * include/string.h: Likewise.
36471 * include/sys/socket.h: Likewise.
36472 * include/sys/stat.h: Likewise.
36473 * include/sys/statfs.h: Likewise.
36474 * include/sys/statvfs.h: Likewise.
36475 * include/sys/syslog.h: Likewise.
36476 * include/sys/time.h: Likewise.
36477 * include/sys/uio.h: Likewise.
36478 * include/time.h: Likewise.
36479 * include/unistd.h: Likewise.
36480 * include/utmp.h: Likewise.
36481 * include/wchar.h: Likewise.
36482 * include/wctype.h: Likewise.
36483 * inet/aliases.h: Likewise.
36484 * inet/arpa/inet.h: Likewise.
36485 * inet/netinet/ether.h: Likewise.
36486 * inet/netinet/in.h: Likewise.
36487 * intl/libintl.h: Likewise.
36488 * io/bits/fcntl2.h: Likewise.
36489 * io/fcntl.h: Likewise.
36490 * io/ftw.h: Likewise.
36491 * io/sys/poll.h: Likewise.
36492 * io/sys/stat.h: Likewise.
36493 * io/sys/statfs.h: Likewise.
36494 * io/sys/statvfs.h: Likewise.
36495 * io/utime.h: Likewise.
36496 * libio/bits/stdio.h: Likewise.
36497 * libio/bits/stdio2.h: Likewise.
36498 * libio/libio.h: Likewise.
36499 * libio/libioP.h: Likewise.
36500 * libio/stdio.h: Likewise.
36501 * locale/lc-ctype.c: Likewise.
36502 * locale/locale.h: Likewise.
36503 * login/utmp.h: Likewise.
36504 * malloc/arena.c: Likewise.
36505 * malloc/malloc.c: Likewise.
36506 * malloc/malloc.h: Likewise.
36507 * malloc/mcheck.c: Likewise.
36508 * malloc/mtrace.c: Likewise.
36509 * math/bits/mathcalls.h: Likewise.
36510 * math/fenv.h: Likewise.
36511 * math/math_private.h: Likewise.
36512 * misc/bits/error.h: Likewise.
36513 * misc/bits/syslog.h: Likewise.
36514 * misc/err.h: Likewise.
36515 * misc/error.h: Likewise.
36516 * misc/fstab.h: Likewise.
36517 * misc/mntent.h: Likewise.
36518 * misc/regexp.h: Likewise.
36519 * misc/search.h: Likewise.
36520 * misc/sgtty.h: Likewise.
36521 * misc/sys/mman.h: Likewise.
36522 * misc/sys/syslog.h: Likewise.
36523 * misc/sys/uio.h: Likewise.
36524 * misc/sys/xattr.h: Likewise.
36525 * misc/ttyent.h: Likewise.
36526 * nis/rpcsvc/ypclnt.h: Likewise.
36527 * nss/nss.h: Likewise.
36528 * posix/bits/unistd.h: Likewise.
36529 * posix/fnmatch.h: Likewise.
36530 * posix/glob.h: Likewise.
36531 * posix/sched.h: Likewise.
36532 * posix/spawn.h: Likewise.
36533 * posix/sys/wait.h: Likewise.
36534 * posix/unistd.h: Likewise.
36535 * posix/wordexp.h: Likewise.
36536 * pwd/pwd.h: Likewise.
36537 * resolv/netdb.h: Likewise.
36538 * resource/sys/resource.h: Likewise.
36539 * rt/aio.h: Likewise.
36540 * rt/bits/mqueue2.h: Likewise.
36541 * rt/mqueue.h: Likewise.
36542 * shadow/shadow.h: Likewise.
36543 * signal/signal.h: Likewise.
36544 * socket/send.c: Likewise.
36545 * socket/sendto.c: Likewise.
36546 * socket/sys/socket.h: Likewise.
36547 * stdio-common/printf.h: Likewise.
36548 * stdlib/bits/stdlib.h: Likewise.
36549 * stdlib/fmtmsg.h: Likewise.
36550 * stdlib/monetary.h: Likewise.
36551 * stdlib/stdlib.h: Likewise.
36552 * stdlib/ucontext.h: Likewise.
36553 * streams/stropts.h: Likewise.
36554 * string/argz.h: Likewise.
36555 * string/bits/string2.h: Likewise.
36556 * string/string.h: Likewise.
36557 * string/strings.h: Likewise.
36558 * sunrpc/rpc/auth.h: Likewise.
36559 * sunrpc/rpc/auth_des.h: Likewise.
36560 * sunrpc/rpc/clnt.h: Likewise.
36561 * sunrpc/rpc/netdb.h: Likewise.
36562 * sunrpc/rpc/pmap_clnt.h: Likewise.
36563 * sunrpc/rpc/xdr.h: Likewise.
36564 * sysdeps/generic/inttypes.h: Likewise.
36565 * sysdeps/generic/net/if.h: Likewise.
36566 * sysdeps/generic/sys/swap.h: Likewise.
36567 * sysdeps/gnu/net/if.h: Likewise.
36568 * sysdeps/gnu/utmpx.h: Likewise.
36569 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36570 * sysdeps/i386/i486/bits/string.h: Likewise.
36571 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36572 * sysdeps/s390/bits/string.h: Likewise.
36573 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36574 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36575 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36576 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36577 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36578 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36579 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36580 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36581 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36582 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36583 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36584 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36585 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36586 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36587 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36588 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36589 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36591 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36593 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36594 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36595 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36596 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36597 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36598 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36599 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36600 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36601 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36602 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36603 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36604 * sysvipc/sys/ipc.h: Likewise.
36605 * sysvipc/sys/msg.h: Likewise.
36606 * sysvipc/sys/sem.h: Likewise.
36607 * sysvipc/sys/shm.h: Likewise.
36608 * termios/termios.h: Likewise.
36609 * time/sys/time.h: Likewise.
36610 * time/time.h: Likewise.
36611 * wcsmbs/bits/wchar2.h: Likewise.
36612 * wcsmbs/uchar.h: Likewise.
36613 * wcsmbs/wchar.h: Likewise.
36614 * wctype/wctype.h: Likewise.
36617 * Makeconfig: Remove all but ELF support including AIX support.
36618 * Makerules: Likewise.
36619 * config.h.in: Likewise.
36620 * config.make.in: Likewise.
36621 * configure: Likewise.
36622 * configure.in: Likewise.
36623 * csu/Makefile: Likewise.
36624 * csu/version.c: Likewise.
36625 * debug/Makefile: Likewise.
36626 * dlfcn/Makefile: Likewise.
36627 * elf/Makefile: Likewise.
36628 * extra-lib.mk: Likewise.
36629 * iconv/Makefile: Likewise.
36630 * include/libc-symbols.h: Likewise.
36631 * include/shlib-compat.h: Likewise.
36632 * resolv/Makefile: Likewise.
36633 * resolv/res_libc.c: Likewise.
36634 * rt/Makefile: Likewise.
36635 * sysdeps/i386/asm-syntax.h: Likewise.
36636 * sysdeps/i386/sysdep.h: Likewise.
36637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36638 * sysdeps/mach/sysdep.h: Likewise.
36639 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36640 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36641 * sysdeps/s390/asm-syntax.h: Likewise.
36642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36644 * sysdeps/sh/sysdep.h: Likewise.
36645 * sysdeps/unix/sparc/sysdep.h: Likewise.
36646 * sysdeps/wordsize-32/divdi3.c: Likewise.
36647 * sysdeps/x86_64/sysdep.h: Likewise.
36649 * argp/Versions: Remove _argp_unlock_xxx.
36652 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36653 * abilist/libBrokenLocale.abilist: Likewise.
36654 * abilist/libanl.abilist: Likewise.
36655 * abilist/libc.abilist: Likewise.
36656 * abilist/libcrypt.abilist: Likewise.
36657 * abilist/libdl.abilist: Likewise.
36658 * abilist/libm.abilist: Likewise.
36659 * abilist/libnsl.abilist: Likewise.
36660 * abilist/libpthread.abilist: Likewise.
36661 * abilist/libresolv.abilist: Likewise.
36662 * abilist/librt.abilist: Likewise.
36663 * abilist/libthread_db.abilist: Likewise.
36664 * abilist/libutil.abilist: Likewise.
36665 * abilist/libnss_db.abilist: New file.
36667 * scripts/abilist.awk: Add support for indirect functions.
36669 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36671 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36673 * shlib-versions: Remove entries for ports architectures.
36675 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36677 * elf/stackguard-macros.h: Remove support for IA-64.
36678 * elf/tst-auditmod1.c: Likewise.
36679 * sysdeps/generic/ldsodefs.h: Likewise.
36681 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36682 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36686 * configure.in: Remove --enable-omitfp support.
36688 * config.make.in: Likewise.
36689 * Makeconfig: Likewise.
36690 * manual/install.texi: Likewise.
36692 In case anyone cares, the IA-64 architecture could move to ports.
36693 * sysdeps/ia64/*: Removed.
36694 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36695 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36698 * configure.in: Remove entries for unsupported architectures.
36701 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36702 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36704 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36705 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36706 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36707 fall back to using wcrtomb.
36708 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36709 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36711 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36712 * wcsmbs/tst-c16c32-1.c: New file.
36714 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36717 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36719 * elf/tst-unique3.cc: Add explicit declaration of gets.
36720 * elf/tst-unique3lib.cc: Likewise.
36721 * elf/tst-unique3lib2.cc: Likewise.
36722 * elf/tst-unique4.cc: Likewise.
36724 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36726 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36729 * assert/assert.h (static_assert): Don't define for C++.
36730 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36731 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36733 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36735 * iconv/loop.c (single loop): Fix assertion in storing of
36738 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36740 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36742 * posix/getconf.c: Update copyright year.
36743 * nss/getent.c: Likewise.
36744 * nss/makedb.c: Likewise.
36745 * iconv/iconvconfig.c: Likewise.
36746 * iconv/iconv_prog.c: Likewise.
36747 * elf/ldconfig.c: Likewise.
36748 * elf/pldd.c: Likewise.
36749 * elf/sotruss.ksh: Likewise.
36750 * catgets/gencat.c: Likewise.
36751 * csu/version.c: Likewise.
36752 * elf/ldd.bash.in: Likewise.
36753 * elf/sprof.c (print_version): Likewise.
36754 * locale/programs/locale.c: Likewise.
36755 * locale/programs/localedef.c: Likewise.
36756 * login/programs/pt_chown.c: Likewise.
36757 * nscd/nscd.c (print_version): Likewise.
36758 * debug/xtrace.sh: Likewise.
36759 * malloc/memusage.sh: Likewise.
36760 * malloc/mtrace.pl: Likewise.
36761 * debug/catchsegv.sh: Likewise.
36763 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36765 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36768 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36771 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36772 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36774 * iconv/gconv_int.h: Likewise.
36775 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36776 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36777 from libc for GLIBC_2.16.
36778 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36779 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36780 * wcsmbs/uchar.h: Really define mbstate_t.
36781 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36782 * wcsmbs/c16rtomb.c: New file.
36783 * wcsmbs/mbrtoc16.c: New file.
36784 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36785 for C/POSIX locale.
36786 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36787 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36789 * wcsmbs/wchar.h: Add missing __restrict.
36791 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36794 * time/Makefile (routines): Add timespec_get.
36795 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36796 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36797 timespec for ISO C11.
36798 * time/timespec_get.c: New file.
36799 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36800 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36803 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36804 * stdlib/stdlib.h: Declare aligned_alloc.
36805 * Versions.def: Add GLIBC_2.16 for libc.
36806 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36809 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36812 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36816 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36819 * assert/assert.h (static_assert): Define.
36821 * version.h: Update for 2.16 development version.
36824 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36827 * version.h (RELEASE): Bump for 2.15 release.
36828 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36830 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36831 Patch by Marek Polacek <mpolacek@redhat.com>.
36833 * bits/byteswap.h: Protect long long constants with __extension__.
36834 * sysdeps/i386/bits/byteswap.h: Likewise.
36835 * sysdeps/ia64/bits/byteswap.h: Likewise.
36836 * sysdeps/s390/bits/byteswap.h: Likewise.
36837 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36839 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36843 destination buffer.
36844 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36846 2011-12-23 Marek Polacek <polacek@redhat.com>
36848 * elf/dl-addr.c (determine_info): Add inline keyword.
36849 * elf/tst-auditmod4b.c (check_avx): Likewise.
36850 * elf/tst-auditmod6b.c (check_avx): Likewise.
36851 * elf/tst-auditmod6c.c (check_avx): Likewise.
36852 * elf/tst-auditmod7b.c (check_avx): Likewise.
36854 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36856 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36859 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36862 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36863 processing for last bytes.
36865 2011-08-06 Bruno Haible <bruno@clisp.org>
36868 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36869 U+0385, not to U+1FEE.
36872 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36873 entry for U+00A5 U+0301.
36875 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36878 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36879 buffer for the output is too small.
36881 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36885 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36886 SSE flags if possible.
36888 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36891 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36892 processing for last bytes.
36894 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36896 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36897 (syscall-list-default-options, syscall-list-default-condition)
36898 (syscall-list-includes): Define.
36899 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36900 list of ABIs and options and #if conditions for each ABI. Do not
36901 handle common syscalls between ABIs specially.
36902 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36904 (syscall-list-variants, syscall-list-32bit-options)
36905 (syscall-list-32bit-condition, syscall-list-64bit-options)
36906 (syscall-list-64bit-condition): Define.
36907 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36908 (syscall-list-variants, syscall-list-32bit-options)
36909 (syscall-list-32bit-condition, syscall-list-64bit-options)
36910 (syscall-list-64bit-condition): Define.
36911 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36913 (syscall-list-variants, syscall-list-32bit-options)
36914 (syscall-list-32bit-condition, syscall-list-64bit-options)
36915 (syscall-list-64bit-condition): Define.
36916 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36918 (syscall-list-variants, syscall-list-32bit-options)
36919 (syscall-list-32bit-condition, syscall-list-64bit-options)
36920 (syscall-list-64bit-condition): Define.
36922 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36924 * locale/iso-639.def: Add brx entry.
36927 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36928 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36930 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36931 __feraiseexcept_renamed.
36933 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36936 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36937 EPOLLET with unsigned values.
36938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36939 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36941 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36942 to large cancellation.
36943 * math/s_cacoshf.c: Likewise.
36944 * math/s_cacoshl.c: Likewise.
36946 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36950 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36951 * math/s_cacoshf.c: Likewise.
36952 * math/s_cacoshl.c: Likewise.
36954 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36957 * iconv/gconv.h: Define __GCONV_SWAP.
36958 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36959 * iconvdata/utf-16.c: Likewise.
36960 * iconvdata/utf-32.c: Likewise.
36962 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36965 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36966 numerator after shifting it by one limb.
36968 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36970 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36971 under [__USE_EXTERN_INLINES].
36973 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36976 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36978 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36980 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36981 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36983 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36984 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36985 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36986 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36987 for strncasecmp/strncasecmp_l compilation.
36988 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36989 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36991 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36994 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36997 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37000 * time/tzfile.c (__tzfile_read): Check values from file header.
37002 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37004 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37005 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37006 * powerpc/powerpc32/dl-start.S: Likewise.
37007 * powerpc/powerpc32/elf/start.S: Likewise.
37008 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37009 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37010 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37011 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37012 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37013 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37014 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37015 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37016 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37017 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37018 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37019 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37020 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37021 * powerpc/powerpc32/memset.S: Likewise.
37022 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37023 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37024 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37025 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37026 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37027 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37028 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37029 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37030 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37031 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37032 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37033 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37034 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37036 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37038 * math/libm-test.inc: Added more nearbyint tests.
37039 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37040 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37044 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37046 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37049 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37051 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37052 Add wcscpy-ssse3 wcscpy-c.
37053 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37054 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37055 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37056 * sysdeps/x86_64/wcschr.S: New file.
37057 * sysdeps/x86_64/wcsrchr.S: New file.
37058 * string/test-strcmp.c: Remove checking of wcscmp function for
37060 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37061 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37062 wcsrchr-sse2 wcsrchr-c.
37063 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37064 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37065 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37066 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37067 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37068 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37069 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37070 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37071 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37072 * wcsmbc/wcschr.c (WCSCHR): New macro.
37074 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37076 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37077 * wcsmbs/test-wcsrchr.c: New file.
37078 * string/test-strrchr.c: Add wcsrchr support.
37080 * wcsmbs/test-wcscpy.c: New file.
37081 * string/test-strcpy.c: Add wcscpy support.
37084 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37086 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37089 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37092 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37094 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37096 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37097 Minor optimizations.
37099 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37100 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37101 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37103 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37105 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37106 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37107 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37108 for gcc to avoid warnings.
37109 * inet/Makefile (tests): Add tst-checks.
37110 * inet/tst-checks.c: New file.
37112 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37115 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37118 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37119 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37121 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37123 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37125 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37128 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37130 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37132 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37133 conditional on GCC version.
37134 (__arch_compare_and_exchange_val_8_acq)
37135 (__arch_compare_and_exchange_val_16_acq)
37136 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37137 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37138 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37140 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37142 * sysdeps/sh/backtrace.c: New file.
37144 2011-12-02 Andreas Schwab <schwab@redhat.com>
37146 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37149 2011-12-01 Andreas Schwab <schwab@redhat.com>
37151 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37152 falling back to utime.
37154 2011-11-30 Andreas Schwab <schwab@redhat.com>
37156 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37157 expectations for float.
37159 2011-11-29 Andreas Schwab <schwab@redhat.com>
37161 * locale/weight.h (findidx): Add parameter len.
37162 * locale/weightwc.h (findidx): Likewise.
37163 * posix/fnmatch_loop.c (FCT): Adjust caller.
37164 * posix/regcomp.c (build_equiv_class): Likewise.
37165 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37166 * posix/regexec.c (check_node_accept_bytes): Likewise.
37167 * string/strcoll_l.c (STRCOLL): Likewise.
37168 * string/strxfrm_l.c (STRXFRM): Likewise.
37170 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37172 * Makefile.in: Remove CVSOPT handling.
37173 * configure.in: Remove use of AC_REVISION.
37174 * iconvdata/Makefile (distribute): No need to filter out CVS.
37175 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37178 2011-11-16 Andreas Schwab <schwab@redhat.com>
37180 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37181 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37182 [USE_AS_STRNCASECMP_L]: Likewise.
37183 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37184 NO_TLS_DIRECT_SEG_REFS.
37185 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37186 Fix argument offsets for non-PIC.
37187 [USE_AS_STRNCASECMP_L]: Likewise.
37188 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37189 NO_TLS_DIRECT_SEG_REFS.
37191 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37193 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37195 * locale/loadlocale.c (_nl_load_locale): Likewise.
37197 2011-11-15 Andreas Schwab <schwab@redhat.com>
37199 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37200 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37201 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37202 (SYSCALL_GETTIME): Set errno on error.
37204 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37205 count references to noai6ai_cached.
37207 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37209 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37211 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37212 FD_CLOEXEC for /proc/self/maps.
37214 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37215 FD_CLOEXEC for /proc/meminfo.
37217 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37220 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37221 FD_CLOEXEC for given file.
37223 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37225 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37226 FD_CLOEXEC for /etc/hosts.
37227 (_gethtent): Likewise.
37229 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37231 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37232 cancellation and set FD_CLOEXEC for /etc/netgroup.
37234 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37235 reading /etc/publickey.
37237 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37238 allow cancellation when reading /etc/group.
37240 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37242 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37244 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37245 when using data file.
37247 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37249 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37250 (write_nis_obj): Use "c" and "e" in fopen.
37252 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37254 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37256 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37258 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37260 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37263 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37265 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37267 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37269 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37270 file parsing and set FD_CLOEXEC.
37272 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37274 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37276 2011-11-14 Andreas Schwab <schwab@redhat.com>
37278 * malloc/arena.c (arena_get2): Don't call reused_arena when
37279 _int_new_arena failed.
37281 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37283 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37284 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37285 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37286 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37287 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37288 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37289 to compile strcasecmp and strncasecmp.
37290 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37291 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37293 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37295 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37297 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37298 locale-defines.sym to gen-as-const-headers.
37299 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37300 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37301 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37302 to compile strcasecmp and strncasecmp.
37303 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37304 strcasecmp_l and strncasecmp_l.
37305 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37306 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37307 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37308 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37309 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37310 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37311 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37312 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37313 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37314 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37315 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37317 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37319 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37320 result of SYSDEP_GETTIME_CPU to retval.
37321 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37322 parameter list to macro. Remove trailing semicolon. Adjust users.
37324 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37327 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37329 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37331 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37332 from unused variable.
37334 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37336 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37339 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37342 * sunrpc/rpc_prot.c (rejected): Fix case value.
37344 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37345 unsigned long long int to avoid warnings in shift.
37347 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37349 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37352 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37353 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37354 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37356 * nis/nis_table.c (nis_list): Use variable of correct type for
37357 result of __follow_path call.
37359 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37361 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37362 of math functions ceil, trunc, floor, round, and sqrt, when
37363 avaliable on the platform.
37364 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37366 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37367 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37368 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37370 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37372 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37373 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37375 2011-11-11 Roland McGrath <roland@hack.frob.com>
37377 * include/unistd.h: Fix __readlink return type.
37378 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37380 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37382 * stdlib/ucontext.h: Undo last change for makecontext.
37384 2011-11-11 Andreas Schwab <schwab@redhat.com>
37386 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37388 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37389 * setjmp/setjmp.h: Mark functions as non-leaf.
37390 * setjmp/bits/setjmp2.h: Likewise.
37391 * stdlib/ucontext.h: Likewise.
37393 2011-11-10 Andreas Schwab <schwab@redhat.com>
37395 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37396 (reused_arena): Don't check arena limit.
37397 (arena_get2): Atomically check arena limit.
37399 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37401 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37402 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37407 2011-11-07 Andreas Schwab <schwab@redhat.com>
37409 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37410 handler when locking.
37412 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37413 Fix size of allocated buffer.
37415 2011-11-04 Andreas Schwab <schwab@redhat.com>
37418 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37419 declarations for long double functions.
37420 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37422 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37424 2011-11-03 Andreas Schwab <schwab@redhat.com>
37426 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37429 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37432 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37434 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37436 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37438 * include/alloca.h (stackinfo_alloca_round): Define.
37439 (extend_alloca): Use it.
37440 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37441 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37444 * scripts/check-local-headers.sh: Ignore libaudit.h.
37446 * nscd/Makefile (extra-objs): Make recursively expanded.
37448 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37450 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37453 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37454 * posix/tst-rfc3484-2.c: Likewise.
37455 * posix/tst-rfc3484-3.c: Likewise.
37457 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37459 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37461 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37462 process_vm_writev from libc using GLIBC_2.15 version.
37464 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37466 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37468 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37471 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37474 * nss/getent.c (initgroups_keys): Show error message in case no group
37477 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37478 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37479 __bump_nl_timestamp.
37480 * nscd/connections (nscd_init): When host database is served open
37481 netlink socket and request notification about configuration changes.
37482 (main_loop_poll): Track netlink file descriptor and bump timestamp
37483 in case data becomes available.
37484 (main_loop_epoll): Likewise.
37485 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37486 (database_pers_head): Add extra_data fileds.
37487 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37488 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37489 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37491 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37492 in6ai data, call __free_in6ai.
37493 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37494 Add -DHAVE_NETLINK.
37495 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37496 interface information. Reuse previous data if netlink timestamp
37498 (__bump_nl_timestamp): New function.
37499 (__free_in6ai): New function.
37501 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37503 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37504 close_not_cancel_no_status here.
37505 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37507 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37510 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37513 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37514 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37515 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37517 2011-07-03 Andreas Jaeger <aj@suse.de>
37520 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37521 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37522 * math/libm-test.inc (sin_test): Add test case.
37524 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37527 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37528 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37530 * elf/chroot_canon.c (chroot_canon): Cleanups.
37532 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37535 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37536 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37538 * string/test-strchr.c: Make usable for strchrnul testing.
37539 * string/test-strchrnul.c: New file.
37540 * string/Makefile (strop-tests): Add strchrnul.
37542 * po/it.po: Update from translation team.
37543 * po/es.po: Likewise.
37545 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37547 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37548 the three constants needed as parameters. Drop the others.
37549 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37550 __m128i_strloadu_tolower.
37551 Create and initialize variable zero and use it in all the places
37552 where _mm_setzero_si128 was used.
37554 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37555 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37556 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37557 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37559 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37560 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37561 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37562 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37563 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37564 __mpranred, __mptan.
37565 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37566 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37567 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37568 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37569 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37570 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37571 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37572 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37573 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37575 2011-10-28 Andreas Schwab <schwab@redhat.com>
37577 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37578 redefine if SHARED.
37579 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37582 wide char related routines to wcsmbs subdir.
37584 2011-10-27 Andreas Schwab <schwab@redhat.com>
37587 * misc/sys/cdefs.h (__THROWNL): Define.
37588 * posix/unistd.h: Use __THREADNL instead of __THREAD
37589 for memory synchronization functions.
37591 2011-10-26 Roland McGrath <roland@hack.frob.com>
37594 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37596 * manual/stdio.texi (Obstack Streams): Node removed.
37598 2011-10-26 Andreas Schwab <schwab@redhat.com>
37600 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37601 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37602 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37604 * math/math_private.h (math_force_eval): Allow non-addressable
37606 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37608 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37610 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37611 file is not needed.
37613 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37614 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37615 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37616 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37617 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37619 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37620 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37622 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37623 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37624 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37625 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37626 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37627 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37628 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37629 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37630 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37631 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37632 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37633 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37634 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37635 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37636 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37637 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37638 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37639 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37640 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37642 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37643 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37645 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37646 place. Use VEX encoding when compiling for AVX.
37648 2011-10-25 Andreas Schwab <schwab@redhat.com>
37650 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37651 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37653 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37655 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37657 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37658 useless if() expression.
37659 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37669 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37670 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37671 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37672 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37673 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37674 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37675 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37677 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37679 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37681 2011-10-25 Andreas Schwab <schwab@redhat.com>
37683 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37685 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37687 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37689 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37690 .text section. Avoid duplicate constants.
37691 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37696 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37701 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37703 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37704 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37705 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37706 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37708 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37709 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37711 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37712 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37714 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37715 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37716 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37717 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37718 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37719 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37720 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37721 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37722 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37723 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37724 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37725 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37726 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37727 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37728 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37729 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37730 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37731 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37732 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37733 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37734 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37735 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37737 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37739 * sysdeps/x86_64/dla.h: Move to ...
37740 * sysdeps/x86_64/fpu/dla.h: ...here.
37741 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37742 situations. Use __builtin_fma only for gcc 4.6 and up.
37744 * config.make.in: Add have-mfma4 entry.
37745 * configure.in: Substitute libc_cv_cc_fma4.
37746 * math/Makefile (dbl-only-routines): Add sincostab.
37747 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37748 Use __sincostab not sincos.
37749 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37751 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37756 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37757 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37758 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37759 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37761 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37762 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37764 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37765 define aliases when function name is a macro.
37766 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37767 sysdeps/ieee754/dbl-64/sincos.tbl.
37768 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37769 fma4-enabled routines.
37770 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37771 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37772 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37773 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37774 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37775 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37777 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37779 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37780 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37781 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37782 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37783 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37784 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37785 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37786 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37787 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37788 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37789 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37790 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37791 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37792 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37793 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37794 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37795 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37796 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37797 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37798 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37799 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37801 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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-24 Andreas Schwab <schwab@redhat.com>
37814 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37816 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37818 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37820 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37822 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37824 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37825 Remove unused variable magic_bits.
37826 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37828 * string/strnlen.c: Define and use STRNLEN macro.
37829 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37830 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37831 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37832 * wcsmbs/wcslen.c: Define and use WCSLEN.
37833 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37834 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37835 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37836 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37837 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37838 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37839 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37841 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37844 strnlen-sse2-no-bsf.
37845 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37846 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37847 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37848 Add strnlen support.
37849 (USE_AS_STRNLEN): New macro.
37850 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37851 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37852 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37853 * sysdeps/x86_64/wcslen.S: New file.
37855 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37857 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37858 XMM-moves are used for copying on small sizes.
37860 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37862 * wcsmbs/Makefile (strop-tests): Add wcschr.
37863 * wcsmbs/test-wcschr.c: New file.
37864 * string/test-strchr.c: Update.
37865 Add wcschr support.
37868 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37870 * wcsmbs/Makefile (strop-tests): Add wcslen.
37871 * wcsmbs/test-wcslen.c: New file.
37872 * string/test-strlen.c: Update.
37873 Add wcslen support.
37876 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37878 * po/it.po: Update from translation team.
37880 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37882 * sysdeps/x86_64/wcscmp.S: Update.
37883 Fix wrong comparison semantics.
37884 wcscmp shall use signed comparison not unsigned.
37885 Don't use substraction to avoid overflow bug.
37886 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37887 * wcsmbc/wcscmp.c: Likewise.
37888 * string/test-strcmp.c: Likewise.
37889 Add new tests to check cases with negative values.
37891 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37893 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37894 * sysdeps/x86_64/dla.h: ...here. New file.
37895 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37902 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37905 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37908 __ynl_finite aliases.
37910 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37914 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37916 [DLA_FMA] (EMULV): Use DLA_FMA.
37917 [DLA_FMA] (MUL12): Use EMULV.
37918 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37919 that are not needed.
37920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37924 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37925 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37926 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37928 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37930 * math/s_nan.c: Undef __nan.
37931 * math/s_nanf.c: Undef __nanf.
37932 * math/s_nanl.c: Undef __nanl.
37933 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37936 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37938 * math/s_catan.c: Add branch predictions.
37939 * math/s_catanf.c: Likewise.
37940 * math/s_catanh.c: Likewise.
37941 * math/s_catanhf.c: Likewise.
37942 * math/s_catanhl.c: Likewise.
37943 * math/s_catanl.c: Likewise.
37944 * math/s_cexp.c: Likewise.
37945 * math/s_cexpf.c: Likewise.
37946 * math/s_cexpl.c: Likewise.
37947 * math/s_clog.c: Likewise.
37948 * math/s_clog10.c: Likewise.
37949 * math/s_clog10f.c: Likewise.
37950 * math/s_clog10l.c: Likewise.
37951 * math/s_clogf.c: Likewise.
37952 * math/s_clogl.c: Likewise.
37953 * math/s_csqrt.c: Likewise.
37954 * math/s_csqrtf.c: Likewise.
37955 * math/s_csqrtl.c: Likewise.
37956 * math/s_ctanf.c: Likewise.
37957 * math/s_ctanh.c: Likewise.
37958 * math/s_ctanhf.c: Likewise.
37959 * math/s_ctanhl.c: Likewise.
37960 * math/s_ctanl.c: Likewise.
37962 * math/math_private.h: Define __nan, __nanf, __nanl.
37963 * math/s_cacosh.c: Include <math_private.h>.
37964 * math/s_cacoshl.c: Likewise.
37965 * math/s_casinh.c: Likewise.
37966 * math/s_casinhf.c: Likewise.
37967 * math/s_casinhl.c: Likewise.
37968 * math/s_ccos.c: Rely entire on ccosh.
37969 * math/s_ccosf.c: Rely entire on ccoshf.
37970 * math/s_ccosl.c: Rely entirely on ccoshl.
37971 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37972 Remove tests for FE_INVALID.
37973 * math/s_ccoshf.c: Likewise.
37974 * math/s_ccoshl.c: Likewise.
37975 * math/s_csin.c: Likewise.
37976 * math/s_csinf.c: Likewise.
37977 * math/s_csinh.c Likewise.
37978 * math/s_csinhf.c: Likewise.
37979 * math/s_csinhl.c: Likewise.
37980 * math/s_csinl.c: Likewise.
37981 * math/s_ctan.c: Likewise.
37982 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37983 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37984 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37986 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37989 compilation problems.
37991 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37994 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37996 * sysdeps/i386/configure.in: Test for -mfma4 option.
37997 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37998 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37999 COMMON_CPUID_INDEX_80000001.
38000 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38001 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38002 use it if FMA3 is not supported.
38003 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38005 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38006 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38008 2011-10-20 Andreas Schwab <schwab@redhat.com>
38011 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38012 it would create a cycle with a link time dependency.
38014 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38016 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38018 * string/Makefile (strop-tests): Add rawmemchr.
38019 * string/test-rawmemchr.c: New file.
38021 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38022 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38023 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38024 when compiling str{,n}casecmp and when AVX is available. Hook up
38025 new optimized code in initializers.
38027 2011-10-19 Andreas Schwab <schwab@redhat.com>
38029 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38030 __feraiseexcept instead of feraiseexcept.
38032 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38034 * math/math_private.h: Define defaults for libc_fetestexcept and
38036 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38037 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38038 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38039 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38040 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38041 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38042 libc_fetestexcept and libc_feupdateenv.
38044 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38045 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38046 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38047 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38048 libc_feholdexcept_setround.
38050 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38051 Add s_nearbyint-c and s_nearbyintf-c.
38052 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38053 nearbyintf inlines.
38054 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38055 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38056 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38057 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38059 * math/math_private.h: Define defaults for libc_fegetround,
38060 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38061 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38062 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38063 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38064 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38065 standard functions.
38066 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38067 Remove comments and hacks for old compiler versions.
38068 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38069 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38070 libc_feholdexceptl.
38072 2011-10-18 Andreas Schwab <schwab@redhat.com>
38074 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38075 (__feraiseexcept_renamed): Add __NTH.
38076 (feraiseexcept): Add __NTH. Rename local variables to fix
38077 namespace violations.
38079 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38081 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38083 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38085 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38086 recently added interfaces.
38087 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38089 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38090 about macro parameter expansion.
38092 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38093 __NO_MATH_INLINES is defined. Cleanups.
38095 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38096 and __floorf is target has SSE4.1.
38097 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38098 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38099 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38100 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38102 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38104 (floorf): Likewise.
38106 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38108 2011-10-17 Andreas Schwab <schwab@redhat.com>
38110 * misc/sys/cdefs.h: Fix last change.
38112 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38115 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38117 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38119 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38120 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38125 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38126 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38127 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38128 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38129 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38130 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38131 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38132 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38133 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38134 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38135 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38136 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38137 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38138 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38139 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38140 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38142 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38143 ceil, ceilf, floor, floorf.
38145 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38146 Perform IRELATIVE relocations last.
38148 * elf/do-rel.h: Add another parameter nrelative, replacing the
38149 local variable with the same name. Change name of the function
38150 to end in Rel or Rela (uppercase).
38151 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38152 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38153 elf_dynamic_do_##reloc function.
38155 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38157 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38158 is sufficient, at least on modern CPUs.
38160 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38162 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38165 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38167 * math/bits/math-finite.h: Add entries for exp.
38168 * math/e_expl.c: Add __*_finite alias.
38169 * sysdeps/i386/fpu/e_exp.S: Likewise.
38170 * sysdeps/i386/fpu/e_expf.S: Likewise.
38171 * sysdeps/i386/fpu/e_expl.c: Likewise.
38172 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38173 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38174 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38176 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38177 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38178 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38180 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38181 is sufficient, at least on modern CPUs.
38183 * ctype/ctype-info.c (__ctype_init): Define.
38184 * include/ctype.h (__ctype_init): Declare.
38185 (__ctype_b_loc): The variable is always initialized.
38186 (__ctype_toupper_loc): Likewise.
38187 (__ctype_tolower_loc): Likewise.
38188 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38189 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38191 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38193 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38195 * configure.in: Also look in $cxxmachine/include for C++ system
38198 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38200 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38201 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38202 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38203 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38204 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38205 (USE_AS_WMEMCMP): New macro.
38207 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38208 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38209 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38210 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38212 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38213 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38214 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38215 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38216 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38217 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38218 (USE_AS_WMEMCMP): New macro.
38219 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38220 * sysdeps/string/test-memcmp.c: Update.
38221 Fix simple_wmemcmp.
38223 * wcsmbs/wmemcmp.c: Update.
38224 (WMEMCMP): New macro.
38227 2011-10-12 Andreas Jaeger <aj@suse.de>
38230 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38232 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38234 * libio/iofwide.c (do_length): Avoid warning.
38236 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38238 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38240 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38242 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38243 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38244 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38245 * sysdeps/i386/i686/fpu/e_log.S: New file.
38246 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38247 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38249 * ctype/ctype.h: Add support for inlined isXXX functions when
38250 compiling C++ code.
38252 2011-10-14 Andreas Schwab <schwab@redhat.com>
38254 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38256 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38258 2011-10-13 Roland McGrath <roland@hack.frob.com>
38261 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38263 2011-10-13 Andreas Schwab <schwab@redhat.com>
38265 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38266 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38269 * sysdeps/x86_64/memrchr.S: Check for zero size.
38271 * string/stratcliff.c: Add memrchr tests.
38273 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38276 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38277 rawmemchr-sse2 rawmemchr-sse2-bsf.
38278 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38279 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38280 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38281 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38282 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38283 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38284 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38285 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38286 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38287 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38288 * string/memrchr.c (MEMRCHR): New macro.
38290 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38292 Add integration with gcc's -ffinite-math-only and optimize wrapper
38294 * Versions.def: Define GLIBC_2.15 version for libm.
38295 * math/Makefile (headers): Add bits/math-finite.h.
38296 * math/bits/math-finite.h: New file.
38297 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38298 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38299 * math/e_acoshl.c: Add __*_finite alias.
38300 * math/e_acosl.c: Likewise.
38301 * math/e_asinl.c: Likewise.
38302 * math/e_atan2l.c: Likewise.
38303 * math/e_atanhl.c: Likewise.
38304 * math/e_coshl.c: Likewise.
38305 * math/e_exp10.c: Likewise.
38306 * math/e_exp10f.c: Likewise.
38307 * math/e_exp10l.c: Likewise.
38308 * math/e_exp2l.c: Likewise.
38309 * math/e_fmodl.c: Likewise.
38310 * math/e_gammal_r.c: Likewise.
38311 * math/e_hypotl.c: Likewise.
38312 * math/e_j0l.c: Likewise.
38313 * math/e_j1l.c: Likewise.
38314 * math/e_jnl.c: Likewise.
38315 * math/e_lgammal_r.c: Likewise.
38316 * math/e_log10l.c: Likewise.
38317 * math/e_log2l.c: Likewise.
38318 * math/e_logl.c: Likewise.
38319 * math/e_powl.c: Likewise.
38320 * math/e_sinhl.c: Likewise.
38321 * math/e_sqrtl.c: Likewise.
38322 * math/e_scalb.c: Completely rewritten and optimized.
38323 * math/e_scalbf.c: Likewise.
38324 * math/e_scalbl.c: Likewise.
38325 * math/w_acos.c: Likewise.
38326 * math/w_acosf.c: Likewise.
38327 * math/w_acosl.c: Likewise.
38328 * math/w_acosh.c: Likewise.
38329 * math/w_acoshf.c: Likewise.
38330 * math/w_acoshl.c: Likewise.
38331 * math/w_asin.c: Likewise.
38332 * math/w_asinf.c: Likewise.
38333 * math/w_asinl.c: Likewise.
38334 * math/w_atan2.c: Likewise.
38335 * math/w_atan2f.c: Likewise.
38336 * math/w_atan2l.c: Likewise.
38337 * math/w_atanh.c: Likewise.
38338 * math/w_atanhf.c: Likewise.
38339 * math/w_atanhl.c: Likewise.
38340 * math/w_exp10.c: Likewise.
38341 * math/w_exp10f.c: Likewise.
38342 * math/w_exp10l.c: Likewise.
38343 * math/w_fmod.c: Likewise.
38344 * math/w_fmodf.c: Likewise.
38345 * math/w_fmodl.c: Likewise.
38346 * math/w_j0.c: Likewise.
38347 * math/w_j0f.c: Likewise.
38348 * math/w_j0l.c: Likewise.
38349 * math/w_j1.c: Likewise.
38350 * math/w_j1f.c: Likewise.
38351 * math/w_j1l.c: Likewise.
38352 * math/w_jn.c: Likewise.
38353 * math/w_jnf.c: Likewise.
38354 * math/w_log.c: Likewise.
38355 * math/w_logf.c: Likewise.
38356 * math/w_logl.c: Likewise.
38357 * math/w_log10.c: Likewise.
38358 * math/w_log10f.c: Likewise.
38359 * math/w_log10l.c: Likewise.
38360 * math/w_log2.c: Likewise.
38361 * math/w_log2f.c: Likewise.
38362 * math/w_log2l.c: Likewise.
38363 * math/w_pow.c: Likewise.
38364 * math/w_powf.c: Likewise.
38365 * math/w_powl.c: Likewise.
38366 * math/w_remainder.c: Likewise.
38367 * math/w_remainderf.c: Likewise.
38368 * math/w_remainderl.c: Likewise.
38369 * math/w_scalb.c: Likewise.
38370 * math/w_scalbf.c: Likewise.
38371 * math/w_scalbl.c: Likewise.
38372 * math/w_sqrt.c: Likewise.
38373 * math/w_sqrtf.c: Likewise.
38374 * math/w_sqrtl.c: Likewise.
38375 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38376 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38378 * math/math_private.h: Declare __kernel_standard_f.
38379 * math/w_cosh.c: Remove cruft and optimize a bit.
38380 * math/w_coshf.c: Likewise.
38381 * math/w_coshl.c: Likewise.
38382 * math/w_exp2.c: Likewise.
38383 * math/w_exp2f.c: Likewise.
38384 * math/w_exp2l.c: Likewise.
38385 * math/w_hypot.c: Likewise.
38386 * math/w_hypotf.c: Likewise.
38387 * math/w_hypotl.c: Likewise.
38388 * math/w_lgamma.c: Likewise.
38389 * math/w_lgamma_r.c: Likewise.
38390 * math/w_lgammaf.c: Likewise.
38391 * math/w_lgammaf_r.c: Likewise.
38392 * math/w_lgammal.c: Likewise.
38393 * math/w_lgammal_r.c: Likewise.
38394 * math/w_sinh.c: Likewise.
38395 * math/w_sinhf.c: Likewise.
38396 * math/w_sinhl.c: Likewise.
38397 * math/w_tgamma.c: Likewise.
38398 * math/w_tgammaf.c: Likewise.
38399 * math/w_tgammal.c: Likewise.
38400 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38401 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38402 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38403 Minor optimizations. Pretty printing. Remove cruft.
38404 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38405 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38406 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38407 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38408 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38409 * sysdeps/i386/fpu/e_asin.S: Likewise.
38410 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38411 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38412 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38413 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38414 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38415 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38416 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38417 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38418 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38419 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38420 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38421 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38422 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38423 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38424 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38425 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38426 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38427 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38428 * sysdeps/i386/fpu/e_log.S: Likewise.
38429 * sysdeps/i386/fpu/e_log10.S: Likewise.
38430 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38431 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38432 * sysdeps/i386/fpu/e_log2.S: Likewise.
38433 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38434 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38435 * sysdeps/i386/fpu/e_logf.S: Likewise.
38436 * sysdeps/i386/fpu/e_logl.S: Likewise.
38437 * sysdeps/i386/fpu/e_pow.S: Likewise.
38438 * sysdeps/i386/fpu/e_powf.S: Likewise.
38439 * sysdeps/i386/fpu/e_powl.S: Likewise.
38440 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38441 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38442 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38443 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38444 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38445 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38446 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38447 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38448 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38449 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38450 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38452 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38453 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38454 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38455 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38456 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38457 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38460 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38462 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38463 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38465 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38466 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38467 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38469 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38470 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38471 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38472 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38473 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38474 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38475 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38476 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38477 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38478 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38479 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38480 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38481 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38482 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38483 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38484 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38485 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38486 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38487 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38488 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38489 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38490 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38506 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38515 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38516 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38517 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38518 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38519 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38523 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38527 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38529 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38530 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38532 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38534 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38535 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38537 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38538 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38539 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38540 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38541 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38542 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38543 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38544 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38545 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38546 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38547 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38548 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38549 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38550 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38551 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38552 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38553 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38554 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38555 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38556 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38557 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38558 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38559 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38560 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38561 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38562 (__isnanf): Likewise.
38563 (__isinf_ns): Likewise.
38564 (__isinf_nsf): Likewise.
38565 (__finite): Likewise.
38566 (__finitef): Likewise.
38567 (__ieee754_sqrt): Define as macro.
38568 (__ieee754_sqrtf): Define as macro.
38569 (__ieee754_sqrtl): Define as macro.
38570 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38572 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38573 __FINITE_MATH_ONLY__ consistent.
38574 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38576 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38578 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38581 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38583 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38585 * po/ja.po: Update from translation team.
38587 2011-10-08 Roland McGrath <roland@hack.frob.com>
38589 * locale/programs/locarchive.c (prepare_address_space): New function.
38590 (create_archive, enlarge_archive, open_archive): Use it.
38592 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38593 inside [SHARED], where it is used.
38595 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38597 * nss/getent.c (netgroup_keys): Remove unused variable.
38598 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38600 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38602 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38603 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38605 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38606 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38607 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38608 * math/Makefile (libm-calls): Add s_isinf_ns.
38609 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38610 * math/multc3.c: Likewise.
38611 * math/s_casin.c: Likewise.
38612 * math/s_casinf.c: Likewise.
38613 * math/s_casinl.c: Likewise.
38614 * math/s_ccos.c: Likewise.
38615 * math/s_ccosf.c: Likewise.
38616 * math/s_ccosl.c: Likewise.
38617 * math/s_ctan.c: Likewise.
38618 * math/s_ctanf.c: Likewise.
38619 * math/s_ctanh.c: Likewise.
38620 * math/s_ctanhf.c: Likewise.
38621 * math/s_ctanhl.c: Likewise.
38622 * math/s_ctanl.c: Likewise.
38623 * math/w_fmod.c: Likewise.
38624 * math/w_fmodf.c: Likewise.
38625 * math/w_fmodl.c: Likewise.
38626 * math/w_remainder.c: Likewise.
38627 * math/w_remainderf.c: Likewise.
38628 * math/w_remainderl.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38630 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38631 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38633 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38634 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38635 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38636 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38638 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38640 * stdio-common/printf_fphex.c: Likewise.
38641 * stdio-common/printf_size.c: Likewise.
38643 * math/e_exp10.c: Include math_private.h using <...> not "...".
38644 * math/e_exp10f.c: Likewise.
38645 * math/e_exp10l.c: Likewise.
38646 * math/e_exp2l.c: Likewise.
38647 * math/e_j0l.c: Likewise.
38648 * math/e_j1l.c: Likewise.
38649 * math/e_jnl.c: Likewise.
38650 * math/e_lgammal_r.c: Likewise.
38651 * math/e_rem_pio2l.c: Likewise.
38652 * math/e_scalb.c: Likewise.
38653 * math/e_scalbf.c: Likewise.
38654 * math/e_scalbl.c: Likewise.
38655 * math/k_cosl.c: Likewise.
38656 * math/k_sinl.c: Likewise.
38657 * math/k_tanl.c: Likewise.
38658 * math/s_cacoshf.c: Likewise.
38659 * math/s_catan.c: Likewise.
38660 * math/s_catanf.c: Likewise.
38661 * math/s_catanh.c: Likewise.
38662 * math/s_catanhf.c: Likewise.
38663 * math/s_catanhl.c: Likewise.
38664 * math/s_catanl.c: Likewise.
38665 * math/s_ccosh.c: Likewise.
38666 * math/s_ccoshf.c: Likewise.
38667 * math/s_ccoshl.c: Likewise.
38668 * math/s_cexp.c: Likewise.
38669 * math/s_cexpf.c: Likewise.
38670 * math/s_cexpl.c: Likewise.
38671 * math/s_clog.c: Likewise.
38672 * math/s_clog10.c: Likewise.
38673 * math/s_clog10f.c: Likewise.
38674 * math/s_clog10l.c: Likewise.
38675 * math/s_clogf.c: Likewise.
38676 * math/s_clogl.c: Likewise.
38677 * math/s_csin.c: Likewise.
38678 * math/s_csinf.c: Likewise.
38679 * math/s_csinh.c: Likewise.
38680 * math/s_csinhf.c: Likewise.
38681 * math/s_csinhl.c: Likewise.
38682 * math/s_csinl.c: Likewise.
38683 * math/s_csqrt.c: Likewise.
38684 * math/s_csqrtf.c: Likewise.
38685 * math/s_csqrtl.c: Likewise.
38686 * math/s_ctan.c: Likewise.
38687 * math/s_ctanf.c: Likewise.
38688 * math/s_ctanh.c: Likewise.
38689 * math/s_ctanhf.c: Likewise.
38690 * math/s_ctanhl.c: Likewise.
38691 * math/s_ctanl.c: Likewise.
38692 * math/s_ldexp.c: Likewise.
38693 * math/s_ldexpf.c: Likewise.
38694 * math/s_ldexpl.c: Likewise.
38695 * math/s_significand.c: Likewise.
38696 * math/s_significandf.c: Likewise.
38697 * math/s_significandl.c: Likewise.
38698 * math/w_acos.c: Likewise.
38699 * math/w_acosf.c: Likewise.
38700 * math/w_acosh.c: Likewise.
38701 * math/w_acoshf.c: Likewise.
38702 * math/w_acoshl.c: Likewise.
38703 * math/w_acosl.c: Likewise.
38704 * math/w_asin.c: Likewise.
38705 * math/w_asinf.c: Likewise.
38706 * math/w_asinl.c: Likewise.
38707 * math/w_atan2.c: Likewise.
38708 * math/w_atan2f.c: Likewise.
38709 * math/w_atan2l.c: Likewise.
38710 * math/w_atanh.c: Likewise.
38711 * math/w_atanhf.c: Likewise.
38712 * math/w_atanhl.c: Likewise.
38713 * math/w_cosh.c: Likewise.
38714 * math/w_coshf.c: Likewise.
38715 * math/w_coshl.c: Likewise.
38716 * math/w_dremf.c: Likewise.
38717 * math/w_exp10.c: Likewise.
38718 * math/w_exp10f.c: Likewise.
38719 * math/w_exp10l.c: Likewise.
38720 * math/w_exp2.c: Likewise.
38721 * math/w_exp2f.c: Likewise.
38722 * math/w_fmod.c: Likewise.
38723 * math/w_fmodf.c: Likewise.
38724 * math/w_fmodl.c: Likewise.
38725 * math/w_hypot.c: Likewise.
38726 * math/w_hypotf.c: Likewise.
38727 * math/w_hypotl.c: Likewise.
38728 * math/w_j0.c: Likewise.
38729 * math/w_j0f.c: Likewise.
38730 * math/w_j0l.c: Likewise.
38731 * math/w_j1.c: Likewise.
38732 * math/w_j1f.c: Likewise.
38733 * math/w_j1l.c: Likewise.
38734 * math/w_jn.c: Likewise.
38735 * math/w_jnf.c: Likewise.
38736 * math/w_jnl.c: Likewise.
38737 * math/w_lgamma.c: Likewise.
38738 * math/w_lgamma_r.c: Likewise.
38739 * math/w_lgammaf.c: Likewise.
38740 * math/w_lgammaf_r.c: Likewise.
38741 * math/w_lgammal.c: Likewise.
38742 * math/w_lgammal_r.c: Likewise.
38743 * math/w_log.c: Likewise.
38744 * math/w_log10.c: Likewise.
38745 * math/w_log10f.c: Likewise.
38746 * math/w_log10l.c: Likewise.
38747 * math/w_log2.c: Likewise.
38748 * math/w_log2f.c: Likewise.
38749 * math/w_log2l.c: Likewise.
38750 * math/w_logf.c: Likewise.
38751 * math/w_logl.c: Likewise.
38752 * math/w_pow.c: Likewise.
38753 * math/w_powf.c: Likewise.
38754 * math/w_powl.c: Likewise.
38755 * math/w_remainder.c: Likewise.
38756 * math/w_remainderf.c: Likewise.
38757 * math/w_remainderl.c: Likewise.
38758 * math/w_scalb.c: Likewise.
38759 * math/w_scalbf.c: Likewise.
38760 * math/w_scalbl.c: Likewise.
38761 * math/w_sinh.c: Likewise.
38762 * math/w_sinhf.c: Likewise.
38763 * math/w_sinhl.c: Likewise.
38764 * math/w_sqrt.c: Likewise.
38765 * math/w_sqrtf.c: Likewise.
38766 * math/w_sqrtl.c: Likewise.
38767 * math/w_tgamma.c: Likewise.
38768 * math/w_tgammaf.c: Likewise.
38769 * math/w_tgammal.c: Likewise.
38771 * po/ja.po: Update from translation team.
38773 2011-09-29 Andreas Jaeger <aj@suse.de>
38776 * sunrpc/netname.c (netname2host): Fix logic.
38780 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38782 * math/w_remainder.c (__remainder): Likewise.
38783 * math/w_remainderf.c (__remainderf): Likewise.
38784 * math/libm-test.inc (remainder_test): Add test cases.
38786 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38788 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38791 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38793 * string/test-memcmp.c: Avoid unncessary #defines.
38794 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38796 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38798 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38799 Use new sse2 version for core i3 - i7 as it's faster
38800 than sse42 version.
38801 (bit_Prefer_PMINUB_for_stringop): New.
38802 * sysdeps/x86_64/rawmemchr.S: Update.
38803 Replace with faster SSE2 version.
38804 * sysdeps/x86_64/memrchr.S: New file.
38805 * sysdeps/x86_64/memchr.S: Update.
38806 Replace with faster SSE2 version.
38808 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38810 * elf/dl-load.c (lose): Add cast to avoid warning.
38812 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38814 * po/ca.po: Update from translation team.
38816 * inet/getnetgrent_r.c: Hook up nscd.
38817 * nscd/Makefile (routines): Add nscd_netgroup.
38818 (nscd-modules): Add netgroupcache.
38819 (CFLAGS-netgroupcache.c): Define.
38820 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38821 (cache_search): Add const to second parameter.
38822 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38824 (dbs): Add netgrdb entry.
38825 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38826 (verify_persistent_db): Handle netgrdb.
38827 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38828 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38830 (netgroup_response_header): Define.
38831 (innetgroup_response_header): Define.
38832 (datahead): Add netgroup_response_header and innetgroup_response_header
38834 * nscd/nscd.conf: Add entries for netgroup cache.
38835 * nscd/nscd.h (dbtype): Add netgrdb.
38836 (_PATH_NSCD_NETGROUP_DB): Define.
38837 (netgroup_iov_disabled): Declare.
38838 (xmalloc, xcalloc, xrealloc): Move declarations here.
38839 (cache_search): Adjust prototype.
38840 Add netgroup-related prototypes.
38841 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38842 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38843 (__nscd_innetgr): Declare.
38844 * nscd/selinux.c (perms): Use access_vector_t as element type and
38845 add netgroup-related initializers.
38846 * nscd/netgroupcache.c: New file.
38847 * nscd/nscd_netgroup.c: New file.
38848 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38849 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38850 For four parameters use innetgr.
38851 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38852 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38853 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38854 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38856 * nscd/connections.c (register_traced_file): Don't register file
38857 for disabled databases.
38859 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38861 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38863 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38864 from tree and freeing node.
38866 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38868 * nss/nsswitch.c (__nss_database_lookup): Handle
38869 nss_parse_service_list out of memory case.
38871 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38873 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38874 out of memory case.
38876 2011-10-04 Andreas Schwab <schwab@redhat.com>
38878 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38879 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38881 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38882 elf_machine_rela, elf_machine_lazy_rel.
38883 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38884 (ELF_DYNAMIC_DO_REL): Likewise.
38885 (ELF_DYNAMIC_DO_RELA): Likewise.
38886 (ELF_DYNAMIC_RELOCATE): Likewise.
38887 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38888 to ELF_DYNAMIC_DO_REL.
38889 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38890 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38891 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38893 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38894 skip_ifunc, don't call ifunc function if non-zero.
38895 (elf_machine_rela): Likewise.
38896 (elf_machine_lazy_rel): Likewise.
38897 (elf_machine_lazy_rela): Likewise.
38898 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38899 (elf_machine_lazy_rel): Likewise.
38900 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38902 (elf_machine_lazy_rel): Likewise.
38903 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38905 (elf_machine_lazy_rel): Likewise.
38906 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38907 (elf_machine_lazy_rel): Likewise.
38908 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38909 (elf_machine_lazy_rel): Likewise.
38910 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38911 (elf_machine_lazy_rel): Likewise.
38912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38913 (elf_machine_lazy_rel): Likewise.
38914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38915 (elf_machine_lazy_rel): Likewise.
38916 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38917 (elf_machine_lazy_rel): Likewise.
38919 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38921 * nss/nss_files/files-init.c (_nss_files_init): Use static
38922 initialization for all the *_traced_file variables.
38924 2011-09-28 Andreas Schwab <schwab@redhat.com>
38926 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38928 2011-09-27 Roland McGrath <roland@hack.frob.com>
38931 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38933 2011-09-27 Andreas Schwab <schwab@redhat.com>
38935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38936 Reread the line before reparsing it.
38938 2011-09-26 Andreas Schwab <schwab@redhat.com>
38940 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38942 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38943 Maxim Kuvyrkov <maxim@codesourcery.com>
38944 Joseph Myers <joseph@codesourcery.com>
38946 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38947 if needed for __stack_chk_guard.
38949 2011-09-19 Roland McGrath <roland@hack.frob.com>
38951 * sysdeps/posix/spawni.c (script_execute): Always define it.
38952 It will be optimized away if unused.
38953 (maybe_script_execute): New function.
38954 (__spawni): Call it.
38956 * Makerules: Don't include tls.make.
38957 (config-tls): Always set to thread.
38958 * tls.make.c: File removed.
38960 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38962 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38963 * config.make.in (CPPFLAGS-config): New substituted variable.
38965 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38967 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38970 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38971 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38973 2011-09-15 Roland McGrath <roland@hack.frob.com>
38975 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38976 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38977 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38978 (CALL_FAIL): Likewise.
38979 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38980 (CALL_FAIL): Macro removed.
38981 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38983 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38985 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38986 for __FINITE_MATH_ONLY__ == 1.
38988 2011-09-15 Andreas Schwab <schwab@redhat.com>
38990 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38991 __ieee754_sqrt instead of sqrt.
38992 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38993 __ieee754_sqrtf instead of sqrtf.
38994 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38995 __floorf instead of floorf.
38996 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38997 __floorf, __truncf instead of floorf, truncf.
38999 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39001 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39003 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39004 __extern_always_inline.
39005 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39008 2011-09-14 Andreas Schwab <schwab@redhat.com>
39010 * elf/rtld.c (dl_main): Also relocate in dependency order when
39011 doing symbol dependency testing.
39013 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39015 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39016 Always define `refsym'.
39018 2011-09-13 Andreas Schwab <schwab@redhat.com>
39020 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39021 (__FD_ELT): Renamed from __FDELT.
39022 * misc/bits/select2.h (__FD_ELT): Likewise.
39023 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39024 __FD_MASK instead of __FDELT, __FDMASK.
39025 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39027 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39030 * elf/Makefile (gen-ldd): Fix pattern.
39032 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39033 (init_tls): Likewise.
39035 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39037 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39039 2011-09-12 Andreas Schwab <schwab@redhat.com>
39041 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39042 `struct cmsghdr *' instead of `void *'.
39043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39046 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39048 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39050 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39051 ldd_rewrite_script.
39053 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39055 * configure.in: Remove --with-tls option.
39056 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39057 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39058 out in case it is missing.
39059 * sysdeps/ia64/elf/configure.in: Likewise.
39060 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39061 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39062 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39063 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39064 * sysdeps/sh/elf/configure.in: Likewise.
39065 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39066 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39067 * sysdeps/x86_64/elf/configure.in: Likewise.
39068 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39069 * sysdeps/mach/hurd/tls.h: Likewise.
39072 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39075 * configure.in: Fix use of AC_INIT.
39077 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39079 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39081 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39083 * malloc/hooks.c: Likewise.
39086 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39087 variables statically.
39088 (narenas): Initialize.
39089 (list_lock): Initialize.
39090 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39091 initializtion of main_arena and list_lock. Small cleanups.
39092 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39093 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39094 Add initializers to main_arena and mp_.
39095 (malloc_state): Remove pagesize member. Change all users to use
39098 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39099 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39100 is always initialized.
39102 * malloc/malloc.c: Removed unused configurations and dead code.
39103 * malloc/arena.c: Likewise.
39104 * malloc/hooks.c: Likewise.
39105 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39107 * include/tls.h: Removed. USE___THREAD must always be defined.
39108 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39109 * elf/dl-libc.c: Likewise.
39110 * elf/dl-tsd.c: Likewise.
39111 * include/errno.h: Likewise.
39112 * include/netdb.h: Likewise.
39113 * include/resolv.h: Likewise.
39114 * inet/herrno-loc.c: Likewise.
39115 * inet/herrno.c: Likewise.
39116 * malloc/arena.c: Likewise.
39117 * malloc/hooks.c: Likewise.
39118 * malloc/malloc.c: Likewise.
39119 * resolv/res-state.c: Likewise.
39120 * resolv/res_libc.c: Likewise.
39121 * sysdeps/i386/dl-machine.h: Likewise.
39122 * sysdeps/ia64/dl-machine.h: Likewise.
39123 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39124 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39125 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39126 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39127 * sysdeps/sh/dl-machine.h: Likewise.
39128 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39129 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39130 * sysdeps/unix/i386/sysdep.S: Likewise.
39131 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39132 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39133 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39134 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39137 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39139 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39141 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39142 * sysdeps/x86_64/dl-machine.h: Likewise.
39143 * tls.make.c: Likewise.
39145 * configure.in: Remove --with-__thread option. Make tests for
39146 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39147 tls_model attribute fail if no support is available. Remove
39149 * Makeconfig: Adjust for dropped configure option. All features are
39151 * Makerules: Likewise.
39152 * Versions.def: Likewise.
39153 * argp/argp-fmtstream.c: Likewise.
39154 * argp/argp-fmtstream.h: Likewise.
39155 * argp/argp-help.c: Likewise.
39156 * assert/assert.c: Likewise.
39157 * config.h.in: Likewise.
39158 * config.make.in: Likewise.
39159 * configure: Likewise.
39160 * configure.in: Likewise.
39161 * csu/Versions: Likewise.
39162 * csu/init.c: Likewise.
39163 * elf/tst-audit2.c: Likewise.
39164 * elf/tst-tls10.c: Likewise.
39165 * elf/tst-tls10.h: Likewise.
39166 * elf/tst-tls11.c: Likewise.
39167 * elf/tst-tls12.c: Likewise.
39168 * elf/tst-tls14.c: Likewise.
39169 * elf/tst-tlsmod11.c: Likewise.
39170 * elf/tst-tlsmod12.c: Likewise.
39171 * elf/tst-tlsmod13.c: Likewise.
39172 * elf/tst-tlsmod13a.c: Likewise.
39173 * elf/tst-tlsmod14a.c: Likewise.
39174 * elf/tst-tlsmod15b.c: Likewise.
39175 * elf/tst-tlsmod16a.c: Likewise.
39176 * elf/tst-tlsmod16b.c: Likewise.
39177 * elf/tst-tlsmod7.c: Likewise.
39178 * elf/tst-tlsmod8.c: Likewise.
39179 * elf/tst-tlsmod9.c: Likewise.
39180 * gmon/gmon.c: Likewise.
39181 * grp/fgetgrent_r.c: Likewise.
39182 * grp/putgrent.c: Likewise.
39183 * hurd/fopenport.c: Likewise.
39184 * include/libc-symbols.h: Likewise.
39185 * include/tls.h: Likewise.
39186 * intl/gettextP.h: Likewise.
39187 * intl/loadinfo.h: Likewise.
39188 * locale/global-locale.c: Likewise.
39189 * locale/localeinfo.h: Likewise.
39190 * mach/devstream.c: Likewise.
39191 * malloc/arena.c: Likewise.
39192 * malloc/set-freeres.c: Likewise.
39193 * misc/err.c: Likewise.
39194 * misc/getttyent.c: Likewise.
39195 * misc/mntent_r.c: Likewise.
39196 * posix/getopt.c: Likewise.
39197 * posix/wordexp.c: Likewise.
39198 * pwd/fgetpwent_r.c: Likewise.
39199 * resolv/Versions: Likewise.
39200 * resolv/res_hconf.c: Likewise.
39201 * shadow/fgetspent_r.c: Likewise.
39202 * shadow/putspent.c: Likewise.
39203 * stdio-common/printf_fphex.c: Likewise.
39204 * stdio-common/tmpfile.c: Likewise.
39205 * stdlib/abort.c: Likewise.
39206 * stdlib/fmtmsg.c: Likewise.
39207 * sunrpc/auth_unix.c: Likewise.
39208 * sunrpc/clnt_perr.c: Likewise.
39209 * sunrpc/clnt_tcp.c: Likewise.
39210 * sunrpc/clnt_udp.c: Likewise.
39211 * sunrpc/clnt_unix.c: Likewise.
39212 * sunrpc/openchild.c: Likewise.
39213 * sunrpc/svc_simple.c: Likewise.
39214 * sunrpc/svc_tcp.c: Likewise.
39215 * sunrpc/svc_udp.c: Likewise.
39216 * sunrpc/svc_unix.c: Likewise.
39217 * sunrpc/xdr.c: Likewise.
39218 * sunrpc/xdr_array.c: Likewise.
39219 * sunrpc/xdr_rec.c: Likewise.
39220 * sunrpc/xdr_ref.c: Likewise.
39221 * sunrpc/xdr_stdio.c: Likewise.
39223 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39225 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39227 2011-07-03 Andreas Jaeger <aj@suse.de>
39229 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39230 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39231 regenerate with gen-libm-tests.pl.
39233 2010-05-12 Petr Baudis <pasky@suse.cz>
39236 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39237 around j0() zero points by switching to j1().
39238 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39239 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39241 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39243 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39245 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39247 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39249 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39250 Patch in part by Pavel Roskin <proski@gnu.org>.
39253 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39255 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39256 Free memory block if necessary.
39259 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39260 be NULL. Don't lock in this case.
39262 2011-09-09 Roland McGrath <roland@hack.frob.com>
39264 * elf/elf.h (ELFOSABI_GNU): New macro.
39265 (ELFOSABI_LINUX): Define to that.
39267 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39269 * string/strncat.c (strncat): Undef the symbol in case it has been
39270 defined in bits/string.h.
39272 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39274 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39276 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39279 2011-08-17 Andreas Jaeger <aj@suse.de>
39281 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39283 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39284 Ian Lance Taylor <iant@google.com>
39286 * math/libm-test.inc (lround_test): New testcase.
39287 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39289 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39291 * Makefile: Remove support for automatic cvs check-ins.
39292 * Makerules: Likewise.
39293 * config.make.in: Likewise.
39294 * configure.in: Likewise.
39295 * intl/Makefile: Likewise.
39296 * locale/Makefile: Likewise.
39297 * po/Makefile: Likewise.
39298 * posix/Makefile: Likewise.
39299 * sysdeps/gnu/Makefile: Likewise.
39300 * sysdeps/mach/hurd/Makefile: Likewise.
39301 * sysdeps/sparc/sparc32/Makefile: Likewise.
39304 * posix/Makefile (bug-regex32-ENV): Define.
39305 Patch by John Stanley <jpsinthemix@verizon.net>.
39307 * misc/Makefile (headers): Add bits/select2.h.
39308 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39309 * misc/bits/select2.h: New file.
39310 * include/bits/select2.h: New file.
39311 * debug/Makefile (routines): Add fdelt_chk.
39312 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39313 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39315 * debug/fdelt_chk.c: New file.
39317 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39318 * wcsmbs/test-wmemcmp.c: Likewise.
39319 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39320 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39322 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39324 * string/Makefile (strop-tests): Add memcmp.
39325 * string/test-wmemcmp.c: New file.
39326 * string/test-memcmp.c: Add wmemcmp support.
39328 2011-09-08 Roland McGrath <roland@hack.frob.com>
39331 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39334 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39335 garbage value in a __mach_port_mod_refs call in the cases of the
39336 task-self and thread-self ports.
39338 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39340 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39342 2011-09-08 Andreas Schwab <schwab@redhat.com>
39344 * elf/dl-load.c (lose): Check for non-null L.
39346 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39348 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39350 * elf/dl-libc.c (dlerror_run): Pass back error code from
39354 * elf/dl-load.c (lose): Free l_origin if it is valid.
39356 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39358 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39359 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39360 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39361 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39362 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39363 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39365 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39367 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39368 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39369 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39370 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39371 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39372 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39373 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39374 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39375 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39376 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39378 2011-08-15 Alan Modra <amodra@gmail.com>
39381 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39382 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39383 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39384 ppc_mcount to static-only-routines.
39385 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39387 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39388 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39390 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39392 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39393 for finite and infinity parameters.
39395 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39397 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39398 and add nop instructions for throughput optimization.
39399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39401 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39403 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39404 aligned copy for power7 with vector-scalar instructions.
39405 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39407 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39412 2011-09-07 Andreas Schwab <schwab@redhat.com>
39415 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39418 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39420 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39421 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39422 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39423 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39426 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39428 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39429 Forgot to demangle the pointer.
39431 * sysdeps/i386/sysdep.h: Define atom_text_section.
39432 * sysdeps/x86_64/sysdep.h: Likewise.
39433 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39434 section with atom_text_section.
39435 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39436 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39437 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39438 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39439 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39441 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39442 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39443 already be defined. Change to take two parameters and don't assign
39444 result to variable. Adjust all users.
39445 Define INTERNAL_GETTIME if not already defined.
39446 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39449 HAVE_CLOCK_GETTIME_VSYSCALL.
39450 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39453 gettimeofday vsyscall, just use time.
39455 2011-09-06 Andreas Schwab <schwab@redhat.com>
39457 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39460 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39462 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39466 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39467 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39468 syscall if possible.
39470 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39472 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39473 e_ident. Don't pass to find_mapsXX.
39474 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39476 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39479 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39480 * sysdeps/x86_64/multiarch/strchr.S: Update.
39481 Check bit_slow_BSF bit.
39482 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39483 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39484 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39486 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39489 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39491 (tryshell): Define.
39492 (__spawni): Change last parameter to be flag. Test
39493 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39494 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39495 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39496 * posix/spawni.c: Likewise.
39497 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39498 * posix/spawnp.c: Likewise. Change normal version to use
39499 SPAWN_XFLAGS_USE_PATH.
39500 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39501 SPAWN_XFLAGS_TRY_SHELL.
39504 * posix/glob.h: Remove gcc 1.x support.
39507 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39509 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39512 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39514 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39515 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39516 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39517 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39518 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39521 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39523 * sysdeps/x86_64/wcscmp.S: New file.
39525 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39526 wcscmp-c wcscmp-sse2
39527 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39528 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39529 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39530 * wcsmbs/wcscmp.c: Allow renaming.
39532 2011-09-05 David S. Miller <davem@davemloft.net>
39534 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39535 stack slot, rather than the struct return pointer slot.
39536 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39537 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39539 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39541 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39543 * po/ja.po: Update from translation team.
39546 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39547 kernel in 64-bit binaries.
39549 2011-09-01 David S. Miller <davem@davemloft.net>
39551 * elf/elf.h (HWCAP_SPARC_*): Move to..
39552 * sysdeps/sparc/sysdep.h: this new file and add new values.
39553 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39554 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39555 _DL_HWCAP_COUNT to 24.
39556 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39558 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39559 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39560 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39562 instead of magic constants.
39563 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39565 2011-08-31 David S. Miller <davem@davemloft.net>
39567 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39569 Reimplement to do errno handling inline.
39570 (SYSCALL_ERROR_HANDLER): New macro.
39571 (__SYSCALL_STRING): Do not do errno handling in asm.
39572 (__CLONE_SYSCALL_STRING): Delete.
39573 (__INTERNAL_SYSCALL_STRING): Delete.
39574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39575 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39576 (PSEUDO): Reimplement to do errno handling inline.
39577 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39578 (SYSCALL_ERROR_HANDLER): New macro.
39579 (__SYSCALL_STRING): Do not do errno handling in asm.
39580 (__CLONE_SYSCALL_STRING): Delete.
39581 (__INTERNAL_SYSCALL_STRING): Delete.
39582 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39583 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39585 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39586 (inline_syscall*): Add 'err' argument.
39587 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39588 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39589 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39590 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39592 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39593 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39595 2011-08-30 Andreas Schwab <schwab@redhat.com>
39597 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39599 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39601 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39604 2011-08-24 David S. Miller <davem@davemloft.net>
39606 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39608 2011-08-24 Andreas Schwab <schwab@redhat.com>
39610 * elf/Makefile: Add rules to build and run unload8 test.
39611 * elf/unload8.c: New file.
39612 * elf/unload8mod1.c: New file.
39613 * elf/unload8mod1x.c: New file.
39614 * elf/unload8mod2.c: New file.
39615 * elf/unload8mod3.c: New file.
39617 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39620 2011-08-23 David S. Miller <davem@davemloft.net>
39622 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39623 subtract stack bias.
39624 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39625 %sp not %fp in calculations.
39626 (_JMPBUF_UNWINDS_ADJ): Likewise.
39628 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39629 (aio_suspend): Call it to force an exception region around the
39630 AIO_MISC_WAIT() invocation.
39632 2011-08-23 Andreas Schwab <schwab@redhat.com>
39634 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39637 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39639 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39641 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39642 and <dl-machine.h>.
39643 (Elf64_FuncDesc): Remove.
39645 2011-08-22 David S. Miller <davem@davemloft.net>
39647 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39648 sigaltstack check, add missing cfi directives.
39649 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39650 missing cfi directives, and sigaltstack handling.
39652 2011-08-16 Andreas Schwab <schwab@redhat.com>
39655 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39656 object is seen twice.
39657 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39659 * elf/Makefile (distribute): Add tst-initorder2.c.
39660 (tests): Add tst-initorder2.
39661 (modules-names): Add tst-initorder2a tst-initorder2b
39662 tst-initorder2c tst-initorder2d. Add rules to build them.
39663 ($(objpfx)tst-initorder2.out): New rule.
39664 * elf/tst-initorder2.c: New file.
39665 * elf/tst-initorder2.exp: New file.
39667 2011-08-22 Andreas Schwab <schwab@redhat.com>
39669 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39671 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39672 dependencies back to end of function.
39674 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39675 $(elfobjdir)/ld.so.
39677 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39680 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39682 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39683 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39684 of __vdso_gettimeofday.
39685 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39686 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39688 (_libc_vdso_platform_setup): Remove initialization of
39689 __vdso_gettimeofday and __vdso_time.
39691 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39693 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39694 and fgetc_unlocked.
39695 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39698 * elf/dl-open.c (add_to_global): Report additions to the global scope
39699 for LD_DEBUG=scopes.
39700 (dl_open_worker): Also print scope of newly loaded dependencies.
39701 (_dl_show_scope): Indicate if there is no scope.
39704 * stdio-common/Makefile (tests): Add bug24.
39705 * stdio-common/bug24.c: New file.
39707 2011-08-19 Andreas Jaeger <aj@suse.de>
39710 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39711 non-existant file when using close-on-exec mode.
39713 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39716 the very first instruction.
39718 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39719 the CFI state in the end.
39720 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39721 inclusion of dl-trampoline.h.
39722 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39724 2011-08-19 Andreas Schwab <schwab@redhat.com>
39726 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39727 expectations for long double.
39729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39730 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39732 2011-08-14 David S. Miller <davem@davemloft.net>
39734 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39735 artificual limit depends upon the system page size.
39737 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39739 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39740 * resolv/Makefile: Define CFLAGS-libresolv.
39742 2011-08-17 Andreas Schwab <schwab@redhat.com>
39744 * nss/makedb.c (compute_tables): Make variables used in nested
39747 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39749 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39750 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39751 if buffer was too small.
39753 * elf/pldd.c (main): Attach to all threads in the process.
39754 Rewrite /proc handling to use *at functions.
39756 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39758 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39759 specifies first scope to show.
39760 (dl_open_worker): Update callers. Move printing scope of new
39761 object to before the relocation.
39762 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39763 * sysdeps/generic/ldsodefs.h: Update declaration.
39765 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39766 string for the scope number.
39768 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39770 * nscd/servicescache.c (cache_addserv): Make sure written is always
39773 2011-08-14 Roland McGrath <roland@hack.frob.com>
39775 * sysdeps/i386/i486/bits/atomic.h
39776 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39777 statement expression, so as to suppress "set but not used" warning.
39778 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39780 * string/strncat.c (STRNCAT): Use prototype definition.
39782 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39783 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39785 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39786 (localedef-modules): Add localedef.
39787 (locale-modules): Add locale.
39789 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39790 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39791 to avoid a warning.
39793 2011-08-14 David S. Miller <davem@davemloft.net>
39795 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39796 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39798 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39800 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39801 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39802 * elf/rtld.c (dl_main): Set l_name of vDSO.
39803 Call _dl_show_scope when DL_DEBUG_SCOPES.
39804 (process_dl_debug): Recognize scopes flag and also set it for all.
39805 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39806 Declare _dl_show_scope.
39808 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39809 (do_dlopen): Pass caller_dlopen to dl_open.
39810 (__libc_dlopen_mode): Initialize caller_dlopen.
39812 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39813 of libc. Make tolower call locale-independent. Optimize a bit by
39814 using isdigit instead of isalnum.
39815 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39817 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39819 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39820 was a dependency or dynamically loaded.
39822 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39824 * intl/l10nflist.c: Allow architecture-specific pop function.
39825 * sysdeps/x86_64/l10nflist.c: New file.
39827 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39830 2011-08-10 Andreas Schwab <schwab@redhat.com>
39832 * include/dirent.h: Add libc_hidden_proto for scandirat and
39833 scandirat64. Don't declare __scandirat64.
39834 * dirent/scandirat.c: Add libc_hidden_def.
39835 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39836 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39838 2011-08-10 David S. Miller <davem@davemloft.net>
39840 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39842 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39843 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39844 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39846 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39848 * Versions.def [libc]: Add GLIBC_2.15.
39849 * dirent/Makefile (routines): Add scandirat and scandirat64.
39850 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39852 * dirent/dirent.h: Declare scandirat and scandirat64.
39853 * dirent/scandirat.c: New file.
39854 * dirent/scandirat64.c: New file.
39855 * sysdeps/wordsize-64/scandirat.c: New file.
39856 * sysdeps/wordsize-64/scandirat64.c: New file.
39857 * dirent/opendir.c: Define opendirat.
39858 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39860 * dirent/scandir64.c: Adjust for scandir.c change.
39861 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39862 __scandirat64, and __scandir_cancel_handler.
39863 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39864 additional parameter and use openat instead of open (outside of ld.so).
39865 Add new __opendir as wrapper around __opendirat.
39866 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39867 here without requiring old scandirat implementation.
39869 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39871 * dirent/scandir.c (cancel_handler): Renamed to
39872 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39873 defined. Adjust users.
39874 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39875 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39877 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39879 * string/test-string.h (IMPL): Use __STRING to expand name and then
39882 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39885 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39887 * string/Makefile: Update.
39888 (strop-tests): Append strncat.
39889 * string/test-wcscmp.c: New file.
39890 New comprehensive test for wcscmp.
39891 * string/test-strcmp.c: Update.
39892 (WIDE): New define.
39894 2011-07-22 Andreas Schwab <schwab@redhat.com>
39896 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39899 2011-07-26 Andreas Schwab <schwab@redhat.com>
39901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39902 encoding to ACE if AI_IDN.
39904 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39907 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39909 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39911 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39912 Fix overflow bug in strncat.
39913 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39915 * string/test-strncat.c: Update.
39916 Add new tests for checking overflow bugs.
39918 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39921 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39922 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39923 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39924 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39925 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39926 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39927 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39928 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39930 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39931 (USE_AS_STRCAT): Define.
39932 Add strcat and strncat support.
39933 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39935 2011-07-25 Andreas Schwab <schwab@redhat.com>
39937 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39938 __n bigger than INT_MAX+1.
39939 (__strncmp_g): Likewise.
39941 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39943 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39944 * libio/stido.h: Likewise.
39946 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39951 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39953 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39954 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39955 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39958 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39963 (_dl_x86_64_save_sse): Likewise.
39965 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39967 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39969 (_dl_x86_64_save_sse): Likewise.
39971 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39973 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39975 2011-07-21 Andreas Schwab <schwab@redhat.com>
39977 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39979 (_dl_x86_64_save_sse): Use correct AVX check.
39981 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39983 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39984 bug in strncpy/strncat.
39985 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39987 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39989 * string/tester.c (test_strcat): Add tests for different alignments
39990 of source and destination.
39991 (test_strncat): Likewise.
39993 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39996 * posix/glob.c (glob): Check passed in values before using them in
39997 expressions to avoid some overflows.
39998 (glob_in_dir): Likewise.
40001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40002 check for AVX enablement so that we don't crash with old kernels and
40004 * elf/tst-audit4.c: Add same checks here.
40005 * elf/tst-audit6.c: Likewise.
40007 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40009 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40011 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40013 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40015 * po/cs.po: Update from translation team.
40016 * po/bg.po: Likewise.
40018 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40020 * misc/sys/cdefs.h: Add support for const attribute.
40021 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40022 to gnu_dev_{major,minor,makedev} functions.
40024 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40026 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40028 2011-07-20 Andreas Schwab <schwab@redhat.com>
40030 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40033 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40036 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40037 register in order to avoid conflicts with the soft frame pointer
40038 being held in r11 when necessary.
40039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40040 (INTERNAL_VSYSCALL_NCS): Likewise.
40042 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40044 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40045 * elf/dl-fini.c (_dl_fini): Adjust caller.
40046 * elf/dl-close.c (_dl_close_worker): Likewise.
40047 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40049 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40051 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40052 "aux_cache->nlibs < 0".
40054 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40055 in the reload-count case.
40057 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40060 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40061 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40062 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40063 * sysdeps/x86_64/multiarch/strcat.S: New file.
40064 * sysdeps/x86_64/multiarch/strncat.S: New file.
40065 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40066 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40067 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40068 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40069 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40070 (USE_AS_STRCAT): Define.
40071 Add strcat and strncat support.
40072 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40073 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40074 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40075 * string/strncat.c: Update.
40076 (USE_AS_STRNCAT): Define.
40077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40078 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40080 * sysdeps/x86_64/multiarch/init-arch.h
40081 (bit_Prefer_PMINUB_for_stringop): New.
40082 (index_Prefer_PMINUB_for_stringop): Likewise.
40083 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40084 bit_Prefer_PMINUB_for_stringop.
40086 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40088 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40090 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40091 of casting of buffer.
40092 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40093 buffer32 and buffer64.
40094 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40095 writes instead of casting of buffer.
40096 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40098 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40101 2011-07-19 Andreas Schwab <schwab@redhat.com>
40103 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40105 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40107 * nscd/nscd.c (termination_handler): Don't do anything for a database
40108 if it has not yet been initialized.
40110 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40112 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40114 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40116 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40118 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40120 * po/nl.po: Update from translation team.
40121 * po/sv.po: Likewise.
40123 2011-07-16 Roland McGrath <roland@hack.frob.com>
40125 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40126 now disallowed by GCC.
40128 * configure.in (use-default-link): Default to yes if a test -shared
40129 link meets our qualifications.
40130 * configure: Regenerated.
40132 * config.make.in (output-format): New variable.
40133 * configure.in: Check for ld --print-output-format support.
40134 * configure: Regenerated.
40135 * Makerules ($(common-objpfx)format.lds)
40136 [$(output-format) != unknown]: Just use $(output-format),
40137 instead of the linker-script munging.
40139 2011-07-14 Roland McGrath <roland@hack.frob.com>
40141 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40142 of $(common-objpfx)shlib.lds.
40143 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40145 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40146 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40148 * configure.in (-z relro check): Adjust test code to add a large
40149 writable data section after it.
40150 * configure: Regenerated.
40152 2011-07-11 Roland McGrath <roland@hack.frob.com>
40154 * configure.in (-z relro check): Fix test code to make the variable
40156 * configure: Regenerated.
40158 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40160 * nscd/nscd.h (struct traced_file): Define.
40161 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40162 elements. Add traced_files.
40163 (inotify_fd): Declare.
40164 (register_traced_file): Declare.
40165 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40166 (inotify_fd): Export.
40167 (resolv_conf_descr): Remove.
40168 (nscd_init): Move inotify descriptor creation to main.
40169 Don't register files for notification here.
40170 (register_traced_file): New function.
40171 (invalidate_cache): Don't use reset_res to determine whether to call
40172 res_init, go through the list of registered files.
40173 (main_loop_poll): The inotify descriptors are now stored in the
40174 structures for the traced files.
40175 (main_loop_epoll): Likewise
40176 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40177 to __nss_disable_nscd.
40178 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40179 for a database anymore. Check the records for all the registered
40181 * nss/Makefile (libnss_files-routines): Add files-init.
40182 (libnss_db-routines): Add db-init.
40183 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40184 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40185 * nss/nss_db/db-init.c: New file.
40186 * nss/nss_files/files-init.c: New file.
40187 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40188 __nss_lookup_function.
40189 (__nss_lookup_function): Call nss_load_library.
40190 (nss_load_all_libraries): New function.
40191 (__nss_disable_nscd): Take parameter with callback function for files
40192 to register. Set is_nscd. Load all the DSOs for the NSS modules
40193 used for the cached services.
40194 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40195 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40196 options for features to all the files in nscd.
40198 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40200 2011-07-10 Roland McGrath <roland@hack.frob.com>
40202 * csu/elf-init.c (__libc_csu_init): Comment typo.
40204 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40206 * po/pl.po: Update from translation team.
40207 * po/ja.po: Likewise.
40208 * po/ru.po: Likewise.
40209 * po/ko.po: Likewise.
40210 * po/fr.po: Likewise.
40212 2011-07-09 Roland McGrath <roland@hack.frob.com>
40214 * configure.in (.ctors/.dtors header and trailer check):
40215 Use an empirical test on a built program.
40216 * configure: Regenerated.
40218 * configure.in (-z relro check): Use an empirical test on a built DSO.
40219 Detect, but do not require, on ia64.
40220 * configure: Regenerated.
40222 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40223 Update tests that use readelf to use $READELF instead.
40224 * configure: Regenerated.
40226 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40228 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40229 if the result is not used.
40231 2011-07-05 Andreas Jaeger <aj@suse.de>
40234 * stdlib/tst-strtod.c: Add testcase.
40236 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40238 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40239 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40240 The latter has a higher limit. Take additional parameter to pass to
40242 (__pathconf): Pass file to __statfs_link_max.
40243 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40245 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40249 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40250 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40252 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40253 (__statfs_filesize_max): Likewise.
40254 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40256 2011-07-05 Andreas Jaeger <aj@suse.de>
40258 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40260 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40262 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40264 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40267 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40269 * Makefile (strop-tests): Add strncat.
40270 * string/test-strncat.c: New file.
40272 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40274 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40276 2011-06-21 Andreas Jaeger <aj@suse.de>
40278 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40279 Copy rule from iconvdata/Makefile.
40281 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40284 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40285 but no long options are defined, just return 'W'.
40287 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40290 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40292 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40294 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40296 (innetgr): Likewise.
40298 2011-07-05 Roland McGrath <roland@hack.frob.com>
40300 * config.make.in (install_root): Default to $(DESTDIR).
40302 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40304 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40306 2011-07-02 Roland McGrath <roland@hack.frob.com>
40308 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40310 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40311 containing directory rather than embedding absolute directory names.
40313 * scripts/check-local-headers.sh: Rewritten using awk.
40314 Match by word, not by line. Print error messages for matches.
40315 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40317 * Makerules [shlib-lds-flags empty]:
40318 ($(common-objpfx)libc_pic.opts): New target.
40319 ($(common-objpfx)libc_pic.os.clean): New target.
40320 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40322 * config.make.in (OBJCOPY): New variable.
40323 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40324 * configure: Regenerated.
40326 * config.make.in (use-default-link): New variable.
40327 * configure.in (use_default_link): Grok --with-default-link to set it.
40328 * configure: Regenerated.
40329 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40330 (shlib-lds, shlib-lds-flags): Define to empty.
40332 * Makerules (shlib-lds): New variable.
40333 (shlib-lds-flags): New variable.
40334 (build-shlib, build-moduile, build-module-asneeded): Use it.
40335 ($(common-objpfx)libc.so): Use $(shlib-lds).
40336 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40337 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40339 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40340 DT_FLAGS/DT_FLAGS_1 with zero flags.
40342 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40343 linker script munging.
40345 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40347 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40349 * crypt/sha512.c (sha512_process_block): Perform total addition using
40350 128-bit if possible.
40351 (__sha512_finish_ctx): Likewise.
40352 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40354 * crypt/sha256.c (SWAP64): Define.
40355 (sha256_process_block): Perform total addition using 64-bit if
40357 (__sha256_finish_ctx): Likewise.
40359 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40361 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40363 * nscd/hstcache.c (cache_addhst): Likewise.
40364 * nscd/grpcache.c (cache_addgr): Likewise.
40365 * nscd/aicache.c (addhstaiX): Likewise
40366 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40368 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40370 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40371 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40372 * nscd/hstcache.c (cache_addhst): Likewise.
40373 * nscd/grpcache.c (cache_addgr): Likewise.
40374 * nscd/aicache.c (addhstaiX): Likewise
40376 2011-07-01 Andreas Schwab <schwab@redhat.com>
40378 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40379 domain only when needed.
40381 2011-06-30 Andreas Schwab <schwab@redhat.com>
40383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40384 is always restored.
40386 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40388 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40389 are re-adding the entry.
40390 * nscd/servicescache.c (cache_addserv): Likewise.
40392 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40394 * sysdeps/generic/dl-irel.h: fix protection against multiple
40396 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40398 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40401 * malloc/memusage.sh: Fix quoting in message.
40402 * debug/xtrace.sh: Likewise.
40404 * configure.in: Remove support for --experimental-malloc option, make
40406 * config.make.in: Likewise.
40407 * malloc/Makefile: Likewise.
40409 2011-06-27 Andreas Schwab <schwab@redhat.com>
40411 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40412 two-byte characters.
40414 2011-06-27 Roland McGrath <roland@hack.frob.com>
40416 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40417 AC_CACHE_CHECK invocation.
40418 * configure: Regenerated.
40420 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40422 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40425 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40426 bit from old_res_options.
40428 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40430 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40431 value type for setfct.
40433 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40436 __gettimeofday instead of gettimeofday.
40438 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40440 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40442 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40444 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40449 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40452 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40453 strcpy-sse2-unaligned strncpy-sse2-unaligned
40454 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40455 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40456 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40457 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40458 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40459 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40461 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40462 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40463 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40464 (STRCPY): Support SSE2 and SSSE3 versions.
40466 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40469 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40470 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40471 kernels which artificially limit size of requests.
40473 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40476 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40477 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40478 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40479 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40480 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40481 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40482 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40483 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40485 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40486 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40487 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40488 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40489 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40491 Enable unaligned load optimization for Intel Core i3, i5 and i7
40493 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40495 (index_Fast_Unaligned_Load): Define.
40496 (HAS_FAST_UNALIGNED_LOAD): Define.
40498 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40500 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40502 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40506 until it is clear that the information is realy needed.
40507 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40509 2011-06-22 Andreas Schwab <schwab@redhat.com>
40511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40513 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40515 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40516 /sys/devices/system/cpu/online if it is usable.
40518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40519 reading the information from the /proc filesystem to once a second.
40521 2011-06-21 Andreas Jaeger <aj@suse.de>
40523 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40524 NULL after inclusion of kernel headers.
40526 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40528 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40529 calls to internal_setent.
40532 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40533 addresses using gethostbyname4_r ignore IPv4 addresses.
40535 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40536 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40538 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40540 2011-06-20 David S. Miller <davem@davemloft.net>
40542 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40544 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40546 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40547 (elf_irel): Use it.
40548 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40549 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40550 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40551 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40552 * sysdeps/x86_64/dl-irel.h: Likewise.
40554 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40555 * elf/dl-sym.c: Likewise.
40557 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40559 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40560 need to dereference resplen2.
40562 2011-06-14 Andreas Schwab <schwab@redhat.com>
40564 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40566 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40568 * Makeconfig: Define vardbdir and inst_vardbdir.
40569 * nss/Makefile: Add rules to install db-Makefile.
40571 * nss/nss_db/db-XXX.c: Cleanup.
40573 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40574 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40576 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40577 * nss/makedb.c: Implement -g option to specify that value strings
40578 are generated and should not be added to table iterated over for
40580 * nss/nss_db/db-initgroups.c: New file.
40582 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40585 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40586 (internal_getgrouplist): Adjust to name change.
40587 Update use_initgroups_entry if this is not the first call.
40588 * nss/databases.def: Add initgroups entry.
40590 * nss/makedb.c (compute_tables): Check result of multiple hash table
40591 sizes to minimize maximum chain length.
40593 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40595 * Versions.def: Add entry for libnss_db.
40596 * shlib-versions: Likewise.
40597 * nss/Makefile: Add rules to build libnss_db.
40598 * nss/Versions: Add libnss_db information. Organize libnss_files
40600 * nss/db-Makefile: Add gshadow support. Change rules for the new
40601 makedb progra. Some minor improvements to generate smaller files.
40602 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40604 * nss/makedb.c: ...here.
40605 Improve database format to be smaller and require less memory at
40607 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40609 * nss/nss_db/db-netgrp.c: Likewise.
40610 * nss/nss_db/db-open.c: Likewise.
40611 * nss/nss_files/flies-XXX.x: Adjust comments.
40612 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40613 * nss/nss_files/files-grp.c: Likewise.
40614 * nss/nss_files/files-hosts.c: Likewise.
40615 * nss/nss_files/files-network.c: Likewise.
40616 * nss/nss_files/files-proto.c: Likewise.
40617 * nss/nss_files/files-pwd.c: Likewise.
40618 * nss/nss_files/files-rpc.c: Likewise.
40619 * nss/nss_files/files-service.c: Likewise.
40620 * nss/nss_files/files-sgrp.c: Likewise.
40621 * nss/nss_files/files-spwd.c: Likewise.
40622 * nss/nss_db/db-alias.c: Removed.
40623 * nss/nss_db/dummy-db.h: Removed.
40625 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40627 * nss/makedb.c: Rewritten to not use database library.
40628 * nss/Makefile: Update to build new makedb program.
40630 2011-06-14 Andreas Jaeger <aj@suse.de>
40632 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40633 memset declaration.
40635 2011-06-10 Andreas Schwab <schwab@redhat.com>
40637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40640 2011-06-10 Roland McGrath <roland@hack.frob.com>
40642 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40643 * elf/Makefile ($(objpfx)ld.so): Likewise.
40645 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40646 Don't list ld.so twice in dependencies.
40648 * posix/bug-regex31.c: Include <stdlib.h>.
40650 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40652 * nis/nss_compat/compat-spwd.c
40653 (getspent_next_nss_netgr): Remove unused variable.
40654 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40656 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40657 nonmembers" output to use the right array.
40659 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40661 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40663 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40664 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40665 * catgets/gencat.c (read_input_file): Likewise.
40666 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40668 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40669 variable definition inside #if's controlling its use.
40671 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40673 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40675 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40677 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40680 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40682 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40683 * configure: Regenerated.
40685 * Makerules: Revert last change.
40686 * elf/Makefile: Likewise.
40688 2011-06-09 Roland McGrath <roland@hack.frob.com>
40690 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40691 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40692 (reloc-link): Likewise.
40694 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40696 * elf/Makefile: Add rules to build pldd.
40697 * elf/pldd.c: New file.
40698 * elf/pldd-xx.c: New file.
40700 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40702 * version.h: Update for 2.15 development version.
40704 2011-06-07 David S. Miller <davem@davemloft.net>
40706 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40708 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40709 elf_machine_lazy_rel): Likewise.
40710 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40711 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40712 elf_machine_lazy_rel): Likewise.
40713 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40714 dl_hwcap via passed in argument.
40715 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40718 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40720 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40722 2011-06-06 Roland McGrath <roland@hack.frob.com>
40725 * manual/fdl-1.1.texi: New file, verbatim from:
40726 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40727 * manual/lgpl-2.1.texi: New file, verbatim from:
40728 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40729 * manual/Makefile (licenses): New variable, list those new file names.
40731 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40733 * manual/fdl.texi: File removed.
40734 * manual/lesser.texi: File removed.
40735 * manual/libc.texinfo (Copying, Documentation License):
40736 Use new @include file names, put @appendix directive before @include.
40738 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40741 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40742 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40743 (mq_open): Add __NTH.
40745 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40748 Assume Intel Core i3/i5/i7 processor if AVX is available.
40750 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40755 2011-05-31 Andreas Schwab <schwab@redhat.com>
40757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40758 memory. Use alloca_account. Fix memory leak when retrying.
40760 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40762 * version.h (RELEASE): Bump for 2.14 release.
40763 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40765 * config.make.in (RANLIB): Remove entry.
40767 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40769 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40770 (libc.pot): Work around missing support for .ksh extension in xgettext.
40773 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40774 if both request failed.
40775 (send_dg): In case of server errors clear resplen or *resplen2.
40778 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40779 when there are multiple maps.
40780 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40781 (_dl_fini): Remove test here.
40783 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40785 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40788 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40789 bit from old_res_options.
40790 (gaih_inet): Likewise.
40793 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40796 * resolv/res_init.c (res_setoptions): Make the code more compact.
40799 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40803 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40805 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40808 * malloc/malloc.h: Declare malloc hook variables as volatile.
40810 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40814 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40815 raise in the comment.
40816 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40817 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40818 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40820 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40823 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40824 grow the buffers more if it already has to be sufficient.
40825 (build_wcs_upper_buffer): Likewise.
40826 * posix/regexec.c (check_matching): Likewise.
40827 (clean_state_log_if_needed): Likewise.
40828 (extend_buffers): Don't enlarge buffers beyond size of the input
40830 Patches mostly by Emil Wojak <emil@wojak.eu>.
40831 * posix/bug-regex32.c: New file.
40832 * posix/Makefile (tests): Add bug-regex32.
40834 * locale/findlocale.c (_nl_find_locale): Return right away if
40835 _nl_explode_name failed.
40836 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40838 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40840 * debug/xtrace.sh: Unify messages.
40841 * malloc/memusage.sh: Likewise.
40844 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40845 time symbol from vDSO. Substitute with vsyscall if not available.
40846 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40849 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40850 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40851 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40852 Add sendmmsg and internal_sendmmsg.
40853 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40854 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40855 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40857 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40858 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40859 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40861 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40864 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40865 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40867 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40871 * iconvdata/Makefile (tests): Add bug-iconv9.
40872 * iconvdata/bug-iconv9.c: New file.
40874 2011-05-27 Andreas Schwab <schwab@redhat.com>
40877 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40879 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40881 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40882 (struct user_regs_struct): Change intcs field back to cs.
40884 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40886 * po/ja.po: Update from translation team.
40888 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40891 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40892 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40894 2011-05-20 Andreas Schwab <schwab@redhat.com>
40896 * stdlib/longlong.h: Update from GCC.
40898 2011-05-23 Andreas Schwab <schwab@redhat.com>
40900 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40902 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40903 Add parameter name.
40904 (__sysconf): Pass it down.
40906 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40909 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40911 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40912 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40913 add in in __libc_use_alloca calls. Adjust callers.
40914 (glob): Use malloc in some situations.
40916 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40917 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40920 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40922 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40923 and CLOCK_BOOTTIME_ALARM.
40926 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40929 * string/_strerror.c (__strerror_r): Print negative errors as signed
40933 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40934 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40935 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40937 * configure.in: Fix typo in redirection and correct removal of test
40938 files in two cases.
40941 * locale/setlocale.c (new_composite_name): Fix test to check for
40942 identical name of all categories.
40945 * libio/filedoalloc.c (local_isatty): New function.
40946 (_IO_file_doallocate): Use local_isatty.
40947 * stdio-common/perror.c (perror): In case a new stream is used
40948 forward the stream error.
40949 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40952 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40957 * include/alloca.h (extend_alloca_account): Define.
40960 * posix/regex.h: Fix comments with documentation of user-accessible
40961 fields after compilation and describe correct free'ing of pattern
40962 after re_compile_pattern.
40963 Patch by Reuben Thomas <rrt@sc3d.org>.
40965 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40967 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40968 and -mno-altivec to prevent the compiler from using Altivec and/or
40969 VSX instructions when the corresponding registers are not available.
40971 2011-05-19 Andreas Schwab <schwab@redhat.com>
40973 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40975 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40977 * libio/freopen.c (freopen): Use __dup2, not dup2.
40978 * libio/freopen64.c (freopen64): Likewise.
40980 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40983 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40984 * math/Makefile (tests): Add test-powl.
40985 (CFLAGS-test-powl.c): Define.
40986 * math/test-powl.c: New file.
40988 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40990 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40992 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40995 * iconvdata/gb18030.c: Update to GB18020-2005.
40997 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40999 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41000 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41001 Patch by Aharon Robbins <arnold@skeeve.com>.
41004 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41008 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41009 through underflows.
41012 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41013 point to strings before performing equality test for error_one_per_line
41017 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41020 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41021 (struct user_fpregs_struct): Avoid __uint*_t types.
41024 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41025 symbol info. Use it instead of calling _dl_addr locally.
41026 (lock_and_info): New function.
41027 (tr_freehook): Call lock_and_info and pass symbol info as additional
41028 parameter to tr_where.
41029 (tr_mallochook): Likewise.
41030 (tr_reallochook): Likewise.
41031 (tr_memalignhook): Likewise.
41033 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41034 used and couldn't be at all thread-safe.
41036 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41038 * libio/freopen.c (freopen): Don't close old file descriptor
41039 before the new one is opened. Instead dup the new file descriptor
41040 to the old one after the new stream is created.
41041 * libio/freopen64.c (freopen64): Likewise.
41042 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41043 * libio/fileops.c (_IO_new_file_close_it): Handle new
41044 _IO_FLAGS2_NOCLOSE flag.
41045 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41046 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41047 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41048 _IO_FLAGS2_NOCLOSE flag.
41049 * include/unistd.h: Add hidden_proto for dup3.
41050 Define __have_dup3.
41051 * io/dup3.c: Define hidden symbol.
41052 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41055 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41056 when an incomplete long option is used.
41057 * posix/tst-getopt_long1.c: New file.
41058 * posix/Makefile (tests): Add tst-getopt_long1.
41061 * scripts/config.guess: Update from autoconf-2.68.
41062 * scripts/config.sub: Likewise.
41065 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41067 (has_cpuclock): ...this. New function.
41068 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41069 macro here based on has_cpuclock code.
41072 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41073 First byte (not low byte) is now always NUL.
41074 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41077 Use non-cancelable interfaces.
41080 * locale/iso-639.def: Add entry for Sorani.
41083 * include/stdlib.h: Move include protection to the right place.
41084 Define abort_msg_s. Declare __abort_msg with it.
41085 * stdlib/abort.c (__abort_msg): Adjust type.
41086 * assert/assert.c (__assert_fail_base): New function. Majority
41087 of code from __assert_fail. Allocate memory for __abort_msg with
41089 (__assert_fail): Now call __assert_fail_base.
41090 * assert/assert-perr.c: Remove bulk of implementation. Use
41091 __assert_fail_base.
41092 * include/assert.hL Declare __assert_fail_base.
41093 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41095 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41097 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41101 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41102 until all modules are registered in the DTV.
41103 * elf/Makefile: Add rules to build and run tst-tls19.
41104 * elf/tst-tls19.c: New file.
41105 * elf/tst-tls19mod1.c: New file.
41106 * elf/tst-tls19mod2.c: New file.
41107 * elf/tst-tls19mod3.c: New file.
41108 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41111 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41115 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41116 two-byte sequence errors.
41117 * iconvdata/Makefile (tests): Add bug-iconv8.
41118 * iconvdata/bug-iconv8.c: New file.
41121 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41124 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41127 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41128 (dummy_getcfa): New function.
41129 (init): Get _Unwind_GetCFA address, use dummy if not found.
41130 (backtrace_helper): In recursion check, also check whether CFA changes.
41131 (__backtrace): Completely initialize arg.
41133 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41134 storing incomplete byte sequence in state object. Avoid testing for
41135 guaranteed too small input if we know there is enough data available.
41137 2011-05-11 Andreas Schwab <schwab@redhat.com>
41139 * Makeconfig (+link-pie): Indent.
41140 * Rules (binaries-pie): Define if $(have-fpie) and
41142 (binaries-shared): Also filter out $(binaries-pie).
41143 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41144 * nscd/Makefile (others-pie): Add nscd.
41145 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41146 ($(objpfx)nscd): Remove command override.
41147 * login/Makefile (others-pie): Add pt_chown.
41148 ($(objpfx)pt_chown): Remove command override.
41149 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41150 remove command overrides.
41152 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41154 * libio/tst_putwc.c: Fix error messages.
41157 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41158 currently writing and seek to current position when not.
41159 * libio/Makefile (tests): Add bug-fclose1.
41160 * libio/bug-fclose1.c: New file.
41162 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41165 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41166 don't set DF_1_NODELETE here.
41167 (do_lookup_x): When entering new entry test for copy relocation
41168 and if necessary set DF_1_NODELETE flag.
41169 * elf/tst-unique4.cc: New file.
41170 * elf/tst-unique4.h: New file.
41171 * elf/tst-unique4lib.cc: New file.
41172 * elf/Makefile: Add rules to build and run tst-unique4.
41173 Patch by Piotr Bury <pbury@goahead.com>.
41175 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41178 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41181 * misc/mntent_r.c (addmntent): Flush the stream after the output
41184 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41185 (is_trusted_path_normalize): Skip initial colon. Append slash
41186 to empty buffer. Duplicate is_trusted_path code but allow
41187 constructed patch to be prefix.
41188 (is_dst): Allow $ORIGIN followed by /.
41189 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41190 Correct testing of result of is_trusted_path_normalize
41191 (decompose_rpath): Fix warning.
41193 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41196 * grp/initgroups.c (internal_getgrouplist): When we found the service
41197 list through the initgroups entry in nsswitch.conf do not always
41198 continue on a successful lookup. Don't always use the
41199 __nss_group_database value if it is set.
41200 * nss/nsswitch.conf (initgroups): Change action for successful db
41201 lookup to continue for compatibility.
41203 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41206 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41208 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41210 * iconvdata/tst-tables.sh: Likewise.
41211 * iconvdata/cp770.c: New file.
41212 * iconvdata/cp771.c: New file.
41213 * iconvdata/cp772.c: New file.
41214 * iconvdata/cp773.c: New file.
41215 * iconvdata/cp774.c: New file.
41216 * iconvdata/testdata/CP770: New file.
41217 * iconvdata/testdata/CP770..UTF8: New file.
41218 * iconvdata/testdata/CP771: New file.
41219 * iconvdata/testdata/CP771..UTF8: New file.
41220 * iconvdata/testdata/CP772: New file.
41221 * iconvdata/testdata/CP772..UTF8: New file.
41222 * iconvdata/testdata/CP773: New file.
41223 * iconvdata/testdata/CP773..UTF8: New file.
41224 * iconvdata/testdata/CP774: New file.
41225 * iconvdata/testdata/CP774..UTF8: New file.
41227 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41229 * iconvdata/gen-8bit-gap.sh: Likewise.
41230 * iconvdata/gen-8bit.sh: Likewise.
41232 * locale/iso-639.def: Add ary entry.
41235 * locale/C-translit.h.in: Add U20A1 transliteration.
41238 * locale/iso-639.def: Add wae entry.
41239 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41242 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41246 * locale/C-translit.h.in: Add entry for U20B9.
41247 Patch by pravin.d.s@gmail.com.
41249 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41252 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41253 ENAMETOOLONG use generic getcwd.
41254 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41255 in rtld. Use *stat64.
41256 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41257 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41258 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41259 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41260 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41261 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41262 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41263 __fstatat64 macros.
41264 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41265 * dirent/rewinddir.c: Add libc_hidden_def.
41266 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41267 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41269 * include/dirent.h (__alloc_dir): Add flags parameter.
41270 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41271 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41273 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41274 from fdopendir if O_CLOEXEC is already set.
41276 2011-03-15 Alan Modra <amodra@gmail.com>
41278 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41279 l_tls_firstbyte_offset non-zero. Save padding offset in
41280 l_tls_firstbyte_offset for later use.
41281 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41282 freeing static tls block.
41284 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41286 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41287 where #ifdef was intended. The intent is to prevent ARG_MAX from
41288 being defined by the kernel headers.
41290 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41293 * resolv/resolv.h: Define RES_NOTLDQUERY.
41294 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41295 no-tld-query and set RES_NOTLDQUERY.
41296 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41297 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41298 modern BIND to search name as TLD unless forbidden.
41300 2011-05-07 Petr Baudis <pasky@suse.cz>
41301 Ulrich Drepper <drepper@gmail.com>
41304 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41305 (is_trusted_path): ...to here.
41306 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41307 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41308 using is_trusted_path_normalize() in setuid scripts.
41310 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41312 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41313 __BEGIN/__END_DECLS.
41315 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41317 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41318 NSS_STATUS_NOTFOUND if no record was found.
41320 2011-05-05 Andreas Schwab <schwab@redhat.com>
41322 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41323 (headers-not-in-tirpc): Remove rpc/netdb.h
41324 * resolv/netdb.h: Revert last change.
41326 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41328 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41329 circular dependency between libgcc.a and libc.a.
41331 2011-05-05 Andreas Schwab <schwab@redhat.com>
41333 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41334 * nis/Makefile: Don't install rpcsvc/*.
41335 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41336 instead of <rpc/types.h>.
41337 (MAXHOSTNAMELEN): Define.
41339 2011-05-03 Andreas Schwab <schwab@redhat.com>
41341 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41343 2011-04-28 Maciej Babinski <mbabinski@google.com>
41346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41347 gethostbyname4_r when IPv6 results are possible.
41349 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41352 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41353 _PC_PIPE_BUF handling.
41355 2011-04-30 Bruno Haible <bruno@clisp.org>
41358 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41359 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41361 * inet/getnameinfo.c (getnameinfo): Likewise.
41363 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41365 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41366 to groups setting in database lookup.
41367 * nss/nsswitch.conf: Add initgroups entry.
41369 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41372 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41374 Patch by Eric Blake <eblake@redhat.com>.
41376 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41378 * sunrpc/Makefile (need-export-routines): Add svc_run.
41379 (routines): Remove svc_run.
41380 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41381 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41382 * sunrpc/svc_run.c (svc_run): Likewise.
41383 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41385 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41387 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41388 problem in reallocation in last patch.
41390 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41392 * sunrpc/Makefile: Move inclusion of Rules.
41394 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41396 * nss/nss_files/files-initgroups.c: New file.
41397 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41398 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41399 _nss_files_initgroups_dyn.
41401 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41403 * elf/elf.h (R_ARM_IRELATIVE): Define.
41405 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41407 * po/ru.po: Update from translation team.
41409 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41411 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41414 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41417 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41418 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41419 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41423 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41425 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41427 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41428 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41431 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41434 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41436 * stdlib/bug-getcontext.c: New file.
41437 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41439 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41441 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41442 instructions into .machine "z9-109".
41443 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41444 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41446 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41448 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41449 between environment variables and auxiliary vector.
41451 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41453 * Makefile: Add rules to build linkobj/libc.so.
41454 * include/libc-symbols.h: Define libc_hidden_nolink.
41455 * include/rpc/auth.h: Mark functions which are to be hidden.
41456 * include/rpc/auth_des.h: Likewise.
41457 * include/rpc/auth_unix.h: Likewise.
41458 * include/rpc/clnt.h: Likewise.
41459 * include/rpc/des_crypt.h: Likewise.
41460 * include/rpc/key_prot.h: Likewise.
41461 * include/rpc/pmap_clnt.h: Likewise.
41462 * include/rpc/pmap_prot.h: Likewise.
41463 * include/rpc/pmap_rmt.h: Likewise.
41464 * include/rpc/rpc_msg.h: Likewise.
41465 * include/rpc/svc.h: Likewise.
41466 * include/rpc/svc_auth.h: Likewise.
41467 * include/rpc/xdr.h: Likewise.
41468 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41469 * nss/Makefile: Likewise.
41470 * sunrpc/Makefile: Don't install headers. Build library with normal
41471 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41472 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41473 for the compat linking library. Remove use of INTDEF/INTUSE.
41474 * sunrpc/auth_none.c: Likewise.
41475 * sunrpc/auth_unix.c: Likewise.
41476 * sunrpc/authdes_prot.c: Likewise.
41477 * sunrpc/authuxprot.c: Likewise.
41478 * sunrpc/clnt_gen.c: Likewise.
41479 * sunrpc/clnt_perr.c: Likewise.
41480 * sunrpc/clnt_raw.c: Likewise.
41481 * sunrpc/clnt_simp.c: Likewise.
41482 * sunrpc/clnt_tcp.c: Likewise.
41483 * sunrpc/clnt_udp.c: Likewise.
41484 * sunrpc/clnt_unix.c: Likewise.
41485 * sunrpc/des_crypt.c: Likewise.
41486 * sunrpc/des_soft.c: Likewise.
41487 * sunrpc/get_myaddr.c: Likewise.
41488 * sunrpc/key_call.c: Likewise.
41489 * sunrpc/key_prot.c: Likewise.
41490 * sunrpc/netname.c: Likewise.
41491 * sunrpc/pm_getmaps.c: Likewise.
41492 * sunrpc/pm_getport.c: Likewise.
41493 * sunrpc/pmap_clnt.c: Likewise.
41494 * sunrpc/pmap_prot.c: Likewise.
41495 * sunrpc/pmap_prot2.c: Likewise.
41496 * sunrpc/pmap_rmt.c: Likewise.
41497 * sunrpc/publickey.c: Likewise.
41498 * sunrpc/rpc_cmsg.c: Likewise.
41499 * sunrpc/rpc_common.c: Likewise.
41500 * sunrpc/rpc_dtable.c: Likewise.
41501 * sunrpc/rpc_prot.c: Likewise.
41502 * sunrpc/rpc_thread.c: Likewise.
41503 * sunrpc/rtime.c: Likewise.
41504 * sunrpc/svc.c: Likewise.
41505 * sunrpc/svc_auth.c: Likewise.
41506 * sunrpc/svc_authux.c: Likewise.
41507 * sunrpc/svc_raw.c: Likewise.
41508 * sunrpc/svc_run.c: Likewise.
41509 * sunrpc/svc_simple.c: Likewise.
41510 * sunrpc/svc_tcp.c: Likewise.
41511 * sunrpc/svc_udp.c: Likewise.
41512 * sunrpc/svc_unix.c: Likewise.
41513 * sunrpc/svcauth_des.c: Likewise.
41514 * sunrpc/xcrypt.c: Likewise.
41515 * sunrpc/xdr.c: Likewise.
41516 * sunrpc/xdr_array.c: Likewise.
41517 * sunrpc/xdr_float.c: Likewise.
41518 * sunrpc/xdr_intXX_t.c: Likewise.
41519 * sunrpc/xdr_mem.c: Likewise.
41520 * sunrpc/xdr_rec.c: Likewise.
41521 * sunrpc/xdr_ref.c: Likewise.
41522 * sunrpc/xdr_sizeof.c: Likewise.
41523 * sunrpc/xdr_stdio.c: Likewise.
41525 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41528 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41529 * sysdeps/ia64/dl-tls.h: Likewise.
41530 * sysdeps/powerpc/dl-tls.h: Likewise.
41531 * sysdeps/s390/dl-tls.h: Likewise.
41532 * sysdeps/sh/dl-tls.h: Likewise.
41533 * sysdeps/sparc/dl-tls.h: Likewise.
41534 * sysdeps/x86_64/dl-tls.h: Likewise.
41535 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41537 2011-03-14 Andreas Schwab <schwab@redhat.com>
41539 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41540 rpath element also skip the following colon.
41541 (expand_dynamic_string_token): Add is_path parameter and pass
41542 down to DL_DST_REQUIRED and _dl_dst_substitute.
41543 (decompose_rpath): Call expand_dynamic_string_token with
41544 non-zero is_path. Ignore empty rpaths.
41545 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41548 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41553 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41556 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41557 Patch by Filipe David Manana <fdmanana@apache.org>.
41559 2011-04-07 Andreas Schwab <schwab@redhat.com>
41561 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41562 Maintain aligned stack.
41563 (CHECK_RSP): Remove unused macro.
41565 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41567 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41568 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41570 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41572 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41574 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41576 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41579 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41580 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41581 * sysdeps/x86_64/memmove.c: New file.
41582 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41583 (memcpy): Renamed to ...
41584 (__new_memcpy): This.
41585 (memcpy): Provide GLIBC_2_14 memcpy.
41586 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41587 (memcpy): Provide GLIBC_2_2_5 memcpy.
41589 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41592 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41594 2011-03-30 Andreas Schwab <schwab@redhat.com>
41596 * misc/syncfs.c: New file.
41597 * misc/Makefile (routines): Add syncfs.
41598 * posix/unistd.h: Declare syncfs.
41599 * sysdeps/unix/syscalls.list: Add syncfs.
41601 2011-04-01 Andreas Schwab <schwab@redhat.com>
41603 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41606 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41608 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41610 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41611 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41613 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41615 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41616 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41617 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41619 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41621 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41623 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41624 sync_file_range.c with -fexceptions.
41625 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41626 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41627 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41628 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41629 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41630 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41631 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41632 sync_file_range as cancellation point
41633 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41634 now a wrapper around __call_sync_file_range with cancellation handling.
41635 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41636 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41637 function name to __call_sync_file_range.
41638 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41639 Add call_sync_file_range.
41641 2011-04-01 Andreas Schwab <schwab@redhat.com>
41643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41646 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41648 * iconv/iconv.h: Fix typo in comment.
41649 * io/fcntl.h: Likewise.
41650 * libio/stdio.h: Likewise.
41651 * posix/spawn.h: Likewise.
41652 * posix/unistd.h: Likewise.
41653 * stdlib/stdlib.h: Likewise.
41654 * time/time.h: Likewise.
41655 * wcsmbs/wchar.h: Likewise.
41657 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41658 open_by_handle): Add.
41659 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41660 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41661 Augment a few comments.
41662 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41663 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41667 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41670 * io/fcntl.h (AT_EMPTY_PATH): Define.
41672 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41674 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41675 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41676 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41678 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41679 * Versions.def: Add GLIBC_2.14.
41680 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41683 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41685 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41687 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41689 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41692 * string/test-strncmp.c (do_page_test): New function.
41693 (check2): Likewise.
41694 (test_main): Call check2.
41695 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41697 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41700 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41701 Handle cache information in CPU leaf 4.
41702 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41704 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41707 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41708 character representation.
41709 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41711 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41713 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41714 END(__isnan) to END(__isnanf) to match function entry point/label
41715 EALIGN(__isnanf,...).
41717 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41719 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41721 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41724 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41725 copy from the symbol referenced in the relocation to initialize the
41727 Patch by Piotr Bury <pbury@goahead.com>.
41728 * elf/Makefile: Add rules to build and tst-unique3.
41729 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41730 * elf/tst-unique3.cc: New file.
41731 * elf/tst-unique3.h: New file.
41732 * elf/tst-unique3lib.cc: New file.
41733 * elf/tst-unique3lib2.cc: New file.
41735 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41737 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41739 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41740 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41743 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41745 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41746 to-be-loaded object along a path to loader is ld.so.
41748 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41749 Ulrich Drepper <drepper@gmail.com>
41751 * sysdeps/x86_64/memset.S: After aligning destination, code
41752 branches to different locations depending on the value of
41753 misalignment, when multiarch is enabled. Fix this.
41755 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41757 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41758 Set _x86_64_preferred_memory_instruction for AMD processsors.
41759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41760 Set bit_Prefer_SSE_for_memop for AMD processors.
41762 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41764 * libio/fmemopen.c (fmemopen): Optimize a bit.
41766 2011-03-03 Andreas Schwab <schwab@redhat.com>
41768 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41770 2011-03-03 Roland McGrath <roland@redhat.com>
41772 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41774 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41776 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41777 __bzero_ultra1 instead of __memset_ultra1.
41779 2011-02-23 Andreas Schwab <schwab@redhat.com>
41780 Ulrich Drepper <drepper@gmail.com>
41783 * include/link.h (struct link_map): Add l_orig_initfini.
41784 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41785 returning unsuccessfully.
41786 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41787 close of a file loaded at startup, restore the original l_initfini
41789 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41790 list, store the pointer.
41791 * elf/Makefile ($(objpfx)noload-mem): New rule.
41792 (noload-ENV): Define.
41793 (tests): Add $(objpfx)noload-mem.
41794 * elf/noload.c: Include <memcheck.h>.
41795 (main): Call mtrace. Close all opened handles.
41797 2011-02-17 Andreas Schwab <schwab@redhat.com>
41800 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41801 dependencies are missing.
41803 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41805 Fix __if_freereq crash: Unlike the generic version which uses free,
41807 * sysdeps/mach/hurd/ifreq.h: New file.
41809 2011-01-27 Petr Baudis <pasky@suse.cz>
41810 Ulrich Drepper <drepper@gmail.com>
41813 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41814 to extend_alloca().
41815 * stdio-common/bug23.c: New file.
41816 * stdio-common/Makefile (tests): Add bug23.
41818 2010-09-28 Andreas Schwab <schwab@redhat.com>
41819 Ulrich Drepper <drepper@gmail.com>
41822 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41823 before performing relro protection. At old place add assertion
41824 to make sure nothing changed.
41826 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41827 Glauber de Oliveira Costa <glommer@gmail.com>
41829 * elf/elf.h: Add new ARM TLS relocs.
41831 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41834 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41836 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41838 * sysdeps/wordsize-64/tst-writev.c: New file.
41840 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41842 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41843 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41844 insns in _dl_start to prevent a TOC reference before relocs are
41847 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41850 * Makeconfig: Remove RANLIB definition.
41851 * Makerules: Don't use RANLIB.
41852 * aclocal.m4: Remove ranlib test.
41853 * configure.in: No need to check for ranlib.
41854 * elf/rtld-Rules: Don't use RANLIB.
41856 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41858 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41860 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41861 inclusion protection macro.
41863 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41864 SIGRTMIN and SIGRTMAX and print information in that case only when
41865 SIGRTMIN is defined.
41867 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41869 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41870 arginfo fn returning -1.
41872 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41873 and thousands string is zero terminated.
41875 2011-02-03 Andreas Schwab <schwab@redhat.com>
41877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41878 sysdeps/unix/sysv/linux/bits/socket.h.
41880 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41882 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41883 (__CPU_COUNT): Remove old macros.
41884 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41885 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41886 (__CPU_ALLOC, __CPU_FREE): Add macros.
41887 (__sched_cpualloc, __sched_cpufree): Add declarations.
41889 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41891 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41892 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41893 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41894 (readdhstai): Return value of addhstaiX call.
41895 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41896 (addgrbyX): Return value returned by cache_addgr.
41897 (readdgrbyname): Return value returned by addgrbyX.
41898 (readdgrbygid): Likewise.
41899 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41900 (addpwbyX): Return value returned by cache_addpw.
41901 (readdpwbyname): Return value returned by addhstbyX.
41902 (readdpwbyuid): Likewise.
41903 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41904 (addservbyX): Return value returned by cache_addserv.
41905 (readdservbyname): Return value returned by addservbyX:
41906 (readdservbyport): Likewise.
41907 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41908 (addhstbyX): Return value returned by cache_addhst.
41909 (readdhstbyname): Return value returned by addhstbyX.
41910 (readdhstbyaddr): Likewise.
41911 (readdhstbynamev6): Likewise.
41912 (readdhstbyaddrv6): Likewise.
41913 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41914 (readdinitgroups): Return value returned by addinitgroupsX.
41915 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41916 (prune_cache): Keep track of timeout value of re-added entries.
41917 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41918 * nscd/nscd.h: Adjust prototypes of readd* functions.
41920 2011-02-04 Roland McGrath <roland@redhat.com>
41922 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41923 (nis_stats): Likewise.
41924 * nis/nis_modify.c (nis_modify): Likewise.
41925 * nis/nis_remove.c (nis_remove): Likewise.
41926 * nis/nis_add.c (nis_add): Likewise.
41928 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41930 * posix/fnmatch_loop.c: Add some consts.
41932 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41934 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41937 * config.make.in (config-cflags-novzeroupper): Define.
41938 * configure.in: Substitute libc_cv_cc_novzeroupper.
41939 * elf/Makefile (AVX-CFLAGS): Define.
41940 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41941 (CFLAGS-tst-auditmod4a.c): Likewise.
41942 (CFLAGS-tst-auditmod4b.c): Likewise.
41943 (CFLAGS-tst-auditmod6b.c): Likewise.
41944 (CFLAGS-tst-auditmod6c.c): Likewise.
41945 (CFLAGS-tst-auditmod7b.c): Likewise.
41946 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41948 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41950 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41951 function to the callback.
41952 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41954 2011-02-02 Andreas Schwab <schwab@redhat.com>
41956 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41959 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41962 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41964 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41966 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41969 * elf/Makefile: Add rules to build and run new test.
41970 * elf/tst-initorder.c: New file.
41971 * elf/tst-initorder.exp: New file.
41972 * elf/tst-initordera1.c: New file.
41973 * elf/tst-initordera2.c: New file.
41974 * elf/tst-initordera3.c: New file.
41975 * elf/tst-initordera4.c: New file.
41976 * elf/tst-initorderb1.c: New file.
41977 * elf/tst-initorderb2.c: New file.
41978 * elf/tst-order-a1.c: New file.
41979 * elf/tst-order-a2.c: New file.
41980 * elf/tst-order-a3.c: New file.
41981 * elf/tst-order-a4.c: New file.
41982 * elf/tst-order-b1.c: New file.
41983 * elf/tst-order-b2.c: New file.
41984 * elf/tst-order-main.c: New file.
41985 New test case by George Gensure <werkt0@gmail.com>.
41987 2010-10-01 Andreas Schwab <schwab@redhat.com>
41989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41990 decoding ACE if AI_CANONIDN.
41992 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41994 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41996 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41998 * version.h (RELEASE): Bump for 2.13 release.
41999 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42001 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42003 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42005 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42006 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42007 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42008 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42009 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42010 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42012 * posix/getconf.c: Update copyright year.
42013 * catgets/gencat.c: Likewise.
42014 * csu/version.c: Likewise.
42015 * debug/catchsegv.sh: Likewise.
42016 * debug/xtrace.sh: Likewise.
42017 * elf/ldconfig.c: Likewise.
42018 * elf/ldd.bash.in: Likewise.
42019 * elf/sprof.c (print_version): Likewise.
42020 * iconv/iconv_prog.c: Likewise.
42021 * iconv/iconvconfig.c: Likewise.
42022 * locale/programs/locale.c: Likewise.
42023 * locale/programs/localedef.c: Likewise.
42024 * malloc/memusage.sh: Likewise.
42025 * malloc/mtrace.pl: Likewise.
42026 * nscd/nscd.c (print_version): Likewise.
42027 * nss/getent.c: Likewise.
42029 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42030 PF_CAIF, and PF_ALG.
42031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42033 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42035 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42036 (modules-names): Use them.
42037 (ifunc-test-modules, ifunc-pie-tests): Define.
42038 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42039 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42040 (test-extras): Likewise.
42041 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42042 $(compile-command.c).
42043 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42044 (all-built-dso): Define.
42045 (check-textrel.out, check-execstack.out): Depend on it.
42047 * configure.in: Don't override --enable-multi-arch.
42049 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42052 * nscd/hstcache.c (tryagain): Define.
42053 (cache_addhst): Return tryagain not notfound for temporary errors.
42054 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42057 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42060 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42061 to make the syscall.
42062 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42065 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42066 and fall back to matching as normal character if the string ends before
42067 the matching ']' is found. This is what POSIX requires.
42068 * posix/testfnm.c: Adjust test result.
42069 * posix/globtest.sh: Adjust test result. Add new test.
42070 * posix/tst-fnmatch.input: Likewise.
42071 * posix/tst-fnmatch2.c: Add new test.
42073 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42075 * elf/Makefile (check-execstack): Revert last change. Depend on
42077 (check-execstack.h): New target.
42078 (generated): Add check-execstack.h.
42079 * elf/check-execstack.c: Include "check-execstack.h".
42080 (main): Revert last change.
42081 (handle_file): Return zero if GNU_STACK is absent and
42082 DEFAULT_STACK_PERMS doesn't include PF_X.
42084 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42086 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42087 in child fails because the descriptor is already closed.
42088 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42089 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42090 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42093 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42097 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42098 temporary buffer used to handle multi lookups locally.
42099 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42101 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42103 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42106 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42108 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42109 alignment for SSE2.
42111 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42114 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42115 characters. When rounding increased number of integer digits recompute
42117 * stdio-common/tst-grouping.c: New file.
42118 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42120 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42122 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42123 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42125 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42127 * bits/select.h: Likewise.
42129 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42131 * po/ja.po: Update from translation team.
42133 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42136 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42137 implementation just like for lxstat, fxstatat, et al.
42139 2010-12-27 Jim Meyering <meyering@redhat.com>
42142 * posix/regexec.c (build_trtable): Return failure indication upon
42143 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42145 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42148 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42149 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42150 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42151 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42154 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42157 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42158 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42160 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42162 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42163 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42164 script has SORT_BY_INIT_PRIORITY.
42165 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42166 NO_CTORS_DTORS_SECTIONS is defined.
42167 * elf/soinit.c: Likewise.
42168 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42169 NO_CTORS_DTORS_SECTIONS is defined.
42170 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42171 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42172 * sysdeps/sh/init-first.c: Likewise.
42173 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42175 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42177 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42178 always use the slow path.
42180 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42182 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42183 similar rule which adds the sysdep directories to the header search in
42184 order to pick up the correct platform stackinfo.h.
42185 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42186 perform test if it is, otherwise return successfully without testing.
42187 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42188 DEFAULT_STACK_PERMS define in stackinfo.h.
42189 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42190 defined in stackinfo.h.
42191 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42192 DEFAULT_STACK_PERMS defined in stackinfo.h.
42193 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42194 * sysdeps/ia64/stackinfo.h: Likewise.
42195 * sysdeps/s390/stackinfo.h: Likewise.
42196 * sysdeps/sh/stackinfo.h: Likewise.
42197 * sysdeps/sparc/stackinfo.h: Likewise.
42198 * sysdeps/x86_64/stackinfo.h: Likewise.
42199 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42200 PF_X for powerpc64. Retain PF_X for powerpc32.
42202 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42204 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42206 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42207 GETDENTS_64BIT_ALIGNED.
42209 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42211 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42213 2010-12-10 Andreas Schwab <schwab@redhat.com>
42215 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42218 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42219 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42221 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42222 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42224 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42227 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42230 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42232 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42234 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42236 * po/it.po: Update from translation team.
42238 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42243 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42245 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42247 2010-11-24 Andreas Schwab <schwab@redhat.com>
42249 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42251 (gaih_getanswer_slice): Likewise.
42253 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42257 2010-05-31 Petr Baudis <pasky@suse.cz>
42260 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42261 silently even in the chroot mode.
42263 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42265 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42266 last patch a bit. Pretty printing
42268 2010-05-31 Petr Baudis <pasky@suse.cz>
42271 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42272 initialization of skip_initgroups_dyn.
42274 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42276 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42277 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42279 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42281 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42283 2010-11-11 Andreas Schwab <schwab@redhat.com>
42285 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42286 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42287 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42288 ($(objpfx)tst-fnmatch-mem): New rule.
42289 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42290 * posix/tst-fnmatch.c (main): Call mtrace.
42292 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42295 Support Intel processor model 6 and model 0x2c.
42297 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42299 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42302 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42305 * string/test-strncasecmp.c (check_result): New function.
42306 (do_one_test): Use it.
42307 (check1): New function.
42308 (test_main): Use it.
42309 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42310 Support strcasecmp and strncasecmp.
42312 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42315 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42318 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42320 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42324 * sysdeps/x86_64/multiarch/bzero.S: New file.
42325 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42326 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42327 * sysdeps/x86_64/multiarch/memset.S: New file.
42328 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42330 Set bit_Prefer_SSE_for_memop for Intel processors.
42331 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42333 (index_Prefer_SSE_for_memop): Define.
42334 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42336 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42338 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42339 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42341 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42344 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42345 (__x86_64_raw_data_cache_size_half): Likewise.
42346 (__x86_64_raw_shared_cache_size): Likewise.
42347 (__x86_64_raw_shared_cache_size_half): Likewise.
42349 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42350 (__x86_64_raw_data_cache_size_half): Likewise.
42351 (__x86_64_raw_shared_cache_size): Likewise.
42352 (__x86_64_raw_shared_cache_size_half): Likewise.
42353 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42354 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42355 and __x86_64_raw_shared_cache_size_half. Round
42356 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42357 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42358 to multiple of 256 bytes.
42360 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42363 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42364 of inacessible symlinks. Verify result of symlink before returning it.
42365 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42366 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42368 2010-10-28 Erich Ritz <erichritz@gmail.com>
42370 * math/math.h (isinf): Fix typo in comment.
42372 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42374 * po/da.po: Update from translation team.
42376 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42378 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42379 is added to the list.
42381 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42382 Ulrich Drepper <drepper@gmail.com>
42384 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42385 the global list here. Move code to...
42386 (_dl_add_to_namespace_list): ...here. New function.
42387 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42388 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42389 * elf/dl-load.c (lose): Don't remove the element from the list.
42390 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42391 (_dl_map_object): Likewise.
42393 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42396 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42397 into all bytes of SSE register.
42398 Patch by Richard Li <richardpku@gmail.com>.
42400 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42403 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42406 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42408 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42409 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42410 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42411 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42416 2010-10-22 Andreas Schwab <schwab@redhat.com>
42418 * include/dlfcn.h (__RTLD_SECURE): Define.
42419 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42420 mode & __RTLD_SECURE instead.
42421 (open_path): Rename preloaded parameter to secure.
42422 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42423 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42424 * elf/dl-deps.c (openaux): Likewise.
42425 * elf/rtld.c (struct map_args): Remove is_preloaded.
42426 (map_doit): Don't use it.
42427 (dl_main): Likewise.
42428 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42429 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42431 2010-09-09 Andreas Schwab <schwab@redhat.com>
42433 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42434 (sysd-rules-targets): Remove duplicates.
42435 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42436 rtld-%.$o dependency.
42438 2010-10-18 Andreas Schwab <schwab@redhat.com>
42440 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42441 _dl_map_object do it.
42443 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42445 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42446 fast fma builtins, define the macros in the C99 standard.
42447 (FP_FAST_FMAF): Likewise.
42448 (FP_FAST_FMAL): Likewise.
42449 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42451 * bits/mathdef.h: Update copyright year.
42452 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42454 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42456 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42457 builtins, define the macros in the C99 standard.
42458 (FP_FAST_FMAF): Likewise.
42459 (FP_FAST_FMAL): Likewise.
42460 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42462 (FP_FAST_FMAF): Likewise.
42464 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42467 * math/libm-test.inc (fma_test): Some new testcases.
42468 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42469 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42470 y and infinite z. Do multiplication by C already in long double.
42471 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42473 y and infinite z. Do bitwise or of inexact bit into u.d.
42474 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42475 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42476 * sysdeps/i386/fpu/s_fma.S: Removed.
42477 * sysdeps/i386/fpu/s_fmal.S: Removed.
42479 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42482 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42484 computation is not scheduled after fetestexcept. Fix value
42485 of minimum denormal long double.
42487 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42490 * math/libm-test.inc (fma_test): Add some more tests.
42491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42494 2010-10-15 Andreas Schwab <schwab@redhat.com>
42496 * scripts/data/localplt-s390-linux-gnu.data: New file.
42497 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42499 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42502 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42503 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42505 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42507 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42509 if one of x and y is very large and the other is subnormal.
42510 * sysdeps/s390/fpu/s_fmaf.c: New file.
42511 * sysdeps/s390/fpu/s_fma.c: New file.
42512 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42513 * sysdeps/powerpc/fpu/s_fma.S: New file.
42514 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42515 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42516 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42518 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42521 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42523 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42524 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42525 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42526 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42527 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42528 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42529 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42531 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42534 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42535 * posix/bug-regex31.input: Add test case.
42537 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42539 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42540 * posix/bug-regex31.input: New file.
42543 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42544 (parse_sub_exp): Fix last change, use postorder.
42546 * posix/bug-regex31.c: New file.
42547 * posix/Makefile: Add rules to build and run bug-regex31.
42549 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42552 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42555 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42556 to have entries in sys_siglist.
42559 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42562 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42565 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42566 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42567 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42568 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42569 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42570 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42571 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42572 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42573 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42574 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42575 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42576 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42577 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42578 * math/ftestexcept.c (fetestexcept): Likewise.
42579 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42580 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42581 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42582 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42583 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42584 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42585 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42587 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42590 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42593 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42595 * string/bug-strstr1.c: New file.
42596 * string/Makefile: Add rules to build and run bug-strstr1.
42598 2010-10-05 Eric Blake <eblake@redhat.com>
42601 * string/str-two-way.h (two_way_long_needle): Always clear memory
42602 when skipping input due to the shift table.
42604 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42607 * malloc/mcheck.c: Handle large requests.
42610 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42611 for strncmp and strncasecmp.
42612 * string/stratcliff.c: Add tests for strcmp and strncmp.
42613 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42615 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42617 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42620 2010-09-30 Andreas Jaeger <aj@suse.de>
42622 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42623 (CGROUP_SUPER_MAGIC): Define.
42624 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42625 Handle btrfs and cgroup file systems.
42626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42629 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42631 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42632 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42634 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42637 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42638 trying to locate the ELF header.
42640 2010-09-27 Andreas Schwab <schwab@redhat.com>
42643 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42644 Mask out sign-bit copies when constructing f_fsid.
42646 2010-09-24 Petr Baudis <pasky@suse.cz>
42648 * debug/stack_chk_fail_local.c: Add missing licence exception.
42649 * debug/warning-nop.c: Likewise.
42651 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42653 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42654 implementing getdents64 using getdents syscall, set d_type if
42655 __ASSUME_GETDENTS32_D_TYPE.
42657 2010-09-16 Andreas Schwab <schwab@redhat.com>
42659 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42660 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42662 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42665 * posix/unistd.h: Undo change of feature selection for ftruncate from
42668 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42670 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42673 2010-09-20 Andreas Schwab <schwab@redhat.com>
42675 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42677 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42679 2010-09-14 Andreas Schwab <schwab@redhat.com>
42681 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42682 variables after CHECK_SP call.
42683 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42685 2010-09-13 Andreas Schwab <schwab@redhat.com>
42686 Ulrich Drepper <drepper@redhat.com>
42688 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42689 re-relocationg ld.so.
42690 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42691 _dl_init_paths call.
42692 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42695 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42697 * resolv/res_init.c (__res_vinit): Count the default server we added.
42699 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42700 Ulrich Drepper <drepper@redhat.com>
42703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42704 (____longjmp_chk): Use %ebx for saving value across system call.
42707 2010-09-06 Andreas Schwab <schwab@redhat.com>
42709 * manual/Makefile: Don't mix pattern rules with normal rules.
42711 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42713 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42715 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42716 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42717 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42718 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42722 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42725 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42726 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42728 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42730 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42731 * sysdeps/x86_64/addmul_1.S: Likewise.
42732 * sysdeps/x86_64/lshift.S: Likewise.
42733 * sysdeps/x86_64/mul_1.S: Likewise.
42734 * sysdeps/x86_64/rshift.S: Likewise.
42735 * sysdeps/x86_64/sub_n.S: Likewise.
42736 * sysdeps/x86_64/submul_1.S: Likewise.
42738 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42740 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42741 Define __sched_param instead of SCHED_* and sched_param when
42742 <bits/sched.h> is included with __need_schedparam defined.
42743 * bits/sched.h [__need_schedparam]
42744 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42745 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42746 (__defined_schedparam): Define to 1.
42747 (__sched_param): New structure, identical to sched_param.
42748 (__need_schedparam): Undefine.
42750 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42752 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42753 (epoll_create1): Declare.
42755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42757 2010-08-31 Andreas Schwab <schwab@redhat.com>
42760 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42761 shifting retval into place.
42763 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42765 * nis/rpcsvc/nis.h: Update copyright notice.
42766 * nis/rpcsvc/nis.x: Likewise.
42767 * nis/rpcsvc/nis_callback.h: Likewise.
42768 * nis/rpcsvc/nis_callback.x: Likewise.
42769 * nis/rpcsvc/nis_object.x: Likewise.
42770 * nis/rpcsvc/nis_tags.h: Likewise.
42771 * nis/rpcsvc/yp.h: Likewise.
42772 * nis/rpcsvc/yp.x: Likewise.
42773 * nis/rpcsvc/ypupd.h: Likewise.
42774 * nis/yp_xdr.c: Likewise.
42775 * nis/ypupdate_xdr.c: Likewise.
42777 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42778 mainly the body of pmap_getport. Add parameters to specify timeouts.
42779 (pmap_getport): Use __libc_rpc_getport.
42780 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42781 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42782 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42784 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42789 2010-08-27 Roland McGrath <roland@redhat.com>
42791 * sysdeps/i386/i686/multiarch/Makefile
42792 (CFLAGS-varshift.c): New variable.
42794 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42796 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42797 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42799 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42801 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42803 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42805 * sysdeps/x86_64/strlen.S: Unroll the loop.
42806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42807 strlen-sse2 strlen-sse2-bsf.
42808 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42809 __strlen_no_bsf if bit_Slow_BSF is set.
42810 (__strlen_sse42): Removed.
42811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42812 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42814 2010-08-25 Roland McGrath <roland@redhat.com>
42816 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42817 * sysdeps/x86_64/multiarch/varshift.c: New file.
42818 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42819 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42820 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42821 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42823 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42826 strlen-sse2 strlen-sse2-bsf.
42827 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42828 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42829 (__strlen_sse2): Removed.
42830 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42831 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42833 bit_Slow_BSF for Atom.
42834 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42835 (index_Slow_BSF): Define.
42836 (HAS_SLOW_BSF): Define.
42838 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42841 * resolv/res_init.c (__res_vinit): When no server address at all
42842 is given default to loopback.
42844 2010-08-24 Roland McGrath <roland@redhat.com>
42846 * configure.in: Remove config-name.h generation.
42847 * configure: Regenerated.
42848 * config-name.in: File removed.
42849 * scripts/config-uname.sh: New file.
42850 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42851 ($(objdir)config-name.h): New target.
42853 * sunrpc/rpc_parse.h: Avoid nested comment.
42855 2010-08-24 Richard Henderson <rth@redhat.com>
42856 Ulrich Drepper <drepper@redhat.com>
42857 H.J. Lu <hongjiu.lu@intel.com>
42859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42861 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42862 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42863 _mm_alignr_epi8 with _mm_loadu_si128.
42864 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42865 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42866 (__m128i_shift_right): Removed.
42867 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42868 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42869 * sysdeps/x86_64/multiarch/varshift.h: New file.
42870 * sysdeps/x86_64/multiarch/varshift.S: New file.
42872 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42874 * configure.in: Move assembler checks to before sysdep dir checking.
42876 2010-08-20 Petr Baudis <pasky@suse.cz>
42878 * LICENSES: Sync the sunrpc license.
42880 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42882 * sunrpc/auth_des.c: Update copyright notice once again.
42883 * sunrpc/auth_none.c: Likewise.
42884 * sunrpc/auth_unix.c: Likewise.
42885 * sunrpc/authdes_prot.c: Likewise.
42886 * sunrpc/authuxprot.c: Likewise.
42887 * sunrpc/bindrsvprt.c: Likewise.
42888 * sunrpc/clnt_gen.c: Likewise.
42889 * sunrpc/clnt_perr.c: Likewise.
42890 * sunrpc/clnt_raw.c: Likewise.
42891 * sunrpc/clnt_simp.c: Likewise.
42892 * sunrpc/clnt_tcp.c: Likewise.
42893 * sunrpc/clnt_udp.c: Likewise.
42894 * sunrpc/clnt_unix.c: Likewise.
42895 * sunrpc/des_crypt.c: Likewise.
42896 * sunrpc/des_soft.c: Likewise.
42897 * sunrpc/get_myaddr.c: Likewise.
42898 * sunrpc/getrpcport.c: Likewise.
42899 * sunrpc/key_call.c: Likewise.
42900 * sunrpc/key_prot.c: Likewise.
42901 * sunrpc/openchild.c: Likewise.
42902 * sunrpc/pm_getmaps.c: Likewise.
42903 * sunrpc/pm_getport.c: Likewise.
42904 * sunrpc/pmap_clnt.c: Likewise.
42905 * sunrpc/pmap_prot.c: Likewise.
42906 * sunrpc/pmap_prot2.c: Likewise.
42907 * sunrpc/pmap_rmt.c: Likewise.
42908 * sunrpc/rpc/auth.h: Likewise.
42909 * sunrpc/rpc/auth_unix.h: Likewise.
42910 * sunrpc/rpc/clnt.h: Likewise.
42911 * sunrpc/rpc/des_crypt.h: Likewise.
42912 * sunrpc/rpc/key_prot.h: Likewise.
42913 * sunrpc/rpc/netdb.h: Likewise.
42914 * sunrpc/rpc/pmap_clnt.h: Likewise.
42915 * sunrpc/rpc/pmap_prot.h: Likewise.
42916 * sunrpc/rpc/pmap_rmt.h: Likewise.
42917 * sunrpc/rpc/rpc.h: Likewise.
42918 * sunrpc/rpc/rpc_des.h: Likewise.
42919 * sunrpc/rpc/rpc_msg.h: Likewise.
42920 * sunrpc/rpc/svc.h: Likewise.
42921 * sunrpc/rpc/svc_auth.h: Likewise.
42922 * sunrpc/rpc/types.h: Likewise.
42923 * sunrpc/rpc/xdr.h: Likewise.
42924 * sunrpc/rpc_clntout.c: Likewise.
42925 * sunrpc/rpc_cmsg.c: Likewise.
42926 * sunrpc/rpc_common.c: Likewise.
42927 * sunrpc/rpc_cout.c: Likewise.
42928 * sunrpc/rpc_dtable.c: Likewise.
42929 * sunrpc/rpc_hout.c: Likewise.
42930 * sunrpc/rpc_main.c: Likewise.
42931 * sunrpc/rpc_parse.c: Likewise.
42932 * sunrpc/rpc_parse.h: Likewise.
42933 * sunrpc/rpc_prot.c: Likewise.
42934 * sunrpc/rpc_sample.c: Likewise.
42935 * sunrpc/rpc_scan.c: Likewise.
42936 * sunrpc/rpc_scan.h: Likewise.
42937 * sunrpc/rpc_svcout.c: Likewise.
42938 * sunrpc/rpc_tblout.c: Likewise.
42939 * sunrpc/rpc_util.c: Likewise.
42940 * sunrpc/rpc_util.h: Likewise.
42941 * sunrpc/rpcinfo.c: Likewise.
42942 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42943 * sunrpc/rpcsvc/key_prot.x: Likewise.
42944 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42945 * sunrpc/rpcsvc/mount.x: Likewise.
42946 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42947 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42948 * sunrpc/rpcsvc/rex.x: Likewise.
42949 * sunrpc/rpcsvc/rstat.x: Likewise.
42950 * sunrpc/rpcsvc/rusers.x: Likewise.
42951 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42952 * sunrpc/rpcsvc/spray.x: Likewise.
42953 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42954 * sunrpc/rtime.c: Likewise.
42955 * sunrpc/svc.c: Likewise.
42956 * sunrpc/svc_auth.c: Likewise.
42957 * sunrpc/svc_authux.c: Likewise.
42958 * sunrpc/svc_raw.c: Likewise.
42959 * sunrpc/svc_run.c: Likewise.
42960 * sunrpc/svc_simple.c: Likewise.
42961 * sunrpc/svc_tcp.c: Likewise.
42962 * sunrpc/svc_udp.c: Likewise.
42963 * sunrpc/svc_unix.c: Likewise.
42964 * sunrpc/svcauth_des.c: Likewise.
42965 * sunrpc/xcrypt.c: Likewise.
42966 * sunrpc/xdr.c: Likewise.
42967 * sunrpc/xdr_array.c: Likewise.
42968 * sunrpc/xdr_float.c: Likewise.
42969 * sunrpc/xdr_mem.c: Likewise.
42970 * sunrpc/xdr_rec.c: Likewise.
42971 * sunrpc/xdr_ref.c: Likewise.
42972 * sunrpc/xdr_sizeof.c: Likewise.
42973 * sunrpc/xdr_stdio.c: Likewise.
42975 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42978 2010-08-19 Andreas Schwab <schwab@redhat.com>
42980 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42982 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42984 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42985 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42986 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42987 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42988 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42989 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42990 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42991 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42992 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42993 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42994 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42995 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42996 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42997 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42999 2010-07-26 Anton Blanchard <anton@samba.org>
43001 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43002 * malloc/arena.c (heap_trim): Likewise.
43004 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43006 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43008 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43009 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43011 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43013 * sysdeps/i386/elf/Makefile: New file.
43015 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43017 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43018 from fanotify_init.
43019 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43020 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43022 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43024 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43026 * sysdeps/multiarch/strcmp.S: Likewise.
43028 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43030 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43031 strncase_l-nonascii.
43032 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43033 Add strncase_l-ssse3.
43034 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43035 * sysdeps/x86_64/strcmp.S: Likewise.
43036 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43037 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43038 * sysdeps/x86_64/strncase.S: New file.
43039 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43040 * sysdeps/x86_64/strncase_l.S: New file.
43041 * string/Makefile (strop-tests): Add strncasecmp.
43042 * string/test-strncasecmp.c: New file.
43044 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43047 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43048 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43050 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43052 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43054 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43056 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43057 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43058 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43060 2010-05-01 Alan Modra <amodra@gmail.com>
43062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43063 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43064 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43065 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43066 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43067 tidying. Don't tail-call __sigjmp_save for static lib.
43068 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43070 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43071 (CALL_MCOUNT): Add eh info, and nop after bl.
43072 (TAIL_CALL_SYSCALL_ERROR): New macro.
43073 (PSEUDO_RET): Use it.
43074 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43075 Correct save location of integer regs and cr.
43076 (_dl_profile_resolve): Correct cr save location. Delete nops
43077 after bl when SHARED. Reduce cfi size a little by better
43078 placement of cfi directives.
43079 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43080 make a stack frame. Instead use parm save area as a temp.
43081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43082 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43084 Don't make a stack frame for parent, use parm save area.
43085 Increase child stack frame to 112 bytes. Don't save unused reg,
43086 and adjust reg usage. Set up cfi on error recovery and
43087 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43089 (__makecontext): Add dummy nop after jump to exit.
43090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43091 Use correct parm save area and cr save, reduce stack frame.
43092 Correct cfi for possible PSEUDO_RET frame setup.
43093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43094 Branch to local label emitted by PSEUDO_RET rather than
43097 2010-08-12 Andreas Schwab <schwab@redhat.com>
43100 * locale/programs/locale.c (print_assignment): New function.
43101 (show_locale_vars): Use it.
43103 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43105 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43107 (struct statfs64): Likewise.
43108 (_STATFS_F_FLAGS): Define.
43109 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43110 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43111 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43112 (ST_VALID): Define locally.
43113 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43114 __statvfs_getflags, use the provided value.
43115 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43116 __ASSUME_STATFS_F_FLAGS.
43118 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43120 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43121 Add sys/fanotify.h.
43122 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43123 fanotify_mask for GLIBC_2.13.
43124 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43125 fanotify_init and fanotify_mark.
43126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43127 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43129 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43131 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43132 prlimit64 for GLIBC_2.13.
43133 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43135 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43138 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43139 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43140 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43143 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43146 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43147 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43149 * nss/Makefile: Add rules to build and run tst-nss-test1.
43150 * shlib-versions: Add entry for libnss_test1.
43151 * nss/nss_test1.c: New file.
43152 * nss/tst-nss-test1.c: New file.
43154 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43155 (__nss_configure_lookup): Set appropriate entry in
43156 __nss_configure_lookup to true.
43157 * nss/nsswitch.h: Define enum with indeces of databases in
43158 databases and __nss_database_custom arrays. Declare
43159 __nss_database_custom.
43160 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43161 to avoid using nscd when custom rules are installed.
43162 * nss/getXXbyYY_r.c: Likewise.
43163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43165 * nss/nss_files/files-parse.c: Whitespace fixes.
43167 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43170 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43171 * posix/fnmatch_loop.c: Likewise.
43173 2010-07-17 Andi Kleen <ak@linux.intel.com>
43175 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43176 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43177 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43178 * Versions.def [GLIBC_2.13]: Add.
43180 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43182 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43183 Also fail if tpwd after pwuid call is NULL.
43185 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43187 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43188 when converting to ms.
43190 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43192 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43193 EOPNOTSUPP errors with ENOTTY.
43194 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43195 EOPNOTSUPP errors with ENOTTY.
43197 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43199 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43200 Add strcasecmp_l-ssse3.
43201 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43203 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43204 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43205 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43207 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43209 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43211 * string/Makefile (strop-tests): Add strcasecmp.
43212 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43213 strcasecmp_l-nonascii.
43214 (gen-as-const-headers): Add locale-defines.sym.
43215 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43216 * sysdeps/x86_64/strcasecmp.S: New file.
43217 * sysdeps/x86_64/strcasecmp_l.S: New file.
43218 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43219 * sysdeps/x86_64/locale-defines.sym: New file.
43220 * string/test-strcasecmp.c: New file.
43222 * string/test-strcasestr.c: Test both ends of the range of characters.
43223 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43225 2010-07-29 Roland McGrath <roland@redhat.com>
43228 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43230 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43232 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43235 2010-07-27 Andreas Schwab <schwab@redhat.com>
43237 * manual/memory.texi (Malloc Tunable Parameters): Document
43240 2010-07-26 Roland McGrath <roland@redhat.com>
43243 * configure.in (-fgnu89-inline check): Set and substitute
43244 gnu89_inline, not libc_cv_gnu89_inline.
43245 * configure: Regenerated.
43246 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43248 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43250 * string/test-strnlen.c: New file.
43251 * string/Makefile (strop-tests): Add strnlen.
43252 * string/tester.c (test_strnlen): Add a few more test cases.
43253 * string/tst-strlen.c: Better error reporting.
43255 * sysdeps/x86_64/strnlen.S: New file.
43257 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43259 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43260 lower-latency instructions.
43262 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43264 * string/test-strcasestr.c: New file.
43265 * string/test-strstr.c: New file.
43266 * string/Makefile (strop-tests): Add strstr and strcasestr.
43267 * string/str-two-way.h: Don't undefine MAX.
43268 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43270 2010-07-21 Andreas Schwab <schwab@redhat.com>
43272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43273 strcasestr-nonascii.
43274 (CFLAGS-strcasestr-nonascii.c): Define.
43275 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43276 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43277 Remove unused attribute.
43279 2010-07-20 Roland McGrath <roland@redhat.com>
43281 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43282 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43283 ld.so.cache was broken. With it, there is no way to disable dsocaps
43284 like LD_HWCAP_MASK can disable hwcaps.
43286 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43288 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43290 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43292 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43293 call in strcasestr.
43294 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43295 __strcasestr_sse42_nonascii.
43296 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43297 strcasestr-nonascii.c.
43298 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43300 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43302 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43303 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43304 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43305 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43307 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43309 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43312 2010-07-06 Andreas Schwab <schwab@redhat.com>
43315 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43318 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43320 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43321 _PC_PIPE_BUF using F_GETPIPE_SZ.
43323 2010-07-05 Roland McGrath <roland@redhat.com>
43325 * manual/arith.texi (Rounding Functions): Fix rint description
43326 implicit in round description.
43328 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43330 * elf/Makefile: Fix linking for a few tests to make recent linker
43333 2010-06-30 Andreas Schwab <schwab@redhat.com>
43335 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43336 $(common-objpfx)libc_nonshared.a.
43338 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43340 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43341 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43342 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43343 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43344 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43345 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43346 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43347 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43362 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43363 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43364 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43365 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43366 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43367 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43368 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43369 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43370 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43371 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43372 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43373 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43389 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43391 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43392 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43393 * string/memmove.c (memmove): Renamed to ...
43394 (MEMMOVE): ...this. Default to memmove.
43395 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43396 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43399 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43400 mempcpy-ssse3-back memmove-ssse3-back.
43401 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43402 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43403 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43404 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43405 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43406 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43407 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43408 * sysdeps/x86_64/multiarch/memmove.c: New file.
43409 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43410 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43411 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43412 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43413 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43416 (index_Fast_Copy_Backward): Define.
43417 (HAS_ARCH_FEATURE): Define.
43418 (HAS_FAST_REP_STRING): Define.
43419 (HAS_FAST_COPY_BACKWARD): Define.
43421 2010-06-21 Andreas Schwab <schwab@redhat.com>
43423 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43424 Restore proper fallback handling.
43426 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43429 * posix/group_member.c (__group_member): Correct checking loop.
43431 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43432 OOM in getpwuid_r correctly. Return error number when the caller
43433 should return, otherwise -1.
43434 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43435 call returning > 0 value.
43436 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43438 2010-06-07 Andreas Schwab <schwab@redhat.com>
43440 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43441 libc_nonshared.a from targets in modules-names.
43443 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43445 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43448 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43450 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43451 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43455 2010-06-02 Andreas Schwab <schwab@redhat.com>
43457 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43459 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43461 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43463 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43467 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43468 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43470 2010-06-14 Roland McGrath <roland@redhat.com>
43472 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43474 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43476 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43477 __REDIRECT followed by __THROW.
43478 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43479 * posix/getopt.h (getopt): Likewise.
43481 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43483 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43484 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43485 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43487 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43488 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43490 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43492 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43494 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43498 Properly check family and model.
43500 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43502 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43504 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43506 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43508 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43510 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43513 2010-05-19 Andreas Schwab <schwab@redhat.com>
43515 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43518 2010-05-21 Andreas Schwab <schwab@redhat.com>
43520 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43521 and internal_recvmmsg.
43522 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43523 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43524 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43525 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43527 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43528 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43529 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43531 2010-05-20 Andreas Schwab <schwab@redhat.com>
43533 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43535 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43537 POWER7 optimizations.
43538 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43539 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43541 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43543 * version.h: Update for 2.13 development version.
43545 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43547 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43548 exceptions. Return 0.
43550 2010-05-07 Roland McGrath <roland@redhat.com>
43552 * elf/ldconfig.c (main): Add a const.
43554 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43556 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43557 (args_options): Add no-idn option.
43558 (ahosts_keys_int): Add idn_flags to ai_flags.
43559 (parse_option): Handle 'i' option to clear idn_flags.
43561 * malloc/malloc.c (_int_free): Possible race in the most recently
43562 added check. Only act on the data if no current modification
43565 See ChangeLog.17 for earlier changes.