1 2014-05-08 Roland McGrath <roland@hack.frob.com>
3 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4 look for %.ac rather than %.in.
6 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8 * sysdeps/mach/hurd/configure: Regenerated.
9 * sysdeps/unix/sysv/linux/configure: Regenerated.
11 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13 2014-05-07 Steve Ellcey <sellcey@mips.com>
16 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20 2014-05-07 Andreas Schwab <schwab@suse.de>
22 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23 when skipping over non-matching result from nscd.
25 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
28 * nptl/sockperf.c (client): Check socket return value.
31 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34 2014-05-06 Roland McGrath <roland@hack.frob.com>
36 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37 * sysdeps/arm/unwind.h: ... here.
39 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49 multiarch strncpy for PPC64.
50 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53 multiarch optimizations.
54 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55 (__libc_ifunc_impl_list): Likewise.
56 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
57 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
58 multiarch stpncpy for PPC64.
59 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
60 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
62 2014-05-06 Andreas Schwab <schwab@suse.de>
65 * gmon/mcount.c (_MCOUNT_DECL): Use
66 atomic_compare_and_exchange_bool_acq instead of
67 catomic_compare_and_exchange_bool_acq.
69 2014-05-05 Roland McGrath <roland@hack.frob.com>
71 * elf/Makefile (others, install-bin): Remove pldd.
72 (pldd-modules): Variable removed.
73 ($(objpfx)pldd): Target removed.
74 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
75 (others, install-bin): Append pldd here.
76 ($(objpfx)pldd): New target.
78 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
79 to 0, so the first #if test emitted later doesn't see it undefined.
80 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
81 * sysdeps/gnu/errlist.c: Regenerated.
83 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
86 [libc_hidden_builtin_def]: Define to empty value.
87 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
88 [libc_hidden_builtin_def]: Likewise.
89 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
90 [libc_hidden_builtin_def]: Likewise.
91 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
92 [libc_hidden_builtin_def]: Likewise.
93 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
94 __redirect_memcpy and define ifunc as default hidden symbol.
95 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
96 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
98 2014-05-04 Adam Conrad <adconrad@0c3.net>
100 * locale/iso-4217.def: Reintroduce XDR currency.
102 2014-05-04 Allan McRae <allan@archlinux.org>
104 * po/eo.po: Update Esperanto translation from translation project.
106 2014-05-02 Carlos O'Donell <carlos@redhat.com>
108 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
109 and FEATURE_INDEX_MAX to 1.
110 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
112 2014-05-01 Steve Ellcey <sellcey@mips.com>
114 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
115 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
116 * iconvdata/big5.c (ONE_DIRECTION): Define.
117 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
118 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
119 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
120 * iconvdata/cp932.c (ONE_DIRECTION): Define.
121 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
122 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
123 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
124 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
125 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
126 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
127 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
128 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
129 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
130 * iconvdata/gbk.c (ONE_DIRECTION): Define.
131 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
132 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
133 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
134 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
135 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
136 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
137 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
138 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
139 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
140 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
141 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
142 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
143 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
144 * iconvdata/iso646.c (ONE_DIRECTION): Define.
145 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
146 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
147 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
148 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
149 * iconvdata/johab.c (ONE_DIRECTION): Define.
150 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
151 * iconvdata/sjis.c (ONE_DIRECTION): Define.
152 * iconvdata/t.61.c (ONE_DIRECTION): Define.
153 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
154 * iconvdata/tscii.c (ONE_DIRECTION): Define.
155 * iconvdata/uhc.c (ONE_DIRECTION): Define.
156 * iconvdata/unicode.c (ONE_DIRECTION): Define.
157 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
158 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
159 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
161 2014-05-01 Roland McGrath <roland@hack.frob.com>
163 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
164 (_IO_JUMPS_OFFSET): Define to 0.
166 * nptl/sysdeps/pthread/bits/libc-lock.h
167 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
168 (__libc_lock_define_initialized_recursive): Always define using
169 initializer. Modern compilers treat uninitialized (implicit zero) and
170 explicit zero initializers the same (i.e. put the datum in bss).
172 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
174 * nscd/nscd-client.h: Include <string.h>.
176 2014-05-01 David S. Miller <davem@davemloft.net>
179 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
180 multiple zero bytes exist at the end of a string.
181 Reported by Aurelien Jarno <aurelien@aurel32.net>
183 * string/test-strcmp.c (check): Add explicit test for situations where
184 there are multiple zero bytes after the first.
186 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
189 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
190 when compiling wprintf.
191 * stdio-common/tstdiomisc.c (t3): New function.
194 2014-05-01 Steve Ellcey <sellcey@mips.com>
196 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
197 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
198 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
199 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
201 2014-05-01 Steve Ellcey <sellcey@mips.com>
203 * stdlib/longlong.h: Updated from GCC.
205 2014-05-01 Will Newton <will.newton@linaro.org>
206 Bernard Ogden <bernie.ogden@linaro.org>
208 * NEWS: Update fixed bug list.
211 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
213 2014-04-30 David S. Miller <davem@davemloft.net>
215 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
216 (libc_feholdexcept_setround_sparc_ctx): New function.
217 (libc_fesetenv_sparc_ctx): Likewise.
218 (libc_feupdateenv_sparc_ctx): Likewise.
219 (libc_feholdsetround_sparc_ctx): Likewise.
220 (libc_feholdexcept_setround_ctx): Define.
221 (libc_feholdexcept_setroundf_ctx): Likewise.
222 (libc_feholdexcept_setroundl_ctx): Likewise.
223 (libc_fesetenv_ctx): Likewise.
224 (libc_fesetenvf_ctx): Likewise.
225 (libc_fesetenvl_ctx): Likewise.
226 (libc_feupdateenv_ctx): Likewise.
227 (libc_feupdateenvf_ctx): Likewise.
228 (libc_feupdateenvl_ctx): Likewise.
229 (libc_feresetround_ctx): Likewise.
230 (libc_feresetroundf_ctx): Likewise.
231 (libc_feresetroundl_ctx): Likewise.
232 (libc_feholdsetround_ctx): Likewise.
233 (libc_feholdsetroundf_ctx): Likewise.
234 (libc_feholdsetroundl_ctx): Likewise.
236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
237 with __USE_GNU instead of XOPEN cpp guards.
239 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
243 with XOPEN cpp guards.
245 2014-04-30 Julian Brown <julian@codesourcery.com>
248 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
251 2014-04-30 Joseph Myers <joseph@codesourcery.com>
254 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
256 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
257 * sysdeps/unix/sysv/linux/configure: Regenerated.
258 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
259 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
260 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
261 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
262 * README: Update reference to required Linux kernel version.
263 * manual/install.texi (Linux): Update reference to required Linux
264 kernel headers version.
265 * INSTALL: Regenerated.
267 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
269 [POSIX] (limits.h): Likewise.
270 [POSIX] (math.h): Likewise.
271 [POSIX] (sys/wait.h): Likewise.
272 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
274 [POSIX] (stddef.h): Do not allow header inclusion.
276 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
278 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
280 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
282 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
283 Return immediately after lll_futex_wake.
285 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
288 * nscd/nscd-client.h (datahead_init_common): Initialize entire
290 (datahead_init_pos): Call datahead_init_common early.
291 (datahead_init_neg): Likewise.
293 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
294 datahead_init_neg): New functions.
295 * nscd/aicache.c (addhstaiX): Use them.
296 * nscd/grpcache.c (cache_addgr): Likewise.
297 * nscd/hstcache.c (cache_addhst): Likewise.
298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
299 * nscd/netgroupcache.c (do_notfound): Likewise.
300 (addgetnetgrentX): Likewise.
301 (addinnetgrX): Likewise.
302 * nscd/pwdcache.c (cache_addpw): Likewise.
303 * nscd/servicescache.c (cache_addserv): Likewise.
305 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
306 Atsushi Onoe <atsushi@onoe.org>
311 * resolv/res_query.c (__libc_res_nsearch): Return if at least
312 one response is valid.
313 * resolv/res_send.c (send_dg): Check for validity of other
314 response if the current response is a referral.
316 2014-04-29 Steve Ellcey <sellcey@mips.com>
318 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
320 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
323 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
324 Always divide by positive zero when computing -Inf result.
325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
326 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
328 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
331 FPSCR if value do not change.
332 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
334 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
336 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
337 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
340 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
342 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
343 * sysdeps/unix/sysv/linux/hppa: Move directory from
344 ports/systeps/unix/sysv/linux/hppa.
345 * README: Update listing for hppa-*-linux-gnu.
347 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
350 * manual/stdio.texi (Hook functions): Fix types of stream hook
353 * socket/sys/socket.h: Fix typo in comment.
355 2014-04-28 Wilco <wdijkstr@arm.com>
357 * sysdeps/arm/fenv_private.h: New file.
358 * sysdeps/arm/math_private.h: New file.
359 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
361 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
363 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
365 (La_x86_64_retval): Likewise.
367 2014-04-24 Ian Bolton <ian.bolton@arm.com>
369 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
370 fpsr if value didn't change.
371 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
372 to fpcr if value didn't change.
373 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
374 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
375 fpsr or fpcr if value didn't change.
376 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
378 fpcr if value didn't change.
379 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
380 to fpsr if value didn't change.
382 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
384 * nptl/tst-sem3.c: Use test-skeleton.c
385 (main): Rename to do_test. Use return instead of
387 * nptl/tst-sem4.c: Use test-skeleton.c
388 (main): Rename to do_test.
390 2014-04-22 David S. Miller <davem@davemloft.net>
392 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
393 (struct sigaction): New struct member __glibc_reserved0, change
394 type of sa_flags to int.
396 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
398 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
399 (COUNT_LEADING_ZEROS_0): Define for AArch64.
401 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
403 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
404 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
406 2014-04-22 Will Newton <will.newton@linaro.org>
407 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
409 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
410 (__longjmp): Add longjmp and longjmp_target SystemTap
412 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
413 (__sigsetjmp): Add setjmp SystemTap probe.
415 2014-04-17 Carlos O'Donell <carlos@redhat.com>
417 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
420 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
424 * sysdeps/powerpc/fpu/fenv_private.h
425 (libc_feholdexcept_setroundl_ctx): Define to
426 libc_feholdexcept_setround_ppc_ctx.
427 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
428 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
429 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
430 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
432 2014-04-17 Ian Bolton <ian.bolton@arm.com>
434 * sysdeps/aarch64/math-tests.h: New file.
436 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
438 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
441 Check and set bit_AVX2_Usable.
442 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
444 (bit_AVX2): Likewise.
445 (index_AVX2_Usable): Likewise.
446 (CPUID_AVX2): Likewise.
447 (HAS_AVX2): Likewise.
449 2014-04-17 Will Newton <will.newton@linaro.org>
451 * manual/setjmp.texi (System V contexts): Add note that
452 calling setcontext on a context created by a call to a
453 signal handler is undefined. Update text to note that
454 setcontext from a signal handler is possible but not
458 * stdlib/tst-setcontext.c: Include signal.h.
459 (main): Check that the signal stack before and
460 after swapcontext is the same.
462 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
463 Re-implement to restore registers in user code and avoid
464 rt_sigreturn system call.
466 2014-04-17 Wilco <wdijkstr@arm.com>
468 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
469 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
470 * math/test-fenv.c: Skip exception trap tests on targets which only
471 support non-stop mode.
473 2014-04-17 Ian Bolton <ian.bolton@arm.com>
474 Wilco Dijkstra <wilco.dijkstra@arm.com>
476 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
477 (libc_feholdsetround_aarch64_ctx)
478 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
479 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
480 (libc_feresetround_ctx, libc_feresetroundf_ctx)
481 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
482 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
483 (libc_feresetround_noexl_ctx): Define.
485 2014-04-16 Richard Henderson <rth@redhat.com>
487 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
489 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
492 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
493 const from the non-libc, non-ldso copy.
495 * sysdeps/alpha/libm-test-ulps: Regenerate.
497 2014-04-16 Ian Bolton <ian.bolton@arm.com>
498 Wilco Dijkstra <wilco.dijkstra@arm.com>
500 * sysdeps/aarch64/fpu/math_private.h: New file.
502 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
504 * sysdeps/aarch64/libm-test-ulps: Regenerate.
506 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
508 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
509 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
511 Intel MPX bound registers before _dl_profile_fixup.
512 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
513 registers after _dl_profile_fixup. Save and restore bound
514 registers bnd0/bnd1 when calling _dl_call_pltexit.
515 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
516 (LR_BND_OFFSET): Likewise.
517 (LRV_BND0_OFFSET): Likewise.
518 (LRV_BND1_OFFSET): Likewise.
520 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
522 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
524 * sysdeps/mach/hurd/i386/tls.h: ... here.
525 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
526 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
529 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
531 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
533 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
535 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
537 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
540 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
541 * sysdeps/s390/configure: Regenerate.
544 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
545 Set round-to-nearest internally to reduce error accumulation.
547 2014-04-16 Alan Modra <amodra@gmail.com>
551 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
552 * math/libm-test.inc (frexp_test_data): Add tests.
553 * NEWS: Update fixed bug list.
555 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
557 * benchtests/Makefile: Depend on libraries in build directory.
558 (bench-math): Separate out math tests.
559 (bench-pthread): Separate out pthread tests.
560 (bench): Include math and pthread tests.
562 2014-04-14 Carlos O'Donell <carlos@redhat.com>
565 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
566 _dl_debug_initialize.
568 * configure.ac: Remove SELinux header check.
569 * configure: Regenerate.
570 * nscd/selinux.c (perms): Array of const char* to permission names.
571 (nscd_request_avc_has_perm): Call security_deny_unknown to find
572 default policy. Call string_to_security_class and string_to_av_perm to
573 translate strings. Enforce default policy and call avs_has_perm with
574 results of translated strings.
576 2014-04-13 David S. Miller <davem@davemloft.net>
578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
580 2014-04-12 Allan McRae <allan@archlinux.org>
583 * manual/string.texi (Collation Functions): Fix qsort argument
585 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
587 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
589 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
590 Make the test a no-op if there are no exceptions defined.
592 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
594 * elf/Makefile (tests): make tst-dlopen-aout conditional on
595 enable-hardcoded-path-in-tests
597 2014-04-11 Will Newton <will.newton@linaro.org>
599 * benchtests/Makefile (extra-objs): Add json-lib.o.
600 (bench-func): Tidy up JSON output.
601 * benchtests/bench-skeleton.c: Include json-lib.h.
602 (main): Use JSON library functions to do output of
604 * benchtests/bench-timing-type.c (main): Output the
605 timing type simply, leaving formatting to the user.
606 * benchtests/json-lib.c: New file.
607 * benchtests/json-lib.h: Likewise.
609 2014-04-11 Torvald Riegel <triegel@redhat.com>
612 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
613 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
614 memory barriers. Add comments.
615 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
616 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
617 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
618 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
619 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
620 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
622 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
624 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
625 * sysdeps/s390/s390-64/configure.ac: ... this ...
626 * sysdeps/s390/configure.ac: ... to here.
627 * sysdeps/s390/s390-32/configure: Delete file.
628 * sysdeps/s390/s390-64/configure: Delete file.
629 * sysdeps/s390/configure: Regenerate.
631 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
633 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
635 2014-04-11 Will Newton <will.newton@linaro.org>
637 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
638 to zero if it is not defined elsewhere. (mtrim): Test
639 the value of MALLOC_DEBUG with #if rather than #ifdef.
641 2014-04-10 Torvald Riegel <triegel@redhat.com>
643 * benchtests/pthread_once-inputs: New file.
644 * benchtests/pthread_once-source.c: New file.
645 * benchtests/README: Update documentation.
647 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
648 H.J. Lu <hongjiu.lu@intel.com>
650 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
651 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
652 * sysdeps/x86_64/configure: Regenerated.
653 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
655 (REGISTER_SAVE_RAX): Likewise.
656 (REGISTER_SAVE_RCX): Likewise.
657 (REGISTER_SAVE_RDX): Likewise.
658 (REGISTER_SAVE_RSI): Likewise.
659 (REGISTER_SAVE_RDI): Likewise.
660 (REGISTER_SAVE_R8): Likewise.
661 (REGISTER_SAVE_R9): Likewise.
662 (REGISTER_SAVE_BND0): Likewise.
663 (REGISTER_SAVE_BND1): Likewise.
664 (REGISTER_SAVE_BND2): Likewise.
665 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
666 bound registers when calling _dl_fixup.
668 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
671 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
673 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
674 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
675 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
676 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
677 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
678 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
679 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
681 2014-04-09 Peter Brett <peter@peter-b.co.uk>
684 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
685 pathconf(_PC_NAME_MAX).
687 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
689 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
691 (__PTHREAD_SPINS): Move definition to ...
692 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
693 (__PTHREAD_SPINS): ... here.
694 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
695 (__PTHREAD_SPIN): Likewise.
696 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
697 (__PTHREAD_SPIN): Likewise.
698 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
699 (__PTHREAD_SPIN): Likewise.
700 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
701 (__PTHREAD_SPIN): Likewise.
702 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
703 (__PTHREAD_SPIN): Likewise.
704 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
705 (__PTHREAD_SPIN): Likewise.
706 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
707 (__PTHREAD_SPIN): Likewise.
708 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
709 (__PTHREAD_SPIN): Likewise.
710 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
711 (__PTHREAD_SPIN): Likewise.
712 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
713 (__PTHREAD_SPIN): Likewise.
714 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
715 (__PTHREAD_SPIN): Likewise.
716 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
717 (__PTHREAD_SPIN): Likewise.
719 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
720 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
721 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
722 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
724 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
725 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
726 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
727 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
729 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
730 strlen symbol for non multi-arch builds.
731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
732 missing hidden_def and weak_alias.
734 2014-04-08 Carlos O'Donell <carlos@redhat.com>
736 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
738 2014-04-07 Will Newton <will.newton@linaro.org>
740 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
741 and contents. [!_LIBC] Remove #ifndef and contents.
742 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
743 * string/memccpy.c (__memccpy): Use ANSI prototype.
744 * string/memfrob.c (memfrob): Likewise.
745 * string/strcoll.c (STRCOLL): Likewise.
746 * string/strlen.c (strlen): Likewise.
747 * string/strtok.c (STRTOK): Likewise.
748 * string/strcat.c: Remove unused #include of memcopy.h.
749 (strcat): Use ANSI prototype.
750 * string/strchr.c: Remove unused #include of memcopy.h.
751 (strchr): Use ANSI prototype.
752 * string/strcmp.c: Remove unused #include of memcopy.h.
753 (strcmp): Use ANSI prototype.
754 * string/strcpy.c: Remove unused #include of memcopy.h.
755 (strcpy): Use ANSI prototype.
757 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
759 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
760 * config.make.in (config-extra-cppflags): Set it from
762 * configure.ac (libc_extra_cflags): Make it accumulate over
764 (libc_extra_cppflags): New flag.
765 * configure. Regenerate.
766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
767 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
768 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
773 result for FE_DOWNWARD rounding mode.
774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
778 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
780 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
781 in function argument name.
783 2014-04-03 David Svoboda <svoboda@cert.org>
786 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
789 2014-04-03 Roland McGrath <roland@hack.frob.com>
791 * elf/dl-unmap-segments.h: New file.
792 * sysdeps/generic/ldsodefs.h
793 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
794 * elf/dl-close.c: Include <dl-unmap-segments.h>.
795 * elf/dl-fptr.c: Likewise.
796 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
797 * sysdeps/aarch64/tlsdesc.c: Likewise.
798 * sysdeps/arm/tlsdesc.c: Likewise.
799 * sysdeps/i386/tlsdesc.c: Likewise.
800 * sysdeps/tile/dl-runtime.c: Likewise.
801 * sysdeps/x86_64/tlsdesc.c: Likewise.
802 * elf/dl-load.h: New file.
803 * elf/dl-load.c: Include it.
804 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
805 Macros moved to dl-load.h.
806 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
807 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
808 Use _dl_unmap_segments in place of __munmap.
809 Break out segment-mapping loop into ...
810 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
812 2014-04-03 Will Newton <will.newton@linaro.org>
814 * elf/dl-lookup.c (do_lookup_x): Remove comment
815 referring to nested function and move variable
816 declarations down to before first use.
818 2014-04-02 Joseph Myers <joseph@codesourcery.com>
822 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
824 * math/s_catanf.c (__catanf): Likewise.
825 * math/s_catanh.c (__catanh): Likewise.
826 * math/s_catanhf.c (__catanhf): Likewise.
827 * math/s_catanhl.c (__catanhl): Likewise.
828 * math/s_catanl.c (__catanl): Likewise.
829 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
830 by positive zero when computing -Inf result.
831 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
832 (catanh_test): Likewise.
833 * sysdeps/i386/fpu/libm-test-ulps: Update.
834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
837 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
838 instead of using underflowing value in computing result.
839 * math/s_clog10.c (__clog10): Likewise.
840 * math/s_clog10f.c (__clog10f): Likewise.
841 * math/s_clog10l.c (__clog10l): Likewise.
842 * math/s_clogf.c (__clogf): Likewise.
843 * math/s_clogl.c (__clogl): Likewise.
844 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
845 (clog10_test): Likewise.
846 * sysdeps/i386/fpu/libm-test-ulps: Update.
847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
849 2014-04-02 Alan Modra <amodra@gmail.com>
852 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
853 output when value is near a power of two. Use int64_t for lx and
854 remove casts. Use decimal rather than hex exponent constants.
855 Don't use long double multiplication when double will suffice.
856 * math/libm-test.inc (nextafter_test_data): Add tests.
857 * NEWS: Add 16739 and 16786 to bug list.
859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
861 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
863 2014-04-01 Will Newton <will.newton@linaro.org>
865 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
866 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
868 2014-04-01 Florian Weimer <fweimer@redhat.com>
871 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
872 * nptl/tst-setuid2.c: New file.
873 * nptl/Makefile (xtests): Add tst-setuid2.
875 2014-04-01 Alan Modra <amodra@gmail.com>
878 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
880 2014-03-31 Joseph Myers <joseph@codesourcery.com>
884 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
885 set errno as appropriate.
886 * math/w_scalbf.c (__scalbf): Likewise.
887 * math/w_scalbl.c (__scalbl): Likewise.
888 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
889 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
890 * math/libm-test.inc (scalb_test_data): Add errno expectations.
894 * math/w_atan2.c: Include <errno.h>.
895 (__atan2): Set errno for result underflowing to zero.
896 * math/w_atan2f.c: Include <errno.h>.
897 (__atan2f): Set errno for result underflowing to zero.
898 * math/w_atan2l.c: Include <errno.h>.
899 (__atan2l): Set errno for result underflowing to zero.
900 * math/auto-libm-test-in: Don't allow missing errno for some atan2
902 * math/auto-libm-test-out: Regenerated.
904 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
906 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
907 Encode instruction correctly in little endian.
908 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
912 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
917 2014-03-31 Joseph Myers <joseph@codesourcery.com>
920 * sysdeps/unix/sysv/linux/kernel-features.h
921 [__sparc__ && !__arch64__ && !__sparc_v9__]
922 (__ASSUME_SET_ROBUST_LIST): Do not define.
923 [__sparc__ && !__arch64__ && !__sparc_v9__]
924 (__ASSUME_FUTEX_LOCK_PI): Likewise.
925 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
927 * sysdeps/unix/sysv/linux/arm/kernel-features.h
928 (__ASSUME_FUTEX_LOCK_PI): Undefine.
929 (__ASSUME_REQUEUE_PI): Likewise.
930 (__ASSUME_SET_ROBUST_LIST): Likewise.
931 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
932 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
935 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
941 * sysdeps/unix/sysv/linux/mips/kernel-features.h
942 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
944 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
945 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
951 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
953 2014-03-31 Will Newton <will.newton@linaro.org>
955 * benchtests/Makefile (bench): Add ffs and ffsll to list
957 * benchtests/ffs-inputs: New file.
958 * benchtests/ffsll-inputs: Likewise.
960 2014-03-29 Joseph Myers <joseph@codesourcery.com>
963 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
964 too large before casting to int.
965 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
966 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
967 * math/libm-test.inc (scalb_test_data): Add more tests.
969 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
971 * benchtests/Makefile (DETAILED_OPT): New make option.
972 (bench-func): Run benchmark program with -d if DETAILED_OPT is
974 * benchtests/bench-skeleton.c: Include stdbool.h.
975 (main): Store and print timings per input.
976 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
977 member to each argument value.
978 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
979 (_print_arg_data): Initialize per-input timing to 0.
981 * benchtests/Makefile (timing-type): New binary.
982 (bench-clean): Also remove bench-timing-type.
983 (bench): New target for timing-type.
984 (bench-func): Print output in JSON format.
985 * benchtests/bench-skeleton.c (main): Print output in JSON
987 * benchtests/bench-timing-type.c: New file.
988 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
989 (TIMING_PRINT_STATS): Remove.
990 * benchtests/scripts/bench.py (_print_arg_data): Store variant
993 * benchtests/bench-modf.c: Remove.
994 * benchtests/modf-inputs: New inputs file.
996 2014-03-28 Joseph Myers <joseph@codesourcery.com>
999 * math/s_clog10.c (M_PI_LOG10E): New macro.
1000 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1001 imaginary parts are 0.
1002 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1003 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1004 imaginary parts are 0.
1005 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1006 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1007 imaginary parts are 0.
1008 * math/libm-test.inc (clog10_test_data): Update expected results
1009 for when real and imaginary parts are 0.
1011 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1013 * elf/dl-load.c: Finish conversion of __builtin_expect into
1016 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1019 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1020 1+x for argument with exponent below -67.
1021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1023 * math/auto-libm-test-in: Add more tests of exp.
1024 * math/auto-libm-test-out: Regenerated.
1026 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1029 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1030 (nscd_getnetgrent): Use it.
1033 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1036 2014-03-27 Andi Kleen <ak@linux.intel.com>
1038 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1039 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1040 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1041 (lll_robust_unlock): Remove out of line section. Use cfi
1043 (LLL_STUB_UNWIND_INFO*): Remove.
1044 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1045 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1046 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1047 (lll_robust_unlock): Remove out of line section. Use cfi
1049 (LLL_STUB_UNWIND_INFO*): Remove.
1051 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1054 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1057 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1059 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1061 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1064 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1066 * math/test-fenv-preserve.c: New file.
1067 * math/Makefile (tests): Add test-fenv-preserve.
1069 2014-03-26 Will Newton <will.newton@linaro.org>
1071 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1073 2014-03-25 Roland McGrath <roland@hack.frob.com>
1075 * scripts/versionlist.awk: Partition the version sets and emit all
1076 GLIBC_* (sorted) before all others (sorted).
1078 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1080 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1081 GLIBC_2.2.5 version.
1083 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1088 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1093 2014-03-25 Andreas Schwab <schwab@suse.de>
1095 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1096 label to be used after in6ailist is initialized.
1098 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1100 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1101 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1103 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1107 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1109 (fp_formats): Update initializers.
1110 (init_fp_formats): Initialize new field.
1111 (output_for_one_input_case): Allow underflow for results up to
1113 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1114 * math/auto-libm-test-in: Don't mark some underflows from asin and
1116 * math/auto-libm-test-out: Regenerated.
1117 * sysdeps/i386/fpu/libm-test-ulps: Update.
1118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1120 2014-03-25 Andreas Schwab <schwab@suse.de>
1122 * libio/Makefile (tst-ftell-partial-wide-ENV)
1123 (tst-ftell-active-handler-ENV): Define.
1125 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1127 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1129 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1131 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1133 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1135 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1136 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1137 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1139 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1142 * elf/dl-load.c (open_verify): Add mode parameter.
1143 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1144 (open_path): Change from boolean 'secure' to complete flag 'mode'
1145 (_dl_map_object): Adjust.
1146 * elf/Makefile (tests): Add tst-dlopen-aout.
1147 * elf/tst-dlopen-aout.c: New test.
1149 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1152 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1153 (struct stat): Rename member pad0 to __glibc_reserved0.
1156 * sysdeps/s390/s390-32/bits/wordsize.h
1157 (__WORDSIZE32_SIZE_ULONG): New define.
1158 * sysdeps/s390/s390-64/bits/wordsize.h
1159 (__WORDSIZE32_SIZE_ULONG): Likewise.
1160 * sysdeps/generic/stdint.h (SIZE_MAX):
1161 Define as UL if __WORDSIZE32_SIZE_ULONG.
1164 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1165 (__glibc_reserved0): New variable.
1166 (sa_flags): Change type to int.
1168 * posix/Makefile (before-compile): Use += before-compile instead
1171 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1172 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1174 2014-03-20 Andreas Schwab <schwab@suse.de>
1177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1178 non-matching result from nscd.
1180 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1182 * scripts/bench.py: Moved to ...
1183 * benchtests/scripts/bench.py: ... here.
1184 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1186 2014-03-24 Andreas Schwab <schwab@suse.de>
1189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1190 alloca_account and account alloca use for struct in6ailist.
1192 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1195 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1196 rounding mode to recompute results that overflow to infinity or
1198 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1200 * math/auto-libm-test-out: Regenerated.
1201 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1202 (ccosh_test): Likewise.
1203 (csin_test_data): Use plus_oflow.
1204 (csin_test): Use ALL_RM_TEST.
1205 (csinh_test_data): Use plus_oflow.
1206 (csinh_test): Use ALL_RM_TEST.
1207 * sysdeps/i386/fpu/libm-test-ulps: Update.
1208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1210 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1212 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1213 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1214 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1217 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1219 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1220 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1221 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1222 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1224 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1225 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1227 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1228 * sysdeps/i386/fpu/libm-test-ulps: Update.
1229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1231 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1233 * scripts/bench.pl: Remove file.
1234 * scripts/bench.py: New benchmark script.
1235 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1236 * benchtests/README: Mention python dependency.
1237 * scripts/pylintrc: New file.
1238 * scripts/pylint: New file.
1240 * bits/mathdef.h: Use #ifdef instead of #if.
1241 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1242 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1243 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1244 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1245 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1246 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1248 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1251 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1253 and strpbrk-ppc64 objects.
1254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1255 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1256 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1257 multiarch strpbrk for POWER7.
1258 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1259 multiarch strpbrk for PPC64.
1260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1262 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1265 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1267 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1268 (atan_test): Likewise.
1269 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1270 (atanh_test): Use ALL_RM_TEST.
1271 (atan2_test_data): Likewise.
1272 (cabs_test): Likewise.
1273 (cacosh_test): Likewise.
1274 (carg_test): Likewise.
1275 (casin_test): Likewise.
1276 (casinh_test): Likewise.
1277 (cbrt_test): Likewise.
1278 (csqrt_test): Likewise.
1279 (erf_test): Likewise.
1280 (erfc_test): Likewise.
1281 (pow10_test): Likewise.
1282 (exp2_test): Likewise.
1283 (hypot_test): Likewise.
1284 (j0_test): Likewise.
1285 (j1_test): Likewise.
1286 (lgamma_test): Likewise.
1287 (gamma_test): Likewise.
1288 (sincos_test): Likewise.
1289 (tanh_test): Likewise.
1290 (y0_test): Likewise.
1291 (y1_test): Likewise.
1292 * sysdeps/i386/fpu/libm-test-ulps: Update.
1293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1295 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1299 and strcspn-ppc64 objects.
1300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1301 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1302 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1303 multiarch strcspn for POWER7.
1304 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1305 multiarch strcspn for PPC64.
1306 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1308 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1311 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1313 * math/gen-libm-test.pl (generate_testfile): Expect only function
1314 name as argument to AUTO_TESTS_* and pass results for all rounding
1315 modes to parse_args.
1316 (parse_auto_input): Separate inputs of automatic tests from
1317 outputs before storing in %auto_tests.
1318 * math/libm-test.inc (acos_test_data): Update call to
1320 (acos_test): Use ALL_RM_TEST.
1321 (acos_tonearest_test_data): Remove.
1322 (acos_test_tonearest): Likewise.
1323 (acos_towardzero_test_data): Likewise.
1324 (acos_test_towardzero): Likewise.
1325 (acos_downward_test_data): Likewise.
1326 (acos_test_downward): Likewise.
1327 (acos_upward_test_data): Likewise.
1328 (acos_test_upward): Likewise.
1329 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1330 (asin_test_data): Likewise.
1331 (asin_test): Use ALL_RM_TEST.
1332 (asin_tonearest_test_data): Remove.
1333 (asin_test_tonearest): Likewise.
1334 (asin_towardzero_test_data): Likewise.
1335 (asin_test_towardzero): Likewise.
1336 (asin_downward_test_data): Likewise.
1337 (asin_test_downward): Likewise.
1338 (asin_upward_test_data): Likewise.
1339 (asin_test_upward): Likewise.
1340 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1341 (atan_test_data): Likewise.
1342 (atanh_test_data): Likewise.
1343 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1344 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1345 (carg_test_data): Likewise.
1346 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1347 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1348 (ccosh_test_data): Likewise.
1349 (cexp_test_data): Likewise.
1350 (clog_test_data): Likewise.
1351 (clog10_test_data): Likewise.
1352 (cos_test_data): Update call to AUTO_TESTS_f_f.
1353 (cos_test): Use ALL_RM_TEST.
1354 (cos_tonearest_test_data): Remove.
1355 (cos_test_tonearest): Likewise.
1356 (cos_towardzero_test_data): Likewise.
1357 (cos_test_towardzero): Likewise.
1358 (cos_downward_test_data): Likewise.
1359 (cos_test_downward): Likewise.
1360 (cos_upward_test_data): Likewise.
1361 (cos_test_upward): Likewise.
1362 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1363 (cosh_test): Use ALL_RM_TEST.
1364 (cosh_tonearest_test_data): Remove.
1365 (cosh_test_tonearest): Likewise.
1366 (cosh_towardzero_test_data): Likewise.
1367 (cosh_test_towardzero): Likewise.
1368 (cosh_downward_test_data): Likewise.
1369 (cosh_test_downward): Likewise.
1370 (cosh_upward_test_data): Likewise.
1371 (cosh_test_upward): Likewise.
1372 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1373 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1374 (ctan_test_data): Likewise.
1375 (ctan_test): Use ALL_RM_TEST.
1376 (ctan_tonearest_test_data): Remove.
1377 (ctan_test_tonearest): Likewise.
1378 (ctan_towardzero_test_data): Likewise.
1379 (ctan_test_towardzero): Likewise.
1380 (ctan_downward_test_data): Likewise.
1381 (ctan_test_downward): Likewise.
1382 (ctan_upward_test_data): Likewise.
1383 (ctan_test_upward): Likewise.
1384 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1385 (ctanh_test): Use ALL_RM_TEST.
1386 (ctanh_tonearest_test_data): Remove.
1387 (ctanh_test_tonearest): Likewise.
1388 (ctanh_towardzero_test_data): Likewise.
1389 (ctanh_test_towardzero): Likewise.
1390 (ctanh_downward_test_data): Likewise.
1391 (ctanh_test_downward): Likewise.
1392 (ctanh_upward_test_data): Likewise.
1393 (ctanh_test_upward): Likewise.
1394 (erf_test_data): Update call to AUTO_TESTS_f_f.
1395 (erfc_test_data): Likewise.
1396 (exp_test_data): Likewise.
1397 (exp_test): Use ALL_RM_TEST.
1398 (exp_tonearest_test_data): Remove.
1399 (exp_test_tonearest): Likewise.
1400 (exp_towardzero_test_data): Likewise.
1401 (exp_test_towardzero): Likewise.
1402 (exp_downward_test_data): Likewise.
1403 (exp_test_downward): Likewise.
1404 (exp_upward_test_data): Likewise.
1405 (exp_test_upward): Likewise.
1406 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1407 (exp10_test): Use ALL_RM_TEST.
1408 (exp10_tonearest_test_data): Remove.
1409 (exp10_test_tonearest): Likewise.
1410 (exp10_towardzero_test_data): Likewise.
1411 (exp10_test_towardzero): Likewise.
1412 (exp10_downward_test_data): Likewise.
1413 (exp10_test_downward): Likewise.
1414 (exp10_upward_test_data): Likewise.
1415 (exp10_test_upward): Likewise.
1416 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1417 (expm1_test_data): Likewise.
1418 (expm1_test): Use ALL_RM_TEST.
1419 (expm1_tonearest_test_data): Remove.
1420 (expm1_test_tonearest): Likewise.
1421 (expm1_towardzero_test_data): Likewise.
1422 (expm1_test_towardzero): Likewise.
1423 (expm1_downward_test_data): Likewise.
1424 (expm1_test_downward): Likewise.
1425 (expm1_upward_test_data): Likewise.
1426 (expm1_test_upward): Likewise.
1427 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1428 (fma_test): Use ALL_RM_TEST.
1429 (fma_towardzero_test_data): Remove.
1430 (fma_test_towardzero): Likewise.
1431 (fma_downward_test_data): Likewise.
1432 (fma_test_downward): Likewise.
1433 (fma_upward_test_data): Likewise.
1434 (fma_test_upward): Likewise.
1435 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1436 (j0_test_data): Update call to AUTO_TESTS_f_f.
1437 (j1_test_data): Likewise.
1438 (jn_test_data): Update call to AUTO_TESTS_if_f.
1439 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1440 (log_test_data): Update call to AUTO_TESTS_f_f.
1441 (log10_test_data): Likewise.
1442 (log1p_test_data): Likewise.
1443 (log2_test_data): Likewise.
1444 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1445 (pow_tonearest_test_data): Likewise.
1446 (sin_test_data): Update call to AUTO_TESTS_f_f.
1447 (sin_test): Use ALL_RM_TEST.
1448 (sin_tonearest_test_data): Remove.
1449 (sin_test_tonearest): Likewise.
1450 (sin_towardzero_test_data): Likewise.
1451 (sin_test_towardzero): Likewise.
1452 (sin_downward_test_data): Likewise.
1453 (sin_test_downward): Likewise.
1454 (sin_upward_test_data): Likewise.
1455 (sin_test_upward): Likewise.
1456 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1457 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1458 (sinh_test): Use ALL_RM_TEST.
1459 (sinh_tonearest_test_data): Remove.
1460 (sinh_test_tonearest): Likewise.
1461 (sinh_towardzero_test_data): Likewise.
1462 (sinh_test_towardzero): Likewise.
1463 (sinh_downward_test_data): Likewise.
1464 (sinh_test_downward): Likewise.
1465 (sinh_upward_test_data): Likewise.
1466 (sinh_test_upward): Likewise.
1467 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1468 (sqrt_test): Use ALL_RM_TEST.
1469 (sqrt_tonearest_test_data): Remove.
1470 (sqrt_test_tonearest): Likewise.
1471 (sqrt_towardzero_test_data): Likewise.
1472 (sqrt_test_towardzero): Likewise.
1473 (sqrt_downward_test_data): Likewise.
1474 (sqrt_test_downward): Likewise.
1475 (sqrt_upward_test_data): Likewise.
1476 (sqrt_test_upward): Likewise.
1477 (tan_test_data): Update call to AUTO_TESTS_f_f.
1478 (tan_test): Use ALL_RM_TEST.
1479 (tan_tonearest_test_data): Remove.
1480 (tan_test_tonearest): Likewise.
1481 (tan_towardzero_test_data): Likewise.
1482 (tan_test_towardzero): Likewise.
1483 (tan_downward_test_data): Likewise.
1484 (tan_test_downward): Likewise.
1485 (tan_upward_test_data): Likewise.
1486 (tan_test_upward): Likewise.
1487 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1488 (tgamma_test_data): Likewise.
1489 (y0_test_data): Likewise.
1490 (y1_test_data): Likewise.
1491 (yn_test_data): Update call to AUTO_TESTS_if_f.
1492 (main): Do not call removed functions.
1494 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1496 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1497 (ldexp_test_data): Remove.
1498 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1500 (scalb_test): Use ALL_RM_TEST.
1502 2014-03-19 Andreas Schwab <schwab@suse.de>
1504 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1506 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1509 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1510 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1511 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1513 (__ASSUME_PREADV): Undefine.
1514 (__ASSUME_PWRITEV): Likewise.
1516 2014-03-18 Roland McGrath <roland@hack.frob.com>
1518 * bits/mman-linux.h: Add comment about non-Linux use.
1519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1520 bits/mman-linux.h resting place.
1522 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1523 * bits/mman-linux.h: ... here.
1525 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1527 * conform/conformtest.pl: Add standard definition when calling C
1528 preprocessor on data files.
1529 (checknamespace): Remove unused variable.
1531 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1533 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1534 minus_oflow, plus_uflow and minus_uflow in expected results.
1535 * math/libm-test.inc (scalbn_test_data): Add more tests of
1536 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1538 (scalbn_test): Use ALL_RM_TEST.
1539 (scalbln_test_data): Add more tests of negative arguments. Use
1540 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1541 (scalbln_test): Use ALL_RM_TEST.
1543 2014-03-18 Roland McGrath <roland@hack.frob.com>
1545 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1547 2014-03-18 Will Newton <will.newton@linaro.org>
1549 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1552 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1554 * Makerules [!subdir] (check-abi): Exit with error status if a
1557 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1559 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1560 for rint. Include results for all rounding modes.
1561 (nearbyint_test): Use ALL_RM_TEST.
1562 (rint_test_data): Include all tests used for nearbyint.
1564 2014-03-17 Will Newton <will.newton@linaro.org>
1566 * nptl/sysdeps/pthread/pthread.h: Revert previous
1569 * sysdeps/generic/ldsodefs.h: Revert previous
1572 * libio/genops.c: Revert previous change.
1573 * libio/libioP.h: Likewise.
1574 * stdio-common/vfprintf.c: Likewise.
1576 * sysdeps/generic/math_private.h: Revert previous
1579 * sysdeps/generic/math_private.h: Check whether
1580 HAVE_RM_CTX is defined with #ifdef rather
1583 * argp/argp-fmtstream.h: Check whether
1584 __STRICT_ANSI__ is defined with #ifdef rather
1586 * argp/argp.h: Likewise.
1588 * libio/genops.c: Check whether
1589 _IO_JUMPS_OFFSET is defined with #ifdef rather
1591 * libio/libioP.h: Likewise.
1592 * stdio-common/vfprintf.c: Likewise.
1594 * sysdeps/generic/ldsodefs.h: Check whether
1595 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1598 * nptl/sysdeps/pthread/pthread.h: Check
1599 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1602 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1604 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1606 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1610 * libio/fileops.c (_IO_file_open): Seek to end of file but
1611 don't cache the offset.
1612 (get_file_offset): Remove function.
1613 (do_ftell): Use cached offset when available.
1614 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1615 don't cache the offset.
1616 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1618 (do_one_test): Call it.
1619 (do_ftell_test): Fix up expected old offset for a+ mode.
1620 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1623 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1624 up test status with function return status.
1625 (do_write_test): Likewise.
1626 (do_append_test): Likewise.
1628 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1629 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1632 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1634 * math/gen-libm-test.pl (parse_args): Handle results specified for
1635 each rounding mode separately.
1636 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1637 tests and results from lrint_tonearest_test_data,
1638 lrint_towardzero_test_data, lrint_downward_test_data and
1639 lrint_upward_test_data.
1640 (lrint_test): Use ALL_RM_TEST.
1641 (lrint_tonearest_test_data): Remove.
1642 (lrint_test_tonearest): Likewise.
1643 (lrint_towardzero_test_data): Likewise.
1644 (lrint_test_towardzero): Likewise.
1645 (lrint_downward_test_data): Likewise.
1646 (lrint_test_downward): Likewise.
1647 (lrint_upward_test_data): Likewise.
1648 (lrint_test_upward): Likewise.
1649 (llrint_test_data): Merge in per-rounding-mode tests and results
1650 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1651 llrint_downward_test_data and llrint_upward_test_data.
1652 (llrint_test): Use ALL_RM_TEST.
1653 (llrint_tonearest_test_data): Remove.
1654 (llrint_test_tonearest): Likewise.
1655 (llrint_towardzero_test_data): Likewise.
1656 (llrint_test_towardzero): Likewise.
1657 (llrint_downward_test_data): Likewise.
1658 (llrint_test_downward): Likewise.
1659 (llrint_upward_test_data): Likewise.
1660 (llrint_test_upward): Likewise.
1661 (rint_test_data): Merge in per-rounding-mode tests and results
1662 from rint_tonearest_test_data, rint_towardzero_test_data,
1663 rint_downward_test_data and rint_upward_test_data. Add
1664 per-rounding-mode results for tests not in those arrays.
1665 (rint_test): Use ALL_RM_TEST.
1666 (rint_tonearest_test_data): Remove.
1667 (rint_test_tonearest): Likewise.
1668 (rint_towardzero_test_data): Likewise.
1669 (rint_test_towardzero): Likewise.
1670 (rint_downward_test_data): Likewise.
1671 (rint_test_downward): Likewise.
1672 (rint_upward_test_data): Likewise.
1673 (rint_test_upward): Likewise.
1674 (main): Don't call removed functions.
1676 2014-03-14 Roland McGrath <roland@hack.frob.com>
1678 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1679 "Compiled on ..." crapola. It is anti-useful.
1681 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1683 * scripts/evaluate-test.sh: Handle fourth argument to determine
1684 whether test run should stop on failure.
1685 * Makeconfig (stop-on-test-failure): New variable.
1686 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1687 $(stop-on-test-failure).
1688 * Makefile (tests): Give a summary of results from testing and
1689 exit with failure status if they include an ERROR or FAIL.
1691 * manual/install.texi (Configuring and compiling): Mention
1692 stop-on-test-failure=y.
1693 * INSTALL: Regenerated.
1695 2014-03-14 Roland McGrath <roland@hack.frob.com>
1697 * scripts/versionlist.awk: New file.
1698 * Makerules [$(build-shared) = yes]
1699 (postclean-generated): Add Versions.def, not Versions.def.v and
1701 ($(common-objpfx)Versions.def.v.i): Target removed.
1702 ($(common-objpfx)Versions.def): New target.
1703 ($(common-objpfx)Versions.all): Depend on that rather that
1704 $(common-objpfx)Versions.def.v.
1705 * Versions.def: File removed.
1707 * Makeconfig (+gccwarn): Add -Wundef.
1708 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1709 a dl-sysdep.h breaking its contract.
1710 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1711 * include/stackinfo.h: New file.
1712 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1713 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1714 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1715 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1716 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1717 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1718 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1719 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1720 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1721 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1722 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1723 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1724 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1725 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1726 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1728 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1733 * math/libm-test.inc (round_test_data): Add more tests.
1736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1738 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1741 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1743 * math/libm-test.inc (ceil_test_data): Add more tests.
1745 * math/libm-test.inc (trunc_test_data): Add more tests related to
1748 2014-03-14 Roland McGrath <roland@hack.frob.com>
1750 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1751 with #if rather than #ifdef.
1752 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1754 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1756 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1757 first. Disable AVX-512 GCC support if assembler doesn't support
1759 * sysdeps/x86_64/configure: Regenerated.
1761 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1763 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1764 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1765 (__old_pthread_attr_setstack): Likewise.
1766 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1767 [!_STACK_GROWS_DOWN]: Likewise.
1769 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1771 * config.make.in (have-bash2): Delete.
1772 * configure.ac (libc_cv_have_bash2): Delete.
1773 * configure: Regenerate.
1774 * elf/Makefile (common-ldd-rewrite): Rename to ...
1775 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1776 (sh-ldd-rewrite): Delete.
1777 (bash-ldd-rewrite): Delete.
1778 (have-bash2): Delete checks.
1779 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1782 * config.make.in (have-ksh): Delete.
1784 * configure.ac (libc_cv_have_ksh): Delete.
1785 * configure: Regenerate.
1787 * elf/Makefile: Delete $(have-ksh) check.
1788 ($(objpfx)sotruss): Change KSH to BASH.
1789 * elf/sotruss.ksh: Rename to ...
1790 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1791 function style to match POSIX. Drop ksh vim mode setting.
1793 * manual/time.texi (Specifying the Time Zone with TZ): Change
1794 Tuesday to Thursday.
1796 * debug/tst-longjmp_chk2.c: Update header comment.
1797 (stackoverflow_handler): Add comment. Call assert on pass value.
1799 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1801 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1802 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1803 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1804 (La_x86_64_vector): Add zmm.
1805 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1806 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1807 ($(objpfx)tst-audit10): New target.
1808 ($(objpfx)tst-audit10.out): Likewise.
1809 (tst-audit10-ENV): New.
1810 (AVX512-CFLAGS): Likewise.
1811 (CFLAGS-tst-audit10.c): Likewise.
1812 (CFLAGS-tst-auditmod10a.c): Likewise.
1813 (CFLAGS-tst-auditmod10b.c): Likewise.
1814 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1815 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1816 * sysdeps/x86_64/configure: Regenerated.
1817 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1818 AVX-512 zmm register support.
1819 (_dl_x86_64_save_sse): Likewise.
1820 (_dl_x86_64_restore_sse): Likewise.
1821 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1822 size vector registers.
1823 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1824 (ZMM_SIZE): Likewise.
1825 * sysdeps/x86_64/tst-audit10.c: New file.
1826 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1827 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1829 2014-03-13 Roland McGrath <roland@hack.frob.com>
1831 * configure.ac (HAVE_EHDR_START): New check.
1832 * configure: Regenerated.
1833 * config.h.in (HAVE_EHDR_START): New #undef.
1834 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1835 assuming the lowest-addressed segment maps the start of the file.
1837 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1839 * INSTALL: Regenerated.
1841 2014-03-13 Will Newton <will.newton@linaro.org>
1843 * manual/setjmp.texi (System V contexts): Improve
1844 clarity and grammar of documentation.
1846 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1849 * elf/Makefile (tests): Add tst-pie2.
1850 (tests-pie): Add tst-pie2.
1851 * elf/tst-pie2.c: New file.
1852 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1854 * elf/rtld.c (map_doit): Load executable as lt_executable.
1855 (dl_main): Likewise.
1857 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1861 (__ASSUME_PSELECT): Undefine.
1863 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1867 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1869 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1870 selector for static builds.
1872 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1875 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1878 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1881 IFUNC selector for static builds.
1883 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1885 * sysdeps/mips/math_private.h [__mips_hard_float]
1886 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1887 libc_feresetround_mips_ctx.
1888 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1889 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1890 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1893 * math/s_nextafter.c (__nextafter): Do not return value from
1894 overflowing computation.
1895 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1896 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1897 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1901 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1902 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1904 2014-03-11 Roland McGrath <roland@hack.frob.com>
1906 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1907 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1908 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1909 the new mov targetting sp.
1911 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1914 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1915 Define it for static builds as well.
1916 (NO_BZERO_IMPL): Likewise.
1918 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1920 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1921 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1922 multiarch strspn for PPC64.
1923 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1924 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1926 (__libc_ifunc_impl_list): Likewise.
1927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1928 multiarch optimizations
1929 * string/strspn.c (strspn): Using macro to redefine symbol name.
1931 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1932 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1934 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1935 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1936 multiarch strncat for PPC64.
1937 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1938 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1940 (__libc_ifunc_impl_list): Likewise.
1941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1942 multiarch optimizations
1944 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1947 * nscd/nscd.service: Make service type forking.
1949 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1951 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1952 sign in non default rounding modes.
1953 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1955 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1957 * math/libm-test.inc (ALL_RM_TEST): New macro.
1958 (ceil_test): Use ALL_RM_TEST.
1959 (cimag_test): Likewise.
1960 (conj_test): Likewise.
1961 (copysign_test): Likewise.
1962 (cproj_test): Likewise.
1963 (creal_test): Likewise.
1964 (fabs_test): Likewise.
1965 (floor_test): Likewise.
1966 (fmax_test): Likewise.
1967 (fmin_test): Likewise.
1968 (fmod_test): Likewise.
1969 (fpclassify_test): Likewise.
1970 (frexp_test): Likewise.
1971 (ilogb_test): Likewise.
1972 (isfinite_test): Likewise.
1973 (finite_test): Likewise.
1974 (isgreater_test): Likewise.
1975 (isgreaterequal_test): Likewise.
1976 (isinf_test): Likewise.
1977 (isless_test): Likewise.
1978 (islessequal_test): Likewise.
1979 (islessgreater_test): Likewise.
1980 (isnan_test): Likewise.
1981 (isnormal_test): Likewise.
1982 (issignaling_test): Likewise.
1983 (isunordered_test): Likewise.
1984 (logb_test): Likewise.
1985 (logb_downward_test_data): Remove.
1986 (logb_test_downward): Likewise.
1987 (lround_test): Use ALL_RM_TEST.
1988 (llround_test): Likewise.
1989 (modf_test): Likewise.
1990 (nexttoward_test): Likewise.
1991 (remainder_test): Likewise.
1992 (drem_test): Likewise.
1993 (remainder_tonearest_test_data): Likewise.
1994 (remainder_test_tonearest): Likewise.
1995 (drem_test_tonearest): Likewise.
1996 (remainder_towardzero_test_data): Likewise.
1997 (remainder_test_towardzero): Likewise.
1998 (drem_test_towardzero): Likewise.
1999 (remainder_downward_test_data): Likewise.
2000 (remainder_test_downward): Likewise.
2001 (drem_test_downward): Likewise.
2002 (remainder_upward_test_data): Likewise.
2003 (remainder_test_upward): Likewise.
2004 (drem_test_upward): Likewise.
2005 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2006 (round_test): Use ALL_RM_TEST.
2007 (signbit_test): Likewise.
2008 (trunc_test): Likewise.
2009 (significand_test): Likewise.
2010 (main): Don't call removed functions.
2012 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2015 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2017 (ILL_ILLOPN): Likewise.
2018 (ILL_ILLADR): Likewise.
2019 (ILL_ILLTRP): Likewise.
2020 (ILL_PRVOPC): Likewise.
2021 (ILL_PRVREG): Likewise.
2022 (ILL_COPROC): Likewise.
2023 (ILL_BADSTK): Likewise.
2024 (FPE_INTDIV): Likewise.
2025 (FPE_INTOVF): Likewise.
2026 (FPE_FLTDIV): Likewise.
2027 (FPE_FLTOVF): Likewise.
2028 (FPE_FLTUND): Likewise.
2029 (FPE_FLTRES): Likewise.
2030 (FPE_FLTINV): Likewise.
2031 (FPE_FLTSUB): Likewise.
2032 (SEGV_MAPERR): Likewise.
2033 (SEGV_ACCERR): Likewise.
2034 (BUS_ADRALN): Likewise.
2035 (BUS_ADRERR): Likewise.
2036 (BUS_OBJERR): Likewise.
2037 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2038 (TRAP_TRACE): Likewise.
2039 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2041 (CLD_KILLED): Likewise.
2042 (CLD_DUMPED): Likewise.
2043 (CLD_TRAPPED): Likewise.
2044 (CLD_STOPPED): Likewise.
2045 (CLD_CONTINUED): Likewise.
2046 (POLL_IN): Likewise.
2047 (POLL_OUT): Likewise.
2048 (POLL_MSG): Likewise.
2049 (POLL_ERR): Likewise.
2050 (POLL_PRI): Likewise.
2051 (POLL_HUP): Likewise.
2052 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2054 (ILL_ILLOPN): Likewise.
2055 (ILL_ILLADR): Likewise.
2056 (ILL_ILLTRP): Likewise.
2057 (ILL_PRVOPC): Likewise.
2058 (ILL_PRVREG): Likewise.
2059 (ILL_COPROC): Likewise.
2060 (ILL_BADSTK): Likewise.
2061 (FPE_INTDIV): Likewise.
2062 (FPE_INTOVF): Likewise.
2063 (FPE_FLTDIV): Likewise.
2064 (FPE_FLTOVF): Likewise.
2065 (FPE_FLTUND): Likewise.
2066 (FPE_FLTRES): Likewise.
2067 (FPE_FLTINV): Likewise.
2068 (FPE_FLTSUB): Likewise.
2069 (SEGV_MAPERR): Likewise.
2070 (SEGV_ACCERR): Likewise.
2071 (BUS_ADRALN): Likewise.
2072 (BUS_ADRERR): Likewise.
2073 (BUS_OBJERR): Likewise.
2074 (BUS_MCEERR_AR): Likewise.
2075 (BUS_MCEERR_AO): Likewise.
2076 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2077 (TRAP_TRACE): Likewise.
2078 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2080 (CLD_KILLED): Likewise.
2081 (CLD_DUMPED): Likewise.
2082 (CLD_TRAPPED): Likewise.
2083 (CLD_STOPPED): Likewise.
2084 (CLD_CONTINUED): Likewise.
2085 (POLL_IN): Likewise.
2086 (POLL_OUT): Likewise.
2087 (POLL_MSG): Likewise.
2088 (POLL_ERR): Likewise.
2089 (POLL_PRI): Likewise.
2090 (POLL_HUP): Likewise.
2091 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2092 (ILL_ILLOPN): Likewise.
2093 (ILL_ILLADR): Likewise.
2094 (ILL_ILLTRP): Likewise.
2095 (ILL_PRVOPC): Likewise.
2096 (ILL_PRVREG): Likewise.
2097 (ILL_COPROC): Likewise.
2098 (ILL_BADSTK): Likewise.
2099 (FPE_INTDIV): Likewise.
2100 (FPE_INTOVF): Likewise.
2101 (FPE_FLTDIV): Likewise.
2102 (FPE_FLTOVF): Likewise.
2103 (FPE_FLTUND): Likewise.
2104 (FPE_FLTRES): Likewise.
2105 (FPE_FLTINV): Likewise.
2106 (FPE_FLTSUB): Likewise.
2107 (SEGV_MAPERR): Likewise.
2108 (SEGV_ACCERR): Likewise.
2109 (BUS_ADRALN): Likewise.
2110 (BUS_ADRERR): Likewise.
2111 (BUS_OBJERR): Likewise.
2112 (BUS_MCEERR_AR): Likewise.
2113 (BUS_MCEERR_AO): Likewise.
2114 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2115 (TRAP_TRACE): Likewise.
2116 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2118 (CLD_KILLED): Likewise.
2119 (CLD_DUMPED): Likewise.
2120 (CLD_TRAPPED): Likewise.
2121 (CLD_STOPPED): Likewise.
2122 (CLD_CONTINUED): Likewise.
2123 (POLL_IN): Likewise.
2124 (POLL_OUT): Likewise.
2125 (POLL_MSG): Likewise.
2126 (POLL_ERR): Likewise.
2127 (POLL_PRI): Likewise.
2128 (POLL_HUP): Likewise.
2129 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2131 (ILL_ILLOPN): Likewise.
2132 (ILL_ILLADR): Likewise.
2133 (ILL_ILLTRP): Likewise.
2134 (ILL_PRVOPC): Likewise.
2135 (ILL_PRVREG): Likewise.
2136 (ILL_COPROC): Likewise.
2137 (ILL_BADSTK): Likewise.
2138 (ILL_BADIADDR): Likewise.
2139 (ILL_BREAK): Likewise.
2140 (FPE_INTDIV): Likewise.
2141 (FPE_INTOVF): Likewise.
2142 (FPE_FLTDIV): Likewise.
2143 (FPE_FLTOVF): Likewise.
2144 (FPE_FLTUND): Likewise.
2145 (FPE_FLTRES): Likewise.
2146 (FPE_FLTINV): Likewise.
2147 (FPE_FLTSUB): Likewise.
2148 (FPE_DECOVF): Likewise.
2149 (FPE_DECDIV): Likewise.
2150 (FPE_DECERR): Likewise.
2151 (FPE_INVASC): Likewise.
2152 (FPE_INVDEC): Likewise.
2153 (SEGV_MAPERR): Likewise.
2154 (SEGV_ACCERR): Likewise.
2155 (SEGV_PSTKOVF): Likewise.
2156 (BUS_ADRALN): Likewise.
2157 (BUS_ADRERR): Likewise.
2158 (BUS_OBJERR): Likewise.
2159 (BUS_MCEERR_AR): Likewise.
2160 (BUS_MCEERR_AO): Likewise.
2161 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2162 (TRAP_TRACE): Likewise.
2163 (TRAP_BRANCH): Likewise.
2164 (TRAP_HWBKPT): Likewise.
2165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2167 (CLD_KILLED): Likewise.
2168 (CLD_DUMPED): Likewise.
2169 (CLD_TRAPPED): Likewise.
2170 (CLD_STOPPED): Likewise.
2171 (CLD_CONTINUED): Likewise.
2172 (POLL_IN): Likewise.
2173 (POLL_OUT): Likewise.
2174 (POLL_MSG): Likewise.
2175 (POLL_ERR): Likewise.
2176 (POLL_PRI): Likewise.
2177 (POLL_HUP): Likewise.
2178 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2179 (ILL_ILLOPN): Likewise.
2180 (ILL_ILLADR): Likewise.
2181 (ILL_ILLTRP): Likewise.
2182 (ILL_PRVOPC): Likewise.
2183 (ILL_PRVREG): Likewise.
2184 (ILL_COPROC): Likewise.
2185 (ILL_BADSTK): Likewise.
2186 (FPE_INTDIV): Likewise.
2187 (FPE_INTOVF): Likewise.
2188 (FPE_FLTDIV): Likewise.
2189 (FPE_FLTOVF): Likewise.
2190 (FPE_FLTUND): Likewise.
2191 (FPE_FLTRES): Likewise.
2192 (FPE_FLTINV): Likewise.
2193 (FPE_FLTSUB): Likewise.
2194 (SEGV_MAPERR): Likewise.
2195 (SEGV_ACCERR): Likewise.
2196 (BUS_ADRALN): Likewise.
2197 (BUS_ADRERR): Likewise.
2198 (BUS_OBJERR): Likewise.
2199 (BUS_MCEERR_AR): Likewise.
2200 (BUS_MCEERR_AO): Likewise.
2201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2202 (TRAP_TRACE): Likewise.
2203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2205 (CLD_KILLED): Likewise.
2206 (CLD_DUMPED): Likewise.
2207 (CLD_TRAPPED): Likewise.
2208 (CLD_STOPPED): Likewise.
2209 (CLD_CONTINUED): Likewise.
2210 (POLL_IN): Likewise.
2211 (POLL_OUT): Likewise.
2212 (POLL_MSG): Likewise.
2213 (POLL_ERR): Likewise.
2214 (POLL_PRI): Likewise.
2215 (POLL_HUP): Likewise.
2216 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2217 (ILL_ILLOPN): Likewise.
2218 (ILL_ILLADR): Likewise.
2219 (ILL_ILLTRP): Likewise.
2220 (ILL_PRVOPC): Likewise.
2221 (ILL_PRVREG): Likewise.
2222 (ILL_COPROC): Likewise.
2223 (ILL_BADSTK): Likewise.
2224 (FPE_INTDIV): Likewise.
2225 (FPE_INTOVF): Likewise.
2226 (FPE_FLTDIV): Likewise.
2227 (FPE_FLTOVF): Likewise.
2228 (FPE_FLTUND): Likewise.
2229 (FPE_FLTRES): Likewise.
2230 (FPE_FLTINV): Likewise.
2231 (FPE_FLTSUB): Likewise.
2232 (SEGV_MAPERR): Likewise.
2233 (SEGV_ACCERR): Likewise.
2234 (BUS_ADRALN): Likewise.
2235 (BUS_ADRERR): Likewise.
2236 (BUS_OBJERR): Likewise.
2237 (BUS_MCEERR_AR): Likewise.
2238 (BUS_MCEERR_AO): Likewise.
2239 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2240 (TRAP_TRACE): Likewise.
2241 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2243 (CLD_KILLED): Likewise.
2244 (CLD_DUMPED): Likewise.
2245 (CLD_TRAPPED): Likewise.
2246 (CLD_STOPPED): Likewise.
2247 (CLD_CONTINUED): Likewise.
2248 (POLL_IN): Likewise.
2249 (POLL_OUT): Likewise.
2250 (POLL_MSG): Likewise.
2251 (POLL_ERR): Likewise.
2252 (POLL_PRI): Likewise.
2253 (POLL_HUP): Likewise.
2254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2255 (ILL_ILLOPN): Likewise.
2256 (ILL_ILLADR): Likewise.
2257 (ILL_ILLTRP): Likewise.
2258 (ILL_PRVOPC): Likewise.
2259 (ILL_PRVREG): Likewise.
2260 (ILL_COPROC): Likewise.
2261 (ILL_BADSTK): Likewise.
2262 (FPE_INTDIV): Likewise.
2263 (FPE_INTOVF): Likewise.
2264 (FPE_FLTDIV): Likewise.
2265 (FPE_FLTOVF): Likewise.
2266 (FPE_FLTUND): Likewise.
2267 (FPE_FLTRES): Likewise.
2268 (FPE_FLTINV): Likewise.
2269 (FPE_FLTSUB): Likewise.
2270 (SEGV_MAPERR): Likewise.
2271 (SEGV_ACCERR): Likewise.
2272 (BUS_ADRALN): Likewise.
2273 (BUS_ADRERR): Likewise.
2274 (BUS_OBJERR): Likewise.
2275 (BUS_MCEERR_AR): Likewise.
2276 (BUS_MCEERR_AO): Likewise.
2277 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2278 (TRAP_TRACE): Likewise.
2279 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2281 (CLD_KILLED): Likewise.
2282 (CLD_DUMPED): Likewise.
2283 (CLD_TRAPPED): Likewise.
2284 (CLD_STOPPED): Likewise.
2285 (CLD_CONTINUED): Likewise.
2286 (POLL_IN): Likewise.
2287 (POLL_OUT): Likewise.
2288 (POLL_MSG): Likewise.
2289 (POLL_ERR): Likewise.
2290 (POLL_PRI): Likewise.
2291 (POLL_HUP): Likewise.
2292 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2293 (ILL_ILLOPN): Likewise.
2294 (ILL_ILLADR): Likewise.
2295 (ILL_ILLTRP): Likewise.
2296 (ILL_PRVOPC): Likewise.
2297 (ILL_PRVREG): Likewise.
2298 (ILL_COPROC): Likewise.
2299 (ILL_BADSTK): Likewise.
2300 (ILL_DBLFLT): Likewise.
2301 (ILL_HARDWALL): Likewise.
2302 (FPE_INTDIV): Likewise.
2303 (FPE_INTOVF): Likewise.
2304 (FPE_FLTDIV): Likewise.
2305 (FPE_FLTOVF): Likewise.
2306 (FPE_FLTUND): Likewise.
2307 (FPE_FLTRES): Likewise.
2308 (FPE_FLTINV): Likewise.
2309 (FPE_FLTSUB): Likewise.
2310 (SEGV_MAPERR): Likewise.
2311 (SEGV_ACCERR): Likewise.
2312 (BUS_ADRALN): Likewise.
2313 (BUS_ADRERR): Likewise.
2314 (BUS_OBJERR): Likewise.
2315 (BUS_MCEERR_AR): Likewise.
2316 (BUS_MCEERR_AO): Likewise.
2317 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2318 (TRAP_TRACE): Likewise.
2319 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2321 (CLD_KILLED): Likewise.
2322 (CLD_DUMPED): Likewise.
2323 (CLD_TRAPPED): Likewise.
2324 (CLD_STOPPED): Likewise.
2325 (CLD_CONTINUED): Likewise.
2326 (POLL_IN): Likewise.
2327 (POLL_OUT): Likewise.
2328 (POLL_MSG): Likewise.
2329 (POLL_ERR): Likewise.
2330 (POLL_PRI): Likewise.
2331 (POLL_HUP): Likewise.
2332 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2333 (ILL_ILLOPN): Likewise.
2334 (ILL_ILLADR): Likewise.
2335 (ILL_ILLTRP): Likewise.
2336 (ILL_PRVOPC): Likewise.
2337 (ILL_PRVREG): Likewise.
2338 (ILL_COPROC): Likewise.
2339 (ILL_BADSTK): Likewise.
2340 (FPE_INTDIV): Likewise.
2341 (FPE_INTOVF): Likewise.
2342 (FPE_FLTDIV): Likewise.
2343 (FPE_FLTOVF): Likewise.
2344 (FPE_FLTUND): Likewise.
2345 (FPE_FLTRES): Likewise.
2346 (FPE_FLTINV): Likewise.
2347 (FPE_FLTSUB): Likewise.
2348 (SEGV_MAPERR): Likewise.
2349 (SEGV_ACCERR): Likewise.
2350 (BUS_ADRALN): Likewise.
2351 (BUS_ADRERR): Likewise.
2352 (BUS_OBJERR): Likewise.
2353 (BUS_MCEERR_AR): Likewise.
2354 (BUS_MCEERR_AO): Likewise.
2355 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2356 (TRAP_TRACE): Likewise.
2357 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2359 (CLD_KILLED): Likewise.
2360 (CLD_DUMPED): Likewise.
2361 (CLD_TRAPPED): Likewise.
2362 (CLD_STOPPED): Likewise.
2363 (CLD_CONTINUED): Likewise.
2364 (POLL_IN): Likewise.
2365 (POLL_OUT): Likewise.
2366 (POLL_MSG): Likewise.
2367 (POLL_ERR): Likewise.
2368 (POLL_PRI): Likewise.
2369 (POLL_HUP): Likewise.
2370 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2371 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2374 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2375 before #include of <time.h>.
2376 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2377 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2378 (test-xfail-UNIX98/sched.h/conform): Likewise.
2380 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2382 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2383 error absence of trapping exception support.
2384 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2386 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2388 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2389 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2390 * timezone/Makefile (testdata): Move definition above include of
2392 (test-zones): New variable.
2393 (tests-special): Add zone files.
2394 (build-testdata): Use $(evaluate-test).
2396 * elf/Makefile (tests-special): Rename tests to end with .out.
2397 ($(objpfx)noload-mem): Likewise.
2398 ($(objpfx)tst-leaks1-mem): Likewise.
2399 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2400 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2401 $(objpfx)test-iconvconfig.out.
2402 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2403 set -e inside subshell and redirect output to file.
2404 * iconvdata/Makefile (generated): Rename tests to end with .out.
2406 (tests-special): Rename tests to end with .out.
2407 ($(objpfx)mtrace-tst-loading): Likewise.
2408 * intl/Makefile (generated): Likewise.
2409 (tests-special): Likewise.
2410 ($(objpfx)mtrace-tst-gettext): Likewise.
2411 * misc/Makefile (generated): Likewise.
2412 (tests-special): Likewise.
2413 ($(objpfx)tst-error1-mem): Likewise.
2414 * nptl/Makefile (tests-special): Likewise.
2415 ($(objpfx)tst-stack3-mem): Likewise.
2416 (generated): Likewise.
2417 * posix/Makefile (generated): Likewise.
2418 (tests-special): Likewise.
2419 (xtests-special): Likewise.
2420 ($(objpfx)tst-fnmatch-mem): Likewise.
2421 ($(objpfx)bug-regex2-mem): Likewise.
2422 ($(objpfx)bug-regex14-mem): Likewise.
2423 ($(objpfx)bug-regex21-mem): Likewise.
2424 ($(objpfx)bug-regex31-mem): Likewise.
2425 ($(objpfx)tst-vfork3-mem): Likewise.
2426 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2427 ($(objpfx)tst-pcre-mem): Likewise.
2428 ($(objpfx)tst-boost-mem): Likewise.
2429 ($(objpfx)bug-ga2-mem): Likewise.
2430 ($(objpfx)bug-glob2-mem): Likewise.
2431 * resolv/Makefile (generate): Likewise.
2432 (tests-special): Likewise.
2433 (xtests-special): Likewise.
2434 (generated): Likewise.
2435 ($(objpfx)mtrace-tst-leaks): Likewise.
2436 ($(objpfx)mtrace-tst-leaks2): Likewise.
2438 * scripts/merge-test-results.sh: New file.
2439 * Makefile (tests-special-notdir): New variable.
2440 (tests): Run merge-test-results.sh.
2442 * Rules (tests-special-notdir): New variable.
2443 (xtests-special-notdir): Likewise.
2444 (tests): Run merge-test-results.sh
2447 * Makeconfig (test-xfail-name): New variable.
2448 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2449 compute variable name for expected failures.
2450 * conform/Makefile (conformtest-headers-data): New variable.
2451 (conformtest-standards): Likewise.
2452 (conformtest-headers-ISO): Likewise.
2453 (conformtest-headers-ISO99): Likewise.
2454 (conformtest-headers-ISO11): Likewise.
2455 (conformtest-headers-POSIX): Likewise.
2456 (conformtest-headers-XPG3): Likewise.
2457 (conformtest-headers-XPG4): Likewise.
2458 (conformtest-headers-UNIX98): Likewise.
2459 (conformtest-headers-XOPEN2K): Likewise.
2460 (conformtest-headers-POSIX2008): Likewise.
2461 (conformtest-headers-XOPEN2K8): Likewise.
2462 (conformtest-header-list-base): Likewise.
2463 (conformtest-header-list-tests): Likewise.
2464 (conformtest-header-base): Likewise.
2465 (conformtest-header-tests): Likewise.
2466 (tests-special): Add $(conformtest-header-list-tests). If
2467 [$(fast-check) && !$(cross-compiling)], add
2468 $(conformtest-header-tests) instead of
2469 $(objpfx)run-conformtest.out.
2470 (generated): Add $(conformtest-header-list-base). If
2471 [$(fast-check) && !$(cross-compiling)], add
2472 $(conformtest-header-base). Remove previous setting.
2473 ($(conformtest-header-list-tests)): New target.
2474 (test-xfail-run-conformtest): Remove variable.
2475 ($(objpfx)run-conformtest.out): Remove target.
2476 (test-xfail-ISO11/complex.h/conform): New variable.
2477 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2478 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2479 (test-xfail-XPG3/varargs.h/conform): Likewise.
2480 (test-xfail-XPG4/varargs.h/conform): Likewise.
2481 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2482 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2483 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2484 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2485 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2486 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2487 (test-xfail-XPG3/ftw.h/conform): Likewise.
2488 (test-xfail-XPG3/grp.h/conform): Likewise.
2489 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2490 (test-xfail-XPG3/limits.h/conform): Likewise.
2491 (test-xfail-XPG3/pwd.h/conform): Likewise.
2492 (test-xfail-XPG3/search.h/conform): Likewise.
2493 (test-xfail-XPG3/signal.h/conform): Likewise.
2494 (test-xfail-XPG3/stdio.h/conform): Likewise.
2495 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2496 (test-xfail-XPG3/string.h/conform): Likewise.
2497 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2498 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2499 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2500 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2501 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2502 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2503 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2504 (test-xfail-XPG3/termios.h/conform): Likewise.
2505 (test-xfail-XPG3/time.h/conform): Likewise.
2506 (test-xfail-XPG3/unistd.h/conform): Likewise.
2507 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2508 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2509 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2510 (test-xfail-XPG4/netdb.h/conform): Likewise.
2511 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2512 (test-xfail-XPG4/signal.h/conform): Likewise.
2513 (test-xfail-XPG4/stdio.h/conform): Likewise.
2514 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2515 (test-xfail-XPG4/stropts.h/conform): Likewise.
2516 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2517 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2518 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2519 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2520 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2521 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2522 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2523 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2524 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2525 (test-xfail-XPG4/termios.h/conform): Likewise.
2526 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2527 (test-xfail-XPG4/unistd.h/conform): Likewise.
2528 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2529 (test-xfail-POSIX/sched.h/conform): Likewise.
2530 (test-xfail-POSIX/signal.h/conform): Likewise.
2531 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2532 (test-xfail-POSIX/tar.h/conform): Likewise.
2533 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2534 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2535 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2536 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2537 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2538 (test-xfail-UNIX98/sched.h/conform): Likewise.
2539 (test-xfail-UNIX98/signal.h/conform): Likewise.
2540 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2541 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2542 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2543 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2544 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2545 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2546 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2547 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2548 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2549 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2550 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2551 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2552 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2553 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2554 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2555 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2556 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2557 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2558 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2559 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2560 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2561 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2562 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2563 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2564 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2565 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2566 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2567 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2568 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2569 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2570 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2571 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2572 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2573 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2574 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2575 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2576 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2577 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2578 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2579 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2580 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2581 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2582 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2583 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2584 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2585 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2586 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2587 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2588 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2589 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2590 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2591 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2592 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2593 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2594 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2595 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2596 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2597 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2598 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2599 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2600 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2601 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2602 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2603 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2604 (conformtest-cc-flags): Likewise.
2605 ($(conformtest-header-tests): New target.
2606 * conform/check-header-lists.sh: New file.
2607 * conform/run-conformtest.sh: Remove.
2609 * conform/conformtest.pl: Allow ' and \ in values given for
2611 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2613 [POSIX] (sys/types.h): Likewise.
2614 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2616 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2618 * conform/data/signal.h-data (SIGIO): Remove expectation.
2619 [XPG3] (SIGBUS): Do not expect.
2620 [POSIX || XPG3] (SIGPOLL): Likewise.
2621 [POSIX || XPG3] (SIGPROF): Likewise.
2622 [POSIX || XPG3] (SIGSYS): Likewise.
2623 [XPG3] (SIGTRAP): Likewise.
2624 [POSIX || XPG3] (SIGURG): Likewise.
2625 [POSIX || XPG3] (SIGVTALRM): Likewise.
2626 [POSIX || XPG3] (SIGXCPU): Likewise.
2627 [POSIX || XPG3] (SIGXFSZ): Likewise.
2628 [POSIX] (SA_SIGINFO): Expect.
2629 [XPG3] (siginfo_t): Do not expect type or contents.
2630 [POSIX] (si_pid): Do not expect element.
2631 [POSIX] (si_uid): Likewise.
2632 [POSIX] (si_addr): Likewise.
2633 [POSIX] (si_status): Likewise.
2634 [POSIX] (si_band): Likewise.
2635 [XPG4] (si_value): Likewise.
2636 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2637 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2638 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2639 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2640 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2641 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2642 [POSIX || XPG3] (ILL_COPROC): Likewise.
2643 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2644 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2645 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2646 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2647 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2648 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2649 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2650 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2651 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2652 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2653 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2654 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2655 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2656 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2657 [POSIX || XPG3] (CLD_EXITED): Likewise.
2658 [POSIX || XPG3] (CLD_KILLED): Likewise.
2659 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2660 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2661 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2662 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2663 [POSIX || XPG3] (POLL_IN): Likewise.
2664 [POSIX || XPG3] (POLL_OUT): Likewise.
2665 [POSIX || XPG3] (POLL_MSG): Likewise.
2666 [POSIX || XPG3] (POLL_ERR): Likewise.
2667 [POSIX || XPG3] (POLL_PRI): Likewise.
2668 [POSIX || XPG3] (POLL_HUP): Likewise.
2669 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2670 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2671 (SIG*): Do not allow.
2672 [XPG3] (si_*): Likewise.
2673 [XPG3] (SI_*): Likewise.
2674 [XPG3 || XPG4] (sigev_*): Likewise.
2675 [XPG3 || XPG4] (SIGEV_*): Likewise.
2676 [XPG3 || XPG4] (sival_*): Likewise.
2677 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2678 [POSIX || XPG3] (BUS_*): Likewise.
2679 [POSIX || XPG3] (CLD_*): Likewise.
2680 [POSIX || XPG3] (FPE_*): Likewise.
2681 [POSIX || XPG3] (ILL_*): Likewise.
2682 [POSIX || XPG3] (POLL_*): Likewise.
2683 [POSIX || XPG3] (SEGV_*): Likewise.
2684 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2685 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2686 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2687 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2688 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2689 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2690 Specify type and value.
2691 (TVERSLEN): Likewise.
2692 (REGTYPE): Likewise.
2693 (AREGTYPE): Likewise.
2694 (LNKTYPE): Likewise.
2695 (SYMTYPE): Likewise.
2696 (CHRTYPE): Likewise.
2697 (BLKTYPE): Likewise.
2698 (DIRTYPE): Likewise.
2699 (FIFOTYPE): Likewise.
2700 (CONTTYPE): Likewise.
2705 (TUWRITE): Likewise.
2708 (TGWRITE): Likewise.
2711 (TOWRITE): Likewise.
2713 [POSIX] (TSVTX): Expect constant.
2715 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2717 * Makefile (tests): Change dependencies to ....
2718 (tests-special): ... additions to this variable.
2719 (tests): Depend on $(tests-special).
2720 * Makerules (check-abi-list): New variable.
2721 (check-abi): Depend on $(check-abi-list).
2722 [$(subdir) = elf] (tests-special): Add
2723 $(objpfx)check-abi-libc.out.
2724 [$(build-shared) = yes && subdir] (tests-special): Add
2726 [$(build-shared) = yes && subdir] (tests): Do not depend on
2728 * Rules (tests): Depend on $(tests-special).
2729 (xtests): Depend on $(xtests-special).
2730 * catgets/Makefile (tests): Change dependencies to ....
2731 (tests-special): ... additions to this variable.
2732 * conform/Makefile (tests): Change dependencies to ....
2733 (tests-special): ... additions to this variable.
2734 * elf/Makefile (tests): Change dependencies to ....
2735 (tests-special): ... additions to this variable.
2736 * grp/Makefile (tests): Change dependencies to ....
2737 (tests-special): ... additions to this variable.
2738 * iconv/Makefile (xtests): Change dependencies to ....
2739 (xtests-special): ... additions to this variable.
2740 * iconvdata/Makefile (tests): Change dependencies to ....
2741 (tests-special): ... additions to this variable.
2742 * intl/Makefile (tests): Change dependencies to ....
2743 (tests-special): ... additions to this variable. Also add
2744 $(objpfx)tst-gettext.out.
2745 * io/Makefile (tests): Change dependencies to ....
2746 (tests-special): ... additions to this variable.
2747 * libio/Makefile (tests): Change dependencies to ....
2748 (tests-special): ... additions to this variable.
2749 * malloc/Makefile (tests): Change dependencies to ....
2750 (tests-special): ... additions to this variable.
2751 * misc/Makefile (tests): Change dependencies to ....
2752 (tests-special): ... additions to this variable.
2753 * nptl/Makefile (tests): Change dependencies to ....
2754 (tests-special): ... additions to this variable.
2755 * nptl_db/Makefile (tests): Change dependencies to ....
2756 (tests-special): ... additions to this variable.
2757 * posix/Makefile (tests): Change dependencies to ....
2758 (tests-special): ... additions to this variable.
2759 (xtests): Change dependencies to ....
2760 (xtests-special): ... additions to this variable.
2761 * resolv/Makefile (tests): Change dependencies to ....
2762 (tests-special): ... additions to this variable.
2763 (xtests): Change dependencies to ....
2764 (xtests-special): ... additions to this variable.
2765 * stdio-common/Makefile (tests): Change dependencies to ....
2766 (tests-special): ... additions to this variable.
2767 (do-tst-unbputc): Remove target.
2768 (do-tst-printf): Likewise.
2769 * stdlib/Makefile (tests): Change dependencies to ....
2770 (tests-special): ... additions to this variable.
2771 * string/Makefile (tests): Change dependencies to ....
2772 (tests-special): ... additions to this variable.
2773 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2774 (tests-special): ... additions to this variable.
2776 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2778 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2780 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2781 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2783 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2784 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2785 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2786 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2787 * conform/data/libgen.h-data [XPG3]: Likewise.
2788 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2789 * conform/data/ndbm.h-data [XPG3]: Likewise.
2790 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2791 * conform/data/netdb.h-data [XPG3]: Likewise.
2792 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2793 * conform/data/poll.h-data [XPG3]: Likewise.
2794 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2795 * conform/data/strings.h-data [XPG3]: Likewise.
2796 * conform/data/stropts.h-data [XPG3]: Likewise.
2797 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2798 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2799 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2801 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2802 * conform/data/sys/time.h-data [XPG3]: Likewise.
2803 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2804 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2805 * conform/data/sys/un.h-data [XPG3]: Likewise.
2806 * conform/data/syslog.h-data [XPG3]: Likewise.
2807 * conform/data/ucontext.h-data [XPG3]: Likewise.
2808 * conform/data/utmpx.h-data [XPG3]: Likewise.
2809 * conform/data/varargs.h-data [UNIX98]: Enable file.
2811 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2813 * math/libm-test.inc (struct test_f_f_data): Move expected results
2814 into structure for each rounding mode.
2815 (struct test_ff_f_data): Likewise.
2816 (struct test_ff_f_data_nexttoward): Likewise.
2817 (struct test_fi_f_data): Likewise.
2818 (struct test_fl_f_data): Likewise.
2819 (struct test_if_f_data): Likewise.
2820 (struct test_fff_f_data): Likewise.
2821 (struct test_c_f_data): Likewise.
2822 (struct test_f_f1_data): Likewise.
2823 (struct test_fF_f1_data): Likewise.
2824 (struct test_ffI_f1_data): Likewise.
2825 (struct test_c_c_data): Likewise.
2826 (struct test_cc_c_data): Likewise.
2827 (struct test_f_i_data): Likewise.
2828 (struct test_ff_i_data): Likewise.
2829 (struct test_f_l_data): Likewise.
2830 (struct test_f_L_data): Likewise.
2831 (struct test_fFF_11_data): Likewise.
2833 (RM_FE_DOWNWARD): Likewise.
2834 (RM_FE_TONEAREST): Likewise.
2835 (RM_FE_TOWARDZERO): Likewise.
2836 (RM_FE_UPWARD): Likewise.
2837 (RUN_TEST_LOOP_f_f): Update references to expected results.
2838 (RUN_TEST_LOOP_2_f): Likewise.
2839 (RUN_TEST_LOOP_fff_f): Likewise.
2840 (RUN_TEST_LOOP_c_f): Likewise.
2841 (RUN_TEST_LOOP_f_f1): Likewise.
2842 (RUN_TEST_LOOP_fF_f1): Likewise.
2843 (RUN_TEST_LOOP_fI_f1): Likewise.
2844 (RUN_TEST_LOOP_ffI_f1): Likewise.
2845 (RUN_TEST_LOOP_c_c): Likewise.
2846 (RUN_TEST_LOOP_cc_c): Likewise.
2847 (RUN_TEST_LOOP_f_i): Likewise.
2848 (RUN_TEST_LOOP_f_i_tg): Likewise.
2849 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2850 (RUN_TEST_LOOP_f_b): Likewise.
2851 (RUN_TEST_LOOP_f_b_tg): Likewise.
2852 (RUN_TEST_LOOP_f_l): Likewise.
2853 (RUN_TEST_LOOP_f_L): Likewise.
2854 (RUN_TEST_LOOP_fFF_11): Likewise.
2855 * math/gen-libm-test.pl (parse_args): Output four copies of
2856 expected results for each test.
2858 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2859 (__ASSUME_UTIMES): Remove.
2860 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2861 (__ASSUME_UTIMES): Likewise.
2863 * math/gen-auto-libm-tests.c: Update comment on output format.
2864 (output_for_one_input_case): Generate before-rounding and
2865 after-rounding information as conditions on output flags not
2866 floating-point format.
2867 * math/auto-libm-test-out: Regenerated.
2868 * math/gen-libm-test.pl (cond_value): New function.
2869 (or_cond_value): Use cond_value.
2870 (generate_testfile): Handle conditional exceptions.
2872 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2874 * math/libm-test.inc (max_valid_error): New variable.
2875 (init_max_error): Take new argument specifying whether function
2876 results are exactly determined. Set max_valid_error and bound
2877 other variables for errors based on this argument.
2878 (set_max_error): Do not record results above max_valid_error.
2879 (check_float_internal): Only accept errors of up to 0.5ulps if
2880 also at most max_valid_error.
2881 (START): Take new argument EXACT and pass it to init_max_error.
2882 (acos_test): Update call to START.
2883 (acos_test_tonearest): Likewise.
2884 (acos_test_towardzero): Likewise.
2885 (acos_test_downward): Likewise.
2886 (acos_test_upward): Likewise.
2887 (acosh_test): Likewise.
2888 (asin_test): Likewise.
2889 (asin_test_tonearest): Likewise.
2890 (asin_test_towardzero): Likewise.
2891 (asin_test_downward): Likewise.
2892 (asin_test_upward): Likewise.
2893 (asinh_test): Likewise.
2894 (atan_test): Likewise.
2895 (atanh_test): Likewise.
2896 (atan2_test): Likewise.
2897 (cabs_test): Likewise.
2898 (cacos_test): Likewise.
2899 (cacosh_test): Likewise.
2900 (carg_test): Likewise.
2901 (casin_test): Likewise.
2902 (casinh_test): Likewise.
2903 (catan_test): Likewise.
2904 (catanh_test): Likewise.
2905 (cbrt_test): Likewise.
2906 (ccos_test): Likewise.
2907 (ccosh_test): Likewise.
2908 (ceil_test): Likewise.
2909 (cexp_test): Likewise.
2910 (cimag_test): Likewise.
2911 (clog_test): Likewise.
2912 (clog10_test): Likewise.
2913 (conj_test): Likewise.
2914 (copysign_test): Likewise.
2915 (cos_test): Likewise.
2916 (cos_test_tonearest): Likewise.
2917 (cos_test_towardzero): Likewise.
2918 (cos_test_downward): Likewise.
2919 (cos_test_upward): Likewise.
2920 (cosh_test): Likewise.
2921 (cosh_test_tonearest): Likewise.
2922 (cosh_test_towardzero): Likewise.
2923 (cosh_test_downward): Likewise.
2924 (cosh_test_upward): Likewise.
2925 (cpow_test): Likewise.
2926 (cproj_test): Likewise.
2927 (creal_test): Likewise.
2928 (csin_test): Likewise.
2929 (csinh_test): Likewise.
2930 (csqrt_test): Likewise.
2931 (ctan_test): Likewise.
2932 (ctan_test_tonearest): Likewise.
2933 (ctan_test_towardzero): Likewise.
2934 (ctan_test_downward): Likewise.
2935 (ctan_test_upward): Likewise.
2936 (ctanh_test): Likewise.
2937 (ctanh_test_tonearest): Likewise.
2938 (ctanh_test_towardzero): Likewise.
2939 (ctanh_test_downward): Likewise.
2940 (ctanh_test_upward): Likewise.
2941 (erf_test): Likewise.
2942 (erfc_test): Likewise.
2943 (exp_test): Likewise.
2944 (exp_test_tonearest): Likewise.
2945 (exp_test_towardzero): Likewise.
2946 (exp_test_downward): Likewise.
2947 (exp_test_upward): Likewise.
2948 (exp10_test): Likewise.
2949 (exp10_test_tonearest): Likewise.
2950 (exp10_test_towardzero): Likewise.
2951 (exp10_test_downward): Likewise.
2952 (exp10_test_upward): Likewise.
2953 (pow10_test): Likewise.
2954 (exp2_test): Likewise.
2955 (expm1_test): Likewise.
2956 (expm1_test_tonearest): Likewise.
2957 (expm1_test_towardzero): Likewise.
2958 (expm1_test_downward): Likewise.
2959 (expm1_test_upward): Likewise.
2960 (fabs_test): Likewise.
2961 (fdim_test): Likewise.
2962 (floor_test): Likewise.
2963 (fma_test): Likewise.
2964 (fma_test_towardzero): Likewise.
2965 (fma_test_downward): Likewise.
2966 (fma_test_upward): Likewise.
2967 (fmax_test): Likewise.
2968 (fmin_test): Likewise.
2969 (fmod_test): Likewise.
2970 (fpclassify_test): Likewise.
2971 (frexp_test): Likewise.
2972 (hypot_test): Likewise.
2973 (ilogb_test): Likewise.
2974 (isfinite_test): Likewise.
2975 (finite_test): Likewise.
2976 (isgreater_test): Likewise.
2977 (isgreaterequal_test): Likewise.
2978 (isinf_test): Likewise.
2979 (isless_test): Likewise.
2980 (islessequal_test): Likewise.
2981 (islessgreater_test): Likewise.
2982 (isnan_test): Likewise.
2983 (isnormal_test): Likewise.
2984 (issignaling_test): Likewise.
2985 (isunordered_test): Likewise.
2986 (j0_test): Likewise.
2987 (j1_test): Likewise.
2988 (jn_test): Likewise.
2989 (ldexp_test): Likewise.
2990 (lgamma_test): Likewise.
2991 (gamma_test): Likewise.
2992 (lrint_test): Likewise.
2993 (lrint_test_tonearest): Likewise.
2994 (lrint_test_towardzero): Likewise.
2995 (lrint_test_downward): Likewise.
2996 (lrint_test_upward): Likewise.
2997 (llrint_test): Likewise.
2998 (llrint_test_tonearest): Likewise.
2999 (llrint_test_towardzero): Likewise.
3000 (llrint_test_downward): Likewise.
3001 (llrint_test_upward): Likewise.
3002 (log_test): Likewise.
3003 (log10_test): Likewise.
3004 (log1p_test): Likewise.
3005 (log2_test): Likewise.
3006 (logb_test): Likewise.
3007 (logb_test_downward): Likewise.
3008 (lround_test): Likewise.
3009 (llround_test): Likewise.
3010 (modf_test): Likewise.
3011 (nearbyint_test): Likewise.
3012 (nextafter_test): Likewise.
3013 (nexttoward_test): Likewise.
3014 (pow_test): Likewise.
3015 (pow_test_tonearest): Likewise.
3016 (pow_test_towardzero): Likewise.
3017 (pow_test_downward): Likewise.
3018 (pow_test_upward): Likewise.
3019 (remainder_test): Likewise.
3020 (drem_test): Likewise.
3021 (remainder_test_tonearest): Likewise.
3022 (drem_test_tonearest): Likewise.
3023 (remainder_test_towardzero): Likewise.
3024 (drem_test_towardzero): Likewise.
3025 (remainder_test_downward): Likewise.
3026 (drem_test_downward): Likewise.
3027 (remainder_test_upward): Likewise.
3028 (drem_test_upward): Likewise.
3029 (remquo_test): Likewise.
3030 (rint_test): Likewise.
3031 (rint_test_tonearest): Likewise.
3032 (rint_test_towardzero): Likewise.
3033 (rint_test_downward): Likewise.
3034 (rint_test_upward): Likewise.
3035 (round_test): Likewise.
3036 (scalb_test): Likewise.
3037 (scalbn_test): Likewise.
3038 (scalbln_test): Likewise.
3039 (signbit_test): Likewise.
3040 (sin_test): Likewise.
3041 (sin_test_tonearest): Likewise.
3042 (sin_test_towardzero): Likewise.
3043 (sin_test_downward): Likewise.
3044 (sin_test_upward): Likewise.
3045 (sincos_test): Likewise.
3046 (sinh_test): Likewise.
3047 (sinh_test_tonearest): Likewise.
3048 (sinh_test_towardzero): Likewise.
3049 (sinh_test_downward): Likewise.
3050 (sinh_test_upward): Likewise.
3051 (sqrt_test): Likewise.
3052 (sqrt_test_tonearest): Likewise.
3053 (sqrt_test_towardzero): Likewise.
3054 (sqrt_test_downward): Likewise.
3055 (sqrt_test_upward): Likewise.
3056 (tan_test): Likewise.
3057 (tan_test_tonearest): Likewise.
3058 (tan_test_towardzero): Likewise.
3059 (tan_test_downward): Likewise.
3060 (tan_test_upward): Likewise.
3061 (tanh_test): Likewise.
3062 (tgamma_test): Likewise.
3063 (trunc_test): Likewise.
3064 (y0_test): Likewise.
3065 (y1_test): Likewise.
3066 (yn_test): Likewise.
3067 (significand_test): Likewise.
3069 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3070 individual tests in comment.
3071 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3072 (prev_max_error): New variable.
3073 (prev_real_max_error): Likewise.
3074 (prev_imag_max_error): Likewise.
3075 (compare_ulp_data): Don't refer to test names in comment.
3076 (find_test_ulps): Remove function.
3077 (find_function_ulps): Likewise.
3078 (find_complex_function_ulps): Likewise.
3079 (init_max_error): Take function name as argument. Look up ulps
3081 (print_ulps): Remove function.
3082 (print_max_error): Use prev_max_error instead of calling
3084 (print_complex_max_error): Use prev_real_max_error and
3085 prev_imag_max_error instead of calling find_complex_function_ulps.
3086 (check_float_internal): Take max_ulp parameter instead of calling
3087 find_test_ulps. Don't call print_ulps.
3088 (check_float): Update call to check_float_internal.
3089 (check_complex): Update calls to check_float_internal.
3090 (START): Pass argument to init_max_error.
3091 * math/gen-libm-test.pl (%results): Don't include "kind"
3093 (parse_ulps): Don't handle ulps of individual tests.
3094 (print_ulps_file): Likewise.
3095 (output_ulps): Likewise.
3096 * math/README.libm-test: Update.
3097 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3099 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3100 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3101 * sysdeps/arm/libm-test-ulps: Likewise.
3102 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3103 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3104 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3105 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3106 * sysdeps/microblaze/libm-test-ulps: Likewise.
3107 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3108 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3109 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3110 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3111 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3112 * sysdeps/sh/libm-test-ulps: Likewise.
3113 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3114 * sysdeps/tile/libm-test-ulps: Likewise.
3115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3117 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3119 * math/libm-test.inc (print_complex_max_error): Check separately
3120 whether real and imaginary errors are within allowed range and
3121 pass 0 to print_complex_function_ulps instead of value within
3124 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3126 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3128 (get_handles_fopen): Likewise.
3129 (do_write_test): Likewise.
3131 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3133 * libio/fileops.c (do_ftell): Use cached offset when
3135 * libio/iofwide.c (do_ftell_wide): Likewise.
3136 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3138 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3141 * libio/libioP.h (get_file_offset): New function.
3142 * libio/fileops.c (get_file_offset): Likewise.
3143 (do_ftell): Likewise.
3144 (_IO_new_file_seekoff): Split out ftell logic.
3145 * libio/wfileops.c (do_ftell_wide): Likewise.
3146 (_IO_wfile_seekoff): Split out ftell logic.
3147 * libio/tst-ftell-active-handler.c: New test case.
3148 * libio/Makefile (tests): Add it.
3150 2014-03-03 Roland McGrath <roland@hack.frob.com>
3152 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3153 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3155 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3158 * nscd/connections.c (nscd_init): Call do_exit.
3159 (start_threads): Call do_exit and notify_parent.
3160 (begin_drop_privileges): Call do_exit.
3161 (finish_drop_privileges): Likewise.
3162 * nscd/selinux.c (preserve_capabilities): Likewise.
3163 (install_real_capabilities): Likewise.
3164 (nscd_selinux_enabled): Likewise.
3165 (avc_create_thread): Likewise.
3166 (avc_alloc_lock): Likewise.
3167 (nscd_avc_init): Likewise.
3168 * nscd/nscd.c (parent_fd): New static variable.
3169 (main): Create a pipe between parent and child processes.
3170 Skip closing parent_fd.
3171 (monitor_child): New function.
3172 (do_exit): Likewise.
3173 (notify_parent): Likewise.
3174 * nscd/nscd.h (notify_parent): Likewise.
3175 (do_exit): Likewise.
3177 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3179 * malloc/malloc.c (__libc_calloc): Revert last change.
3181 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3185 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3187 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3191 (__libc_ifunc_impl_list): Likewise.
3192 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3193 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3194 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3195 * string/strrchr.c: Define STRRCHR.
3197 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3199 * benchtest/bench-strtok.c (simple_strtok): Delete.
3200 (strtok_string): Use as benchmark.
3201 * string/strtok (STRTOK): New macro.
3203 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3205 * manual/threads.texi: Add header and standard comments to all
3208 * elf/dl-lookup.c (check_match): New function.
3209 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3210 (do_lookup_x): Remove nested function check_match. Use non-nested
3211 function check_match.
3213 2014-02-28 Roland McGrath <roland@hack.frob.com>
3215 * csu/Makefile (generated, before-compile): Use += rather than =.
3216 * catgets/Makefile (generated, generated-dirs): Likewise.
3217 * debug/Makefile (generated): Likewise.
3218 * dlfcn/Makefile (generated): Likewise.
3219 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3220 * iconvdata/Makefile (before-compile, generated): Likewise.
3221 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3222 * libio/Makefile (generated): Likewise.
3223 * malloc/Makefile (generated): Likewise.
3224 * manual/Makefile (generated, generated-dirs): Likewise.
3225 * misc/Makefile (generated): Likewise.
3226 * posix/Makefile (generated): Likewise.
3227 * resolv/Makefile (generated): Likewise.
3228 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3229 * timezone/Makefile (generated, generated-dirs): Likewise.
3231 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3233 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3236 power8 implementation.
3237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3238 file: POWER8 llround ifunc implementation.
3239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3240 (__lllround): Add POWER8 implementation.
3241 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3242 POWER8 llround implementation.
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3245 power8 implementation.
3246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3247 file: POWER8 llrint ifunc implementation.
3248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3249 Add POWER8 implementation.
3250 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3251 POWER8 llrint implementation.
3253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3254 power8 implementation.
3255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3256 file: POWER8 finite ifunc implementation.
3257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3258 Add POWER8 implementation.
3259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3261 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3262 POWER8 finite implementation.
3263 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3266 power8 implementation.
3267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3268 file: POWER8 isinf ifunc implementation.
3269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3270 POWER8 implementation.
3271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3274 isinf implementation.
3275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3277 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3278 (INIT_ARCH): Add hwcap2 initialization.
3279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3280 power8 implementation.
3281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3282 file: POWER8 isnan ifunc implementation.
3283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3284 POWER8 implementation.
3285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3287 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3288 isnan implementation.
3289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3291 2014-02-27 Joey Ye <joey.ye@arm.com>
3293 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3294 (_FP_NANFRAC_Q): Set to zero.
3296 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3299 * math/auto-libm-test-in: New test inputs.
3300 * math/auto-libm-test-out: Regenerate.
3301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3304 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3306 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3308 * scripts/evaluate-test.sh: Take new argument indicating whether
3309 failure is expected.
3310 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3311 indicating whether failure is expected.
3312 * conform/Makefile (test-xfail-run-conformtest): New variable.
3313 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3315 * posix/Makefile (test-xfail-annexc): New variable.
3316 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3318 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3320 * argp/Makefile: Include Makeconfig immediately after defining
3322 * assert/Makefile: Likewise.
3323 * benchtests/Makefile: Likewise.
3324 * catgets/Makefile: Likewise.
3325 * conform/Makefile: Likewise.
3326 * crypt/Makefile: Likewise.
3327 * csu/Makefile: Likewise.
3328 (all): Remove target.
3329 * ctype/Makefile: Include Makeconfig immediately after defining
3331 * debug/Makefile: Likewise.
3332 * dirent/Makefile: Likewise.
3333 * dlfcn/Makefile: Likewise.
3334 * gmon/Makefile: Likewise.
3335 * gnulib/Makefile: Likewise.
3336 * grp/Makefile: Likewise.
3337 * gshadow/Makefile: Likewise.
3338 * hesiod/Makefile: Likewise.
3339 * hurd/Makefile: Likewise.
3340 (all): Remove target.
3341 * iconvdata/Makefile: Include Makeconfig immediately after
3343 * inet/Makefile: Likewise.
3344 * intl/Makefile: Likewise.
3345 * io/Makefile: Likewise.
3346 * libio/Makefile: Likewise.
3347 (all): Remove target.
3348 * locale/Makefile: Include Makeconfig immediately after defining
3350 * login/Makefile: Likewise.
3351 * mach/Makefile: Likewise.
3352 (all): Remove target.
3353 * malloc/Makefile: Include Makeconfig immediately after defining
3355 (all): Remove target.
3356 * manual/Makefile: Include Makeconfig immediately after defining
3358 * math/Makefile: Likewise.
3359 * misc/Makefile: Likewise.
3360 * nis/Makefile: Likewise.
3361 * nss/Makefile: Likewise.
3362 * po/Makefile: Likewise.
3363 (all): Remove target.
3364 * posix/Makefile: Include Makeconfig immediately after defining
3366 * pwd/Makefile: Likewise.
3367 * resolv/Makefile: Likewise.
3368 * resource/Makefile: Likewise.
3369 * rt/Makefile: Likewise.
3370 * setjmp/Makefile: Likewise.
3371 * shadow/Makefile: Likewise.
3372 * signal/Makefile: Likewise.
3373 * socket/Makefile: Likewise.
3374 * soft-fp/Makefile: Likewise.
3375 * stdio-common/Makefile: Likewise.
3376 * stdlib/Makefile: Likewise.
3377 * streams/Makefile: Likewise.
3378 * string/Makefile: Likewise.
3379 * sunrpc/Makefile: Likewise.
3380 (all): Remove target.
3381 * sysvipc/Makefile: Include Makeconfig immediately after defining
3383 * termios/Makefile: Likewise.
3384 * time/Makefile: Likewise.
3385 * timezone/Makefile: Likewise.
3386 (all): Remove target.
3387 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3389 * wctype/Makefile: Likewise.
3391 2014-02-26 Steve Ellcey <sellcey@mips.com>
3393 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3394 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3395 (libc_feholdexcept_setround_mips): Ditto.
3396 (libc_feholdsetround): New.
3397 (libc_feholdsetroundf): New.
3398 (libc_feholdsetroundl): New.
3399 (libc_feupdateenv_test_mips): New.
3400 (libc_feupdateenv_test): New.
3401 (libc_feupdateenv_testf): New.
3402 (libc_feupdateenv_testl): New.
3403 (libc_feresetround): New.
3404 (libc_feresetroundf): New.
3405 (libc_feresetroundl): New.
3406 (libc_fetestexcept_mips): New.
3407 (libc_fetestexcept): New.
3408 (libc_fetestexceptf): New.
3409 (libc_fetestexceptl): New.
3411 (libc_feholdexcept_setround_mips_ctx): New.
3412 (libc_feholdexcept_setround_ctx): New.
3413 (libc_feholdexcept_setroundf_ctx): New.
3414 (libc_feholdexcept_setroundl_ctx): New.
3415 (libc_fesetenv_mips_ctx): New.
3416 (libc_fesetenv_ctx): New.
3417 (libc_fesetenv_ctxf): New.
3418 (libc_fesetenv_ctxl): New.
3419 (libc_feupdateenv_mips_ctx): New.
3420 (libc_feupdateenv_ctx): New.
3421 (libc_feupdateenvf_ctx): New.
3422 (libc_feupdateenvl_ctx): New.
3423 (libc_feholdsetround_mips_ctx): New.
3424 (libc_feholdsetround_ctx): New.
3425 (libc_feholdsetroundf_ctx): New.
3426 (libc_feholdsetroundl_ctx): New.
3427 (libc_feresetround_mips_ctx): New.
3428 (libc_feresetround_ctx): New.
3429 (libc_feresetroundf_ctx): New.
3430 (libc_feresetroundl_ctx): New.
3432 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3434 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3436 * manual/ipc.texi: New file.
3437 * manual/Makefile (chapters): Add ipc.
3438 * manual/job.texi: Add "Inter-Process Communication" to next.
3439 * manual/process.texi: Add "Inter-Process Communication" to prev.
3441 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3445 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3447 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3449 * manual/arith.texi: Fix spaces after sentences.
3450 * manual/charset.texi: Likewise.
3451 * manual/errno.texi: Likewise.
3452 * manual/install.texi: Likewise.
3453 * manual/llio.texi: Likewise.
3454 * manual/locale.texi: Likewise.
3455 * manual/maint.texi: Likewise.
3456 * manual/math.texi: Likewise.
3457 * manual/memory.texi: Likewise.
3458 * manual/message.texi: Likewise.
3459 * manual/probes.texi: Likewise.
3460 * manual/resource.texi: Likewise.
3461 * manual/signal.texi: Likewise.
3462 * manual/socket.texi: Likewise.
3463 * manual/stdio.texi: Likewise.
3464 * manual/string.texi: Likewise.
3465 * manual/time.texi: Likewise.
3466 * manual/users.texi: Likewise.
3468 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3471 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3472 _DEFAULT_SOURCE is defined.
3474 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3475 Carlos O'Donell <carlos@redhat.com>
3478 * elf/dl-tls.c (_dl_count_modids): New function.
3479 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3480 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3481 audit library and increment generation counter.
3482 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3483 * elf/tst-audit9.c: New file.
3484 * elf/tst-auditmod9a.c: New file.
3485 * elf/tst-auditmod9b.c: New file.
3486 * elf/Makefile: Add rules to build and run tst-audit9.
3488 2014-02-25 Florian Weimer <fweimer@redhat.com>
3491 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3493 2014-02-25 Will Newton <will.newton@linaro.org>
3495 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3496 (__longjmp): Restore sp and lr before restoring callee
3497 saved registers. Add longjmp and longjmp_target
3498 SystemTap probe point.
3499 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3500 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3501 Define to zero to match jmpbuf layout.
3502 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3503 (__sigsetjmp): Save sp and lr before saving callee
3504 saved registers. Add setjmp SystemTap probe point.
3506 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3508 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3510 2014-02-24 Andreas Schwab <schwab@suse.de>
3513 * elf/pldd.c (wait_for_ptrace_stop): New function.
3514 (main): Call it after attaching.
3516 2014-02-22 Roland McGrath <roland@hack.frob.com>
3518 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3519 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3520 Versions files is now verboten.
3521 * hurd/Versions (libc: GLIBC_2.0):
3522 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3523 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3524 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3525 * mach/Versions: Likewise.
3527 * csu/Versions: Remove unused %include.
3528 * resolv/Versions: Likewise.
3530 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3532 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3533 ($(objpfx)check-local-headers.out): Likewise.
3534 ($(objpfx)begin-end-check.out): Likewise.
3535 * Makerules (check-abi-%.out): Likewise.
3536 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3537 ($(objpfx)test2.cat): Likewise.
3538 ($(objpfx)de/libc.cat): Likewise.
3539 ($(objpfx)test-gencat.out): Likewise.
3540 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3541 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3542 ($(objpfx)noload-mem): Likewise.
3543 ($(objpfx)tst-pathopt.out): Likewise.
3544 ($(objpfx)tst-rtld-load-self.out): Likewise.
3545 ($(objpfx)tst-array1-cmp.out): Likewise.
3546 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3547 ($(objpfx)tst-array2-cmp.out): Likewise.
3548 ($(objpfx)tst-array3-cmp.out): Likewise.
3549 ($(objpfx)tst-array4-cmp.out): Likewise.
3550 ($(objpfx)tst-array5-cmp.out): Likewise.
3551 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3552 ($(objpfx)check-textrel.out): Likewise.
3553 ($(objpfx)check-execstack.out): Likewise.
3554 ($(objpfx)check-localplt.out): Likewise.
3555 ($(objpfx)order2-cmp.out): Likewise.
3556 ($(objpfx)tst-leaks1-mem): Likewise.
3557 ($(objpfx)tst-leaks1-static-mem): Likewise.
3558 ($(objpfx)tst-initorder-cmp.out): Likewise.
3559 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3560 ($(objpfx)tst-unused-dep.out): Likewise.
3561 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3562 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3563 * iconv/Makefile (test-iconvconfig): Likewise.
3564 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3565 ($(objpfx)iconv-test.out): Likewise.
3566 ($(objpfx)tst-tables.out): Likewise.
3567 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3568 ($(objpfx)tst-gettext.out): Likewise.
3569 ($(objpfx)tst-translit.out): Likewise.
3570 ($(objpfx)tst-gettext2.out): Likewise.
3571 ($(objpfx)tst-gettext4.out): Likewise.
3572 ($(objpfx)tst-gettext6.out): Likewise.
3573 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3574 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3575 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3576 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3577 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3578 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3579 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3580 ($(objpfx)wordexp-tst.out): Likewise.
3581 ($(objpfx)annexc.out): Likewise.
3582 ($(objpfx)tst-fnmatch-mem): Likewise.
3583 ($(objpfx)bug-regex2-mem): Likewise.
3584 ($(objpfx)bug-regex14-mem): Likewise.
3585 ($(objpfx)bug-regex21-mem): Likewise.
3586 ($(objpfx)bug-regex31-mem): Likewise.
3587 ($(objpfx)tst-vfork3-mem): Likewise.
3588 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3589 ($(objpfx)tst-pcre-mem): Likewise.
3590 ($(objpfx)tst-boost-mem): Likewise.
3591 ($(objpfx)tst-getconf.out): Likewise.
3592 ($(objpfx)bug-ga2-mem): Likewise.
3593 ($(objpfx)bug-glob2-mem): Likewise.
3594 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3595 ($(objpfx)mtrace-tst-leaks2): Likewise.
3596 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3597 ($(objpfx)tst-printf.out): Likewise.
3598 ($(objpfx)tst-setvbuf1.out): Likewise.
3599 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3600 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3601 ($(objpfx)tst-fmtmsg.out): Likewise.
3602 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3603 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3605 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3606 * bits/sigaction.h [__USE_MISC]: Likewise.
3607 * bits/waitstatus.h: Update #endif comments.
3608 * ctype/ctype.h: Likewise.
3609 * dirent/dirent.h: Likewise.
3610 [__USE_MISC]: Remove redundant conditionals.
3611 * grp/grp.h: Update #endif comments.
3612 [__USE_GNU]: Remove redundant conditionals.
3613 [__USE_MISC]: Likewise.
3614 * inet/netinet/in.h [__USE_GNU]: Likewise.
3615 * io/sys/stat.h [__USE_MISC]: Likewise.
3616 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3617 * libio/bits/stdio.h: Update #endif comments.
3618 [__USE_MISC]: Remove redundant conditionals.
3619 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3620 * libio/stdio.h: Update #endif comments.
3621 [__USE_MISC]: Remove redundant conditionals.
3622 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3623 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3624 * math/math.h: Update #else and #endif comments.
3625 [__USE_MISC]: Remove redundant conditionals.
3626 * misc/sys/uio.h: Update #endif comments.
3627 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3628 * posix/glob.h [__USE_MISC]: Likewise.
3629 * posix/sys/types.h: Update #endif comments.
3630 [__USE_MISC]: Remove redundant conditionals.
3631 * posix/sys/wait.h: Update #endif comments.
3632 [__USE_MISC]: Remove redundant conditionals.
3633 * posix/unistd.h: Update #endif comments.
3634 [__USE_MISC]: Remove redundant conditionals.
3635 * pwd/pwd.h [__USE_GNU]: Likewise.
3636 [__USE_MISC]: Likewise.
3637 * resolv/netdb.h [__USE_GNU]: Likewise.
3638 * signal/signal.h: Update #endif comments.
3639 [__USE_MISC]: Remove redundant conditionals.
3640 * stdlib/stdlib.h: Update #else and #endif comments.
3641 [__USE_MISC]: Remove redundant conditionals.
3642 [__USE_GNU]: Likewise.
3643 * string/bits/string2.h [__USE_MISC]: Likewise.
3644 * string/string.h: Update #endif comments.
3645 [__USE_MISC]: Remove redundant conditionals.
3646 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3648 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3649 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3650 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3652 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3656 [__USE_MISC]: Remove redundant conditionals.
3657 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3658 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3659 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3660 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3661 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3663 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3664 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3666 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3667 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3669 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3671 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3672 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3674 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3676 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3677 * sysdeps/x86/bits/string.h: Update #endif comments.
3678 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3680 * time/sys/time.h: Update #endif comments.
3681 * time/time.h: Likewise.
3682 [__USE_MISC]: Remove redundant conditionals.
3684 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3687 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3689 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3691 * Versions.def (librt): Add GLIBC_2.17.
3693 2014-02-21 Adam Conrad <adconrad@0c3.net>
3695 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3696 synonym for _SYS_AUXV_H to allow direct inclusion.
3697 * sysdeps/sparc/bits/hwcap.h: Likewise.
3698 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3699 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3700 * sysdeps/sparc/sysdep.h: Likewise.
3702 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3704 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3706 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3708 * benchtests/bench-strrchr.c: Print length instead of position.
3710 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3713 * sysdeps/unix/sysv/linux/kernel-features.h
3714 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3715 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3716 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3717 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3719 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3720 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3721 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3722 (__ASSUME_SENDMMSG): Define instead of using previous
3723 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3724 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3725 (__ASSUME_SENDMMSG_SYSCALL): Define.
3726 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3727 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3729 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3730 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3732 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3733 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3735 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3736 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3737 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3738 [__ASSUME_SENDMMSG]: Change conditionals to
3739 [__ASSUME_SENDMMSG_SOCKETCALL].
3740 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3741 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3743 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3744 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3746 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3747 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3748 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3749 [!__ASSUME_SENDMMSG]: Change conditional to
3750 [!__ASSUME_SENDMMSG_SOCKETCALL].
3751 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3752 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3756 * sysdeps/unix/sysv/linux/kernel-features.h
3757 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3758 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3759 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3760 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3761 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3762 [__i386__ || __sparc__]
3763 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3764 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3765 (__ASSUME_RECVMMSG): Define instead of using previous
3766 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3767 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3768 (__ASSUME_RECVMMSG_SYSCALL): Define.
3769 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3770 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3772 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3775 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3778 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3779 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3780 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3781 [__ASSUME_RECVMMSG]: Change condition to
3782 [__ASSUME_RECVMMSG_SOCKETCALL].
3783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3784 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3786 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3787 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3788 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3790 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3791 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3792 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3793 [!__ASSUME_RECVMMSG]: Change condition to
3794 [!__ASSUME_RECVMMSG_SOCKETCALL].
3795 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3796 (__ASSUME_RECVMMSG_SYSCALL): Define.
3799 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3800 __powerpc__ || __s390__ || __sh__ || __sparc__]
3801 (__ASSUME_SOCKETCALL): Define.
3802 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3803 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3804 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3805 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3806 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3807 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3808 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3809 (__ASSUME_ACCEPT4): Define instead of using previous
3810 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3811 __powerpc__ || __sparc__ || __s390__)] condition.
3812 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3813 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3814 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3815 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3816 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3817 [!__ASSUME_ACCEPT4]: Change condition to
3818 [!__ASSUME_ACCEPT4_SOCKETCALL].
3819 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3820 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3821 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3822 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3823 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3824 __ASSUME_ACCEPT4_SYSCALL.
3825 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3826 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3827 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3828 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3829 __ASSUME_ACCEPT4_SYSCALL.
3830 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3831 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3832 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3833 [__ASSUME_ACCEPT4]: Change condition to
3834 [__ASSUME_ACCEPT4_SOCKETCALL].
3835 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3836 (__ASSUME_SOCKETCALL): Define.
3837 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3838 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3839 (__ASSUME_SOCKETCALL): Define.
3840 (__ASSUME_ACCEPT4): Remove.
3841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3843 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3844 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3846 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3847 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3849 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3851 (HWCAP_ARM_LPAE): Likewise.
3852 (HWCAP_ARM_EVTSTRM): Likewise.
3853 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3854 Add vpfd32, lpae and evtstrm.
3855 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3858 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3860 * math/auto-libm-test-in: Add tests of clog10.
3861 * math/auto-libm-test-out: Regenerated.
3862 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3863 * sysdeps/i386/fpu/libm-test-ulps: Update.
3864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3866 2014-02-18 Andreas Schwab <schwab@suse.de>
3869 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3870 Store non-zero if the second buffer was newly allocated.
3871 (send_dg): Likewise.
3872 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3873 to send_vc and send_dg.
3874 (res_nsend): Pass NULL for ansp2_malloced.
3875 * resolv/res_query.c (__libc_res_nquery): Add parameter
3876 answerp2_malloced and pass it down to __libc_res_nsend.
3877 (res_nquery): Pass additional NULL to __libc_res_nquery.
3878 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3879 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3880 second answer buffer if answerp2_malloced was set.
3881 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3882 (__libc_res_nquerydomain): Add parameter
3883 answerp2_malloced and pass it down to __libc_res_nquery.
3884 (res_nquerydomain): Pass additional NULL to
3885 __libc_res_nquerydomain.
3886 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3887 additional NULL to __libc_res_nsend and __libc_res_nquery.
3888 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3889 additional NULL to __libc_res_nsearch.
3890 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3891 parameter of __libc_res_nsearch to check for separately allocated
3893 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3895 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3896 additional NULL to __libc_res_nquery.
3897 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3899 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3900 * include/resolv.h: Update prototypes of __libc_res_nquery,
3901 __libc_res_nsearch, __libc_res_nsend.
3903 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3905 * math/auto-libm-test-in: Add tests of fma.
3906 * math/auto-libm-test-out: Regenerated.
3907 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3908 (fma_towardzero_test_data): Likewise.
3909 (fma_downward_test_data): Likewise.
3910 (fma_upward_test_data): Likewise.
3911 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3913 (rounding_modes): Add values for new field.
3914 (func_calc_method): Add value mpfr_fff_f.
3915 (func_calc_desc): Add mpfr_fff_f union field.
3916 (test_function): Add field exact_args.
3917 (FUNC): Add macro argument EXACT_ARGS.
3918 (FUNC_mpfr_f_f): Update call to FUNC.
3919 (FUNC_mpfr_f_f): Likewise.
3920 (FUNC_mpfr_ff_f): Likewise.
3921 (FUNC_mpfr_if_f): Likewise.
3922 (FUNC_mpc_c_f): Likewise.
3923 (FUNC_mpc_c_c): Likewise.
3924 (test_functions): Add fma. Update calls to FUNC.
3925 (handle_input_arg): Add argument exact_args.
3926 (add_test): Update call to handle_input_arg.
3927 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3928 (output_for_one_input_case): Update call to calc_generic_results.
3929 Recalculate exact zero results in each rounding mode.
3931 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3932 non-negative before setting low bit.
3933 * math/auto-libm-test-in: Mark one asin test possibly having
3935 * math/auto-libm-test-out: Regenerated.
3936 * sysdeps/i386/fpu/libm-test-ulps: Update.
3937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3941 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3942 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3943 ports/sysdeps/unix/sysv/linux/microblaze.
3944 * README: Add missing listing for microblaze*-*-linux-gnu.
3946 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3948 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3949 * sysdeps/unix/sysv/linux/ia64: Move directory from
3950 ports/sysdeps/unix/sysv/linux/ia64.
3951 * README: Update listing for ia64-*-linux-gnu.
3953 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3954 Joseph Myers <joseph@codesourcery.com>
3956 * Makeconfig (test-name): New variable.
3957 (evaluate-test): Likewise.
3958 * Makerules (do-test-clean): Remove .test-result files.
3959 (common-mostlyclean): Likewise.
3960 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3961 * scripts/evaluate-test.sh: New file.
3963 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3965 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3966 separate $(objpfx)tst-fopenloc-cmp.out and
3967 $(objpfx)tst-fopenloc-mem.out targets.
3968 (tests): Update dependencies.
3969 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3970 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3971 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3972 (tst-rxspencer-no-utf8-ARGS): New variable.
3973 (tst-rxspencer-no-utf8-ENV): Likewise.
3974 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3975 instead of $(objpfx)tst-rxspencer-mem.
3976 ($(objpfx)tst-rxspencer-mem): Change target to
3977 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3978 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3979 * posix/tst-rxspencer-no-utf8.c: New file.
3981 * elf/Makefile ($(objpfx)order.out): Remove rule.
3982 [$(run-built-tests) = yes] (tests): Depend on
3983 $(objpfx)order-cmp.out.
3984 ($(objpfx)order-cmp.out): New rule.
3985 [$(run-built-tests) = yes] (tests): Depend on
3986 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3987 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3988 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3989 $(objpfx)tst-array5-static-cmp.out.
3990 ($(objpfx)tst-array1.out): Remove rule.
3991 ($(objpfx)tst-array1-cmp.out): New rule.
3992 ($(objpfx)tst-array1-static.out): Remove rule.
3993 ($(objpfx)tst-array1-static-cmp.out): New rule.
3994 ($(objpfx)tst-array2.out): Remove rule.
3995 ($(objpfx)tst-array2-cmp.out): New rule.
3996 ($(objpfx)tst-array3.out): Remove rule.
3997 ($(objpfx)tst-array3-cmp.out): New rule.
3998 ($(objpfx)tst-array4.out): Remove rule.
3999 ($(objpfx)tst-array4-cmp.out): New rule.
4000 ($(objpfx)tst-array5.out): Remove rule.
4001 ($(objpfx)tst-array5-cmp.out): New rule.
4002 ($(objpfx)tst-array5-static.out): Remove rule.
4003 ($(objpfx)tst-array5-static-cmp.out): New rule.
4004 [$(run-built-tests) = yes] (tests): Depend on
4005 $(objpfx)order2-cmp.out.
4006 ($(objpfx)order2.out): Remove rule.
4007 ($(objpfx)order2-cmp.out): New rule.
4008 ($(objpfx)tst-initorder.out): Remove rule.
4009 [$(run-built-tests) = yes] (tests): Depend on
4010 $(objpfx)tst-initorder-cmp.out.
4011 ($(objpfx)tst-initorder-cmp.out): New rule.
4012 ($(objpfx)tst-initorder2.out): Remove rule.
4013 [$(run-built-tests) = yes] (tests): Depend on
4014 $(objpfx)tst-initorder2-cmp.out.
4015 ($(objpfx)tst-initorder2-cmp.out): New rule.
4016 [$(run-built-tests) = yes] (tests): Depend on
4017 $(objpfx)tst-unused-dep-cmp.out.
4018 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4019 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4020 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4021 on $(objpfx)tst-setvbuf1-cmp.out.
4022 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4023 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4024 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4025 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4026 ($(objpfx)tst-svc.out): Remove rule.
4027 ($(objpfx)tst-svc-cmp.out): New rule.
4029 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4031 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4032 * ctype/ctype.h [__USE_MISC]: Likewise.
4033 * dirent/dirent.h [__USE_MISC]: Likewise.
4034 * grp/grp.h [__USE_MISC]: Likewise.
4035 * io/fcntl.h [__USE_MISC]: Likewise.
4036 * io/sys/stat.h [__USE_MISC]: Likewise.
4037 * libio/stdio.h [__USE_MISC]: Likewise.
4038 * posix/unistd.h [__USE_MISC]: Likewise.
4039 * pwd/pwd.h [__USE_MISC]: Likewise.
4040 * stdlib.h [__USE_MISC]: Likewise.
4041 * string/bits/string2.h [__USE_MISC]: Likewise.
4042 * string/string.h [__USE_MISC]: Likewise.
4043 * time/time.h [__USE_MISC]: Likewise.
4045 2014-02-13 Andreas Schwab <schwab@suse.de>
4048 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4049 second answer buffer if it was separately allocated.
4051 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4053 * sysdeps/mips/math-tests.h: Include <features.h>.
4054 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4055 (ROUNDING_TESTS_long_double): Do not define.
4056 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4057 (EXCEPTION_TESTS_long_double): Likewise.
4058 * sysdeps/mips/mips64/libm-test-ulps: Update.
4060 * include/features.h (__USE_BSD): Remove macro definitions.
4061 (__USE_SVID): Likewise.
4062 (_BSD_SOURCE): Likewise.
4063 (_SVID_SOURCE): Likewise.
4064 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4065 from definition of _DEFAULT_SOURCE.
4066 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4068 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4069 * bits/mman.h [__USE_BSD]: Likewise.
4070 * bits/termios.h [__USE_BSD]: Likewise.
4071 * bits/waitstatus.h [__USE_BSD]: Likewise.
4072 * ctype/ctype.h [__USE_SVID]: Likewise.
4073 * dirent/dirent.h [__USE_BSD]: Likewise.
4074 * grp/grp.h [__USE_SVID]: Likewise.
4075 [__USE_BSD]: Likewise.
4076 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4077 * io/fcntl.h [__USE_BSD]: Likewise.
4078 * io/ftw.h [__USE_BSD]: Likewise.
4079 * io/sys/stat.h [__USE_BSD]: Likewise.
4080 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4081 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4082 * libio/stdio.h [__USE_SVID]: Likewise.
4083 [__USE_BSD]: Likewise.
4084 * math/math.h [__USE_SVID]: Likewise.
4085 [__USE_BSD]: Likewise.
4086 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4087 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4088 * misc/search.h [__USE_SVID]: Likewise.
4089 * misc/sys/mman.h [__USE_BSD]: Likewise.
4090 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4091 * misc/sys/uio.h [__USE_BSD]: Likewise.
4092 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4093 * posix/glob.h [__USE_BSD]: Likewise.
4094 * posix/regex.h [__USE_BSD]: Likewise.
4095 * posix/sys/types.h [__USE_BSD]: Likewise.
4096 [__USE_SVID]: Likewise.
4097 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4098 * posix/sys/wait.h [__USE_BSD]: Likewise.
4099 [__USE_SVID]: Likewise.
4100 * posix/unistd.h [__USE_BSD]: Likewise.
4101 [__USE_SVID]: Likewise.
4102 * pwd/pwd.h [__USE_SVID]: Likewise.
4103 * resolv/netdb.h [__USE_BSD]: Likewise.
4104 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4105 * signal/signal.h [__USE_BSD]: Likewise.
4106 [__USE_SVID]: Likewise.
4107 * socket/sys/socket.h [__USE_BSD]: Likewise.
4108 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4109 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4110 [__USE_SVID]: Likewise.
4111 * string/bits/string2.h [__USE_BSD]: Likewise.
4112 [__USE_SVID]: Likewise.
4113 * string/bits/string3.h [__USE_BSD]: Likewise.
4114 * string/endian.h [__USE_BSD]: Likewise.
4115 * string/string.h [__USE_SVID]: Likewise.
4116 [__USE_BSD]: Likewise.
4117 * string/strings.h [__USE_BSD]: Likewise.
4118 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4119 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4120 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4121 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4122 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4123 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4127 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4128 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4130 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4131 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4133 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4135 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4136 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4139 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4141 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4142 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4143 * termios/termios.h [__USE_BSD]: Likewise.
4144 * time/sys/time.h [__USE_BSD]: Likewise.
4145 * time/time.h [__USE_BSD]: Likewise.
4146 [__USE_SVID]: Likewise.
4148 * Makefile (subdir_targets): Remove subdir_lint.out.
4150 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4151 (do-tst-printf): Likewise.
4152 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4153 $(objpfx)tst-printf.out.
4155 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4157 * Makerules (check-abi-%): Change target to
4158 $(objpfx)check-abi-%.out.
4159 (check-abi target): Update dependencies.
4160 (check-abi-pattern variable): Redirect output of diff to $@.
4161 (check-abi variable): Likewise.
4162 * elf/Makefile (check-abi): Update dependencies.
4164 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4166 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4167 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4169 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4170 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4171 value has largest subnormal exponent.
4172 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4173 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4174 * sysdeps/aarch64/soft-fp/sfp-machine.h
4175 (_FP_TININESS_AFTER_ROUNDING): New macro.
4176 * sysdeps/alpha/soft-fp/sfp-machine.h
4177 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4178 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4180 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4181 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4182 * sysdeps/mips/soft-fp/sfp-machine.h
4183 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4184 * sysdeps/powerpc/soft-fp/sfp-machine.h
4185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4186 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4190 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4192 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4195 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4198 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4201 2014-02-12 Richard Henderson <rth@redhat.com>
4203 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4204 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4205 * sysdeps/unix/sysv/linux/alpha: Move directory from
4206 ports/sysdeps/unix/sysv/linux/alpha.
4207 * README: Update listing for alpha-*-linux-gnu.
4209 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4211 * include/features.h: Update comment documenting feature test
4213 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4215 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4216 (_SVID_SOURCE): Likewise.
4217 (_DEFAULT_SOURCE): Update description of default features.
4218 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4220 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4221 (S_ISVTX): Likewise.
4222 * manual/math.texi (Mathematical Constants): Likewise.
4223 * manual/signal.texi (Interrupted Primitives): Likewise.
4224 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4225 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4226 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4227 Don't refer to _SVID_SOURCE in warning text.
4229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4231 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4233 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4234 * sysdeps/mips/dl-lookup.c: Remove.
4235 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4237 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4240 * math/auto-libm-test-in: Add testcase for expl.
4241 * math/auto-libm-test-out: Regenerate.
4242 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4243 calculation of unsafe.
4244 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4246 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4248 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4249 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4250 ports/sysdeps/unix/sysv/linux/aarch64.
4251 * README: Update listing for aarch64*-*-linux-gnu.
4253 2014-02-11 Will Newton <will.newton@linaro.org>
4255 * manual/probes.texi (Mathematical Function Probes): Use
4256 "triggered" instead of "hit".
4258 * manual/probes.texi (Internal Probes): Add documentation
4259 of setjmp, longjmp and longjmp_target probes.
4261 * include/stap-probe.h: Add comment about probe argument
4264 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4265 definition. (tr_where, tr_freehook, tr_mallochook,
4266 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4268 2014-02-11 David S. Miller <davem@davemloft.net>
4270 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4271 processing int_tests.
4273 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4275 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4276 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4277 * sysdeps/unix/sysv/linux/mips: Move directory from
4278 ports/sysdeps/unix/sysv/linux/mips.
4279 * README: Update listing for mips-*-linux-gnu and
4282 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4284 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4285 * sysdeps/unix/sysv/linux/m68k: Move directory from
4286 ports/sysdeps/unix/sysv/linux/m68k.
4287 * README: Update listing for m68k-*-linux-gnu.
4289 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4291 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4292 * sysdeps/unix/sysv/linux/generic: Move directory from
4293 ports/sysdeps/unix/sysv/linux/generic.
4294 * sysdeps/unix/sysv/linux/tile: Move directory from
4295 ports/sysdeps/unix/sysv/linux/tile.
4296 * README: Update listing for tile*-*-linux-gnu.
4298 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4300 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4302 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4303 * catgets/open_catalog.c (__open_catalog): Likewise.
4304 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4305 * debug/confstr_chk.c: Likewise.
4306 * debug/fread_chk.c (__fread_chk): Likewise.
4307 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4308 * debug/getgroups_chk.c: Likewise.
4309 * debug/mbsnrtowcs_chk.c: Likewise.
4310 * debug/mbsrtowcs_chk.c: Likewise.
4311 * debug/mbstowcs_chk.c: Likewise.
4312 * debug/memcpy_chk.c: Likewise.
4313 * debug/memmove_chk.c: Likewise.
4314 * debug/mempcpy_chk.c: Likewise.
4315 * debug/memset_chk.c: Likewise.
4316 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4317 * debug/strcat_chk.c (__strcat_chk): Likewise.
4318 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4319 * debug/strncat_chk.c (__strncat_chk): Likewise.
4320 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4321 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4322 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4323 * debug/wcpncpy_chk.c: Likewise.
4324 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4325 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4326 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4327 * debug/wcsncpy_chk.c: Likewise.
4328 * debug/wcsnrtombs_chk.c: Likewise.
4329 * debug/wcsrtombs_chk.c: Likewise.
4330 * debug/wcstombs_chk.c: Likewise.
4331 * debug/wmemcpy_chk.c: Likewise.
4332 * debug/wmemmove_chk.c: Likewise.
4333 * debug/wmempcpy_chk.c: Likewise.
4334 * debug/wmemset_chk.c: Likewise.
4335 * dirent/scandirat.c (SCANDIRAT): Likewise.
4336 * dlfcn/dladdr1.c (dladdr1): Likewise.
4337 * dlfcn/dladdr.c (dladdr): Likewise.
4338 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4339 * dlfcn/dlerror.c (__dlerror): Likewise.
4340 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4341 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4342 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4343 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4344 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4345 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4346 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4347 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4349 * elf/dl-conflict.c: Likewise.
4350 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4351 * elf/dl-dst.h: Likewise.
4352 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4353 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4354 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4355 * elf/dl-init.c (call_init, _dl_init): Likewise.
4356 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4357 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4358 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4360 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4362 * elf/dl-minimal.c (__libc_memalign): Likewise.
4363 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4364 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4365 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4366 * elf/dl-sym.c (do_sym): Likewise.
4367 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4368 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4369 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4370 * elf/dl-writev.h (_dl_writev): Likewise.
4371 * elf/ldconfig.c (search_dir): Likewise.
4372 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4373 (dl_main): Likewise.
4374 * elf/setup-vdso.h (setup_vdso): Likewise.
4375 * grp/compat-initgroups.c (compat_call): Likewise.
4376 * grp/fgetgrent.c (fgetgrent): Likewise.
4377 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4378 * grp/putgrent.c (putgrent): Likewise.
4379 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4381 * hurd/hurdinit.c: Likewise.
4382 * iconvdata/8bit-gap.c (struct): Likewise.
4383 * iconvdata/ansi_x3.110.c : Likewise.
4384 * iconvdata/big5.c : Likewise.
4385 * iconvdata/big5hkscs.c : Likewise.
4386 * iconvdata/cp1255.c: Likewise.
4387 * iconvdata/cp1258.c : Likewise.
4388 * iconvdata/cp932.c : Likewise.
4389 * iconvdata/euc-cn.c: Likewise.
4390 * iconvdata/euc-jisx0213.c : Likewise.
4391 * iconvdata/euc-jp.c: Likewise.
4392 * iconvdata/euc-jp-ms.c : Likewise.
4393 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4394 * iconvdata/gb18030.c : Likewise.
4395 * iconvdata/gbbig5.c (const): Likewise.
4396 * iconvdata/gbgbk.c: Likewise.
4397 * iconvdata/gbk.c : Likewise.
4398 * iconvdata/ibm1364.c : Likewise.
4399 * iconvdata/ibm930.c : Likewise.
4400 * iconvdata/ibm932.c: Likewise.
4401 * iconvdata/ibm933.c : Likewise.
4402 * iconvdata/ibm935.c : Likewise.
4403 * iconvdata/ibm937.c : Likewise.
4404 * iconvdata/ibm939.c : Likewise.
4405 * iconvdata/ibm943.c: Likewise.
4406 * iconvdata/iso_11548-1.c: Likewise.
4407 * iconvdata/iso-2022-cn.c : Likewise.
4408 * iconvdata/iso-2022-cn-ext.c : Likewise.
4409 * iconvdata/iso-2022-jp-3.c: Likewise.
4410 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4411 * iconvdata/iso-2022-kr.c : Likewise.
4412 * iconvdata/iso646.c (gconv_end): Likewise.
4413 * iconvdata/iso_6937-2.c : Likewise.
4414 * iconvdata/iso_6937.c : Likewise.
4415 * iconvdata/iso8859-1.c: Likewise.
4416 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4417 * iconvdata/shift_jisx0213.c : Likewise.
4418 * iconvdata/sjis.c : Likewise.
4419 * iconvdata/t.61.c : Likewise.
4420 * iconvdata/tcvn5712-1.c : Likewise.
4421 * iconvdata/tscii.c: Likewise.
4422 * iconvdata/uhc.c : Likewise.
4423 * iconvdata/unicode.c (gconv_end): Likewise.
4424 * iconvdata/utf-16.c (gconv_end): Likewise.
4425 * iconvdata/utf-32.c (gconv_end): Likewise.
4426 * iconvdata/utf-7.c (base64): Likewise.
4427 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4428 * iconv/gconv_close.c (__gconv_close): Likewise.
4429 * iconv/gconv_open.c (__gconv_open): Likewise.
4430 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4431 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4432 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4433 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4434 (ucs4le_internal_loop_single): Likewise.
4435 * iconv/iconv.c (iconv): Likewise.
4436 * iconv/iconv_close.c: Likewise.
4437 * iconv/loop.c (SINGLE): Likewise.
4438 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4439 * include/atomic.h: Likewise.
4440 * inet/inet6_option.c (option_alloc): Likewise.
4441 * intl/bindtextdom.c (set_binding_values): Likewise.
4442 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4443 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4444 * intl/localealias.c (read_alias_file): Likewise.
4445 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4446 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4447 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4448 * libio/fmemopen.c (fmemopen): Likewise.
4449 * libio/iofgets.c (_IO_fgets): Likewise.
4450 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4451 * libio/iofgetws.c (fgetws): Likewise.
4452 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4453 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4454 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4455 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4456 * locale/findlocale.c (_nl_find_locale): Likewise.
4457 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4458 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4460 * locale/setlocale.c (setlocale): Likewise.
4461 * login/programs/pt_chown.c (main): Likewise.
4462 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4463 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4464 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4465 (mmap, mmap64, mremap, munmap): Likewise.
4466 * math/e_exp2l.c: Likewise.
4467 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4468 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4469 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4470 * math/s_catan.c (__catan): Likewise.
4471 * math/s_catanf.c (__catanf): Likewise.
4472 * math/s_catanh.c (__catanh): Likewise.
4473 * math/s_catanhf.c (__catanhf): Likewise.
4474 * math/s_catanhl.c (__catanhl): Likewise.
4475 * math/s_catanl.c (__catanl): Likewise.
4476 * math/s_ccosh.c (__ccosh): Likewise.
4477 * math/s_ccoshf.c (__ccoshf): Likewise.
4478 * math/s_ccoshl.c (__ccoshl): Likewise.
4479 * math/s_cexp.c (__cexp): Likewise.
4480 * math/s_cexpf.c (__cexpf): Likewise.
4481 * math/s_cexpl.c (__cexpl): Likewise.
4482 * math/s_clog10.c (__clog10): Likewise.
4483 * math/s_clog10f.c (__clog10f): Likewise.
4484 * math/s_clog10l.c (__clog10l): Likewise.
4485 * math/s_clog.c (__clog): Likewise.
4486 * math/s_clogf.c (__clogf): Likewise.
4487 * math/s_clogl.c (__clogl): Likewise.
4488 * math/s_csin.c (__csin): Likewise.
4489 * math/s_csinf.c (__csinf): Likewise.
4490 * math/s_csinh.c (__csinh): Likewise.
4491 * math/s_csinhf.c (__csinhf): Likewise.
4492 * math/s_csinhl.c (__csinhl): Likewise.
4493 * math/s_csinl.c (__csinl): Likewise.
4494 * math/s_csqrt.c (__csqrt): Likewise.
4495 * math/s_csqrtf.c (__csqrtf): Likewise.
4496 * math/s_csqrtl.c (__csqrtl): Likewise.
4497 * math/s_ctan.c (__ctan): Likewise.
4498 * math/s_ctanf.c (__ctanf): Likewise.
4499 * math/s_ctanh.c (__ctanh): Likewise.
4500 * math/s_ctanhf.c (__ctanhf): Likewise.
4501 * math/s_ctanhl.c (__ctanhl): Likewise.
4502 * math/s_ctanl.c (__ctanl): Likewise.
4503 * math/w_pow.c: Likewise.
4504 * math/w_powf.c: Likewise.
4505 * math/w_powl.c: Likewise.
4506 * math/w_scalb.c (sysv_scalb): Likewise.
4507 * math/w_scalbf.c (sysv_scalbf): Likewise.
4508 * math/w_scalbl.c (sysv_scalbl): Likewise.
4509 * misc/error.c (error_tail): Likewise.
4510 * misc/pselect.c (__pselect): Likewise.
4511 * nis/nis_callback.c (__nis_create_callback): Likewise.
4512 * nis/nis_call.c (__nisfind_server): Likewise.
4513 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4514 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4515 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4516 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4517 * nis/nis_lookup.c (nis_lookup): Likewise.
4518 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4519 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4520 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4521 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4522 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4523 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4524 * nis/nss_compat/compat-initgroups.c (add_group)
4525 (internal_getgrent_r): Likewise.
4526 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4527 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4528 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4529 (internal_getspnam_r): Likewise.
4530 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4531 (_nss_nis_getaliasbyname_r): Likewise.
4532 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4533 (_nss_nis_getntohost_r): Likewise.
4534 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4535 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4536 (_nss_nis_getgrgid_r): Likewise.
4537 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4538 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4539 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4540 (_nss_nis_gethostbyname4_r): Likewise.
4541 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4542 (initgroups_netid): Likewise.
4543 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4544 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4545 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4546 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4547 (_nss_nis_getprotobynumber_r): Likewise.
4548 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4549 (_nss_nis_getsecretkey): Likewise.
4550 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4551 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4552 (_nss_nis_getpwuid_r): Likewise.
4553 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4554 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4555 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4556 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4557 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4558 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4559 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4561 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4562 (_nss_nisplus_getntohost_r): Likewise.
4563 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4564 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4565 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4566 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4568 * nis/nss_nisplus/nisplus-initgroups.c
4569 (_nss_nisplus_initgroups_dyn): Likewise.
4570 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4571 (_nss_nisplus_getnetbyaddr_r): Likewise.
4572 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4573 (_nss_nisplus_getprotobynumber_r): Likewise.
4574 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4575 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4576 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4578 * nis/nss_nisplus/nisplus-service.c
4579 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4580 (_nss_nisplus_getservbyport_r): Likewise.
4581 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4582 (_nss_nisplus_getspnam_r): Likewise.
4583 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4585 * nscd/aicache.c (addhstaiX): Likewise.
4586 * nscd/cache.c (cache_search, prune_cache): Likewise.
4587 * nscd/connections.c (register_traced_file, send_ro_fd)
4588 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4589 (main_loop_epoll): Likewise.
4590 * nscd/grpcache.c (addgrbyX): Likewise.
4591 * nscd/hstcache.c (addhstbyX): Likewise.
4592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4593 * nscd/mem.c (gc, mempool_alloc): Likewise.
4594 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4595 (addinnetgrX): Likewise.
4596 * nscd/nscd-client.h (__nscd_acquire_maplock)
4597 (__nscd_drop_map_ref): Likewise.
4598 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4599 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4600 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4602 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4604 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4605 (__nscd_get_map_ref): Likewise.
4606 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4607 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4609 * nscd/pwdcache.c (addpwbyX): Likewise.
4610 * nscd/selinux.c (preserve_capabilities): Likewise.
4611 * nscd/servicescache.c (addservbyX): Likewise.
4612 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4613 * posix/fnmatch.c (fnmatch): Likewise.
4614 * posix/getopt.c (_getopt_internal_r): Likewise.
4615 * posix/glob.c (glob, glob_in_dir): Likewise.
4616 * posix/wordexp.c (exec_comm_child): Likewise.
4617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4618 (getanswer_r, gaih_getanswer_slice): Likewise.
4619 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4620 * resolv/res_init.c: Likewise.
4621 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4622 * resolv/res_query.c (__libc_res_nquery): Likewise.
4623 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4625 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4626 * stdio-common/perror.c (perror): Likewise.
4627 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4628 * stdio-common/tmpnam.c (tmpnam): Likewise.
4629 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4630 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4631 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4633 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4634 * stdlib/putenv.c (putenv): Likewise.
4635 * stdlib/setenv.c (__add_to_environ): Likewise.
4636 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4637 * stdlib/strtol_l.c (INTERNAL): Likewise.
4638 * string/memmem.c (memmem): Likewise.
4639 * string/strerror.c (strerror): Likewise.
4640 * string/strnlen.c (__strnlen): Likewise.
4641 * string/test-memmem.c (simple_memmem): Likewise.
4642 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4643 * sunrpc/pm_getport.c (__get_socket): Likewise.
4644 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4645 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4646 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4647 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4649 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4650 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4651 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4652 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4653 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4654 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4658 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4659 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4660 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4661 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4662 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4664 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4665 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4666 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4667 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4668 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4669 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4671 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4673 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4675 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4678 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4679 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4680 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4681 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4692 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4694 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4700 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4702 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4703 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4704 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4705 * sysdeps/posix/sleep.c: Likewise.
4706 * sysdeps/posix/tempname.c: Likewise.
4707 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4708 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4710 * sysdeps/powerpc/powerpc32/dl-machine.h
4711 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4712 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4714 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4717 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4718 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4719 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4721 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4722 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4723 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4724 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4725 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4726 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4728 (elf_machine_lazy_rel): Likewise.
4729 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4731 (elf_machine_lazy_rel): Likewise.
4732 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4733 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4734 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4735 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4736 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4737 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4738 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4741 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4742 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4743 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4744 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4745 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4746 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4747 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4748 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4749 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4750 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4751 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4753 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4754 (__posix_fallocate64_l64): Likewise.
4755 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4756 (posix_fallocate): Likewise.
4757 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4759 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4760 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4761 (getifaddrs_internal): Likewise.
4762 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4763 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4764 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4765 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4766 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4767 (__posix_fallocate64_l64): Likewise.
4768 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4770 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4772 (__get_clockfreq): Likewise.
4773 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4774 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4775 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4778 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4779 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4782 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4783 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4784 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4785 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4787 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4788 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4790 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4791 (posix_fallocate): Likewise.
4792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4793 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4794 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4795 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4796 (elf_machine_rela, elf_machine_rela_relative)
4797 (elf_machine_lazy_rel): Likewise.
4798 * time/asctime.c (asctime_internal): Likewise.
4799 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4800 * time/tzset.c (__tzset_parse_tz): Likewise.
4801 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4802 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4803 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4804 * wcsmbs/wcsmbsload.h: Likewise.
4807 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4809 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4810 (arena_get2): Remove THREAD_STATS conditionals.
4811 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4812 (__malloc_stats, int): Likewise.
4814 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4816 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4817 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4819 * manual/setjmp.texi: Fix typos/grammar errors.
4821 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4822 Only return early when n is <= 0. Delete unused return statement.
4824 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4825 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4826 * debug/tst-longjmp_chk3.c: New file.
4828 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4829 (test_main): Replace code with set_fortify_handler call.
4830 * debug/test-strcpy_chk.c: Likewise.
4831 * debug/tst-chk1.c: Likewise.
4832 * debug/tst-longjmp_chk.c: Likewise.
4833 * test-skeleton.c: Include fcntl.h & paths.h
4834 (set_fortify_handler): Define.
4836 * debug/tst-longjmp_chk.c: Add header comment and include
4838 (do_test): Mark static.
4839 (TEST_FUNCTION): Define.
4841 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4842 (IP_PMTUDISC_INTERFACE): Likewise.
4843 (IP_MULTICAST_IF): Likewise.
4844 (IP_MULTICAST_TTL): Likewise.
4845 (IP_MULTICAST_LOOP): Likewise.
4846 (IP_ADD_MEMBERSHIP): Likewise.
4847 (IP_DROP_MEMBERSHIP): Likewise.
4848 (IP_UNBLOCK_SOURCE): Likewise.
4849 (IP_BLOCK_SOURCE): Likewise.
4850 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4851 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4852 (IP_MSFILTER): Likewise.
4853 (MCAST_JOIN_GROUP): Likewise.
4854 (MCAST_BLOCK_SOURCE): Likewise.
4855 (MCAST_UNBLOCK_SOURCE): Likewise.
4856 (MCAST_LEAVE_GROUP): Likewise.
4857 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4858 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4859 (MCAST_MSFILTER): Likewise.
4860 (IP_MULTICAST_ALL): Likewise.
4861 (IP_UNICAST_IF): Likewise.
4863 * timezone/Makefile: Delete $(have-ksh) check.
4864 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4865 * timezone/tzselect.ksh: Add +x mode bits.
4867 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4868 (ANON_INODE_FS_MAGIC): Likewise.
4869 (BDEVFS_MAGIC): Likewise.
4870 (BINFMTFS_MAGIC): Likewise.
4871 (BTRFS_TEST_MAGIC): Likewise.
4872 (CRAMFS_MAGIC_WEND): Likewise.
4873 (DEBUGFS_MAGIC): Likewise.
4874 (ECRYPTFS_SUPER_MAGIC): Likewise.
4875 (EXT3_SUPER_MAGIC): Likewise.
4876 (EXT4_SUPER_MAGIC): Likewise.
4877 (FUTEXFS_SUPER_MAGIC): Likewise.
4878 (HOSTFS_SUPER_MAGIC): Likewise.
4879 (HUGETLBFS_MAGIC): Likewise.
4880 (MINIX3_SUPER_MAGIC): Likewise.
4881 (MTD_INODE_FS_MAGIC): Likewise.
4882 (NILFS_SUPER_MAGIC): Likewise.
4883 (OPENPROM_SUPER_MAGIC): Likewise.
4884 (PIPEFS_MAGIC): Likewise.
4885 (PSTOREFS_MAGIC): Likewise.
4886 (QNX6_SUPER_MAGIC): Likewise.
4887 (RAMFS_MAGIC): Likewise.
4888 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4889 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4890 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4891 (SECURITYFS_MAGIC): Likewise.
4892 (SELINUX_MAGIC): Likewise.
4893 (SMACK_MAGIC): Likewise.
4894 (SOCKFS_MAGIC): Likewise.
4895 (SQUASHFS_MAGIC): Likewise.
4896 (STACK_END_MAGIC): Likewise.
4897 (TMPFS_MAGIC): Likewise.
4898 (USBDEVICE_SUPER_MAGIC): Likewise.
4899 (V9FS_MAGIC): Likewise.
4900 (XENFS_SUPER_MAGIC): Likewise.
4901 (CRAMFS_MAGIC): Fix typo in comment.
4902 (EXT2_SUPER_MAGIC): Update comment.
4903 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4905 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4907 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4908 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4909 * sysdeps/unix/sysv/linux/arm: Move directory from
4910 ports/sysdeps/unix/sysv/linux/arm.
4911 * README: Update listing for arm-*-linux-gnueabi.
4913 * README: Remove mention of am33.
4915 2014-02-07 Roland McGrath <roland@hack.frob.com>
4917 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4918 than the comma operator, to avoid "rhs of comma has no effect"
4920 (__sigfillset, __sigandset, __sigorset): Likewise.
4921 * include/signal.h (__sigemptyset): Likewise.
4922 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4924 2014-02-07 Allan McRae <allan@archlinux.org>
4926 * version.h (RELEASE): Set to "development".
4927 (VERSION): Set to "2.19.90"
4928 * NEWS: Add 2.20 section.
4930 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4933 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4935 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4937 * manual/contrib.texi: Update entry for Carlos O'Donell,
4938 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4940 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4942 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4944 * sysdeps/unix/sysv/linux/kernel-features.h
4945 [__LINUX_KERNEL_VERSION >= 0x020621]
4946 (__ASSUME_PROC_PID_TASK_COMM): Define.
4948 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4951 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4952 conversion when destination buffer does not have enough space.
4953 * libio/tst-ftell-partial-wide.c: New test case.
4954 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4956 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4957 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4958 Leonard and Allan McRae.
4960 2014-02-04 David S. Miller <davem@davemloft.net>
4962 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4965 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4994 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4996 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4997 * shlib-versions: Likewise.
4999 2014-02-04 Roland McGrath <roland@hack.frob.com>
5000 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5002 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5003 (abilist-pattern): New variable, set to %-le.abilist.
5005 * Makerules (abilist-pattern): New variable.
5006 (vpath): Use $(abilist-pattern) in place of %.abilist.
5007 (check-abi-% pattern rule): Likewise.
5008 (check-abi, update-abi): Likewise.
5010 2014-02-04 Eric Wong <normalperson@yhbt.net>
5012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5014 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5016 * manual/startup.texi: Add next, previous, and top entries for
5017 the `Program Arguments' and `Environment Variables' nodes.
5019 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5021 * manual/macros.texi: Add comments before MTASC-safety macros.
5023 * manual/users.texi: Document MTASC-safety properties.
5025 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5026 (pthread_getspecific, pthread_setspecific): Format with
5027 @deftypefun, and add @safety note.
5028 * manual/signal.texi: Move comments that analyze the above
5029 functions to their home place.
5031 2014-02-03 Allan McRae <allan@archlinux.org>
5033 * po/sl.po: Update Slovenian translation from translation project.
5035 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5037 * manual/time.texi (timegm): Add missing blank after @c.
5038 Reported by Joseph Myers <joseph@codesourcery.com>.
5040 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5042 * manual/check-safety.sh: New.
5043 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5045 * manual/terminal.texi: Document MTASC-safety properties.
5047 * manual/filesys.texi: Document MTASC-safety properties.
5049 * manual/errno.texi: Document MTASC-safety properties.
5051 * manual/intro.texi: Document safety identifiers and
5054 * manual/string.texi (wcstok): Fix prototype.
5055 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5057 * manual/time.texi: Document MTASC-safety properties.
5059 * manual/string.texi: Document MTASC-safety properties.
5061 * manual/threads.texi: Document MTASC-safety properties.
5063 * manual/stdio.texi: Document MTASC-safety properties.
5065 * manual/syslog.texi: Document MTASC-safety properties.
5067 * manual/sysinfo.texi: Document MTASC-safety properties.
5069 * manual/startup.texi: Document MTASC-safety properties.
5071 * manual/socket.texi: Document MTASC-safety properties.
5073 * manual/signal.texi: Document MTASC-safety properties.
5075 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5077 * manual/setjmp.texi: Document MTASC-safety properties.
5079 * manual/search.texi: Document MTASC-safety properties.
5081 * manual/resource.texi: Document MTASC-safety properties.
5083 * manual/process.texi: Document MTASC-safety properties.
5085 * manual/platform.texi: Document MTASC-safety properties.
5087 * manual/pipe.texi: Document MTASC-safety properties.
5089 * manual/pattern.texi: Document MTASC-safety properties.
5091 * manual/message.texi: Document MTASC-safety properties.
5094 * manual/memory.texi: Document MTASC-safety properties.
5096 * manual/math.texi: Document MTASC-safety properties.
5098 * manual/locale.texi: Document MTASC-safety properties.
5100 * manual/llio.texi: Document MTASC-safety properties.
5102 * manual/libdl.texi: New.
5104 * manual/lang.texi: Document MTASC-safety properties.
5106 * manual/job.texi: Document MTASC-safety properties.
5108 * manual/getopt.texi: Document MTASC-safety properties.
5110 * manual/ctype.texi: Document MTASC-safety properties.
5112 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5115 * csu/libc-tls.c (static_map): Remove variable.
5116 (__libc_setup_tls): Use main executable's link map for TLS data.
5117 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5118 casing for LM_ID_BASE and GL(dl_nns).
5119 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5120 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5121 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5122 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5123 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5125 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5128 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5130 * manual/debug.texi: Document MTASC-safety properties.
5132 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5135 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5136 of __x86_64__ when disabling x87 inline functions.
5138 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5140 * manual/charset.texi: Document MTASC-safety properties.
5142 * manual/crypt.texi: Document MTASC-safety properties.
5144 * manual/conf.texi: Document MTASC-safety properties.
5146 * manual/arith.texi: Document MTASC-safety properties.
5148 * manual/argp.texi: Document MTASC-safety properties.
5150 * manual/macros.texi: Introduce macros to document multi
5151 thread, asynchronous signal and asynchronous cancellation
5153 * manual/intro.texi: Introduce the properties themselves.
5155 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5157 * sysdeps/sh/sh4/Makefile: New file.
5159 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5161 * math/gen-libm-test.pl ($srcdir): New variable.
5162 ($auto_input): Use it.
5164 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5167 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5168 access beyond array bounds when parsing netgroups file.
5170 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5171 the old buffer before realloc.
5173 2014-01-27 Allan McRae <allan@archlinux.org>
5175 * po/fr.po: Update French translation from translation project.
5177 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5179 * sysdeps/sh/libm-test-ulps: Regenerate.
5181 2014-01-24 David S. Miller <davem@davemloft.net>
5183 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5185 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5187 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5188 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5190 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5193 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5194 string pointers after reallocation.
5196 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5198 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5199 __SH4A__ instead of __SH_FPU_ANY__.
5201 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5203 * sysdeps/sh/fpu_control.h: New file.
5204 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5205 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5206 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5207 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5208 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5209 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5210 * sysdeps/sh/sys/ucontext.h: Remove.
5211 * sysdeps/sh/sys: Remove directory.
5213 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5215 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5216 s390/sys/ucontext.h.
5217 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5218 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5220 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5223 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5225 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5229 Adjust the vDSO correctly for internal calls.
5230 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5232 2014-01-20 Allan McRae <allan@archlinux.org>
5234 * po/ca.po: Update Catalan translation from translation project.
5236 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5238 * sysdeps/s390/sotruss-lib.c: New file.
5240 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5244 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5245 local calls issues by not having a PLT stub required for IFUNC calls.
5246 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5248 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5250 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5251 * math/test-fpucw-static.c: Likewise.
5253 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5256 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5258 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5260 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5261 implementation for powerpc.
5263 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5266 * sysdeps/posix/system.c (__libc_system): Do not enable
5267 asynchronous cancellation.
5269 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5272 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5273 handling only for numbers special also in the IEEE case.
5275 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5277 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5279 2014-01-11 Allan McRae <allan@archlinux.org>
5281 * po/bg.po: Update Bulgarian translation from translation project.
5283 * po/de.po: Update German translation from translation project.
5285 2014-01-10 Roland McGrath <roland@hack.frob.com>
5287 * sysdeps/generic/gcc-compat.h: New file.
5289 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5291 * benchtests/asin-inputs: Correct slow inputs.
5292 * benchtests/acos-inputs: Likewise.
5294 2014-01-10 Allan McRae <allan@archlinux.org>
5296 * po:sv.po: Update Swedish translation from translation project.
5298 * po/vi.po: Update Vietnamese translation from translation project.
5300 * po/eo.po: Update Esperanto translation from translation project.
5302 * po/cs.po: Update Czech translation from translation project.
5304 * po/nl.po: Update Dutch translation from translation project.
5306 * po/pl.po: Update Polish translation from translation project.
5308 * po/ru.po: Update Russian translation from translation project.
5310 * po/uk.po: Update Ukrainian translation from translation project.
5312 2014-01-08 Brooks Moses <bmoses@google.com>
5314 * elf/dl-load.c: Fix comment typo.
5316 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5318 * po/header.pot: Rename to...
5319 * po/pot.header: ... this.
5320 * po/Makefile: Use pot.header.
5322 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5323 Maxim Kuvyrkov <maxim@kugelworks.com>
5326 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5327 SRC and DEST against LEN.
5329 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5332 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5334 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5336 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5340 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5344 for large positive arguments.
5346 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5348 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5350 * math/auto-libm-test-in: Mark various tests with
5351 xfail-rounding:ldbl-128ibm.
5352 * math/auto-libm-test-out: Regenerated.
5355 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5356 Increase overflow threshold.
5358 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5361 * stdio-common/vfprintf.c: Check for integer overflow.
5363 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5365 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5366 the first argument and return value of __tls_get_addr_internal.
5368 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5370 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5371 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5373 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5375 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5376 * sysdeps/s390/rtld-global-offsets.sym: New file.
5377 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5379 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5381 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5383 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5384 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5390 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5391 halfs of GPRs for high_gprs contexts.
5392 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5393 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5395 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5397 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5399 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5400 for high GPRs (uc_high_gprs) and for future extensions
5402 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5403 for future extensions (__reserved).
5404 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5406 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5407 SC_HIGHGPRS offset definition.
5408 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5409 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5411 * Versions.def: Add GLIBC_2.19 for libpthread.
5412 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5413 siglongjmp for libpthread with GLIBC_2.19 symver.
5414 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5415 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5416 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5417 * sysdeps/s390/__longjmp.c: New file.
5418 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5419 * sysdeps/s390/longjmp.c: New file.
5420 * sysdeps/s390/setjmp.S: New file.
5421 * sysdeps/s390/sigjmp.S: New file.
5422 * sysdeps/s390/v1-longjmp.c: New file.
5423 * sysdeps/s390/v1-setjmp.h: New file.
5424 * sysdeps/s390/v1-sigjmp.c: New file.
5425 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5426 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5428 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5429 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5430 versioned symbols for ____longjmp_chk.
5431 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5441 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5442 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5443 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5444 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5445 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5446 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5447 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5448 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5449 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5450 * sysdeps/s390/rtld-__longjmp.c: New file.
5451 * sysdeps/s390/rtld-setjmp.S: New file.
5453 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5457 Return -__logl (x) for small positive arguments without evaluating
5460 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5462 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5464 (__ptrace_peeksiginfo_args): ... this.
5465 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5467 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5469 2014-01-06 Allan McRae <allan@archlinux.org>
5471 * inet/netinet/in.h: Fix typo in comment.
5473 2014-01-05 Andreas Jaeger <aj@suse.de>
5475 * sysdeps/i386/fpu/libm-test-ulps: Update.
5477 2014-01-05 Allan McRae <allan@archlinux.org>
5479 * po/libc.pot: Regenerated.
5481 * malloc/memusagestat.c: Fix gettext call formatting.
5483 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5485 * nscd/nscd.c: Improve usage() output.
5487 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5489 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5490 * sysdeps/unix/sysv/linux/configure: Regenerated.
5491 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5492 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5494 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5497 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5498 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5500 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5503 extra tokens at end of #undef directive.
5504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5505 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5508 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5510 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5512 * math/auto-libm-test-in: Mark various tests with
5513 xfail-rounding:ldbl-128ibm.
5514 * math/auto-libm-test-out: Regenerated.
5516 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5519 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5520 numbers with subnormal high part when calculating exponent.
5523 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5527 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5529 (__ieee754_acoshl): Use __log1pl not __log1p.
5531 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5533 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5534 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5535 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5536 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5537 (reused_arena, arena_get2): Convert to GNU style.
5538 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5539 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5540 (memalign_check, __malloc_set_state): Likewise.
5541 * malloc/mallocbug.c (main): Likewise.
5542 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5543 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5544 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5545 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5546 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5547 (__posix_memalign, malloc_info): Likewise.
5548 * malloc/malloc.h: Likewise.
5549 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5550 (mallochook, memalignhook, reallochook, mabort): Likewise.
5551 * malloc/mcheck.h: Likewise.
5552 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5553 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5554 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5555 * malloc/morecore.c (__default_morecore): Likewise.
5556 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5557 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5558 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5559 (print_and_abort): Likewise.
5560 * malloc/obstack.h: Likewise.
5561 * malloc/set-freeres.c (__libc_freeres): Likewise.
5562 * malloc/tst-mallocstate.c (main): Likewise.
5563 * malloc/tst-mtrace.c (main): Likewise.
5564 * malloc/tst-realloc.c (do_test): Likewise.
5566 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5569 * nscd/netgroupcache.c (do_notfound): New function.
5570 (addgetnetgrentX): Use it.
5573 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5574 NSS_STATUS_NOTFOUND.
5576 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5578 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5581 2014-01-01 Allan McRae <allan@archlinux.org>
5583 * scripts/update-copyrights: Update configure input file suffix.
5585 * NEWS: Update copyright year.
5586 * catgets/gencat.c: Likewise.
5587 * csu/version.c: Likewise.
5588 * debug/catchsegv.sh: Likewise.
5589 * debug/pcprofiledump.c: Likewise.
5590 * debug/xtrace.sh: Likewise.
5591 * elf/ldconfig.c: Likewise.
5592 * elf/ldd.bash.in: Likewise.
5593 * elf/pldd.c: Likewise.
5594 * elf/sotruss.ksh: Likewise.
5595 * elf/sprof.c: Likewise.
5596 * iconv/iconv_prog.c: Likewise.
5597 * iconv/iconvconfig.c: Likewise.
5598 * locale/programs/locale.c: Likewise.
5599 * locale/programs/localedef.c: Likewise.
5600 * login/programs/pt_chown.c: Likewise.
5601 * malloc/memusage.sh: Likewise.
5602 * malloc/memusagestat.c: Likewise.
5603 * malloc/mtrace.pl: Likewise.
5604 * manual/libc.texinfo: Likewise.
5605 * nscd/nscd.c: Likewise.
5606 * nss/getent.c: Likewise.
5607 * nss/makedb.c: Likewise.
5608 * posix/getconf.c: Likewise.
5609 * scripts/test-installation.pl: Likewise.
5611 * All files with FSF copyright notices: Update copyright dates
5612 using scripts/update-copyrights.
5613 * intl/plural.c: Regenerated.
5614 * locale/programs/charmap-kw.h: Likewise.
5615 * locale/programs/locfile-kw.h: Likewise.
5617 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5619 * sysdeps/unix/sysv/linux/configure: Regenerated.
5620 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5621 the linux/fanotify.h header.
5622 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5623 HAVE_LINUX_FANOTIFY_H is defined.
5625 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5627 * benchtests/cos-inputs: New inputs.
5628 * benchtests/sin-inputs: Likewise.
5630 * benchtests/atan-inputs: New inputs. Fix name of multiple
5631 precision fallback inputs.
5633 * benchtests/atanh-inputs: New inputs.
5634 * benchtests/tanh-inputs: Likewise.
5636 * benchtests/acosh-inputs: New inputs.
5637 * benchtests/asinh-inputs: Likewise.
5639 * benchtests/cosh-inputs: New inputs.
5640 * benchtests/sinh-inputs: Likewise.
5642 * benchtests/acos-inputs: Add more inputs.
5643 * benchtests/asin-inputs: Likewise.
5645 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5648 * manual/arith.texi: Fix spelling.
5649 * manual/charset.texi: Likewise.
5650 * manual/errno.texi: Likewise.
5651 * manual/filesys.texi: Likewise.
5652 * manual/lang.texi: Likewise.
5653 * manual/llio.texi: Likewise.
5654 * manual/locale.texi: Likewise.
5655 * manual/message.texi: Likewise.
5656 * manual/resource.texi: Likewise.
5657 * manual/search.texi: Likewise.
5658 * manual/setjmp.texi: Likewise.
5659 * manual/stdio.texi: Likewise.
5660 * manual/string.texi: Likewise.
5661 * manual/sysinfo.texi: Likewise.
5662 * manual/time.texi: Likewise.
5664 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5666 * po/sl.po: New file.
5668 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5670 * .gitignore: Add core/.gdbinit/.gdb_history.
5672 2013-12-27 Allan McRae <allan@archlinux.org>
5675 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5676 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5678 2013-12-24 Brooks Moses <bmoses@google.com>
5680 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5681 all compilers that claim C++98 compliance, not just GCC.
5682 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5685 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5687 * NEWS: Restore accidentally deleted bug-fix entries.
5689 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5690 Ondřej Bílka <neleai@seznam.cz>
5693 * malloc/malloc.c (_int_free): Perform sanity check only if we
5696 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5699 * manual/stdio.texi (String Input Conversions): Clarify that character
5700 classes are not supported.
5702 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5706 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5709 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5710 Calculate results for small negative arguments directly rather
5711 than using reflection formula with special underflow handling.
5713 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5714 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5715 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5716 (fchflags): Likewise.
5718 (setlogin): Likewise.
5719 (sigaltstack): Likewise.
5722 (sigsetmask): Likewise.
5724 (waitpid): Likewise.
5725 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5726 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5728 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5729 * sysdeps/unix/bsd/Makefile: ... here.
5730 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5731 * sysdeps/unix/bsd/Versions: ... here.
5732 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5733 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5734 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5735 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5736 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5737 * sysdeps/unix/bsd/sigblock.c: ... here.
5738 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5739 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5740 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5741 * sysdeps/unix/bsd/sigvec.c: ... here.
5742 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5743 * sysdeps/unix/bsd/tcdrain.c: ... here.
5744 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5745 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5746 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5747 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5748 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5749 * sysdeps/unix/bsd/wait.c: ... here.
5750 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5751 * sysdeps/unix/bsd/wait3.c: ... here.
5752 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5753 * sysdeps/unix/bsd/waitpid.c: ... here.
5755 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5758 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5759 round-to-nearest for [!USE_AS_EXPM1L].
5760 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5761 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5762 more tests of exp and exp10. Expect some exp10 tests to miss
5763 exceptions or fail in directed rounding modes.
5764 * math/auto-libm-test-out: Regenerated.
5765 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5766 (exp10_test_tonearest): New function.
5767 (exp10_towardzero_test_data): New array.
5768 (exp10_test_towardzero): New function.
5769 (exp10_downward_test_data): New array.
5770 (exp10_test_downward): New function.
5771 (exp10_upward_test_data): New array.
5772 (exp10_test_upward): New function.
5773 (main): Call the new functions.
5774 * sysdeps/i386/fpu/libm-test-ulps: Update.
5775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5777 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5779 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5780 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5781 * math/auto-libm-test-out: Regenerated.
5782 * math/libm-test.inc (acosh_test_data): Add more tests.
5783 (atanh_test_data): Likewise.
5784 (ceil_test_data): Likewise.
5785 (copysign_test_data): Likewise.
5786 * sysdeps/i386/fpu/libm-test-ulps: Update.
5787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5789 * timezone/checktab.awk: Update from tzcode 2013i.
5790 * timezone/private.h: Likewise.
5791 * timezone/scheck.c: Likewise.
5792 * timezone/tzfile.h: Likewise.
5793 * timezone/tzselect.ksh: Likewise.
5794 * timezone/zdump.c: Likewise.
5795 * timezone/zic.c: Likewise.
5797 * math/auto-libm-test-in: Add tests of cpow.
5798 * math/auto-libm-test-out: Regenerated.
5799 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5800 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5802 (func_calc_desc): Add mpc_cc_c union field.
5803 (test_functions): Add cpow.
5804 (special_fill_2pi): New function.
5805 (special_real_inputs): Add 2pi.
5806 (calc_generic_results): Handle mpc_cc_c.
5807 * sysdeps/i386/fpu/libm-test-ulps: Update.
5808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5810 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5811 csqrt, ctan and ctanh.
5812 * math/auto-libm-test-out: Regenerated.
5813 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5814 (TEST_COND_x86): Likewise.
5815 (ccos_test_data): Use AUTO_TESTS_c_c.
5816 (ccosh_test_data): Likewise.
5817 (cexp_test_data): Likewise.
5818 (clog_test_data): Likewise.
5819 (csqrt_test_data): Likewise.
5820 (ctan_test_data): Likewise.
5821 (ctan_tonearest_test_data): Likewise.
5822 (ctan_towardzero_test_data): Likewise.
5823 (ctan_downward_test_data): Likewise.
5824 (ctan_upward_test_data): Likewise.
5825 (ctanh_test_data): Likewise.
5826 (ctanh_tonearest_test_data): Likewise.
5827 (ctanh_towardzero_test_data): Likewise.
5828 (ctanh_downward_test_data): Likewise.
5829 (ctanh_upward_test_data): Likewise.
5830 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5832 (func_calc_desc): Add mpc_c_c union field.
5833 (FUNC_mpc_c_c): New macro.
5834 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5835 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5837 (special_fill_min_subnorm_p120): New function.
5838 (special_real_inputs): Add min_subnorm_p120.
5839 (calc_generic_results): Handle mpc_c_c.
5840 * sysdeps/i386/fpu/libm-test-ulps: Update.
5841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5843 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5845 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5846 (do_sin_slow): New functions.
5847 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5848 (cslow2, csloww1, csloww2): Use the new functions.
5850 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5851 Use M to change sign of result instead of X. Assume X is
5853 (csloww1): Likewise.
5857 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5862 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5864 (sloww1): Don't adjust sign of DX.
5865 (csloww1): Likewise.
5866 (sloww2): Use X directly and don't adjust sign of DX.
5867 (csloww2): Likewise.
5869 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5871 * math/auto-libm-test-in: Add tests of cabs and carg.
5872 * math/auto-libm-test-out: Regenerated.
5873 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5874 (carg_test_data): Likewise.
5875 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5877 (func_calc_desc): Add mpc_c_f union field.
5878 (test_functions): Add cabs and carg.
5879 (calc_generic_results): Handle mpc_c_f.
5881 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5882 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5883 as a macro and a compat symbol.
5884 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5885 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5886 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5887 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5888 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5889 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5891 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5893 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5895 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5901 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5902 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5905 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5909 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5911 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5912 trailing whitespace removed.
5913 * scripts/config.guess: Update to version 2013-11-29.
5914 * scripts/config.sub: Update to version 2013-10-01.
5916 * math/auto-libm-test-in: Add tests of sincos.
5917 * math/auto-libm-test-out: Regenerated.
5918 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5919 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5921 (func_calc_desc): Add mpfr_f_11 union field.
5922 (test_functions): Add sincos.
5923 (calc_generic_results): Handle mpfr_f_11.
5924 * sysdeps/i386/fpu/libm-test-ulps: Update.
5925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5927 2013-12-19 Andreas Schwab <schwab@suse.de>
5929 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5932 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5933 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5935 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5937 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5938 * sysdeps/i386/fpu/libm-test-ulps: Update.
5939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5943 round-to-nearest mode when using frndint.
5944 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5945 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5948 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5950 * math/auto-libm-test-out: Regenerated.
5951 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5952 (TEST_COND_x86): Likewise.
5953 (expm1_tonearest_test_data): New array.
5954 (expm1_test_tonearest): New function.
5955 (expm1_towardzero_test_data): New array.
5956 (expm1_test_towardzero): New function.
5957 (expm1_downward_test_data): New array.
5958 (expm1_test_downward): New function.
5959 (expm1_upward_test_data): New array.
5960 (expm1_test_upward): New function.
5961 (main): Run the new test functions.
5962 * sysdeps/i386/fpu/libm-test-ulps: Update.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5965 * include/features.h: Update comment documenting feature test
5966 macros. Mention _DEFAULT_SOURCE in comment.
5967 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5968 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5969 _BSD_SOURCE and _SVID_SOURCE.
5970 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5971 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5972 !_SVID_SOURCE]: Likewise.
5973 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5974 (__USE_POSIX_IMPLICITLY): Define.
5975 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5976 (_POSIX_SOURCE): Undefine and redefine.
5977 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5978 (_POSIX_C_SOURCE): Likewise.
5979 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5980 (Feature Test Macros): Update documentation of default features.
5982 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5984 * benchtests/Makefile: Add bench-strtok.
5985 * benchtests/bench-strtok.c: New file: strtok benchtest.
5987 2013-12-19 Allan McRae <allan@archlinux.org>
5989 * manual/install.texi: Suppress menu for plain text output.
5990 * INSTALL: Regenerated.
5992 2013-12-18 Brooks Moses <bmoses@google.com>
5995 * misc/getauxval.c: Include errno.h.
5996 (__getauxval): Set errno to ENOENT if the requested type is not
5998 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5999 don't declare with __attribute_const__.
6000 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6001 * manual/startup.texi: Document that getauxval sets errno.
6003 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6005 * math/auto-libm-test-in: Add tests of jn and yn.
6006 * math/auto-libm-test-out: Regenerated.
6007 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6008 (yn_test_data): Likewise.
6009 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6011 (func_calc_desc): Add mpfr_if_f union field.
6012 (FUNC_mpfr_if_f): New macro.
6013 (test_functions): Add jn and yn.
6014 (calc_generic_results): Assert type of second input for
6015 mpfr_ff_f. Handle mpfr_if_f.
6016 (output_for_one_input_case): Disable all checking for arguments
6017 fitting floating-point types in case of an integer argument.
6018 * sysdeps/i386/fpu/libm-test-ulps: Update.
6019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6022 Don't expect fegetround reference in libm.so.
6024 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6026 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6027 $(config-cflags-nofma).
6029 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6031 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6032 * math/auto-libm-test-out: Regenerated.
6035 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6036 to determine exponent and adjust argument to have exponent of -1.
6037 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6039 * math/auto-libm-test-out: Regenerated.
6040 * sysdeps/i386/fpu/libm-test-ulps: Update.
6041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6043 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6045 * manual/probes.texi: Remove cases when per-thread arenas are
6048 2013-12-18 Andreas Schwab <schwab@suse.de>
6050 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6051 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6052 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6053 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6054 * sysdeps/i386/i686/multiarch/Makefile: Update.
6055 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6057 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6059 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6060 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6062 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6065 Support TZ transition times < 00:00:00.
6066 This is needed for version-3 tz-format files; it supports time
6067 stamps past 2037 for America/Godthab (the only entry in the tz
6068 database for which this change is relevant).
6069 * manual/time.texi (TZ Variable): Document transition times
6070 from -167:59:59 through -00:00:01.
6071 * time/tzset.c (tz_rule): Time of day is now signed.
6072 (__tzset_parse_tz): Parse negative time of day.
6074 Document TZ transition times >= 25:00:00.
6075 * manual/time.texi (TZ Variable): Document transition times from
6076 25:00:00 through 167:59:59. These are already supported, and this
6077 support will help with version-3 tz-format files.
6079 * manual/time.texi (TZ Variable): Modernize North America example
6080 to reflect current (i.e., 2007-and-later) daylight saving rules.
6082 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6084 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6086 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6087 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6090 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6091 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6092 * sysdeps/unix/bsd/clock.c: Likewise.
6093 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6094 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6095 * sysdeps/unix/bsd/init-posix.c: Likewise.
6096 * sysdeps/unix/bsd/poll.c: Likewise.
6097 * sysdeps/unix/bsd/ptsname.c: Likewise.
6098 * sysdeps/unix/bsd/seekdir.c: Likewise.
6099 * sysdeps/unix/bsd/setegid.c: Likewise.
6100 * sysdeps/unix/bsd/seteuid.c: Likewise.
6101 * sysdeps/unix/bsd/setgid.c: Likewise.
6102 * sysdeps/unix/bsd/setrgid.c: Likewise.
6103 * sysdeps/unix/bsd/setruid.c: Likewise.
6104 * sysdeps/unix/bsd/setsid.c: Likewise.
6105 * sysdeps/unix/bsd/setuid.c: Likewise.
6106 * sysdeps/unix/bsd/sigaction.c: Likewise.
6107 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6108 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6109 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6110 * sysdeps/unix/bsd/telldir.c: Likewise.
6111 * sysdeps/unix/bsd/times.c: Likewise.
6112 * sysdeps/unix/bsd/usleep.c: Likewise.
6114 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6115 ($(objpfx)libbsd-compat.a): Remove rule.
6117 * include/features.h (__FAVOR_BSD): Do not define.
6118 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6119 features conflicting with POSIX.
6120 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6121 (_BSD_SOURCE): Remove description of not being a subset of other
6122 feature test macros.
6123 * manual/job.texi (getpgrp): Do not document BSD version.
6124 (getpgid): Do not document by reference to BSD getpgrp.
6125 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6126 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6127 * signal/signal.h [__FAVOR_BSD]: Likewise.
6128 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6129 instead of making contents conditional on [__FAVOR_BSD].
6130 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6132 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6136 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6139 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6140 values below 2**-450, not 2**-500.
6141 * math/auto-libm-test-in: Don't allow spurious underflow from
6143 * math/auto-libm-test-out: Regenerated.
6147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6148 values of ha and hb and sort them after adjusting subnormal
6150 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6152 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6153 values of ea and eb and sort them after adjusting subnormal
6155 * math/auto-libm-test-in: Do not expect some hypot tests of
6156 subnormals to fail. Add more hypot tests.
6157 * math/auto-libm-test-out: Regenerated.
6159 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6162 * sysdeps/sh/s_fma.c: New file.
6163 * sysdeps/sh/s_fmaf.c: New file.
6164 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6166 * sysdeps/sh/Implies: Add sh/soft-fp.
6168 2013-12-16 Roland McGrath <roland@hack.frob.com>
6170 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6171 level of indirection to members `objname', `errstring', `malloced'.
6172 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6173 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6174 it as the __longjmp argument (just pass 1 instead).
6175 (_dl_catch_error): Initialize C with argument pointers and address of
6176 volatile local ERRCODE rather than copying values out of C at return.
6178 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6180 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6181 * math/auto-libm-test-out: Regenerated.
6182 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6183 (hypot_test_data): Likewise.
6184 (pow_test_data): Likewise.
6185 (pow_tonearest_test_data): Likewise.
6186 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6188 (func_calc_desc): Add mpfr_ff_f union field.
6189 (FUNC_mpfr_ff_f): New macro.
6190 (test_functions): Add atan2, hypot and pow.
6191 (special_fill_min): New function.
6192 (special_fill_minus_min): Likewise.
6193 (special_fill_min_subnorm): Likewise.
6194 (special_fill_minus_min_subnorm): Likewise.
6195 (special_real_inputs): Add min, -min, min_subnorm and
6197 (calc_generic_results): Handle mpfr_ff_f.
6198 * sysdeps/i386/fpu/libm-test-ulps: Update.
6199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6201 2013-12-16 Will Newton <will.newton@linaro.org>
6203 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6204 (Aligned Memory Blocks): Add documentation for aligned_alloc
6205 and suggest it as an alternative to posix_memalign.
6206 (Hooks for Malloc): Document __memalign_hook is also called
6207 for aligned_alloc. (Summary of Malloc): Add summary for
6208 aligned alloc. Document __memalign_hook is also called
6211 2013-12-16 Will Newton <will.newton@linaro.org>
6213 * manual/memory.texi (Malloc Examples): Clarify default
6214 alignment documentation. Suggest posix_memalign rather
6215 than memalign or valloc.
6216 (Aligned Memory Blocks): Remove suggestion to use memalign
6217 or valloc. Remove obsolete comment about BSD.
6218 Document memalign errno values and mark the function obsolete.
6219 Document posix_memalign returned error codes. Mark valloc
6220 as obsolete. (Hooks for Malloc): __memalign_hook is also
6221 called for posix_memalign and valloc.
6222 (Summary of Malloc): Add posix_memalign to function summary.
6223 __memalign_hook is also called for posix_memalign and valloc.
6225 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6227 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6231 (sloww): Use mynumber union. Expand ternary operator into
6233 (cslow): use mynumber union.
6235 2013-12-16 Allan McRae <allan@archlinux.org>
6237 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6238 * configure: Regenerated.
6240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6243 * configure.ac: Added --enable-maintainer-mode. Check for
6244 autoconf when enabled.
6245 * configure: Regenerated.
6247 * nscd/nscd.service: New file.
6248 * nscd/nscd.tmpfiles: New file.
6250 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6253 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6254 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6255 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6256 (strstr): Add __strstr_sse2_unaligned ifunc.
6257 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6258 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6259 (strcasestr): Remove __strcasestr_sse42 ifunc.
6260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6264 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6266 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6267 * sysdeps/sh/bits/fenv.h: ... here.
6268 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6270 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6272 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6275 hypotf multiarch implementations.
6276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6279 multiarch hypot for PPC64.
6280 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6283 multiarch hypotf for PPC64.
6285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6286 modff multiarch implementations.
6287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6290 multiarch modf for PPC64.
6291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6294 multiarch modff for PPC64.
6296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6297 and logl multiarch implementations.
6298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6301 multiarch logb for PPC64.
6302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6305 multiarch logb for PPC64.
6306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6309 multiarch logb for PPC64.
6311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6312 isinff multiarch implementation.
6313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6317 multiarch isinf for PPC64.
6318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6321 multiarch isinff for PPC64.
6323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6324 finitef multiarch implementation.
6325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6329 multiarch finite for PPC64.
6330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6333 multiarch finitef for PPC64.
6335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6336 lrint multiarch implementation.
6337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6341 multiarch llrint for PPC64.
6342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6343 multiarch lrint for PPC64.
6345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6346 copysignf multiarch implementation.
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6352 multiarch copysign for PPC64.
6353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6354 multiarch copysignf for PPC64.
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6357 multiarch implementation.
6358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6366 multiarch llround for PPC64.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6368 multiarch trunc for PPC64.
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6370 multiarch truncf for PPC64.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6373 multiarch implementation.
6374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6382 multiarch llround for PPC64.
6383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6384 multiarch round for PPC64.
6385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6386 multiarch roundf for PPC64.
6388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6389 multiarch implementation.
6390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6398 multiarch llround for PPC64.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6400 multiarch floor for PPC64.
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6402 multiarch floorf for PPC64.
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6405 multiarch implementation.
6406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6414 multiarch llround for PPC64.
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6416 multiarch ceil for PPC64.
6417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6418 multiarch ceilf for PPC64.
6420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6421 multiarch implementation.
6422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6429 multiarch llround for PPC64.
6430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6431 multiarch lround for PPC64.
6433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6434 multiarch implementation.
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6442 multiarch isnan for PPC64.
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6444 multiarch isnanf for PPC64.
6446 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6447 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6448 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6449 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6450 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6453 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6454 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6459 multiarch implementations.
6460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6461 (__libc_ifunc_impl_list): Likewise.
6462 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6463 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6465 multiarch stpcpy for PPC64.
6467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6468 multiarch implementations.
6469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6470 (__libc_ifunc_impl_list): Likewise.
6471 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6472 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6473 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6474 multiarch strcpy for PPC64.
6476 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6477 redefine function name.
6478 (_wordcopy_fwd_dest_aligned): Likewise.
6479 (_wordcopy_bwd_aligned): Likewise.
6480 (_wordcopy_bwd_dest_aligned): Likewise.
6481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6482 multiarch implementations.
6483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6484 (__libc_ifunc_impl_list): Likewise.
6485 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6488 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6489 multiarch wcscpy for PPC64.
6491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6492 multiarch implementations.
6493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6494 (__libc_ifunc_impl_list): Likewise.
6495 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6497 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6498 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6499 multiarch wcscpy for PPC64.
6501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6502 multiarch implementations.
6503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6504 (__libc_ifunc_impl_list): Likewise.
6505 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6506 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6509 multiarch wcsrchr for PPC64.
6511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6512 multiarch implementations.
6513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6514 (__libc_ifunc_impl_list): Likewise.
6515 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6516 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6517 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6518 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6519 multiarch wcschr for PPC64.
6521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6522 multiarch implementations.
6523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6524 (__libc_ifunc_impl_list): Likewise.
6525 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6526 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6527 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6528 multiarch strchrnul for PPC64.
6530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6533 (__libc_ifunc_impl_list): Likewise.
6534 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6535 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6536 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6537 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6543 (__libc_ifunc_impl_list): Likewise.
6544 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6546 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6547 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6551 multiarch implementations.
6552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6553 (__libc_ifunc_impl_list): Likewise.
6554 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6555 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6556 strncasecmp for PPC64.
6557 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6558 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6559 multiarch strncasecmp_l for PPC64.
6561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6562 multiarch implementations.
6563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6564 (__libc_ifunc_impl_list): Likewise.
6565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6567 multiarch strcasecmp for PPC64.
6568 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6571 multiarch strcasecmp_l for PPC64.
6573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6576 (__libc_ifunc_impl_list): Likewise.
6577 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6578 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6579 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6585 (__libc_ifunc_impl_list): Likewise.
6586 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6587 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6588 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6594 (__libc_ifunc_impl_list): Likewise.
6595 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6596 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6597 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6598 rawmemrchr for PPC64.
6600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6603 (__libc_ifunc_impl_list): Likewise.
6604 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6605 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6606 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6612 (__libc_ifunc_impl_list): Likewise.
6613 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6614 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6615 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6621 (__libc_ifunc_impl_list): Likewise.
6622 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6623 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6624 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6627 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6628 avoid cretion of __bzero symbol.
6629 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6631 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6633 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6636 multiarch implementations.
6637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6638 (__libc_ifunc_impl_list): Likewise.
6639 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6640 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6641 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6642 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6644 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6645 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6646 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6647 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6648 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6650 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6652 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6656 (__libc_ifunc_impl_list): Likewise.
6657 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6658 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6659 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6660 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6664 multiarch for POWER/PPC64.
6665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6666 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6668 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6669 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6673 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6676 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6677 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6678 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6679 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6680 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6681 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6682 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6683 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6684 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6685 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6686 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6687 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6688 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6689 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6690 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6699 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6701 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6703 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6705 * benchtests/Makefile (bench): Add exp2 and log2.
6706 (LDLIBS-bench-exp2): Add -lm.
6707 (LDLIBS-bench-log2): Likewise.
6708 * benchtests/exp2-inputs: New inputs file.
6709 * benchtests/log2-inputs: New inputs file.
6710 * benchtests/log-inputs: Add new inputs.
6711 * benchtests/tan-inputs: Likewise.
6713 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6715 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6717 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6718 (csloww2): ... from here.
6720 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6721 instead of structures.
6722 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6723 (POLYNOMIAL): Likewise.
6724 (TAYLOR_SLOW): Likewise.
6732 (bsloww1): Likewise.
6733 (bsloww2): Likewise.
6736 (csloww1): Likewise.
6737 (csloww2): Likewise.
6739 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6741 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6742 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6743 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6744 * malloc/hooks.c (realloc_check): Likewise.
6746 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6747 * malloc/arena.c: Remove PER_THREAD conditional.
6748 [!PER_THREAD]: Remove code.
6749 (ptmalloc_unlock_all2): Likewise.
6750 (ptmalloc_init): Likewise.
6751 (_int_new_arena): Likewise.
6752 (arena_get2): Likewise.
6753 * malloc/hooks.c (__malloc_get_state): Likewise.
6754 (__malloc_set_state): Likewise.
6755 * malloc/malloc.c: Likewise.
6756 (struct malloc_state): Likewise.
6757 (struct malloc_par): Likewise.
6758 (__libc_realloc): Likewise.
6759 (__libc_mallopt): Likewise.
6761 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6763 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6765 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6767 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6768 macro to a function. Check for zero perturb_byte.
6769 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6771 * malloc/malloc.c: (force_reg): Remove.
6772 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6773 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6774 force_reg by atomic_forced_read.
6775 * malloc/arena.c (ptmalloc_init): Likewise.
6776 * malloc/hooks.c (top_check): Likewise.
6778 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6782 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6786 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6788 * math/auto-libm-test-in: Add tests of lgamma.
6789 * math/auto-libm-test-out: Regenerated.
6790 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6791 (M_LOG_2_SQRT_PIl): Likewise.
6792 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6793 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6795 (func_calc_desc): Add mpfr_f_f1 union field.
6804 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6805 (test_functions): Add lgamma.
6806 (calc_generic_results): Handle mpfr_f_f1.
6807 * sysdeps/i386/fpu/libm-test-ulps: Update.
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6810 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6812 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6813 __mpn_add_n for PowerPC64/POWER7.
6814 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6815 __mpn_sub_n for PowerPC64/POWER7.
6817 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6818 __mpn_addmul_1 for PowerPC64.
6819 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6820 __mpn_submul_1 for PowerPC64.
6821 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6823 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6826 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6829 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6831 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6835 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6836 add multiarch folders.
6837 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6838 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6839 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6840 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6841 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6842 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6843 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6844 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6845 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6846 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6847 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6856 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6862 multiarch __ieee754_hypot for PowerPC32.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6868 multiarch __ieee754_hypotf for PowerPC32.
6870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6871 long_double_symbol only if __logbl is defined.
6872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6873 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6875 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6877 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6878 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6879 path for implementation.
6880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6883 logb, and logbl multiarch implementations for PowerPC32.
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6889 multiarch logb for PowerPC32.
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6895 multiarch logbf for PowerPC32.
6896 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6900 multiarch logbl implementation for PowerPC32.
6902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6903 and modff multiarch implementations.
6904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6909 multiarch modf for PowerPC32.
6910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6915 multiarch modff for PowerPC32.
6917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6918 and lrintf multiarch implementations.
6919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6924 multiarch lrint for PowerPC32.
6925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6926 file: multiarch lrintf for PowerPC32.
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6929 and lroundf multiarch implementations.
6930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6937 multiarch lround for PowerPC32.
6938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6939 file: multiarch lroundf for PowerPC32.
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6942 copysign and copysignf multiarch implementations.
6943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6948 file: multiarch copysign for PowerPC32.
6949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6950 file: multiarch copysignf for PowerPC32.
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6953 and truncf multiarch implementations.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6959 multiarch trunc for PowerPC32.
6960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6965 multiarch truncf for PowerPC32.
6967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6968 and roundf multiarch implementations.
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6974 multiarch round for PowerPC32.
6975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6980 multiarch roundf for PowerPC32.
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6983 and floorf multiarch implementations.
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6989 multiarch floor for PowerPC32.
6990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6995 multiarch floorf for PowerPC32.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6998 and ceilf multiarch implementations.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7004 multiarch ceil for PowerPC32.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7010 multiarch ceilf for PowerPC32.
7012 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7014 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7017 and finitef multiarch implementations.
7018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7023 multiarch finite for PowerPC32.
7024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7027 file: multiarch finitef for PowerPC32.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7030 and isinff multiarch implementations.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7036 multiarch isinf for PowerPC32.
7037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7040 multiarch isinff for PowerPC32.
7042 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7043 alias when __isnan is defined.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7045 and isnanf multiarch implementations.
7046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7055 multiarch isnan for PowerPC32.
7056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7061 multiarch isnanf for PowerPC32.
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7064 and sqrtf multiarch implementations.
7065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7070 multiarch sqrt for PowerPC32.
7071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7076 multiarch sqrtf for PowerPC32.
7078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7079 and llroundf multiarch implementations.
7080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7087 file: multiarch llround for PowerPC32.
7088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7089 file: multiarch llroundf for PowerPC32.
7091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7092 multiarch PowerPC32 fpu implementations.
7093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7098 multiarch llrint for PowerPC32.
7099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7108 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7115 multiarch wordcopy for PPC32.
7116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7119 (__libc_ifunc_impl_list): Likewise.
7120 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7121 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7122 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7123 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7125 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7127 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7135 multiarch wcscpy for PPC32.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7139 (__libc_ifunc_impl_list): Likewise.
7140 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7141 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7142 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7143 sysdeps/powerpc/power6/wcscpy.c.
7145 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7153 multiarch wcsrchr for PPC32.
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7157 (__libc_ifunc_impl_list): Likewise.
7158 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7159 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7160 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7161 sysdeps/powerpc/power6/wcsrchr.c.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7169 multiarch wcschr for PPc32.
7170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7173 (__libc_ifunc_impl_list): Likewise.
7174 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7175 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7176 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7177 sysdeps/powerpc/power6/wcschr.c.
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7180 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7183 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7184 file: multiarch strchr for PPC32.
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7188 (__libc_ifunc_impl_list): Likewise.
7190 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7192 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7197 multiarch strchrnul for PPC32.
7198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7201 (__libc_ifunc_impl_list): Likewise.
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7206 multiarch strncasecmp for PPC32.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7210 multiarch strncasecmp_l for PPC32.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7212 strncasecmp multiarch objects.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7214 (__libc_ifunc_impl_list): Likewise.
7216 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7219 multiarch strncasecmp for PPC32.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7223 multiarch strcasecmp_l for PPC32.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7227 (__libc_ifunc_impl_list): Likewise.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7234 multiarch strncmp for PPC32.
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7238 (__libc_ifunc_impl_list): Likewise.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7241 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7243 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7248 (__libc_ifunc_impl_list): Likewise.
7250 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7258 (__libc_ifunc_impl_list): Likewise.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7264 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7265 multiarch rawmemchr for PPC32.
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7269 (__libc_ifunc_impl_list): Likewise.
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7273 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7276 file: memrchr multiarch for PPC32.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7280 (__libc_ifunc_impl_list): Likewise.
7282 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7286 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7287 multiarch memchr for PPC32.
7288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7291 (__libc_ifunc_impl_list): Likewise.
7293 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7294 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7296 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7298 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7299 file: multiarch mempcpy for PPC32.
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7303 (__libc_ifunc_impl_list): Likewise.
7305 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7308 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7309 multiarch bzero for PPC32.
7310 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7312 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7314 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7315 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7316 file: multiarch memset for PPC32.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7319 memset multiarch objects.
7320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7321 (__libc_ifunc_impl_list): Likewise.
7323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7332 (__libc_ifunc_impl_list): Likewise.
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7343 multiarch memcpy for PPC32.
7344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7347 (__libc_ifunc_impl_list): Likewise.
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7350 support multiarch for POWER/PPC32.
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7353 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7355 Implies file to make multiarch folder appers before the fpu and
7356 default folder for power4 configuration.
7358 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7360 * scripts/bench.pl: Append volatile keyword to type.
7362 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7364 * sysdeps/sh/sotruss-lib.c: New file.
7365 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7367 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7371 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7374 * math/w_tgamma.c: Include <errno.h>.
7375 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7376 * math/w_tgammaf.c: Include <errno.h>.
7377 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7378 * math/w_tgammal.c: Include <errno.h>.
7379 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7380 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7381 underflow. Add more tgamma tests.
7382 * math/auto-libm-test-out: Regenerated.
7383 * sysdeps/i386/fpu/libm-test-ulps: Update.
7384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7386 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7387 sin, sinh, tan, tanh, tgamma, y0 and y1.
7388 * math/auto-libm-test-out: Regenerated.
7389 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7390 (TEST_COND_x86): Likewise.
7391 (M_E2l): Remove macro.
7393 (M_2_SQRT_PIl): Likewise.
7394 (M_SQRT_PIl): Likewise.
7395 (M_1_DIV_El): Likewise.
7396 (log_test_data): Use AUTO_TESTS_f_f.
7397 (log10_test_data): Likewise.
7398 (log1p_test_data): Likewise.
7399 (log2_test_data): Likewise.
7400 (sin_test_data): Likewise.
7401 (sin_tonearest_test_data): Likewise.
7402 (sin_towardzero_test_data): Likewise.
7403 (sin_downward_test_data): Likewise.
7404 (sin_upward_test_data): Likewise.
7405 (sinh_test_data): Likewise.
7406 (sinh_tonearest_test_data): Likewise.
7407 (sinh_towardzero_test_data): Likewise.
7408 (sinh_downward_test_data): Likewise.
7409 (sinh_upward_test_data): Likewise.
7410 (tan_test_data): Likewise.
7411 (tan_tonearest_test_data): Likewise.
7412 (tan_towardzero_test_data): Likewise.
7413 (tan_downward_test_data): Likewise.
7414 (tan_upward_test_data): Likewise.
7415 (tanh_test_data): Likewise.
7416 (tgamma_test_data): Likewise.
7417 (y0_test_data): Likewise.
7418 (y1_test_data): Likewise.
7419 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7420 (special_real_inputs): Add pi/4.
7421 * sysdeps/i386/fpu/libm-test-ulps: Update.
7422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7424 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7426 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7427 "longjmp_target" static probes.
7428 (__longjmp): Rename to __longjmp_symbol.
7429 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7430 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7431 on which longjmp to generate.
7432 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7433 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7435 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7436 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7437 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7438 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7439 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7440 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7442 __longjmp_symbol based on which __longjmp to generate.
7443 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7445 (setjmp): Rename to setjmp_symbol.
7446 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7447 (_setjmp): Rename to _setjmp_symbol.
7448 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7449 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7450 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7451 which setjmp to generate.
7452 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7453 "longjmp_target" static probes.
7455 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7457 * benchtests/README: Add note about output arguments.
7458 * benchtests/bench-sincos.c: Remove file.
7459 * benchtests/sincos-inputs: New file.
7460 * scripts/bench.pl: Identify output arguments and define
7461 static variables for them.
7463 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7466 * Makefile (INSTALL): Add install-plain.texi as the primary
7468 * manual/install-plain.texi: New file.
7469 * manual/install.texi: Include node directive only for
7470 non-plaintext output.
7472 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7474 * stdlib/longlong.h: Update from GCC.
7478 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7479 * math/w_j0f.c (y0f): Likewise.
7480 * math/w_j0l.c (__y0l): Likewise.
7481 * math/w_j1.c (y1): Likewise.
7482 * math/w_j1f.c (y1f): Likewise.
7483 * math/w_j1l.c (__y1l): Likewise
7484 * math/w_jn.c (yn): Likewise.
7485 * math/w_jnf.c (ynf): Likewise.
7486 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7487 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7488 value for Bessel function domain errors outside _SVID_ mode.
7489 Adjust sign of return value for yn (negative integer, 0).
7490 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7491 by zero in return for negative x and set sign appropriately for
7493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7495 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7496 expectations in error cases.
7497 (y1_test_data): Likewise.
7498 (yn_test_data): Likewise.
7499 * sysdeps/i386/fpu/libm-test-ulps: Update.
7500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7502 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7504 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7505 "64" to "64-v1". Add "64-v2".
7506 (abi-64-options): Rename to ...
7507 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7508 (abi-64-condition): Rename to ...
7509 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7510 (abi-64-ld-soname): Rename to ...
7511 (abi-64-v1-ld-soname): ... this.
7512 (abi-64-v2-options): Define.
7513 (abi-64-v2-condition): Likewise.
7514 (abi-64-v2-ld-soname): Likewise.
7515 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7516 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7521 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7522 Alan Modra <amodra@gmail.com>
7524 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7525 New versions for use with the ELFv2 ABI.
7526 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7527 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7529 (struct La_ppc64v2_retval): Likewise.
7530 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7531 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7532 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7533 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7534 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7536 Do not save or restore CR.
7537 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7538 (_dl_profile_resolve): Do no save or restore CR. Support extended
7539 return values for ELFv2 ABI. Fix location of FPR return registers.
7540 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7541 updated values for _CALL_ELF == 2.
7542 (La_regs, La_retval, int_retval): Likewise.
7544 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7546 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7547 (FRAME_MIN_SIZE_PARM): Likewise.
7548 (FRAME_BACKCHAIN): Likewise.
7549 (FRAME_CR_SAVE): Likewise.
7550 (FRAME_LR_SAVE): Likewise.
7551 (FRAME_TOC_SAVE): Likewise.
7552 (FRAME_PARM_SAVE): Likewise.
7553 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7554 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7555 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7556 (call_mcount_parm_offset): New macro.
7557 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7558 (PROF): Use symbolic stack frame offsets.
7559 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7560 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7561 Redefine in terms of FRAME_MIN_SIZE.
7562 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7563 (_dl_profile_resolve): Likewise. Update comment.
7564 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7565 symbols stack frame offsets.
7566 (__sigsetjmp): Likewise.
7567 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7568 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7569 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7570 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7573 (FRAME_BACKCHAIN): Remove.
7574 (FRAME_CR_SAVE): Likewise.
7575 (FRAME_LR_SAVE): Likewise.
7576 (FRAME_COMPILER_DW): Likewise.
7577 (FRAME_LINKER_DW): Likewise.
7578 (FRAME_TOC_SAVE): Likewise.
7579 (FRAME_PARM_SAVE): Likewise.
7580 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7581 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7582 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7584 (CHECK_SP): Use symbolic stack frame offsets.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7586 zone" instead of caller's parameter save area for temp storage.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7588 Likewise. Also, use symbolic stack frame offsets.
7589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7590 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7591 our own stack frame instead of the caller's.
7592 (__socket): Use symbolic stack frame offsets.
7594 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7595 Alan Modra <amodra@gmail.com>
7597 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7599 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7600 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7601 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7603 (elf_machine_fixup_plt): Call it.
7604 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7606 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7607 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7608 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7609 r2 before calling target.
7611 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7612 Alan Modra <amodra@gmail.com>
7614 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7615 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7616 versions of macros to support ELFv2 ABI.
7617 (LOCALENTRY): New macro.
7618 (ENTRY, EALIGN): Use it.
7619 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7620 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7621 fall through into ENTRY entry point.
7622 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7623 Only define if _CALL_ELF != 2.
7625 (elf_machine_matches_host): Verify ABI version matches.
7626 (RTLD_START): Use LOCALENTRY.
7627 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7628 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7629 (PLT_ENTRY_WORDS): New macro.
7630 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7631 (elf_machine_runtime_setup): Support ELFv2 ABI.
7632 (elf_machine_fixup_plt): Likewise.
7633 (elf_machine_plt_conflict): Likewise.
7634 (resolve_ifunc): Likewise.
7635 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7636 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7639 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7641 (makecontext): Support ELFv2 ABI.
7642 * elf/elf.h (EF_PPC64_ABI): Define.
7644 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7646 * sysdeps/powerpc/powerpc64/sysdep.h
7647 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7648 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7649 (ENTRY) [ASSEMBLER]: ... but instead here ...
7650 (EALIGN) [ASSEMBLER]: ... and here.
7651 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7652 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7653 (ENTRY_2) [!ASSEMBLER]: Use it.
7654 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7655 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7656 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7657 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7658 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7660 Use PPC64_LOAD_FUNCPTR.
7662 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7664 2013-12-04 Alan Modra <amodra@gmail.com>
7666 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7667 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7668 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7669 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7672 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7673 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7674 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7675 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7676 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7678 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7681 (__makecontext): Fix incorrect CFI when backtracing out of
7682 context created via makecontext.
7683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7684 (__setcontext): Fix incorrect CFI during switch to new context.
7685 (__novec_setcontext): Likewise.
7687 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7690 * time/strptime_l.c (__strptime_internal): Allow modifiers
7692 * time/tst-strptime.c (day_tests): Add testcase.
7694 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7696 * scripts/bench.pl: Skip over blank lines.
7698 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7701 * manual/time.texi (Calendar Time): Clarify what timezone functions
7704 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7708 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7710 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7712 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7713 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7714 * debug/memset_chk.c (__memset_chk): Likewise.
7715 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7716 * debug/strncpy_chk.c: Likewise.
7718 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7722 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7723 (__ieee754_exp): For possibly underflowing results, check size of
7724 result and force underflow exception if required.
7725 * math/auto-libm-test-in: Add more tests of exp.
7726 * math/auto-libm-test-out: Regenerated.
7727 * sysdeps/i386/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7731 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7732 * math/w_exp2f.c (__exp2f): Likewise.
7733 * math/w_exp2l.c (__exp2l): Likewise.
7734 * math/auto-libm-test-in: Do not allow missing errno on exp2
7736 * math/auto-libm-test-out: Regenerated.
7738 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7741 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7742 handle filename validation.
7743 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7746 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7749 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7750 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7751 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7753 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7755 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7756 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7757 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7758 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7759 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7760 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7761 Add more erfc tests.
7762 * math/auto-libm-test-out: Regenerated.
7763 * sysdeps/i386/fpu/libm-test-ulps: Update.
7764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7766 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7767 exp2, expm1, j0 and j1.
7768 * math/auto-libm-test-out: Regenerated.
7769 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7770 (erfc_test_data): Likewise.
7771 (exp_test_data): Likewise.
7772 (exp_tonearest_test_data): Likewise.
7773 (exp_towardzero_test_data): Likewise.
7774 (exp_downward_test_data): Likewise.
7775 (exp_upward_test_data): Likewise.
7776 (exp10_test_data): Likewise.
7777 (exp2_test_data): Likewise.
7778 (expm1_test_data): Likewise.
7779 (j0_test_data): Likewise.
7780 (j1_test_data): Likewise.
7781 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7782 (input_flag_type): Add flag_xfail_rounding.
7783 (input_flags): Add xfail-rounding.
7784 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7785 (output_for_one_input_case): Handle flag_xfail_rounding.
7786 * sysdeps/i386/fpu/libm-test-ulps: Update.
7787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7789 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7792 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7795 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7798 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7799 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7800 (STAP_PROBE0): New macro.
7801 (STAP_PROBE1): Likewise.
7802 (STAP_PROBE2): Likewise.
7803 (STAP_PROBE3): Likewise.
7804 (STAP_PROBE4): Likewise.
7806 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7808 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7810 2013-12-02 Steve Ellcey <sellcey@mips.com>
7812 * benchtests/Makefile (bench): Add sqrt.
7813 (LDLIBS-bench-sqrt): New.
7814 * benchtests/sqrt-input: New.
7816 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7818 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7819 (GAIH_EAI): Likewise.
7820 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7821 (gaih_inet): Likewise.
7822 (getaddrinfo): Don't use GAIH_EAI.
7824 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7825 (struct gaih): Remove definition.
7827 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7829 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7830 Use HERRNOP directly.
7832 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7836 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7838 * math/gen-auto-libm-tests.c (test_functions): Add more
7839 single-argument functions.
7840 (special_fill_pi_2): New function.
7841 (special_fill_minus_pi_2): Likewise.
7842 (special_fill_pi_6): Likewise.
7843 (special_fill_minus_pi_6): Likewise.
7844 (special_fill_pi_3): Likewise.
7845 (special_fill_2pi_3): Likewise.
7846 (special_fill_e): Likewise.
7847 (special_fill_1_e): Likewise.
7848 (special_fill_e_minus_1): Likewise.
7849 (special_real_inputs): Add more special inputs.
7850 (output_for_one_input_case): Do not require ERANGE on underflow to
7851 zero if round-to-nearest result does not underflow to zero, unless
7852 exact results required.
7853 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7854 atan, atanh, cbrt, cos and cosh.
7855 * math/auto-libm-test-out: Regenerated.
7856 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7857 (acos_tonearest_test_data): Likewise.
7858 (acos_towardzero_test_data): Likewise.
7859 (acos_downward_test_data): Likewise.
7860 (acos_upward_test_data): Likewise.
7861 (acosh_test_data): Likewise.
7862 (asin_test_data): Likewise.
7863 (asin_tonearest_test_data): Likewise.
7864 (asin_towardzero_test_data): Likewise.
7865 (asin_upward_test_data): Likewise.
7866 (asinh_test_data): Likewise.
7867 (atan_test_data): Likewise.
7868 (atanh_test_data): Likewise.
7869 (cbrt_test_data): Likewise.
7870 (cos_test_data): Likewise.
7871 (cos_tonearest_test_data): Likewise.
7872 (cos_towardzero_test_data): Likewise.
7873 (cos_downward_test_data): Likewise.
7874 (cos_upward_test_data): Likewise.
7875 (cosh_test_data): Likewise.
7876 (cosh_tonearest_test_data): Likewise.
7877 (cosh_towardzero_test_data): Likewise.
7878 (cosh_downward_test_data): Likewise.
7879 (cosh_upward_test_data): Likewise.
7880 * sysdeps/i386/fpu/libm-test-ulps: Update.
7881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7883 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7886 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7887 * math/w_exp10f.c (__exp10f): Likewise.
7888 * math/w_exp10l.c (__exp10l): Likewise.
7889 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7890 errno settings in existing tests.
7893 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7894 precision control set to double precision.
7895 * sysdeps/i386/fpu/w_sqrt.c: New file.
7896 * math/auto-libm-test-in: Add more tests.
7897 * math/auto-libm-test-out: Update.
7899 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7900 (sqrt_test_tonearest): New function.
7901 (sqrt_towardzero_test_data): New variable.
7902 (sqrt_test_towardzero): New function.
7903 (sqrt_downward_test_data): New variable.
7904 (sqrt_test_downward): New function.
7905 (sqrt_upward_test_data): New variable.
7906 (sqrt_test_upward): New function.
7907 (main): Call the new functions.
7909 * math/gen-auto-libm-tests.c: New file.
7910 * math/auto-libm-test-in: Likewise.
7911 * math/auto-libm-test-out: New generated file.
7912 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7914 (%beautify): Add generated representations of zero.
7915 (top level): Set $auto_input and call parse_auto_input.
7916 (beautify): Remove trailing "f" from hex float constants.
7917 (parse_args): Handle XFAIL_TEST.
7918 (convert_condition): New function.
7919 (or_value): Likewise.
7920 (or_cond_value): Likewise.
7921 (generate_testfile): Handle AUTO_TESTS_* lines.
7922 (parse_auto_input): New function.
7923 * math/libm-test.inc (XFAIL_TEST): New macro.
7924 (ERRNO_UNCHANGED): Update value.
7925 (ERRNO_EDOM): Likewise.
7926 (ERRNO_ERANGE): Likewise.
7927 (IGNORE_RESULT): Likewise.
7928 (TEST_COND_flt_32): New macro.
7929 (TEST_COND_dbl_64): Likewise.
7930 (TEST_COND_ldbl_96_intel): Likewise.
7931 (TEST_COND_ldbl_96_m68k): Likewise.
7932 (TEST_COND_ldbl_128): Likewise.
7933 (TEST_COND_ldbl_128ibm): Likewise.
7934 (TEST_COND_long32): Likewise.
7935 (TEST_COND_long64): Likewise.
7936 (TEST_COND_before_rounding): Likewise.
7937 (TEST_COND_after_rounding): Likewise.
7938 (enable_test): Handle XFAIL_TEST flag.
7939 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7940 with finite results.
7941 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7944 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7945 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7948 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7949 __tls_get_addr_internal instead of __tls_get_offset in order to
7950 avoid GOT pointer dependency. Make rtld export
7951 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7952 __tls_get_addr since we are a __tls_get_offset platform.
7953 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7954 GOT pointer being set up before.
7955 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7957 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7959 * manual/math.texi (Errors in Math Functions): Document accuracy
7963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7964 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7965 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7966 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7967 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7968 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7969 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7970 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7971 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7972 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7974 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7975 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7976 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7978 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7980 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7981 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7982 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7983 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7984 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7986 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7988 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7990 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7991 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7992 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7993 atomic-feupdateenv and flt-rounds.
7994 * sysdeps/powerpc/nofpu/Versions (libc): Add
7995 __atomic_feholdexcept, __atomic_feclearexcept,
7996 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7997 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7998 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7999 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8000 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8005 * manual/arith.texi (FP Exceptions): Document that exceptions may
8006 not be raised when matherr is used.
8007 (Math Error Reporting): Document overflow in directed rounding
8008 modes. Document that errno may not be set when finite values are
8009 returned on overflow. Document intent to set errno on underflow
8010 only for underflow to zero.
8013 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8014 round-to-nearest then adjust result for other rounding modes.
8015 * include/fenv.h (fegetround): Use libm_hidden_proto.
8016 * math/fegetround.c (fegetround): Use libm_hidden_def.
8017 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8018 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8019 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8020 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8022 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8023 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8024 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8025 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8027 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8030 * nss/Versions (libnss_files): Add
8031 _nss_files_gethostbyname3_r.
8032 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8034 (HOST_DB_LOOKUP): Remove macro.
8035 (_nss_files_gethostbyname_r): Implement function without the
8036 HOST_DB_LOOKUP macro.
8037 (_nss_files_gethostbyname2_r): Likewise.
8039 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8041 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8043 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8045 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8046 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8049 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8051 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8052 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8053 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8054 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8055 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8056 __fe_nomask_env_priv and attribute_hidden.
8057 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8058 (libc_feupdateenv_test_ppc): Likewise.
8059 (libc_feresetround_ppc): Likewise.
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8061 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8062 compat_symbol macro.
8063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8064 (__fe_nomask_env): Likewise.
8065 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8067 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8069 * string/Makefile: Remove ifunc tests.
8070 * string/test-string.h: Define TEST_IFUNC.
8071 * string/test-bcopy-ifunc.c: Remove.
8072 * string/test-bzero-ifunc.c: Likewise.
8073 * string/test-memccpy-ifunc.c: Likewise.
8074 * string/test-memchr-ifunc.c: Likewise.
8075 * string/test-memcmp-ifunc.c: Likewise.
8076 * string/test-memcpy-ifunc.c: Likewise.
8077 * string/test-memmem-ifunc.c: Likewise.
8078 * string/test-memmove-ifunc.c: Likewise.
8079 * string/test-mempcpy-ifunc.c: Likewise.
8080 * string/test-memrchr-ifunc.c: Likewise.
8081 * string/test-memset-ifunc.c: Likewise.
8082 * string/test-rawmemchr-ifunc.c: Likewise.
8083 * string/test-stpcpy-ifunc.c: Likewise.
8084 * string/test-stpncpy-ifunc.c: Likewise.
8085 * string/test-strcasecmp-ifunc.c: Likewise.
8086 * string/test-strcasestr-ifunc.c: Likewise.
8087 * string/test-strcat-ifunc.c: Likewise.
8088 * string/test-strchr-ifunc.c: Likewise.
8089 * string/test-strchrnul-ifunc.c: Likewise.
8090 * string/test-strcmp-ifunc.c: Likewise.
8091 * string/test-strcpy-ifunc.c: Likewise.
8092 * string/test-strcspn-ifunc.c: Likewise.
8093 * string/test-strlen-ifunc.c: Likewise.
8094 * string/test-strncasecmp-ifunc.c: Likewise.
8095 * string/test-strncat-ifunc.c: Likewise.
8096 * string/test-strncmp-ifunc.c: Likewise.
8097 * string/test-strncpy-ifunc.c: Likewise.
8098 * string/test-strnlen-ifunc.c: Likewise.
8099 * string/test-strpbrk-ifunc.c: Likewise.
8100 * string/test-strrchr-ifunc.c: Likewise.
8101 * string/test-strspn-ifunc.c: Likewise.
8102 * string/test-strstr-ifunc.c: Likewise.
8104 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8106 * benchtests/Makefile: Remove ifunc tests.
8107 * benchtests/bench-string.h: Define TEST_IFUNC.
8108 * benchtests/bench-bcopy-ifunc.c: Remove.
8109 * benchtests/bench-bzero-ifunc.c: Likewise.
8110 * benchtests/bench-memccpy-ifunc.c: Likewise.
8111 * benchtests/bench-memchr-ifunc.c: Likewise.
8112 * benchtests/bench-memcmp-ifunc.c: Likewise.
8113 * benchtests/bench-memcpy-ifunc.c: Likewise.
8114 * benchtests/bench-memmem-ifunc.c: Likewise.
8115 * benchtests/bench-memmove-ifunc.c: Likewise.
8116 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8117 * benchtests/bench-memrchr-ifunc.c: Likewise.
8118 * benchtests/bench-memset-ifunc.c: Likewise.
8119 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8120 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8121 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8122 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8123 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8124 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8125 * benchtests/bench-strcat-ifunc.c: Likewise.
8126 * benchtests/bench-strchr-ifunc.c: Likewise.
8127 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8128 * benchtests/bench-strcmp-ifunc.c: Likewise.
8129 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8130 * benchtests/bench-strcpy-ifunc.c: Likewise.
8131 * benchtests/bench-strcspn-ifunc.c: Likewise.
8132 * benchtests/bench-strlen-ifunc.c: Likewise.
8133 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8134 * benchtests/bench-strncat-ifunc.c: Likewise.
8135 * benchtests/bench-strncmp-ifunc.c: Likewise.
8136 * benchtests/bench-strncpy-ifunc.c: Likewise.
8137 * benchtests/bench-strnlen-ifunc.c: Likewise.
8138 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8139 * benchtests/bench-strrchr-ifunc.c: Likewise.
8140 * benchtests/bench-strsep-ifunc.c: Likewise.
8141 * benchtests/bench-strspn-ifunc.c: Likewise.
8142 * benchtests/bench-strstr-ifunc.c: Likewise.
8144 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8146 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8148 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8150 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8151 * rt/aio.h: Likewise.
8152 * sysdeps/gnu/bits/utmp.h: Likewise.
8153 * sysdeps/gnu/bits/utmpx.h: Likewise.
8154 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8155 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8156 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8157 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8158 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8159 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8160 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8161 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8162 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8163 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8164 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8165 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8166 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8168 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8169 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8170 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8171 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8172 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8173 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8174 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8175 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8176 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8177 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8178 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8180 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8181 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8182 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8183 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8184 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8185 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8186 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8187 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8188 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8189 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8190 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8191 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8192 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8193 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8194 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8195 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8197 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8200 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8201 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8203 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8205 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8206 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8209 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8212 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8213 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8214 (__fesetround): Remove define.
8215 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8216 rounding and exceptions handling.
8217 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8218 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8219 (__fe_nomask_env): Likewise.
8220 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8221 __fegetround instead of fegetround.
8222 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8225 2013-11-21 Roland McGrath <roland@hack.frob.com>
8227 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8230 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8232 2013-11-21 Meador Inge <meadori@codesourcery.com>
8235 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8236 (encrypt_r): Likewise.
8237 * malloc/obstack.h (obstack_free): Likewise.
8238 * posix/unistd.h (encrypt): Likewise.
8240 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8242 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8243 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8244 DL_CALL_DT_FINI() that call the functions directly.
8245 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8246 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8247 * elf/dl-fini.c: Likewise.
8249 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8251 * malloc/hooks.c (memalign_check): Add alignment rounding.
8252 * malloc/malloc.c (_mid_memalign): New function.
8253 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8254 Implement by calling _mid_memalign.
8255 * manual/probes.texi (Memory Allocation Probes): Remove
8256 memory_valloc_retry and memory_pvalloc_retry.
8258 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8260 * locale/programs/locarchive.c (open_archive): Add const
8261 qualifier to ARCHIVEFNAME and copy default fname to
8265 * libio/tst-widetext.input: Rename Oriya to Odia.
8266 * locale/iso-639.def: Likewise.
8268 * manual/probes.texi (Mathematical Function Probes): Add
8269 documentation for sin, cos, asin and acos probes.
8270 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8271 (__sin32): Add slowasin probe.
8272 (__cos32): Add slowacos probe.
8273 (__mpsin): Add slowsin probe.
8274 (__mpcos): Add slowcos probe.
8276 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8279 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8280 thread-local __sim_exceptions_thread and global
8281 __sim_exceptions_global.
8282 (__sim_disabled_exceptions): Change to thread-local
8283 __sim_disabled_exceptions_thread and global
8284 __sim_disabled_exceptions_global.
8285 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8286 and global __sim_round_mode_global.
8287 (__simulate_exceptions): Use thread-local floating-point state and
8288 set global state from it as needed.
8289 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8290 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8291 __sim_round_mode_thread.
8292 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8293 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8294 and global __sim_exceptions_global.
8295 (__sim_disabled_exceptions): Change to thread-local
8296 __sim_disabled_exceptions_thread and global
8297 __sim_disabled_exceptions_global.
8298 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8299 and global __sim_round_mode_global.
8300 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8301 (SIM_SET_GLOBAL): Likewise.
8302 * sysdeps/powerpc/soft-fp/sfp-machine.h
8303 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8304 __sim_round_mode_thread.
8305 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8306 __sim_disabled_exceptions_thread.
8307 (__sim_exceptions): Change to __sim_exceptions_thread.
8308 (__sim_disabled_exceptions): Change to
8309 __sim_disabled_exceptions_thread.
8310 (__sim_round_mode): Change to __sim_round_mode_thread.
8311 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8312 thread-local floating-point state and set global state from it as
8314 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8315 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8316 (__sim_disabled_exceptions): Remove extern declaration.
8317 (feenableexcept): Use thread-local floating-point state and set
8318 global state from it as needed.
8319 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8321 (__sim_disabled_exceptions): Likewise.
8322 (__sim_round_mode): Likewise.
8323 (__fegetenv): Use thread-local floating-point state.
8324 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8325 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8326 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8327 floating-point state and set global state from it as needed.
8328 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8329 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8330 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8332 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8333 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8335 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8336 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8337 Use __sim_round_mode_thread.
8338 * math/test-fenv-tls.c: New file.
8339 * math/Makefile (tests): Add test-fenv-tls.
8340 ($(objpfx)test-fenv-tls): Depend on
8341 $(common-objpfx)nptl/libpthread.so.
8343 2013-11-19 Andreas Schwab <schwab@suse.de>
8345 * locale/programs/locale.c (show_info): Decode wordarray elements.
8346 * locale/categories.def (LC_MONETARY): Add element for
8347 _NL_MONETARY_CRNCYSTR.
8348 * locale/C-monetary.c (conversion_rate): New variable.
8349 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8352 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8354 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8355 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8357 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8359 * elf/Makefile (tst-auxv): New test.
8360 * elf/tst-auxv.c: New
8361 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8363 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8365 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8366 (hidden_proto): Caller changed.
8367 (hidden_tls_proto): New macro.
8368 (libc_hidden_tls_proto): Likewise.
8369 (rtld_hidden_tls_proto): Likewise.
8370 (libm_hidden_tls_proto): Likewise.
8371 (libresolv_hidden_tls_proto): Likewise.
8372 (librt_hidden_tls_proto): Likewise.
8373 (libdl_hidden_tls_proto): Likewise.
8374 (libnss_files_hidden_tls_proto): Likewise.
8375 (libnsl_hidden_tls_proto): Likewise.
8376 (libnss_nisplus_hidden_tls_proto): Likewise.
8377 (libutil_hidden_tls_proto): Likewise.
8379 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8382 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8383 (decompose_rpath): Defer expansion to fillin_rpath.
8384 (_dl_init_paths): Pass linkmap to fillin_rpath.
8386 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8388 * benchtests/Makefile: Add strsep.
8389 * benchtests/bench-strsep.c: New file: strsep benchtest.
8390 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8392 2013-11-18 Andreas Schwab <schwab@suse.de>
8394 * locale/programs/locale.c (show_info) [case byte]: Check for
8395 '\377' instead of '\177'.
8396 * locale/C-monetary.c (not_available): Always use "\377".
8397 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8398 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8399 detect unavailable sign_posn locale elements.
8400 * locale/localeconv.c (__localeconv): For grouping and
8401 mon_grouping handle "\177" and "\377" like no grouping.
8402 (INT_ELEM): New macro. Use it to set all numeric members.
8403 * locale/programs/ld-monetary.c (monetary_read)
8404 <tok_mon_grouping>: Normalize single -1 to the empty string.
8405 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8408 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8411 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8412 when we match (nil).
8413 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8415 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8417 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8418 (NO_TEST_INLINE): Update value.
8419 (ERRNO_UNCHANGED): Likewise.
8420 (ERRNO_EDOM): Likewise.
8421 (ERRNO_ERANGE): Likewise.
8422 (IGNORE_RESULT): Likewise.
8423 (check_float_internal): Check signs of NaN results if
8425 (check_complex): Pass TEST_NAN_SIGN flag through to second
8426 check_float_internal call.
8427 (copysign_test_data): Add tests with quiet NaNs as second
8428 argument. Use TEST_NAN_SIGN.
8429 (fabs_test_data): Add test of negative quiet NaN argument. Use
8431 (signbit_test_data): Add tests of quiet NaN argument.
8432 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8434 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8436 (parse_args): Handle function results specified as IGNORE.
8437 * math/libm-test.inc (IGNORE_RESULT): New macro.
8438 (check_float_internal): Do not check numerical result if flag
8440 (check_complex): Pass through IGNORE_RESULT to second
8441 check_float_internal call.
8442 (check_int): Do not check numerical result if flag IGNORE_RESULT
8444 (check_long): Likewise.
8445 (check_bool): Likewise.
8446 (check_longlong): Likewise.
8447 (lrint_test_data): Add tests of infinite and NaN arguments.
8448 (lrint_tonearest_test_data): Likewise.
8449 (lrint_towardzero_test_data): Likewise.
8450 (lrint_downward_test_data): Likewise.
8451 (lrint_upward_test_data): Likewise.
8452 (llrint_test_data): Likewise.
8453 (llrint_tonearest_test_data): Likewise.
8454 (llrint_towardzero_test_data): Likewise.
8455 (llrint_downward_test_data): Likewise.
8456 (llrint_upward_test_data): Likewise.
8457 (lround_test_data): Likewise.
8458 (llround_test_data): Likewise.
8460 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8461 (ERRNO_UNCHANGED): Update value.
8462 (ERRNO_EDOM): Likewise.
8463 (ERRNO_ERANGE): Likewise.
8464 (NO_TEST_INLINE_FLOAT): New macro.
8465 (NO_TEST_INLINE_DOUBLE): Likewise.
8466 (enable_test): New function.
8467 (RUN_TEST_f_f): Check enable_test before running test.
8468 (RUN_TEST_2_f): Likewise.
8469 (RUN_TEST_fff_f): Likewise.
8470 (RUN_TEST_c_f): Likewise.
8471 (RUN_TEST_f_f1): Likewise.
8472 (RUN_TEST_fF_f1): Likewise.
8473 (RUN_TEST_fI_f1): Likewise.
8474 (RUN_TEST_ffI_f1): Likewise.
8475 (RUN_TEST_c_c): Likewise.
8476 (RUN_TEST_cc_c): Likewise.
8477 (RUN_TEST_f_i): Likewise.
8478 (RUN_TEST_f_i_tg): Likewise.
8479 (RUN_TEST_ff_i_tg): Likewise.
8480 (RUN_TEST_f_b): Likewise.
8481 (RUN_TEST_f_b_tg): Likewise.
8482 (RUN_TEST_f_l): Likewise.
8483 (RUN_TEST_f_L): Likewise.
8484 (RUN_TEST_fFF_11): Likewise.
8485 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8487 (cosh_test_data): Likewise.
8488 (exp_test_data): Likewise.
8489 (expm1_test_data): Likewise.
8490 (hypot_test_data): Likewise.
8491 (pow_test_data): Likewise.
8492 (sinh_test_data): Likewise.
8493 (tanh_test_data): Likewise.
8494 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8497 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8498 tests with quiet NaN input and output.
8499 (acosh_test_data): Likewise.
8500 (asin_test_data): Likewise.
8501 (asinh_test_data): Likewise.
8502 (atan_test_data): Likewise.
8503 (atanh_test_data): Likewise.
8504 (atan2_test_data): Likewise.
8505 (cbrt_test_data): Likewise.
8506 (cos_test_data): Likewise.
8507 (cosh_test_data): Likewise.
8508 (erf_test_data): Likewise.
8509 (erfc_test_data): Likewise.
8510 (exp_test_data): Likewise.
8511 (exp10_test_data): Likewise.
8512 (exp2_test_data): Likewise.
8513 (expm1_test_data): Likewise.
8514 (hypot_test_data): Likewise.
8515 (j0_test_data): Likewise.
8516 (j1_test_data): Likewise.
8517 (jn_test_data): Likewise.
8518 (lgamma_test_data): Likewise.
8519 (log_test_data): Likewise.
8520 (log10_test_data): Likewise.
8521 (log1p_test_data): Likewise.
8522 (log2_test_data): Likewise.
8523 (pow_test_data): Likewise.
8524 (scalb_test_data): Likewise.
8525 (sin_test_data): Likewise.
8526 (sincos_test_data): Likewise.
8527 (sinh_test_data): Likewise.
8528 (tan_test_data): Likewise.
8529 (tanh_test_data): Likewise.
8530 (tgamma_test_data): Likewise.
8531 (y0_test_data): Likewise.
8532 (y1_test_data): Likewise.
8533 (yn_test_data): Likewise.
8536 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8537 argument being NaN and avoid computations with second argument in
8539 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8540 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8541 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8543 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8545 * locale/iso-639.def: Add Chitwani Tharu (the).
8547 2013-11-14 Andreas Schwab <schwab@suse.de>
8549 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8550 word instead of empty string.
8552 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8555 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8557 (__fe_nomask_env): Likewise.
8559 2013-11-13 Steve Ellcey <sellcey@mips.com>
8561 * benchtests/bench-timing.h: Include time.h.
8563 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8566 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8568 * sysdeps/unix/sysv/linux/configure: Regenerated.
8570 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8573 * stdlib/strtod_l.c (round_and_return): Do not consider
8574 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8575 exponent one less than half the least subnormal exponent.
8576 * stdlib/test-strtod-round-data: Add more tests.
8577 * stdlib/tst-strtod-round.c (tests): Regenerated.
8579 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8582 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8583 (__fe_mask_env): Likewise.
8584 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8585 libm_hidden_proto and add function prototype.
8586 (__fe_mask_env): Add function prototype.
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8588 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8590 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8592 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8594 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8596 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8597 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8599 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8601 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8602 of htab_find_slot().
8604 2013-11-11 David S. Miller <davem@davemloft.net>
8607 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8608 symbol in the non-vis3 case in static builds.
8609 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8610 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8611 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8612 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8614 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8617 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8620 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8622 * benchtests/Makefile: Add bench-strtod.
8623 * benchtests/bench-strtod.c: New file: strtod benchtest
8625 2013-11-11 Andreas Schwab <schwab@suse.de>
8628 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8629 terminating NUL in key length.
8631 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8633 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8634 Add artificial ODP entry for vDSO symbol for PPC64.
8635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8636 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8638 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8641 * nss/getent.c (services_keys): Recognize services starting with digit.
8643 2013-11-06 David S. Miller <davem@davemloft.net>
8646 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8647 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8649 2013-11-06 Will Newton <will.newton@linaro.org>
8651 * manual/memory.texi (Malloc Examples): Remove register
8652 keyword from examples.
8654 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8656 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8658 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8661 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8662 depending on [__GCC_IEC_559 > 0].
8663 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8664 depending on [__GCC_IEC_559_COMPLEX > 0].
8666 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8668 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8671 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8673 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8675 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8678 * malloc/malloc (malloc_info): Do not handle first bin as
8681 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8683 * locale/iso-639.def: Add Central Nahuatl (nhn).
8685 2013-11-01 Bruno Haible <bruno@clisp.org>
8688 * manual/math.texi (BSD Random): Specify range upper bound as
8691 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8693 * locale/iso-639.def: Add Meadow Mari (mhr).
8695 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8697 [BZ #14752], [BZ #15763]
8698 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8700 * rt/tst_shm.c: Add test for escaping directory.
8702 2013-10-31 Andreas Schwab <schwab@suse.de>
8705 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8706 followed by 'x' as part of digit sequence.
8707 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8709 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8712 * configure.ac: allow GNU Make 4.0 and greater.
8713 * configure: Regenerated.
8715 2013-10-30 Will Newton <will.newton@linaro.org>
8718 * malloc/hooks.c (memalign_check): Limit alignment to the
8719 maximum representable power of two.
8720 * malloc/malloc.c (__libc_memalign): Likewise.
8721 * malloc/tst-memalign.c (do_test): Add test for very
8722 large alignment values.
8723 * malloc/tst-posix_memalign.c (do_test): Likewise.
8725 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8728 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8729 (munmap_chunk): Likewise.
8730 (mremap_chunk): Likewise.
8732 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8735 * stdlib/div.c (div): Remove obsolete code.
8736 * stdlib/ldiv.c (ldiv): Likewise.
8737 * stdlib/lldiv.c (lldiv): Likewise.
8739 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8742 * nss/nss_files/files-XXX.c (get_contents_ret): New
8744 (get_contents): New function.
8745 (internal_getent): Use it. Expand size of LINEBUFLEN.
8747 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8749 * configure.in: Moved to ...
8750 * configure.ac: ... here. Change reference to configure.in
8752 * sysdeps/arm/preconfigure.ac: ... here.
8753 configure.in to configure.ac.
8754 * sysdeps/gnu/configure.in: Moved to ...
8755 * sysdeps/gnu/configure.ac: ... here.
8756 * sysdeps/i386/configure.in: Moved to ...
8757 * sysdeps/i386/configure.ac: ... here.
8758 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8759 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8760 * sysdeps/mach/configure.in: Moved to ...
8761 * sysdeps/mach/configure.ac: ... here.
8762 * sysdeps/mach/hurd/configure.in: Moved to ...
8763 * sysdeps/mach/hurd/configure.ac: ... here.
8764 * sysdeps/powerpc/configure.in: Moved to ...
8765 * sysdeps/powerpc/configure.ac: ... here.
8766 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8767 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8768 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8769 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8770 * sysdeps/s390/s390-32/configure.in: Moved to ...
8771 * sysdeps/s390/s390-32/configure.ac: ... here.
8772 * sysdeps/s390/s390-64/configure.in: Moved to ...
8773 * sysdeps/s390/s390-64/configure.ac: ... here.
8774 * sysdeps/sh/configure.in: Moved to ...
8775 * sysdeps/sh/configure.ac: ... here.
8776 * sysdeps/sparc/configure.in: Moved to ...
8777 * sysdeps/sparc/configure.ac: ... here.
8778 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8779 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8780 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8781 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8782 * sysdeps/x86_64/configure.in: Moved to ...
8783 * sysdeps/x86_64/configure.ac: ... here.
8784 * sysdeps/x86_64/preconfigure.in: Moved to ...
8785 * sysdeps/x86_64/preconfigure.ac: ... here.
8786 * aclocal.m4: Change reference to configure.in to configure.ac.
8787 * config.h.in: Likewise.
8788 * manual/install.texi: Likewise.
8789 * manual/maint.texi: Likewise.
8790 * Makefile: Likewise.
8791 * malloc/Makefile: Likewise.
8792 * nscd/Makefile: Likewise.
8793 * Makeconfig: Change reference to configure.in and
8794 preconfigure.in to configure.ac and preconfigure.ac
8796 * INSTALL: Regenerated.
8797 * configure: Likewise.
8798 * sysdeps/gnu/configure: Likewise.
8799 * sysdeps/i386/configure: Likewise.
8800 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8801 * sysdeps/mach/configure: Likewise.
8802 * sysdeps/mach/hurd/configure: Likewise.
8803 * sysdeps/powerpc/configure: Likewise.
8804 * sysdeps/powerpc/powerpc32/configure: Likewise.
8805 * sysdeps/powerpc/powerpc64/configure: Likewise.
8806 * sysdeps/s390/s390-32/configure: Likewise.
8807 * sysdeps/s390/s390-64/configure: Likewise.
8808 * sysdeps/sh/configure: Likewise.
8809 * sysdeps/sparc/configure: Likewise.
8810 * sysdeps/unix/sysv/linux/configure: Likewise.
8811 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8812 * sysdeps/x86_64/configure: Likewise.
8813 * sysdeps/x86_64/preconfigure: Likewise.
8815 2013-10-29 Andreas Schwab <schwab@suse.de>
8817 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8819 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8821 * benchtests/pow-inputs: Add new inputs.
8823 * benchtests/exp-inputs: Add new inputs.
8825 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8826 conditional check for return value.
8827 (__cos32): Likewise.
8829 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8831 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8832 to provide a boost for large inputs with word alignment.
8833 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8834 implementation based on optimized PPC64 strcpy.
8835 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8836 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8837 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8838 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8840 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8843 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8845 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8848 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8849 * time/tst-strptime.c (day_tests): Add testcase.
8851 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8854 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8856 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8859 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8860 MAP_FAILED on error.
8862 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8865 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8866 heap for large requests.
8868 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8871 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8872 result if the result has no associated interface.
8873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8874 interface for all 127.X.Y.Z addresses.
8876 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8878 * locale/iso-639.def: Add Ligurian (lij)
8880 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8883 * sunrpc/rpc_main.c: Document rpcgen -5.
8885 2013-10-19 Michael Stahl <mstahl@redhat.com>
8887 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8889 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8892 * posix/glob.c: Match only directories when trailing slash is present.
8893 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8894 (main): Add testcase.
8896 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8899 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8901 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8903 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8904 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8905 AUTH_DES and cindex for FIPS 140-2.
8906 (DES Encryption): Add cindex FIPS 46-3.
8908 * locale/locarchive.h (struct locarhandle): Add fname.
8909 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8910 if an optional argument was specified to --list-archive,
8912 * locale/programs/locarchive.c (show_archive_content): Take new
8913 argument fname and pass it via ah.fname to open_archive.
8914 * locale/programs/localedef.h: Update decl.
8915 (open_archive): If AH->fname is non-null, open that file
8916 rather than the default file name, and don't ignore ENOENT.
8917 (create_archive): Set AH.fname to NULL.
8918 (delete_locales_from_archive): Likewise.
8919 (add_locales_to_archive): Likewise.
8920 * locale/programs/locfile.c (write_all_categories): Likewise.
8922 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8923 Aldy Hernandez <aldyh@redhat.com>
8925 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8926 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8927 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8928 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8929 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8930 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8931 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8932 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8933 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8934 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8935 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8936 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8937 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8938 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8939 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8941 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8943 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8945 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8947 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8948 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8950 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8951 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8952 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8953 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8955 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8956 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8957 * sysdeps/powerpc/preconfigure: Likewise.
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8960 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8961 Replace contents of file by #include of <fenv_libc.h>.
8962 * sysdeps/powerpc/soft-fp/sfp-machine.h
8963 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8965 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8966 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8967 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8968 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8969 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8970 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8978 Allow copysignl PLT reference to be missing.
8980 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8981 Joseph Myers <joseph@codesourcery.com
8984 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8986 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8988 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8990 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8991 * elf/tst-tls1.c: Likewise.
8992 * elf/tst-tls10.h: Likewise.
8993 * elf/tst-tls14.c: Likewise.
8994 * elf/tst-tls2.c: Likewise.
8995 * elf/tst-tls3.c: Likewise.
8996 * elf/tst-tls4.c: Likewise.
8997 * elf/tst-tls5.c: Likewise.
8998 * elf/tst-tls6.c: Likewise.
8999 * elf/tst-tls7.c: Likewise.
9000 * elf/tst-tls8.c: Likewise.
9001 * elf/tst-tls9.c: Likewise.
9002 * elf/tst-tlsmod1.c: Likewise.
9003 * elf/tst-tlsmod13.c: Likewise.
9004 * elf/tst-tlsmod13a.c: Likewise.
9005 * elf/tst-tlsmod14a.c: Likewise.
9006 * elf/tst-tlsmod16a.c: Likewise.
9007 * elf/tst-tlsmod16b.c: Likewise.
9008 * elf/tst-tlsmod2.c: Likewise.
9009 * elf/tst-tlsmod3.c: Likewise.
9010 * elf/tst-tlsmod4.c: Likewise.
9011 * elf/tst-tlsmod5.c: Likewise.
9012 * elf/tst-tlsmod6.c: Likewise.
9014 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9017 * malloc/malloc.c: remove checks for statistics.
9019 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9022 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9023 * inet/tst-network.c: Add testcase.
9025 2013-10-17 Andreas Schwab <schwab@suse.de>
9028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9029 to determine canonical name.
9031 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9033 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9034 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9057 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9063 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9092 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9095 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9096 make result into a quiet NaN.
9098 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9100 * soft-fp/adddf3.c: Fix horizontal whitespace.
9101 * soft-fp/addsf3.c: Likewise.
9102 * soft-fp/addtf3.c: Likewise.
9103 * soft-fp/divdf3.c: Likewise.
9104 * soft-fp/divsf3.c: Likewise.
9105 * soft-fp/divtf3.c: Likewise.
9106 * soft-fp/double.h: Likewise.
9107 * soft-fp/eqdf2.c: Likewise.
9108 * soft-fp/eqsf2.c: Likewise.
9109 * soft-fp/eqtf2.c: Likewise.
9110 * soft-fp/extenddftf2.c: Likewise.
9111 * soft-fp/extended.h: Likewise.
9112 * soft-fp/extendsfdf2.c: Likewise.
9113 * soft-fp/extendsftf2.c: Likewise.
9114 * soft-fp/extendxftf2.c: Likewise.
9115 * soft-fp/fixdfdi.c: Likewise.
9116 * soft-fp/fixdfsi.c: Likewise.
9117 * soft-fp/fixdfti.c: Likewise.
9118 * soft-fp/fixsfdi.c: Likewise.
9119 * soft-fp/fixsfsi.c: Likewise.
9120 * soft-fp/fixsfti.c: Likewise.
9121 * soft-fp/fixtfdi.c: Likewise.
9122 * soft-fp/fixtfsi.c: Likewise.
9123 * soft-fp/fixtfti.c: Likewise.
9124 * soft-fp/fixunsdfdi.c: Likewise.
9125 * soft-fp/fixunsdfsi.c: Likewise.
9126 * soft-fp/fixunsdfti.c: Likewise.
9127 * soft-fp/fixunssfdi.c: Likewise.
9128 * soft-fp/fixunssfsi.c: Likewise.
9129 * soft-fp/fixunssfti.c: Likewise.
9130 * soft-fp/fixunstfdi.c: Likewise.
9131 * soft-fp/fixunstfsi.c: Likewise.
9132 * soft-fp/fixunstfti.c: Likewise.
9133 * soft-fp/floatdidf.c: Likewise.
9134 * soft-fp/floatdisf.c: Likewise.
9135 * soft-fp/floatditf.c: Likewise.
9136 * soft-fp/floatsidf.c: Likewise.
9137 * soft-fp/floatsisf.c: Likewise.
9138 * soft-fp/floatsitf.c: Likewise.
9139 * soft-fp/floattidf.c: Likewise.
9140 * soft-fp/floattisf.c: Likewise.
9141 * soft-fp/floattitf.c: Likewise.
9142 * soft-fp/floatundidf.c: Likewise.
9143 * soft-fp/floatundisf.c: Likewise.
9144 * soft-fp/floatunditf.c: Likewise.
9145 * soft-fp/floatunsidf.c: Likewise.
9146 * soft-fp/floatunsisf.c: Likewise.
9147 * soft-fp/floatunsitf.c: Likewise.
9148 * soft-fp/floatuntidf.c: Likewise.
9149 * soft-fp/floatuntisf.c: Likewise.
9150 * soft-fp/floatuntitf.c: Likewise.
9151 * soft-fp/fmadf4.c: Likewise.
9152 * soft-fp/fmasf4.c: Likewise.
9153 * soft-fp/fmatf4.c: Likewise.
9154 * soft-fp/gedf2.c: Likewise.
9155 * soft-fp/gesf2.c: Likewise.
9156 * soft-fp/getf2.c: Likewise.
9157 * soft-fp/ledf2.c: Likewise.
9158 * soft-fp/lesf2.c: Likewise.
9159 * soft-fp/letf2.c: Likewise.
9160 * soft-fp/muldf3.c: Likewise.
9161 * soft-fp/mulsf3.c: Likewise.
9162 * soft-fp/multf3.c: Likewise.
9163 * soft-fp/negdf2.c: Likewise.
9164 * soft-fp/negsf2.c: Likewise.
9165 * soft-fp/negtf2.c: Likewise.
9166 * soft-fp/op-1.h: Likewise.
9167 * soft-fp/op-2.h: Likewise.
9168 * soft-fp/op-4.h: Likewise.
9169 * soft-fp/op-8.h: Likewise.
9170 * soft-fp/op-common.h: Likewise.
9171 * soft-fp/quad.h: Likewise.
9172 * soft-fp/single.h: Likewise.
9173 * soft-fp/soft-fp.h: Likewise.
9174 * soft-fp/sqrtdf2.c: Likewise.
9175 * soft-fp/sqrtsf2.c: Likewise.
9176 * soft-fp/sqrttf2.c: Likewise.
9177 * soft-fp/subdf3.c: Likewise.
9178 * soft-fp/subsf3.c: Likewise.
9179 * soft-fp/subtf3.c: Likewise.
9180 * soft-fp/truncdfsf2.c: Likewise.
9181 * soft-fp/trunctfdf2.c: Likewise.
9182 * soft-fp/trunctfsf2.c: Likewise.
9183 * soft-fp/trunctfxf2.c: Likewise.
9184 * soft-fp/unorddf2.c: Likewise.
9185 * soft-fp/unordsf2.c: Likewise.
9186 * soft-fp/unordtf2.c: Likewise.
9188 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9190 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9191 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9193 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9195 * elf/dl-libc.c: Clear initfini list after freeing.
9197 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9199 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9200 * soft-fp/addsf3.c: Likewise.
9201 * soft-fp/addtf3.c: Likewise.
9202 * soft-fp/divdf3.c: Likewise.
9203 * soft-fp/divsf3.c: Likewise.
9204 * soft-fp/divtf3.c: Likewise.
9205 * soft-fp/double.h: Likewise.
9206 * soft-fp/eqdf2.c: Likewise.
9207 * soft-fp/eqsf2.c: Likewise.
9208 * soft-fp/eqtf2.c: Likewise.
9209 * soft-fp/extenddftf2.c: Likewise.
9210 * soft-fp/extended.h: Likewise.
9211 * soft-fp/extendsfdf2.c: Likewise.
9212 * soft-fp/extendsftf2.c: Likewise.
9213 * soft-fp/extendxftf2.c: Likewise.
9214 * soft-fp/fixdfdi.c: Likewise.
9215 * soft-fp/fixdfsi.c: Likewise.
9216 * soft-fp/fixdfti.c: Likewise.
9217 * soft-fp/fixsfdi.c: Likewise.
9218 * soft-fp/fixsfsi.c: Likewise.
9219 * soft-fp/fixsfti.c: Likewise.
9220 * soft-fp/fixtfdi.c: Likewise.
9221 * soft-fp/fixtfsi.c: Likewise.
9222 * soft-fp/fixtfti.c: Likewise.
9223 * soft-fp/fixunsdfdi.c: Likewise.
9224 * soft-fp/fixunsdfsi.c: Likewise.
9225 * soft-fp/fixunsdfti.c: Likewise.
9226 * soft-fp/fixunssfdi.c: Likewise.
9227 * soft-fp/fixunssfsi.c: Likewise.
9228 * soft-fp/fixunssfti.c: Likewise.
9229 * soft-fp/fixunstfdi.c: Likewise.
9230 * soft-fp/fixunstfsi.c: Likewise.
9231 * soft-fp/fixunstfti.c: Likewise.
9232 * soft-fp/floatdidf.c: Likewise.
9233 * soft-fp/floatdisf.c: Likewise.
9234 * soft-fp/floatditf.c: Likewise.
9235 * soft-fp/floatsidf.c: Likewise.
9236 * soft-fp/floatsisf.c: Likewise.
9237 * soft-fp/floatsitf.c: Likewise.
9238 * soft-fp/floattidf.c: Likewise.
9239 * soft-fp/floattisf.c: Likewise.
9240 * soft-fp/floattitf.c: Likewise.
9241 * soft-fp/floatundidf.c: Likewise.
9242 * soft-fp/floatundisf.c: Likewise.
9243 * soft-fp/floatunsidf.c: Likewise.
9244 * soft-fp/floatunsisf.c: Likewise.
9245 * soft-fp/floatuntidf.c: Likewise.
9246 * soft-fp/floatuntisf.c: Likewise.
9247 * soft-fp/floatuntitf.c: Likewise.
9248 * soft-fp/fmadf4.c: Likewise.
9249 * soft-fp/fmasf4.c: Likewise.
9250 * soft-fp/fmatf4.c: Likewise.
9251 * soft-fp/gedf2.c: Likewise.
9252 * soft-fp/gesf2.c: Likewise.
9253 * soft-fp/getf2.c: Likewise.
9254 * soft-fp/ledf2.c: Likewise.
9255 * soft-fp/lesf2.c: Likewise.
9256 * soft-fp/letf2.c: Likewise.
9257 * soft-fp/muldf3.c: Likewise.
9258 * soft-fp/mulsf3.c: Likewise.
9259 * soft-fp/multf3.c: Likewise.
9260 * soft-fp/negdf2.c: Likewise.
9261 * soft-fp/negsf2.c: Likewise.
9262 * soft-fp/negtf2.c: Likewise.
9263 * soft-fp/op-1.h: Likewise.
9264 * soft-fp/op-2.h: Likewise.
9265 * soft-fp/op-4.h: Likewise.
9266 * soft-fp/op-8.h: Likewise.
9267 * soft-fp/op-common.h: Likewise.
9268 * soft-fp/quad.h: Likewise.
9269 * soft-fp/single.h: Likewise.
9270 * soft-fp/soft-fp.h: Likewise.
9271 * soft-fp/sqrtdf2.c: Likewise.
9272 * soft-fp/sqrtsf2.c: Likewise.
9273 * soft-fp/sqrttf2.c: Likewise.
9274 * soft-fp/subdf3.c: Likewise.
9275 * soft-fp/subsf3.c: Likewise.
9276 * soft-fp/subtf3.c: Likewise.
9277 * soft-fp/truncdfsf2.c: Likewise.
9278 * soft-fp/trunctfdf2.c: Likewise.
9279 * soft-fp/trunctfsf2.c: Likewise.
9280 * soft-fp/trunctfxf2.c: Likewise.
9281 * soft-fp/unorddf2.c: Likewise.
9282 * soft-fp/unordsf2.c: Likewise.
9283 * soft-fp/unordtf2.c: Likewise.
9285 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9288 * misc/error.c (error_tail): Fix possible buffer overflow.
9290 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9293 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9296 2013-10-14 P. J. McDermott <pj@pehjota.net>
9299 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9300 testing pipefail option.
9302 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9304 * soft-fp/double.h: Indent preprocessor directives inside #if.
9305 * soft-fp/extended.h: Likewise.
9306 * soft-fp/op-2.h: Likewise.
9307 * soft-fp/op-4.h: Likewise.
9308 * soft-fp/op-common.h: Likewise.
9309 * soft-fp/quad.h: Likewise.
9310 * soft-fp/single.h: Likewise.
9311 * soft-fp/soft-fp.h: Likewise.
9313 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9315 * iconv/iconv_prog.c: Fix typos.
9316 * stdio-common/psiginfo-data.h: Likewise.
9318 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9321 * locale/setlocale.c: Fix typo.
9323 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9326 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9327 signaling NaN arguments.
9328 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9329 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9332 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9334 * soft-fp/gesf2.c (__gesf2): Likewise.
9335 * soft-fp/getf2.c (__getf2): Likewise.
9336 * soft-fp/ledf2.c (__ledf2): Likewise.
9337 * soft-fp/lesf2.c (__lesf2): Likewise.
9338 * soft-fp/letf2.c (__letf2): Likewise.
9340 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9341 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9342 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9343 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9344 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9345 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9346 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9347 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9348 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9349 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9350 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9351 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9352 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9353 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9354 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9355 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9356 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9357 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9358 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9359 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9360 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9361 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9362 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9363 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9364 * soft-fp/floattidf.c (__floattidf): Likewise.
9365 * soft-fp/floattisf.c (__floattisf): Likewise.
9366 * soft-fp/floattitf.c (__floattitf): Likewise.
9367 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9368 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9369 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9370 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9371 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9372 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9373 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9374 * soft-fp/gesf2.c (__gesf2): Likewise.
9375 * soft-fp/getf2.c (__getf2): Likewise.
9376 * soft-fp/ledf2.c (__ledf2): Likewise.
9377 * soft-fp/lesf2.c (__lesf2): Likewise.
9378 * soft-fp/letf2.c (__letf2): Likewise.
9380 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9381 Undefine and redefine.
9382 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9383 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9384 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9385 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9386 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9387 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9388 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9389 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9390 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9391 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9392 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9393 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9394 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9395 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9396 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9399 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9400 without decrementing exponent if mantissa >= that for the
9402 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9403 denominator, not >. Decrement exponent in < case instead of
9404 incrementing in >= case.
9405 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9406 without decrementing exponent if mantissa >= that for the
9409 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9410 computing saturated result for unsigned overflow.
9412 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9413 Jeff Law <law@redhat.com>
9415 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9416 (atan2Mp): Add systemtap probe marker.
9417 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9418 (__ieee754_log): Add systemtap probe marker.
9419 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9420 (atanMp): Add systemtap probe marker.
9421 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9422 (tanMp): Add systemtap probe marker.
9423 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9424 (__slowexp): Add systemtap probe marker.
9425 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9426 (__slowpow): Add systemtap probe marker.
9427 * manual/probes.texi: Document probes.
9429 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9432 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9434 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9436 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9437 written to buffer but not flushed.
9438 * libio/iofwrite_u.c: Likewise.
9439 * libio/iopadn.c: Return bytes returned even if EOF was
9441 * libio/iowpadn.c: Likewise.
9442 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9443 if _IO_padn does not write the whole buffer.
9444 [!COMPILE_WPRINTF] (PAD): Likewise.
9446 2013-10-10 David S. Miller <davem@davemloft.net>
9448 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9451 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9453 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9454 instead of FSF address.
9455 * soft-fp/fixdfti.c: Likewise.
9456 * soft-fp/fixsfti.c: Likewise.
9457 * soft-fp/fixtfti.c: Likewise.
9458 * soft-fp/fixunsdfti.c: Likewise.
9459 * soft-fp/fixunssfti.c: Likewise.
9460 * soft-fp/fixunstfti.c: Likewise.
9461 * soft-fp/floattidf.c: Likewise.
9462 * soft-fp/floattisf.c: Likewise.
9463 * soft-fp/floattitf.c: Likewise.
9464 * soft-fp/floatuntidf.c: Likewise.
9465 * soft-fp/floatuntisf.c: Likewise.
9466 * soft-fp/floatuntitf.c: Likewise.
9467 * soft-fp/trunctfxf2.c: Likewise.
9469 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9470 * soft-fp/fixdfti.c: Likewise.
9471 * soft-fp/fixsfti.c: Likewise.
9472 * soft-fp/fixtfti.c: Likewise.
9473 * soft-fp/fixunsdfti.c: Likewise.
9474 * soft-fp/fixunssfti.c: Likewise.
9475 * soft-fp/fixunstfti.c: Likewise.
9476 * soft-fp/floattidf.c: Likewise.
9477 * soft-fp/floattisf.c: Likewise.
9478 * soft-fp/floattitf.c: Likewise.
9479 * soft-fp/floatuntidf.c: Likewise.
9480 * soft-fp/floatuntisf.c: Likewise.
9481 * soft-fp/floatuntitf.c: Likewise.
9482 * soft-fp/trunctfxf2.c: Likewise.
9484 2013-10-10 David S. Miller <davem@davemloft.net>
9486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9488 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9490 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9491 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9492 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9493 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9494 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9495 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9496 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9499 for NaNs before doing comparisons on argument.
9500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9503 2013-10-10 Will Newton <will.newton@linaro.org>
9505 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9506 passed to _int_memalign does not overflow.
9508 2013-10-10 Torvald Riegel <triegel@redhat.com>
9510 * scripts/bench.pl: Add include-sources directive.
9511 * benchtests/README: Update documentation.
9513 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9515 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9516 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9517 instead of FP_INIT_ROUNDMODE.
9518 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9519 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9522 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9523 copy class of input value.
9524 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9525 not handle exceptions.
9526 * soft-fp/negsf2.c (__negsf2): Likewise.
9527 * soft-fp/negtf2.c (__negtf2): Likewise.
9528 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9530 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9532 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9533 semicolon. From Linux kernel.
9535 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9537 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9539 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9542 * manual/socket.texi: Added statement about buffer
9543 for gethostbyname2_r.
9545 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9547 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9548 Use .p2align directive instead, throughout.
9549 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9550 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9551 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9554 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9555 * sysdeps/x86_64/strchr.S: Likewise.
9556 * sysdeps/x86_64/strrchr.S: Likewise.
9558 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9560 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9562 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9564 * sysdeps/generic/math_private.h (__mpsin1): Remove
9566 (__mpcos1): Likewise.
9567 (__mpsin): New argument __range_reduce.
9568 (__mpcos): Likewise.
9569 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9570 (slow): Use __mpsin and __mpcos.
9577 (bsloww1): Likewise.
9578 (bsloww2): Likewise.
9581 (csloww1): Likewise.
9582 (csloww2): Likewise.
9583 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9584 range_reduce. Merge in __mpsin1.
9585 (__mpcos): Likewise.
9587 (__mpcos1): Likewise.
9589 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9591 * locale/loadlocale.c (_nl_intern_locale_data): Use
9593 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9594 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9595 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9596 obstack data is appropriately aligned.
9597 (obstack_int32_grow_fast): Likewise.
9598 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9599 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9600 (add_locale_uint32_array): Likewise.
9602 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9604 * benchtests/Makefile: Remove ARGLIST and RET variables.
9605 ($(objpfx)bench-%.c): Pass only function name to the script.
9606 * benchtests/README: Update documentation.
9607 * benchtests/acos-inputs: Add new directives.
9608 * benchtests/acosh-inputs: Likewise.
9609 * benchtests/asin-inputs: Likewise.
9610 * benchtests/asinh-inputs: Likewise.
9611 * benchtests/atan-inputs: Likewise.
9612 * benchtests/atanh-inputs: Likewise.
9613 * benchtests/cos-inputs: Likewise.
9614 * benchtests/cosh-inputs: Likewise.
9615 * benchtests/exp-inputs: Likewise.
9616 * benchtests/log-inputs: Likewise.
9617 * benchtests/pow-inputs: Likewise.
9618 * benchtests/rint-inputs: Likewise.
9619 * benchtests/sin-inputs: Likewise.
9620 * benchtests/sinh-inputs: Likewise.
9621 * benchtests/tan-inputs: Likewise.
9622 * benchtests/tanh-inputs: Likewise.
9623 * scripts/bench.pl: Add support for new directives.
9625 2013-10-07 Alan Modra <amodra@gmail.com>
9627 * README: Fix careless merge.
9629 2013-10-05 Alan Modra <amodra@gmail.com>
9631 * NEWS: Mention powerpc64le support and bugs fixed.
9632 * README: Both big-endian and little-endian powerpc64 supported.
9634 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9636 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9637 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9638 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9639 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9641 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9643 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9646 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9648 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9649 Move -mhard-float appending from
9650 ports/sysdeps/powerpc/powerpc32/Makefile.
9651 [$(with-fp) = yes] (ASFLAGS): Likewise.
9652 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9653 * sysdeps/powerpc/nofpu: Move directory from
9654 ports/sysdeps/powerpc/nofpu.
9655 * sysdeps/powerpc/soft-fp: Move directory from
9656 ports/sysdeps/powerpc/soft-fp.
9657 * sysdeps/powerpc/powerpc32/405: Move directory from
9658 ports/sysdeps/powerpc/powerpc32/405.
9659 * sysdeps/powerpc/powerpc32/440: Move directory from
9660 ports/sysdeps/powerpc/powerpc32/440.
9661 * sysdeps/powerpc/powerpc32/464: Move directory from
9662 ports/sysdeps/powerpc/powerpc32/464.
9663 * sysdeps/powerpc/powerpc32/476: Move directory from
9664 ports/sysdeps/powerpc/powerpc32/476.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9666 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9668 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9670 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9672 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9675 * README: Update for powerpc-*-linux-gnu software floating point
9678 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9679 case to powerpc/powerpc32*.
9680 * sysdeps/unix/sysv/linux/configure: Regenerated.
9682 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9683 (_FPU_MASK_OM): Define as 0x04.
9684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9692 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9695 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9698 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9699 and setcontext_e500.
9701 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9703 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9705 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9707 * manual/threads.texi (Default Thread Attributes): Fix typo.
9709 2013-10-04 Will Newton <will.newton@linaro.org>
9711 * malloc/Makefile: Add tst-memalign.
9712 * malloc/tst-memalign.c: New file.
9714 * malloc/tst-posix_memalign.c: Add comments.
9715 (do_test): Add comments and call free on all potentially
9716 allocated pointers. Add space after cast.
9718 * malloc/tst-pvalloc.c: Add comments.
9719 (do_test): Add comments and call free on all potentially
9720 allocated pointers. Remove duplicate check for NULL pointer.
9721 Add space after cast.
9723 * malloc/tst-valloc.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 2013-10-04 Alan Modra <amodra@gmail.com>
9730 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9731 Use stdint types in rather than __attribute__((mode())).
9732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9734 2013-10-04 Alan Modra <amodra@gmail.com>
9736 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9737 Correct handling of unaligned relocs for little-endian.
9738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9740 2013-10-04 Alan Modra <amodra@gmail.com>
9742 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9743 * configure: Regenerate.
9744 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9745 * shlib-versions: Likewise.
9747 2013-10-04 Alan Modra <amodra@gmail.com>
9749 * string/tester.c (test_memrchr): Increment reported test cycle.
9751 2013-10-04 Alan Modra <amodra@gmail.com>
9753 * string/test-memcpy.c (do_one_test): When reporting errors, print
9754 string address and don't overrun end of string.
9756 2013-10-04 Alan Modra <amodra@gmail.com>
9758 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9759 insrdi. Make better use of reg selection to speed exit slightly.
9760 Schedule entry path a little better. Remove useless "are we done"
9761 checks on entry to main loop. Handle wrapping around zero address.
9762 Correct main loop count. Handle single left-over word from main
9763 loop inline rather than by using loop_small. Remove extra word
9764 case in loop_small caused by wrong loop count. Add little-endian
9766 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9769 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9770 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9771 support. Avoid rlwimi.
9772 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9774 2013-10-04 Alan Modra <amodra@gmail.com>
9776 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9778 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9779 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9780 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9783 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9785 2013-10-04 Alan Modra <amodra@gmail.com>
9787 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9788 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9790 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9791 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9794 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9795 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9796 use of regs. Use power7 mtocrf. Tidy function tails.
9798 2013-10-04 Alan Modra <amodra@gmail.com>
9800 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9801 Formatting. Consistently use rXXX register defines or rN defines.
9802 Use early exit labels that avoid restoring unused non-volatile regs.
9803 Make cr field use more consistent with rWORDn compares. Rename
9804 regs used as shift registers for unaligned loop, using rN defines
9805 for short lifetime/multiple use regs.
9806 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9807 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9808 addi 1,1,64 to pop stack frame. Simplify return value code.
9809 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9811 2013-10-04 Alan Modra <amodra@gmail.com>
9813 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9814 support. Correct typos, formatting. Optimize tail. Use insrdi
9816 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9817 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9818 little-endian support. Correct typos.
9819 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9821 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9822 in loop and entry code to keep "and." results.
9823 (strchr): Add little-endian support. Comment. Move cntlzd
9825 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9827 2013-10-04 Alan Modra <amodra@gmail.com>
9829 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9830 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9831 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9832 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9834 2013-10-04 Alan Modra <amodra@gmail.com>
9836 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9837 (rTMP): Define as r11.
9838 (strcmp): Add little-endian support. Optimise tail.
9839 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9840 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9841 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9842 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9843 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9847 2013-10-04 Alan Modra <amodra@gmail.com>
9849 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9850 little-endian support. Remove unnecessary "are we done" tests.
9851 Handle "s" wrapping around zero and extremely large "size".
9852 Correct main loop count. Handle single left-over word from main
9853 loop inline rather than by using small_loop. Correct comments.
9854 Delete "zero" tail, use "end_max" instead.
9855 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9857 2013-10-04 Alan Modra <amodra@gmail.com>
9859 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9860 support. Don't branch over align.
9861 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9862 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9863 support. Rearrange tmp reg use to suit. Comment.
9864 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9866 2013-10-04 Alan Modra <amodra@gmail.com>
9868 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9870 2013-10-04 Alan Modra <amodra@gmail.com>
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9873 conditional form of branch and link when obtaining pc.
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9876 2013-10-04 Alan Modra <amodra@gmail.com>
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9883 2013-10-04 Alan Modra <amodra@gmail.com>
9885 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9886 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9887 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9888 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9889 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9890 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9891 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9892 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9893 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9894 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9896 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9897 Alistair Popple <alistair@ozlabs.au.ibm.com>
9898 Alan Modra <amodra@gmail.com>
9901 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9902 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9903 _dl_hwcap access for little-endian.
9904 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9905 destroy vmx regs when saving unaligned.
9906 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9908 destroy vmx regs when saving unaligned.
9910 2013-10-04 Alan Modra <amodra@gmail.com>
9912 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9913 Don't use a union to pack hi/low value.
9915 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9917 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9919 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9921 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9922 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9923 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9925 2013-10-04 Alan Modra <amodra@gmail.com>
9927 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9928 constants to usual value for .cst8 section, and remove redundant
9930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9931 constant for 0x1p52. Load little-endian words of double from
9932 correct stack offsets.
9934 2013-10-04 Alan Modra <amodra@gmail.com>
9936 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9937 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9938 words of double from correct stack offsets.
9939 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9940 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9941 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9942 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9943 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9946 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9947 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9948 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9949 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9951 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9952 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9953 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9954 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9955 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9957 2013-10-04 Alan Modra <amodra@gmail.com>
9959 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9960 64-bit int/double union.
9961 (_FPU_SETCW): Likewise.
9962 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9963 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9965 2013-10-04 Alan Modra <amodra@gmail.com>
9967 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9968 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9970 2013-10-04 Alan Modra <amodra@gmail.com>
9972 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9973 use vector int constants.
9974 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9976 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9978 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9979 array with long long.
9980 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9981 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9982 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9983 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9984 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9985 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9986 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9987 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9988 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9989 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9990 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9991 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9992 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9994 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9996 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9997 (__signbit): Likewise. Correct for little-endian.
9998 (__signbitl): Call __signbit.
9999 (lrint): Correct for little-endian.
10000 (lrintf): Call lrint.
10002 2013-10-04 Alan Modra <amodra@gmail.com>
10004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10005 union 32-bit int array member with 64-bit int array.
10006 (t515, tm256): Double rather than long double.
10007 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10009 2013-10-04 Alan Modra <amodra@gmail.com>
10011 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10013 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10014 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10015 version of math_ldbl.h.
10017 2013-10-04 Alan Modra <amodra@gmail.com>
10019 [BZ #15734], [BZ #15735]
10020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10021 all uses of ieee875 long double macros and unions. Simplify test
10022 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10023 ldbl_extract_mantissa value for ix,iy exponents. Properly
10024 normalize after ldbl_extract_mantissa, and don't add hidden bit
10025 already handled. Don't treat low word of ieee854 mantissa like
10026 low word of IBM long double and mask off bit when testing for
10028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10029 all uses of ieee875 long double macros and unions. Simplify tests
10030 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10031 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10032 two1022, instead use their values. Recognise that tests for large
10033 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10034 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10035 Rewrite all uses of ieee875 long double macros and unions. Simplify
10036 test for 0.0L and nan. Correct negation.
10037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10038 ieee875 long double macros and unions. Correct output for large
10039 magnitude x. Correct absolute value calculation.
10040 (__erfcl): Likewise.
10041 * math/libm-test.inc: Add tests for errors discovered in IBM long
10042 double versions of fmodl, remainderl, erfl and erfcl.
10044 2013-10-04 Alan Modra <amodra@gmail.com>
10046 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10047 all uses of ieee854 long double macros and unions. Simplify tests
10048 for long doubles that are fully specified by the high double.
10049 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10051 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10052 Remove dead code too.
10053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10054 (__ieee754_ynl): Likewise.
10055 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10056 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10058 Remove dead code too.
10059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10060 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10061 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10064 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10066 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10067 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10069 Comment on variable precision.
10070 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10073 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10076 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10079 2013-10-04 Alan Modra <amodra@gmail.com>
10081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10082 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10083 all uses of ieee854 long double macros and unions.
10084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10086 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10087 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10088 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10089 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10096 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10097 Simplify sign and nan test too.
10098 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10099 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10100 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10101 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10103 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10104 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10107 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10108 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10109 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10110 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10113 2013-10-04 Alan Modra <amodra@gmail.com>
10115 * stdio-common/printf_size.c (__printf_size): Don't use
10116 union ieee854_long_double in fpnum union.
10117 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10118 signbit macro to retrieve sign from long double.
10119 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10120 retrieve sign from long double.
10121 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10122 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10123 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10124 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10125 * math/test-misc.c (main): Don't use union ieee854_long_double.
10127 2013-10-04 Alan Modra <amodra@gmail.com>
10130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10131 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10132 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10133 calculation. Remove unnecessary test for denormal exponent.
10134 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10135 Correct handling of denormals. Avoid undefined shift behaviour.
10136 Correct normalisation of low mantissa when low double is denormal.
10137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10138 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10139 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10140 Correct normalisation of low mantissa. Test for overflow of high
10141 mantissa and normalise.
10142 (ldbl_nearbyint): Use more readable constant for two52.
10143 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10144 (__mpn_construct_long_double): Fix test for overflow of high
10145 mantissa and correct normalisation. Avoid undefined shift.
10147 2013-10-04 Alan Modra <amodra@gmail.com>
10149 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10150 (union ibm_extended_long_double): Define as an array of ieee754_double.
10151 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10152 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10153 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10154 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10158 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10163 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10165 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10166 page size instead of calling getpagesize.
10168 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10169 (LOCFILE_ALIGN_MASK): Likewise.
10170 (LOCFILE_ALIGN_UP): Likewise.
10171 (LOCFILE_ALIGNED_P): Likewise.
10172 * locale/programs/ld-collate.c (collate_output): Use the new
10173 macros instead of __alignof__ (int32_t).
10174 * locale/weight.h (findidx): Likewise.
10176 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10179 * manual/string.texi: Fix strncat and wcsncat.
10181 2013-10-03 Brooks Moses <bmoses@google.com>
10184 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10185 * Makerules: ...here, and adjust associated comments.
10187 2013-10-02 Will Newton <will.newton@linaro.org>
10189 * malloc/Makefile: Add tst-pvalloc.
10190 * malloc/tst-pvalloc.c: New file.
10192 2013-10-02 Will Newton <will.newton@linaro.org>
10194 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10195 improve test coverage.
10197 2013-10-02 Will Newton <will.newton@linaro.org>
10199 * malloc/Makefile: Add tst-posix_memalign.
10200 * malloc/tst-posix_memalign.c: New file.
10202 2013-10-01 Eric Blake <eblake@redhat.com>
10204 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10205 Use __THROWNL rather than __THROW on static functions.
10207 2013-09-30 Petr Machata <pmachata@redhat.com>
10209 * elf/elf.h (R_AARCH64_ABS16): New macro.
10210 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10211 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10212 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10213 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10214 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10215 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10216 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10217 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10218 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10219 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10220 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10221 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10222 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10223 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10224 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10225 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10226 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10227 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10228 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10229 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10230 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10231 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10232 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10233 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10234 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10235 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10236 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10237 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10238 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10239 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10240 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10241 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10242 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10243 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10244 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10245 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10246 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10247 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10248 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10249 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10250 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10251 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10252 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10253 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10254 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10255 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10256 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10257 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10258 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10259 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10260 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10261 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10262 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10263 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10264 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10265 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10266 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10267 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10268 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10269 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10270 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10271 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10272 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10273 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10274 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10275 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10276 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10277 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10278 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10279 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10280 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10281 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10282 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10283 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10284 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10285 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10286 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10287 (R_AARCH64_TLSDESC_LDR): Likewise.
10288 (R_AARCH64_TLSDESC_ADD): Likewise.
10289 (R_AARCH64_TLSDESC_CALL): Likewise.
10291 2013-09-30 Andreas Schwab <schwab@suse.de>
10294 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10295 the nss database lookup.
10296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10299 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10301 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10303 2013-09-28 P. J. McDermott <pj@pehjota.net>
10305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10306 ${Bash-specific parameter/pattern/string} parameter expansion.
10307 * sysdeps/unix/make-syscalls.sh: Likewise.
10309 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10311 * sysdeps/sh/stackguard-macros.h: New file.
10313 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10317 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10318 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10319 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10320 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10322 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10324 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10325 Fix thread ID register.
10327 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10329 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10330 [POSIX || UNIX98]: Require rather than permitting all symbols from
10332 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10333 element of struct sched_param.
10334 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10335 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10336 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10337 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10340 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10342 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10343 argument calculation.
10345 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10347 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10349 [POSIX] (pthread_attr_t): Do not require type.
10350 [POSIX] (pthread_cond_t): Likewise.
10351 [POSIX] (pthread_condattr_t): Likewise.
10352 [POSIX] (pthread_key_t): Likewise.
10353 [POSIX] (pthread_mutex_t): Likewise.
10354 [POSIX] (pthread_mutexattr_t): Likewise.
10355 [POSIX] (pthread_once_t): Likewise.
10356 [POSIX] (pthread_t): Likewise.
10357 [POSIX-based standards] (pthread_atfork): Expect function.
10359 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10360 Richard Sandiford <richard@codesourcery.com>
10362 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10363 (swap_endianness_p): New extern variable.
10364 (set_big_endian): New inline function.
10365 (maybe_swap_uint32): Likewise.
10366 (maybe_swap_uint32_array): Likewise.
10367 (maybe_swap_uint32_obstack): Likewise.
10368 * locale/programs/locfile.c: Include <stdbool.h>.
10369 (swap_endianness_p): New variable.
10370 (add_locale_uint32): Call maybe_swap_uint32.
10371 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10372 (write_locale_data): Call maybe_swap_uint32_array.
10373 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10375 (obstack_int32_grow_fast): Likewise.
10376 (output_weightwc): Call maybe_swap_uint32_obstack.
10377 (collate_output): Likewise.
10378 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10379 (OPT_LITTLE_ENDIAN): Likewise.
10380 (options): Add --little-endian and --big-endian options.
10381 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10382 * locale/programs/locarchive.c: Include "locfile.h".
10386 (create_archive): Use the new macros to access fields of
10387 structures directly mapped from or written to locale archives.
10388 (oldlocrecentcmp): Likewise.
10389 (enlarge_archive): Likewise.
10390 (insert_name): Likewise.
10391 (add_alias): Likewise.
10392 (add_locale): Likewise.
10393 (delete_locales_from_archive): Likewise.
10394 (show_archive_content): Likewise.
10395 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10398 2013-09-24 Roland McGrath <roland@hack.frob.com>
10400 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10401 http://www.gnu.org/doc/freemanuals.texi.
10402 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10404 2013-09-24 Will Newton <will.newton@linaro.org>
10406 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10409 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10411 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10414 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10416 * manual/threads.texi (POSIX Threads): Fix a typo.
10418 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10421 * string/tst-strcoll-overflow.c: New test case.
10422 * string/Makefile (xtests): Add tst-strcoll-overflow.
10423 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10424 cache if string sizes may cause integer overflow.
10427 * string/strcoll_l.c (coll_seq): New members rule, idx,
10428 save_idx and back_us.
10429 (get_next_seq_nocache): New function.
10430 (do_compare_nocache): New function.
10431 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10434 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10437 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10438 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10439 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10442 * elf/Makefile (tests): Add tst-ptrguard1.
10443 (tests-static): Add tst-ptrguard1-static.
10444 (tst-ptrguard1-ARGS): Define.
10445 (tst-ptrguard1-static-ARGS): Define.
10446 * elf/tst-ptrguard1.c: New file.
10447 * elf/tst-ptrguard1-static.c: New file.
10448 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10449 * sysdeps/i386/stackguard-macros.h: Likewise.
10450 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10451 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10452 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10453 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10454 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10455 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10457 2013-09-23 Hector Marco <hecmargi@upv.es>
10458 Ismael Ripoll <iripoll@disca.upv.es>
10459 Carlos O'Donell <carlos@redhat.com>
10462 * sysdeps/generic/stackguard-macros.h: Define
10463 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10464 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10465 Define __pointer_chk_guard_local.
10466 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10467 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10469 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10472 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10474 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10476 * include/string.h (__ffs): Declare as hidden.
10477 * string/ffs.c (__ffs): Define as hidden.
10478 * sysdeps/i386/ffs.c (__ffs): Likewise.
10479 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10480 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10481 * sysdeps/s390/ffs.c (__ffs): Likewise.
10482 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10484 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10486 * NEWS: Mention malloc probes.
10488 * malloc/arena.c (new_heap): New memory_heap_new probe.
10489 (grow_heap): New memory_heap_more probe.
10490 (shrink_heap): New memory_heap_less probe.
10491 (heap_trim): New memory_heap_free probe.
10492 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10493 (systrim): New memory_sbrk_less probe.
10494 * manual/probes.texi: Document them.
10496 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10497 * manual/probes.texi: Document it.
10499 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10500 (__libc_realloc): Add memory_realloc_retry probe.
10501 (__libc_memalign): Add memory_memalign_retry probe.
10502 (__libc_valloc): Add memory_valloc_retry probe.
10503 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10504 (__libc_calloc): Add memory_calloc_retry probe.
10505 * manual/probes.texi: Document them.
10507 * malloc/arena.c (get_free_list): Add probe
10508 memory_arena_reuse_free_list.
10509 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10510 and memory_arena_reuse.
10511 (arena_get2) [!PER_THREAD]: Likewise.
10512 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10513 memory_arena_reuse_realloc.
10514 * manual/probes.texi: Document them.
10516 * malloc/malloc.c (__libc_free): Add
10517 memory_mallopt_free_dyn_thresholds probe.
10518 (__libc_mallopt): Add multiple memory_mallopt probes.
10519 * manual/probes.texi: Document them.
10521 * malloc/malloc.c: Include stap-probe.h.
10522 (__libc_mallopt): Add memory_mallopt probe.
10523 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10524 * manual/probes.texi: New.
10525 * manual/Makefile (chapters): Add probes.
10526 * manual/threads.texi: Set next node.
10528 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10530 [BZ #15963, #13985]
10531 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10532 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10533 Add `Chinese' to `nan' entry name.
10535 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10537 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10538 (POLYNOMIAL): Likewise.
10539 (TAYLOR_SINCOS): Likewise.
10540 (TAYLOR_SLOW): Likewise.
10541 (__sin): Use TAYLOR_SINCOS.
10543 (slow): Use TAYLOR_SLOW.
10545 (bsloww): Likewise.
10546 (csloww): Likewise.
10548 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10550 * stdlib/strtod_l.c: Fix buffer overrun.
10552 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10554 * benchtests/Makefile (bench): Add sincos.
10555 * benchtests/bench-sincos.c: New file.
10557 * math/libm-test.inc (cos_test_data): New test inputs.
10558 (sin_test_data): Likewise.
10560 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10566 (sloww1): Likewise.
10567 (sloww2): Likewise.
10568 (bsloww1): Likewise.
10569 (bsloww2): Likewise.
10570 (cslow2): Likewise.
10571 (csloww1): Likewise.
10572 (csloww2): Likewise.
10574 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10583 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10585 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10586 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10587 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10588 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10589 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10590 * elf/cache.c (print_entry): Handle the new cache flags.
10592 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10593 Aldy Hernandez <aldyh@redhat.com>
10595 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10596 Change condition to [_SOFT_FLOAT].
10597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10609 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10612 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10615 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10617 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10618 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10619 (__longjmp): Use LOAD_GP to load saved GPRs.
10620 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10621 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10622 (__sigsetjmp): Use SAVE_GP to save GPRs.
10624 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10625 Do not append -msoft-float.
10626 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10628 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10630 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10632 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10635 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10636 (_FPU_GETCW): Use initial "__" on variable and field names but not
10637 on macro parameter name.
10638 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10639 parentheses around reference to macro parameter.
10641 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10643 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10645 (ctype_startup): Use uint32_t in cast and sizeof for
10648 2013-09-11 Jia Liu <proljc@gmail.com>
10650 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10652 [__FreeBSD__]: Likewise.
10654 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10657 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10658 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10659 (strchr): Remove __strchr_sse42 ifunc selection.
10660 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10661 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10663 2013-09-11 Will Newton <will.newton@linaro.org>
10665 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10666 parameter to RES. Remove hardcoded 1000 value.
10667 * benchtests/bench-skeleton.c (main): Pass RES parameter
10668 to TIMING_INIT and multiply result by 1000.
10670 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10674 2013-09-11 Andreas Schwab <schwab@suse.de>
10676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10678 (O_TMPFILE) [__USE_GNU]: Define.
10679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10682 2013-09-11 Will Newton <will.newton@linaro.org>
10685 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10688 2013-09-11 Will Newton <will.newton@linaro.org>
10691 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10694 2013-09-11 Will Newton <will.newton@linaro.org>
10697 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10700 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10702 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10703 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10708 2013-09-10 Allan McRae <allan@archlinux.org>
10711 * manual/arith.texi (Parsing of Floats): Clarify
10715 * manual/install.texi (Running make install): Mention
10717 * INSTALL: Regenerated.
10719 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10721 * csu/init-first.c (_init): Remove the !SHARED condition around
10722 FPU control word initialization.
10723 * elf/dl-support.c (_dl_fpu_control): New variable.
10724 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10725 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10726 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10727 * math/test-fpucw-static.c: New file.
10728 * math/test-fpucw-ieee.c: New file.
10729 * math/test-fpucw-ieee-static.c: New file.
10730 * math/Makefile (tests): Add `test-fpucw-ieee' and
10732 (tests-static): New variable.
10733 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10735 [($(build-shared),yes)]
10736 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10738 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10741 2013-09-09 Allan McRae <allan@archlinux.org>
10744 * manual/string.texi (Collation Functions): Fix typo in
10746 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10749 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10752 * libio/memstream.c (open_memstream): Fix memory leak.
10753 * libio/wmemstream.c (open_wmemstream): Likewise.
10756 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10758 2013-09-09 Will Newton <will.newton@linaro.org>
10760 * malloc/Makefile: Add tst-realloc to tests.
10761 * malloc/tst-realloc.c: New file.
10763 2013-09-09 Allan McRae <allan@archlinux.org>
10766 * COPYING: Update from GNU website to fix FSF address.
10767 * COPYING.LIB: Likewise.
10769 2013-09-06 David S. Miller <davem@davemloft.net>
10771 * po/zh_TW.po: Update Chinese (traditional) translation from
10772 translation project.
10774 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10775 Joseph Myers <joseph@codesourcery.com>
10777 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10779 (obstack_chunk_alloc): New macro.
10780 (obstack_chunk_free): Likewise.
10781 (record_offset): New function.
10782 (init_locale_data): Likewise.
10783 (align_locale_data): Likewise.
10784 (add_locale_empty): Likewise.
10785 (add_locale_raw_data): Likewise.
10786 (add_locale_raw_obstack): Likewise.
10787 (add_locale_string): Likewise.
10788 (add_locale_wstring): Likewise.
10789 (add_locale_uint32): Likewise.
10790 (add_locale_uint32_array): Likewise.
10791 (add_locale_char): Likewise.
10792 (start_locale_structure): Likewise.
10793 (end_locale_structure): Likewise.
10794 (start_locale_prelude): Likewise.
10795 (end_locale_prelude): Likewise.
10796 (write_locale_data): Take locale_file structure rather than an
10798 * locale/programs/locfile.h: Include "obstack.h".
10799 (struct locale_file): Change to store locale file contents instead
10801 (init_locale_data): New prototype.
10802 (align_locale_data): Likewise.
10803 (add_locale_empty): Likewise.
10804 (add_locale_raw_data): Likewise.
10805 (add_locale_raw_obstack): Likewise.
10806 (add_locale_string): Likewise.
10807 (add_locale_wstring): Likewise.
10808 (add_locale_uint32): Likewise.
10809 (add_locale_uint32_array): Likewise.
10810 (add_locale_char): Likewise.
10811 (start_locale_structure): Likewise.
10812 (end_locale_structure): Likewise.
10813 (start_locale_prelude): Likewise.
10814 (end_locale_prelude): Likewise.
10815 (write_locale_data): Update prototype.
10816 * locale/programs/3level.h (struct TABLE): Remove result field.
10817 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10818 Use new locale_file interface.
10819 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10820 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10821 * locale/programs/ld-address.c (address_output): Use new
10822 locale_file interface.
10823 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10825 (collate_finish): Don't call collseq_table_finalize.
10826 (collate_output): Use new locale_file interface.
10827 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10829 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10830 (TABLE): Move defines earlier in file.
10831 (ELEMENT): Likewise.
10832 (DEFAULT): Likewise.
10833 (wctrans_table_add): Move macro and inline function earlier in
10835 (struct wctype_table): Move type earlier in file.
10836 (add_locale_wctype_table): New static prototype.
10837 (struct locale_ctype_t): Use logical types instead of struct iovec
10838 pointers for members.
10839 (ctype_output): Use new locale_file interface.
10840 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10841 new locale_file interface.
10842 (allocate_arrays): Update for use of new locale_file interface.
10843 * locale/programs/ld-identification.c (identification_output): Use
10844 new locale_file interface.
10845 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10846 * locale/programs/ld-messages.c (messages_output): Likewise.
10847 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10848 * locale/programs/ld-name.c (name_output): Likewise.
10849 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10850 * locale/programs/ld-paper.c (paper_output): Likewise.
10851 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10852 * locale/programs/ld-time.c (time_output): Likewise.
10854 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10856 * benchtests/Makefile: Add memrchr benchmark.
10857 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10858 benchmark as memrchr.
10859 * benchtests/bench-memrchr-ifunc.c: New file.
10860 * benchtests/bench-memrchr.c: New file.
10862 2013-09-06 Will Newton <will.newton@linaro.org>
10864 * benchtests/Makefile (string-bench): Add memcpy.
10866 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10867 Cong Wang <amwang@redhat.com>
10870 * sysdeps/unix/sysv/linux/bits/in.h
10871 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10872 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10873 before __USE_KERNEL_IPV6_DEFS uses.
10874 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10876 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10877 sockaddr_in6, or ipv6_mreq.
10879 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10881 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10882 memory access for final bytes in some large inputs.
10883 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10885 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10887 * string/test-memrchr.c: New file.
10888 * string/test-memrchr-ifunc.c: New file.
10889 * string/Makefile: Add new memrchr testcase.
10891 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10893 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10894 fanotify_init returns EPERM.
10896 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10898 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10900 (top level): Treat second token from macro or constant entries for
10901 allowed headers as allowed.
10902 * include/complex.h: Condition internal declarations on
10904 * include/fenv.h: Condition include of <stdbool.h> and internal
10905 declarations on [!_ISOMAC].
10907 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10910 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10912 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10914 * configure.in (--enable-versioning): Remove configure option.
10915 (libc_cv_asm_symver_directive): Remove configure test.
10916 (libc_cv_ld_version_script_option): Likewise.
10917 (VERSIONING): Remove variable and AC_SUBST.
10918 (DO_VERSIONING): Remove AC_DEFINE.
10919 * configure: Regenerated.
10920 * config.h.in (DO_VERSIONING): Remove macro.
10921 * Makerules [$(versioning) = yes]: Change conditionals to
10922 [$(build-shared) = yes].
10923 * config.make.in (versioning): Remove variable.
10924 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10925 [$(build-shared) = yes].
10926 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10927 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10928 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10929 [$(build-shared) = yes].
10930 * extra-lib.mk [$(versioning) = yes]: Likewise.
10931 * hurd/Makefile [$(versioning) = yes]: Likewise.
10932 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10934 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10936 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10937 [SHARED && !NO_HIDDEN].
10938 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10940 [SHARED && DO_VERSIONING]: Likewise..
10941 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10942 [$(build-shared) = yes].
10943 * manual/install.texi (--disable-versioning): Remove
10945 * INSTALL: Regenerated.
10946 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10948 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10949 [$(build-shared) = yes].
10950 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10951 * sysdeps/i386/i686/multiarch/strstr-c.c
10952 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10953 [SHARED && !NO_HIDDEN].
10954 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10955 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10956 * sysdeps/powerpc/powerpc32/dl-machine.c
10957 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10958 * sysdeps/powerpc/powerpc32/sysdep.h
10959 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10960 to [SHARED && PIC && !NO_HIDDEN].
10961 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10962 conditional to [SHARED].
10964 2013-09-04 Will Newton <will.newton@linaro.org>
10966 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10967 * benchtests/bench-string.h: Include bench-timing.h instead
10968 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10969 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10970 call to HP_TIMING_DIFF_INIT.
10971 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10972 instead of hp-timing.h macros.
10973 * benchtests/bench-memchr.c: Likewise.
10974 * benchtests/bench-memcmp.c: Likewise.
10975 * benchtests/bench-memcpy.c: Likewise.
10976 * benchtests/bench-memmem.c: Likewise.
10977 * benchtests/bench-memmove.c: Likewise.
10978 * benchtests/bench-memset.c: Likewise.
10979 * benchtests/bench-rawmemchr.c: Likewise.
10980 * benchtests/bench-strcasecmp.c: Likewise.
10981 * benchtests/bench-strcasestr.c: Likewise.
10982 * benchtests/bench-strcat.c: Likewise.
10983 * benchtests/bench-strchr.c: Likewise.
10984 * benchtests/bench-strcmp.c: Likewise.
10985 * benchtests/bench-strcpy.c: Likewise.
10986 * benchtests/bench-strcpy_chk.c: Likewise.
10987 * benchtests/bench-strlen.c: Likewise.
10988 * benchtests/bench-strncasecmp.c: Likewise.
10989 * benchtests/bench-strncat.c: Likewise.
10990 * benchtests/bench-strncmp.c: Likewise.
10991 * benchtests/bench-strncpy.c: Likewise.
10992 * benchtests/bench-strnlen.c: Likewise.
10993 * benchtests/bench-strpbrk.c: Likewise.
10994 * benchtests/bench-strrchr.c: Likewise.
10995 * benchtests/bench-strspn.c: Likewise.
10996 * benchtests/bench-strstr.c: Likewise.
10998 2013-09-04 Will Newton <will.newton@linaro.org>
11000 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11002 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11005 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11006 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11007 * math/libm-test.inc (lgamma_test_data): Add more tests.
11008 * sysdeps/i386/fpu/libm-test-ulps: Update.
11009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11011 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11013 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11014 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11017 Add strcmp-sse2-unaligned
11018 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11020 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11022 * Versions.def (libc): Add GLIBC_2.19.
11024 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11026 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11027 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11029 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11032 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11033 intermediate calculations in recurrence.
11034 (__ieee754_ynf): Likewise.
11035 * math/libm-test.inc (jn_test_data): Do not allow spurious
11036 underflow exception. Add more tests.
11037 (yn_test_data): Add more tests.
11038 * sysdeps/i386/fpu/libm-test-ulps: Update.
11039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11041 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11045 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11047 * csu/init-first.c: Fix then/than typos.
11048 * locale/programs/ld-collate.c: Likewise.
11049 * locale/programs/linereader.h: Likewise.
11050 * manual/charset.texi: Likewise.
11051 * manual/filesys.texi: Likewise.
11052 * manual/stdio.texi: Likewise.
11053 * manual/string.texi: Likewise.
11054 * stdlib/fmtmsg.c: Likewise.
11055 * sysdeps/i386/stpncpy.S: Likewise.
11056 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11057 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11058 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11059 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11061 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11063 * elf/dl-open.c: Fix typos.
11064 * iconvdata/gbbig5.c: Likewise.
11065 * iconvdata/iso-2022-jp.c: Likewise.
11066 * iconv/gconv_int.h: Likewise.
11067 * iconv/loop.c: Likewise.
11068 * nis/rpcsvc/nis.h: Likewise.
11069 * resolv/ns_name.c: Likewise.
11070 * stdio-common/vfscanf.c: Likewise.
11071 * streams/stropts.h: Likewise.
11072 * sunrpc/rpc_thread.c: Likewise.
11073 * sysdeps/i386/strpbrk.S: Likewise.
11074 * sysdeps/ieee754/k_standard.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11077 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11078 * sysdeps/mach/hurd/profil.c: Likewise.
11079 * sysdeps/s390/dl-procinfo.h: Likewise.
11080 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11081 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11082 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11083 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11086 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11088 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11091 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11093 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11094 aix specific files.
11095 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11097 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11098 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11099 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11104 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11105 Roland McGrath <roland@hack.frob.com>
11107 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11108 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11110 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11112 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11113 __executable_start symbol instead of _start.
11115 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11117 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11118 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11120 * sysdeps/gnu/ldsodefs.h: ... this new file.
11122 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11123 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11124 instead of ELFOSABI_LINUX.
11126 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11127 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11128 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11129 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11131 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11132 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11136 (ibm_extended_long_double): Add ieee_nan member.
11137 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11138 (do_test): New function.
11140 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11142 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11143 functions, renamed from truncdfsf_test, trunctfsf_test,
11145 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11147 (do_test): Run all these.
11149 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11151 * argp/argp-help.c: Fix typos.
11152 * argp/argp-parse.c: Likewise.
11153 * debug/backtracesyms.c: Likewise.
11154 * elf/elf.h: Likewise.
11155 * malloc/malloc.c: Likewise.
11156 * nis/nis_print.c: Likewise.
11157 * resolv/res_comp.c: Likewise.
11158 * stdlib/stdlib.h: Likewise.
11159 * sunrpc/clnt_tcp.c: Likewise.
11160 * sunrpc/clnt_udp.c: Likewise.
11161 * sunrpc/clnt_unix.c: Likewise.
11162 * sysdeps/unix/bsd/ptsname.c: Likewise.
11163 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11171 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11173 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11175 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11178 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11181 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11182 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11183 ($(objpfx)bug-dl-leaf): New rule.
11184 ($(objpfx)bug-dl-leaf.so): Likewise.
11185 ($(objpfx)bug-dl-leaf.out): Likewise.
11186 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11187 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11188 * dlfcn/bug-dl-leaf.c: New test.
11189 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11190 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11191 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11192 (dlclose): Likewise.
11193 (dlmopen): Likewise.
11195 2013-08-27 Roland McGrath <roland@hack.frob.com>
11197 * include/netdb.h [!_ISOMAC]:
11198 Don't include <tls.h>.
11199 (h_errno, __libc_h_errno): Move declaration and macros out of
11202 * include/resolv.h [_RESOLV_H_]:
11203 Don't include <tls.h>.
11204 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11205 * resolv/res_libc.c: Don't include <tls.h>.
11206 (_res): Use __attribute__ ((nocommon)) in place of
11207 __attribute__ ((section (".bss"))).
11209 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11210 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11212 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11214 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11215 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11217 * resolv/res_mkquery.c: Include <sys/time.h>.
11219 * inet/ifreq.c: Moved to ...
11220 * sysdeps/unix/ifreq.c: ... here.
11221 * inet/ifreq.c: New file, true stub version.
11223 * socket/sa_len.c: New file.
11224 * socket/Makefile (aux): Add it.
11225 * sysdeps/unix/sysv/linux/Makefile
11226 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11227 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11228 and #include <socket/sa_len.c>.
11229 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11230 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11232 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11233 * bits/socket.h: ... here.
11235 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11236 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11237 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11239 2013-08-27 Andreas Schwab <schwab@suse.de>
11242 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11243 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11244 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11245 * string/test-strcasecmp.c (test_main): Run tests in several
11247 * string/test-strncasecmp.c (test_main): Likewise.
11249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11250 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11251 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11252 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11253 (__strncasecmp_ssse3) [PIC]: Likewise.
11255 2013-08-26 Roland McGrath <roland@hack.frob.com>
11257 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11259 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11260 instead of explicitly declaring xdecrypt.
11261 * nis/nss_nis/nis-publickey.c: Likewise.
11263 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11266 * nscd/aicache.c: Include res_hconf.h.
11267 (addhstaiX): Initialize res_hconf.
11269 2013-08-26 Andreas Schwab <schwab@suse.de>
11271 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11272 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11274 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11276 * nscd/aicache.c (addhstaiX): Fix indentation.
11278 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11280 * configure.ac: Quote $build_pt_chown test.
11281 * configure: Regenerated.
11283 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11286 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11287 * math/s_cexpf.c (__cexpf): Likewise.
11288 * math/s_cexpl.c (__cexpl): Likewise.
11289 * math/libm-test.inc (cexp_test_data): Correct expected return
11290 value for NaN + i0. Add another test.
11292 2013-08-22 David S. Miller <davem@davemloft.net>
11294 * po/ca.po: Update Catalan translation from translation project.
11295 * po/uk.po: Add Ukrainian translations from translation project.
11297 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11300 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11301 is infinite, not alongside NaN test.
11302 * math/s_fdimf.c (__fdimf): Likewise.
11303 * math/s_fdiml.c (__fdiml): Likewise.
11304 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11305 errno is unchanged.
11307 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11309 * argp/argp-help.c: Fix typos.
11310 * crypt/speeds.c: Likewise.
11311 * csu/check_fds.c: Likewise.
11312 * elf/dl-load.c: Likewise.
11313 * elf/dl-open.c: Likewise.
11314 * elf/reldep3.c: Likewise.
11315 * elf/reldep.c: Likewise.
11316 * elf/sprof.c: Likewise.
11317 * iconv/iconv_charmap.c: Likewise.
11318 * iconv/skeleton.c: Likewise.
11319 * iconv/strtab.c: Likewise.
11320 * io/lockf64.c: Likewise.
11321 * libio/libioP.h: Likewise.
11322 * resolv/gai_notify.c: Likewise.
11323 * resolv/ns_name.c: Likewise.
11324 * resolv/ns_samedomain.c: Likewise.
11325 * resolv/res_send.c: Likewise.
11326 * stdlib/random.c: Likewise.
11327 * sunrpc/rpc/xdr.h: Likewise.
11328 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11329 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11330 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11331 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11333 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11335 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11336 * sysdeps/mach/hurd/check_fds.c: Likewise.
11337 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11338 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11340 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11341 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11342 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11343 * sysdeps/pthread/aio_notify.c: Likewise.
11344 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11345 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11346 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11348 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11350 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11352 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11353 version if bit_Slow_SSE4_2 is set.
11354 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11355 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11357 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11360 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11361 trampoline stack frame information.
11362 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11363 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11364 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11365 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11366 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11367 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11368 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11369 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11371 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11372 interrupting a syscall and set with option SA_SIGINFO.
11374 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11377 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11378 argument is infinite.
11379 * math/s_cprojf.c (__cprojf): Likewise.
11380 * math/s_cprojl.c (__cprojl): Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11382 * math/libm-test.inc (cproj_test_data): Add more tests.
11384 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11386 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11387 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11388 size. Use __ffs to determine corresponding shift.
11390 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11391 Roland McGrath <roland@hack.frob.com>
11393 * Makefile (INSTALL): Remove trailing blank lines from output of
11396 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11398 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11399 Align 32 bit compat elf_greg to 8 bytes.
11401 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11403 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11405 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11407 * string/strcoll_l.c (coll_seq): New structure.
11408 (get_next_seq_cached): New function.
11409 (get_next_seq): New function.
11410 (do_compare): New function.
11411 (STRCOLL): Use GNU style definition. Simplify implementation
11412 by using get_next_seq, get_next_seq_cached and do_compare.
11414 2013-08-16 Florian Weimer <fweimer@redhat.com>
11418 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11420 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11422 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11423 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11424 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11426 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11427 GETDENTS_64BIT_ALIGNED.
11428 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11429 * manual/filesys.texi (Reading/Closing Directory): Document
11430 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11432 * manual/conf.texi (Limits for Files): Add portability note to
11433 NAME_MAX, PATH_MAX.
11434 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11436 2013-08-13 Andreas Schwab <schwab@suse.de>
11439 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11441 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11442 LDBL_MAX_EXP >= 16384]: Add tests for it.
11444 2013-08-12 David S. Miller <davem@davemloft.net>
11446 * version.h (RELEASE): Set to "development".
11447 (VERSION): Set to "2.18.90".
11448 * NEWS: Add 2.19 section.
11450 2013-08-03 David S. Miller <davem@davemloft.net>
11452 * po/ko.po: Update Korean translation from translation project.
11454 2013-08-01 David S. Miller <davem@davemloft.net>
11456 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11457 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11460 2013-07-30 David S. Miller <davem@davemloft.net>
11462 * po/fr.po: Update French translation from translation project.
11464 2013-07-28 David S. Miller <davem@davemloft.net>
11466 * po/cs.po: Update Czech translation from translation project.
11468 * po/sv.po: Update Swedish translation from translation project.
11470 2013-07-27 David S. Miller <davem@davemloft.net>
11472 * po/eo.po: Update Esperanto translation from translation project.
11474 * po/vi.po: Update Vietnamese translation from translation project.
11476 * po/de.po: Update German translation from translation project.
11478 2013-07-26 David S. Miller <davem@davemloft.net>
11480 * po/bg.po: Update Bulgarian translation from translation project.
11482 * po/nl.po: Update Dutch translation from translation project.
11483 * po/pl.po: Update Polish translation from translation project.
11484 * po/ru.po: Update Russian translation from translation project.
11486 2013-07-24 David S. Miller <davem@davemloft.net>
11488 * po/libc.pot: Update.
11490 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11492 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11493 variable page size.
11494 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11496 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11498 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11500 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11502 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11503 Andreas Schwab <schwab@suse.de>
11504 Roland McGrath <roland@hack.frob.com>
11505 Joseph Myers <joseph@codesourcery.com>
11506 Carlos O'Donell <carlos@redhat.com>
11509 * config.h.in: Define HAVE_PT_CHOWN.
11510 * config.make.in (build-pt-chown): New variable.
11511 * configure.in (--enable-pt_chown): New configure option.
11512 * configure: Regenerate.
11513 * login/Makefile: Include Makeconfig. Build pt_chown only if
11514 build-pt-chown is enabled.
11515 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11516 pt_chown to fix pty ownership.
11517 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11519 * manual/install.texi (Configuring and compiling): Mention
11520 --enable-pt_chown. Add @findex for grantpt.
11521 * INSTALL: Regenerate.
11523 2013-07-20 David S. Miller <davem@davemloft.net>
11525 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11526 difference between 32-bit and 64-bit.
11528 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11531 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11532 Avoid system header dependency with -ffreestanding.
11533 ($(objpfx)bits/syscall%d): Likewise.
11535 2013-07-13 David S. Miller <davem@davemloft.net>
11537 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11538 underflows from atanl/atan2l due to bug 15319.
11539 (casinh_test_data): Likewise.
11541 2013-07-07 David S. Miller <davem@davemloft.net>
11543 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11545 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11547 * sysdeps/i386/fpu/libm-test-ulps: Update.
11548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11550 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11552 * configure.in (--enable-lock-elision): Fix message text.
11553 * INSTALL: Regenerate.
11554 * configure: Regenerate.
11556 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11560 2013-07-03 Andreas Jaeger <aj@suse.de>
11562 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11564 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11565 (ptrace_peeksiginfo_args): Add.
11566 (__ptrace_peeksiginfo_flags): Add.
11567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11571 2013-07-03 Allan McRae <allan@archlinux.org>
11573 * sysdeps/i386/fpu/libm-test-ulps: Update.
11575 2013-07-02 David S. Miller <davem@davemloft.net>
11577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11579 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11583 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11585 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11588 2013-07-02 Andi Kleen <ak@linux.intel.com>
11590 * config.h.in (ENABLE_LOCK_ELISION): Add.
11591 * configure.in (--enable-lock-elision): Add option.
11592 * manual/install.texi: Document --enable lock elision.
11593 * configure: Regenerate
11594 * INSTALL: Regenerate.
11596 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11598 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11599 SSE4.2 strcasecmp for libc.a.
11600 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11602 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11605 * soft-fp/op-common.h (_FP_FMA): New macro.
11606 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11607 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11608 (_FP_MUL_MEAT_1_imm): ... here.
11609 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11610 (_FP_MUL_MEAT_1_wide): ... here.
11611 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11612 (_FP_MUL_MEAT_1_hard): ... here.
11613 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11614 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11615 (_FP_MUL_MEAT_2_wide): ... here.
11616 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11617 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11618 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11619 (_FP_MUL_MEAT_2_gmp): ... here.
11620 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11621 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11622 (_FP_MUL_MEAT_4_wide): ... here.
11623 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11624 (_FP_MUL_MEAT_4_gmp): ... here.
11625 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11626 (_FP_WFRACBITS_DW_S): Likewise.
11627 (_FP_WFRACXBITS_DW_S): Likewise.
11628 (_FP_HIGHBIT_DW_S): Likewise.
11629 (FP_FMA_S): Likewise.
11630 (_FP_FRAC_HIGH_DW_S): Likewise.
11631 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11632 (_FP_WFRACBITS_DW_D): Likewise.
11633 (_FP_WFRACXBITS_DW_D): Likewise.
11634 (_FP_HIGHBIT_DW_D): Likewise.
11635 (FP_FMA_D): Likewise.
11636 (_FP_FRAC_HIGH_DW_D): Likewise.
11637 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11638 (_FP_WFRACBITS_DW_E): Likewise.
11639 (_FP_WFRACXBITS_DW_E): Likewise.
11640 (_FP_HIGHBIT_DW_E): Likewise.
11641 (FP_FMA_E): Likewise.
11642 (_FP_FRAC_HIGH_DW_E): Likewise.
11643 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11644 (_FP_WFRACBITS_DW_Q): Likewise.
11645 (_FP_WFRACXBITS_DW_Q): Likewise.
11646 (_FP_HIGHBIT_DW_Q): Likewise.
11647 (FP_FMA_Q): Likewise.
11648 (_FP_FRAC_HIGH_DW_Q): Likewise.
11649 * soft-fp/fmasf4.c: New file.
11650 * soft-fp/fmadf4.c: Likewise.
11651 * soft-fp/fmatf4.c: Likewise.
11653 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11656 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11660 (index_Slow_SSE4_2): Likewise.
11661 (index_Prefer_PMINUB_for_stringop): Likewise.
11662 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11663 bit_Slow_SSE4_2 is set.
11664 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11665 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11667 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11669 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11670 rtld_global._dl_hwcap2.
11671 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11673 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11674 POWER8 feature descriptions defined in _dl_hwcap2.
11675 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11676 string handling for POWER8 feature bits.
11677 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11678 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11679 _dl_powerpc_cap_flags.
11680 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11681 * sysdeps/powerpc/rtld-global-offsets.sym
11682 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11683 _dl_hwcap2 in the rtld_global_ro structure.
11685 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11687 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11688 hardware capabilities in support of AT_HWCAP2.
11689 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11690 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11692 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11693 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11694 explicitly the unknown a_type display mechanism is used.
11695 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11696 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11698 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11699 to macro prototype for AT_HWCAP2 support.
11700 * sysdeps/i386/dl-procinfo.h: Likewise.
11701 * sysdeps/s390/dl-procinfo.h: Likewise.
11702 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11703 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11704 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11705 return -1 for unknown a_type display fallback.
11706 * sysdeps/sparc/dl-procinfo.h: Likewise.
11707 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11708 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11710 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11712 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11713 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11715 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11718 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11719 mprotect making __stack_prot writable.
11721 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11722 Joseph Myers <joseph@codesourcery.com>
11724 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11725 as being properly aligned.
11727 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11729 * dlfcn/modstatic5.c: New file.
11730 * dlfcn/tststatic5.c: New file.
11731 * dlfcn/Makefile (tests): Add tststatic5.
11732 (tests-static): Likewise.
11733 (modules-names): Add modstatic5.
11734 (tststatic5-ENV): New variable.
11735 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11738 * elf/dl-support.c (_dl_main_map): New variable.
11739 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11740 (_dl_nns, _dl_load_adds): Set to 1.
11741 (_dl_initial_searchlist): Refer to _dl_main_map.
11742 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11743 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11744 call to _dl_get_origin.
11745 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11747 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11748 * dlfcn/modstatic3.c: New file.
11749 * dlfcn/tststatic3.c: New file.
11750 * dlfcn/tststatic4.c: New file.
11751 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11752 (tests-static): Likewise.
11753 (modules-names): Add modstatic3.
11754 (tststatic3-ENV, tststatic4-ENV): New variables.
11755 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11756 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11758 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11760 * configure.in (CC): Require GCC version 4.4 or later.
11761 * configure: Regenerated.
11762 * manual/install.texi (Tools for Compilation): Update GCC version
11764 * INSTALL: Regenerated.
11766 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11769 * string/test-memcmp.c (check2): New.
11770 (main): Call check2.
11772 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11774 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11777 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11779 (dl_open_worker) [!SHARED]: ... here.
11781 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11783 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11785 2013-06-25 Richard Henderson <rth@redhat.com>
11787 * locale/programs/locarchive.c: Include <libc-internal.h>
11789 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11791 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11792 trailing whitespace removed.
11794 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11797 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11798 * locale/programs/locarchive.c: Include libc-mmap.h.
11799 (prepare_address_space): Take two new outputs (the mmap base and len).
11800 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11802 (create_archive): Declare new mmap base and len values for
11803 prepare_address_space, and store the result in ah.
11804 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11805 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11806 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11807 Declare new mmap base and len values for
11808 prepare_address_space, and store the result in new_ah.
11809 (open_archive): Declare new mmap base and len values for
11810 prepare_address_space, and store the result in ah.
11811 (close_archive): If ah->mmap_base is not NULL, use that and
11812 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11813 * sysdeps/generic/libc-mmap.h: New file.
11815 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11817 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11818 (ALIGN_UP): Likewise.
11819 (PTR_ALIGN_DOWN): Likewise.
11820 (PTR_ALIGN_UP): Likewise.
11822 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11824 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11825 entry mapped to PPC_PLATFORM_POWER8.
11826 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11828 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11829 (_dl_string_platform): Add case for exporting platform position for
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11832 search path to sysdeps/powerpc/powerpc32/power8 directory.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11834 search path to sysdeps/powerpc/powerpc64/power8 directory.
11835 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11836 power7 directories.
11837 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11838 power7 directories.
11840 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11842 * INSTALL: Regenerate.
11844 * nscd/connections.c (nscd_init): Fix comment.
11846 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11848 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11851 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11852 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11854 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11856 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11858 (DL_DST_REQ_STATIC): Remove macro.
11860 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11863 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11864 with a shift of 0 bits.
11866 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11868 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11871 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11874 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11876 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11878 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11879 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11880 accepts -fno-tree-loop-distribute-patterns.
11881 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11882 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11884 * string/memset.c (memset): Likewise.
11885 * string/test-memmove.c (simple_memmove): Disable loop transformation
11887 * string/test-memset.c (simple_memset): Likewise.
11888 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11889 * benchtests/bench-memset.c (simple_memset): Likewise.
11890 * configure: Regenerated.
11892 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11894 * math/test-misc.c (main): Ignore fesetround failure when failures
11895 of subsequent rounding tests would be ignored.
11898 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11899 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11900 * math/fegetenv.c (__fegetenv): Return 0.
11901 * math/fegetexcept.c (fegetexcept): Return 0.
11902 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11904 * math/feholdexcpt.c (feholdexcept): Return 0.
11905 * math/fesetenv.c (__fesetenv): Return 0.
11906 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11907 argument FE_TONEAREST.
11908 * math/feupdateenv.c (__feupdateenv): Return 0.
11909 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11911 2013-06-18 Roland McGrath <roland@hack.frob.com>
11913 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11914 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11915 ($(objpfx)rtld-%.os rules): Use them.
11917 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11922 2013-06-17 Roland McGrath <roland@hack.frob.com>
11924 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11925 length of target pattern, then descending length of dependency pattern.
11926 * configure.in (AWK): Require gawk 3.1.2 or newer.
11927 * manual/install.texi (Tools for Compilation): Say that we do.
11928 * configure: Regenerated.
11930 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11931 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11932 * scripts/sysd-rules.awk: ... this new script.
11933 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11934 than a glob-style pattern.
11936 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11938 * math/test-misc.c (main): Do not treat incorrectly rounded
11939 conversions as failure unless ROUNDING_TESTS passes.
11941 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11944 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11945 restore exception state around main square root computation, then
11946 check for inexactness explicitly.
11948 * math/libm-test.inc (fma_test_data): Add another test.
11950 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11952 * manual/threads.texi (Non-POSIX Extensions): New document
11953 node. Document pthread_getattr_default_np and
11954 pthread_setattr_default_np.
11956 * Versions.def (libpthread): Add GLIBC_2.18.
11957 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11966 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11977 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11980 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11982 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11983 H.J. Lu <hjl.tools@gmail.com>
11986 * sysdeps/x86_64/rtld-memset.c: Remove file.
11987 * sysdeps/x86_64/rtld-memset.S: New file.
11989 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11991 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11992 (test_in_one_mode): Take arguments for whether the rounding mode
11993 is supported for each floating-point type.
11994 (do_test): Pass new arguments to test_in_one_mode using
11997 2013-06-13 Roland McGrath <roland@hack.frob.com>
11999 * posix/tst-waitid.c (do_test): Distinguish different instances of
12000 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12001 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12002 before entering the kernel for waitpid.
12004 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12006 * NEWS: Fix note on clock function precision. Text by Roland
12009 2013-06-13 Roland McGrath <roland@hack.frob.com>
12011 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12012 it into place only when and if the sanity check passes.
12014 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12016 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12017 output for whether conversion result is exact. Take argument
12018 indicating whether type is IBM long double.
12019 (round_for_all): Change need_exact field to ibm_ld.
12020 * stdlib/tst-strtod-round.c (struct exactness): New type.
12021 (struct test): Change bool ld_ok field to struct exactness exact.
12022 (TEST): Update all definitions for change to field.
12023 (tests): Regenerate array contents.
12024 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12025 field value. Check for IBM long double here.
12026 (do_test): Update calls to test_in_one_mode.
12028 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12031 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12032 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12034 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12037 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12038 generated by the compiler on loop optimizations.
12039 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12040 general definitions.
12042 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12044 * math/bug-nextafter.c: Include <math-tests.h>.
12045 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12047 * math/bug-nexttoward.c: Include <math-tests.h>.
12048 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12050 * math/test-misc.c: Include <math-tests.h>.
12051 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12054 2013-06-12 Andreas Jaeger <aj@suse.de>
12056 * po/ia.po: Update Interlingua translation from translation
12059 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12061 * include/fenv.h: Include stdbool.h.
12062 (struct rm_ctx): New structure.
12063 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12065 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12066 (SET_RESTORE_ROUNDF): Likewise.
12067 (SET_RESTORE_ROUNDL): Likewise.
12068 (SET_RESTORE_ROUND_NOEX): Likewise.
12069 (SET_RESTORE_ROUND_NOEXF): Likewise.
12070 (SET_RESTORE_ROUND_NOEXL): Likewise.
12071 (SET_RESTORE_ROUND_53BIT): Likewise.
12072 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12073 (libc_feresetround_noexf_ctx): Likewise.
12074 (libc_feresetround_noexl_ctx): Likewise.
12075 (libc_feholdsetround_53bit_ctx): Likewise.
12076 (libc_feresetround_53bit_ctx): Likewise.
12077 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12078 (libc_feholdexcept_setround_sse_ctx): New function.
12079 (libc_fesetenv_sse_ctx): Likewise.
12080 (libc_feupdateenv_sse_ctx): Likewise.
12081 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12082 (libc_feholdexcept_setround_387_ctx): Likewise.
12083 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12084 (libc_feholdsetround_387_prec_ctx): Likewise.
12085 (libc_feholdsetround_387_ctx): Likewise.
12086 (libc_feholdsetround_387_53bit_ctx): Likewise.
12087 (libc_feholdsetround_sse_ctx): Likewise.
12088 (libc_feresetround_sse_ctx): Likewise.
12089 (libc_feresetround_387_ctx): Likewise.
12090 (libc_feupdateenv_387_ctx): Likewise.
12091 (libc_feholdexcept_setroundf_ctx): Define macro.
12092 (libc_fesetenvf_ctx): Likewise.
12093 (libc_feupdateenvf_ctx): Likewise.
12094 (libc_feholdsetroundf_ctx): Likewise.
12095 (libc_feresetroundf_ctx): Likewise.
12096 (libc_feholdexcept_setround_ctx): Likewise.
12097 (libc_fesetenv_ctx): Likewise.
12098 (libc_feupdateenv_ctx): Likewise.
12099 (libc_feholdsetround_ctx): Likewise.
12100 (libc_feresetround_ctx): Likewise.
12101 (libc_feholdexcept_setroundl_ctx): Likewise.
12102 (libc_feupdateenvl_ctx): Likewise.
12103 (libc_feholdsetroundl_ctx): Likewise.
12104 (libc_feresetroundl_ctx): Likewise.
12105 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12106 (libc_feresetround_53bit_ctx): Likewise.
12108 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12110 * locale/iso-639.def: Convert to UTF-8.
12112 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12114 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12115 (EXCEPTION_TESTS_double): Likewise.
12116 (EXCEPTION_TESTS_long_double): Likewise.
12117 (EXCEPTION_TESTS): Likewise.
12118 * math/libm-test.inc (test_exceptions): Only test exceptions if
12119 EXCEPTION_TESTS (FLOAT).
12121 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12123 * benchtests/Makefile (string-bench): Add strcpy_chk and
12125 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12126 * benchtests/bench-stpcpy_chk.c: New file.
12127 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12128 * benchtests/bench-strcpy_chk.c: New file.
12129 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12131 (do_test): Likewise.
12133 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12135 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12136 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12137 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12138 with tabs where appropriate.
12139 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12141 [PPC_PLATFORM_PPC440]: Likewise.
12142 [PPC_PLATFORM_PPC464]: Likewise.
12143 [PPC_PLATFORM_PPC476]: Likewise.
12144 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12145 ppc464, and ppc476 platform strings merging from ports/
12148 2013-06-11 Andreas Schwab <schwab@suse.de>
12151 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12152 (from_ucs4_idx): Regenerate.
12153 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12154 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12155 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12156 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12157 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12158 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12159 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12160 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12161 from FROM_LOOP and TO_LOOP specific macros.
12162 (BODY): Handle combining characters.
12163 * iconvdata/BIG5HKSCS.irreversible: Update.
12164 * iconvdata/BIG5HKSCS.precomposed: New file.
12165 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12167 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12169 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12171 * include/sys/time.h: Fix indentation and add copyright header.
12173 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12174 (do_test): Likewise.
12175 * string/test-memchr.c (do_one_test): Likewise.
12176 (do_test): Likewise.
12177 * string/test-memcmp.c (do_one_test): Likewise.
12178 (do_test): Likewise.
12179 * string/test-memcpy.c (do_one_test): Likewise.
12180 (do_test): Likewise.
12181 * string/test-memmem.c (do_one_test): Likewise.
12182 (do_test): Likewise.
12183 (do_random_tests): Likewise.
12184 * string/test-memmove.c (do_one_test): Likewise.
12185 (do_test): Likewise.
12186 * string/test-memset.c (do_one_test): Likewise.
12187 (do_test): Likewise.
12188 * string/test-rawmemchr.c (do_one_test): Likewise.
12189 (do_test): Likewise.
12190 * string/test-strcasecmp.c (do_one_test): Likewise.
12191 (do_test): Likewise.
12192 * string/test-strcasestr.c (do_one_test): Likewise.
12193 (do_test): Likewise.
12194 * string/test-strcat.c (do_one_test): Likewise.
12195 (do_test): Likewise.
12196 * string/test-strchr.c (do_one_test): Likewise.
12197 (do_test): Likewise.
12198 * string/test-strcmp.c (do_one_test): Likewise.
12199 (do_test): Likewise.
12200 * string/test-strcpy.c (do_one_test): Likewise.
12201 (do_test): Likewise.
12202 * string/test-string.h: Likewise.
12203 (test_init): Likewise.
12204 * string/test-strlen.c (do_one_test): Likewise.
12205 (do_test): Likewise.
12206 * string/test-strncasecmp.c (do_one_test): Likewise.
12207 (do_test): Likewise.
12208 * string/test-strncat.c (do_one_test): Likewise.
12209 (do_test): Likewise.
12210 * string/test-strncmp.c (do_one_test): Likewise.
12211 (do_test_limit): Likewise.
12212 (do_test): Likewise.
12213 * string/test-strncpy.c (do_one_test): Likewise.
12214 (do_test): Likewise.
12215 * string/test-strnlen.c (do_one_test): Likewise.
12216 (do_test): Likewise.
12217 * string/test-strpbrk.c (do_one_test): Likewise.
12218 (do_test): Likewise.
12219 * string/test-strrchr.c (do_one_test): Likewise.
12220 (do_test): Likewise.
12221 * string/test-strspn.c (do_one_test): Likewise.
12222 (do_test): Likewise.
12223 * string/test-strstr.c (do_one_test): Likewise.
12224 (do_test): Likewise.
12226 * benchtests/Makefile (string-bench): Add string benchmarks.
12227 * benchtests/bench-bcopy-ifunc.c: New file.
12228 * benchtests/bench-bcopy.c: New file.
12229 * benchtests/bench-bzero-ifunc.c: New file.
12230 * benchtests/bench-bzero.c: New file.
12231 * benchtests/bench-memccpy-ifunc.c: New file.
12232 * benchtests/bench-memccpy.c: New file.
12233 * benchtests/bench-memchr-ifunc.c: New file.
12234 * benchtests/bench-memchr.c: New file.
12235 * benchtests/bench-memcmp-ifunc.c: New file.
12236 * benchtests/bench-memcmp.c: New file.
12237 * benchtests/bench-memmem-ifunc.c: New file.
12238 * benchtests/bench-memmem.c: New file.
12239 * benchtests/bench-memmove-ifunc.c: New file.
12240 * benchtests/bench-memmove.c: New file.
12241 * benchtests/bench-mempcpy-ifunc.c: New file.
12242 * benchtests/bench-mempcpy.c: New file.
12243 * benchtests/bench-memset-ifunc.c: New file.
12244 * benchtests/bench-memset.c: New file.
12245 * benchtests/bench-rawmemchr-ifunc.c: New file.
12246 * benchtests/bench-rawmemchr.c: New file.
12247 * benchtests/bench-stpcpy-ifunc.c: New file.
12248 * benchtests/bench-stpcpy.c: New file.
12249 * benchtests/bench-stpncpy-ifunc.c: New file.
12250 * benchtests/bench-stpncpy.c: New file.
12251 * benchtests/bench-strcasecmp-ifunc.c: New file.
12252 * benchtests/bench-strcasecmp.c: New file.
12253 * benchtests/bench-strcasestr-ifunc.c: New file.
12254 * benchtests/bench-strcasestr.c: New file.
12255 * benchtests/bench-strcat-ifunc.c: New file.
12256 * benchtests/bench-strcat.c: New file.
12257 * benchtests/bench-strchr-ifunc.c: New file.
12258 * benchtests/bench-strchr.c: New file.
12259 * benchtests/bench-strchrnul-ifunc.c: New file.
12260 * benchtests/bench-strchrnul.c: New file.
12261 * benchtests/bench-strcmp-ifunc.c: New file.
12262 * benchtests/bench-strcmp.c: New file.
12263 * benchtests/bench-strcpy-ifunc.c: New file.
12264 * benchtests/bench-strcpy.c: New file.
12265 * benchtests/bench-strcspn-ifunc.c: New file.
12266 * benchtests/bench-strcspn.c: New file.
12267 * benchtests/bench-strlen-ifunc.c: New file.
12268 * benchtests/bench-strlen.c: New file.
12269 * benchtests/bench-strncasecmp-ifunc.c: New file.
12270 * benchtests/bench-strncasecmp.c: New file.
12271 * benchtests/bench-strncat-ifunc.c: New file.
12272 * benchtests/bench-strncat.c: New file.
12273 * benchtests/bench-strncmp-ifunc.c: New file.
12274 * benchtests/bench-strncmp.c: New file.
12275 * benchtests/bench-strncpy-ifunc.c: New file.
12276 * benchtests/bench-strncpy.c: New file.
12277 * benchtests/bench-strnlen-ifunc.c: New file.
12278 * benchtests/bench-strnlen.c: New file.
12279 * benchtests/bench-strpbrk-ifunc.c: New file.
12280 * benchtests/bench-strpbrk.c: New file.
12281 * benchtests/bench-strrchr-ifunc.c: New file.
12282 * benchtests/bench-strrchr.c: New file.
12283 * benchtests/bench-strspn-ifunc.c: New file.
12284 * benchtests/bench-strspn.c: New file.
12285 * benchtests/bench-strstr-ifunc.c: New file.
12286 * benchtests/bench-strstr.c: New file.
12288 * benchtests/Makefile: Disable parallel execution of targets.
12289 (string-bench): Add memcpy.
12290 (benchset): New variable to store a list of benchmark sets.
12291 (bench-func): Renamed from bench.
12292 (bench-set): New target.
12293 (bench): Depend on bench-func and bench-set.
12294 * benchtests/README: Add section on benchmark sets.
12295 * benchtests/bench-memcpy-ifunc.c: New file.
12296 * benchtests/bench-memcpy.c: New file.
12297 * benchtests/bench-string.h: New file.
12299 2013-06-11 Andreas Schwab <schwab@suse.de>
12302 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12303 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12304 values in the triple.
12305 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12306 terminator in the group key.
12308 2013-06-11 Andreas Jaeger <aj@suse.de>
12310 * po/zh_TW.po: Update Chinese (traditional) translation from
12311 translation project.
12313 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12315 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12316 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12317 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12318 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12319 (clock_getcpuclockid): Likewise.
12320 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12321 Add weak_alias and libc_hidden_def.
12322 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12323 * rt/clock_gettime.c (clock_gettime): Rename to
12324 __clock_gettime. Add weak_alias and libc_hidden_def.
12325 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12326 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12327 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12328 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12329 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12331 * rt/clock_settime.c (clock_settime): Rename to
12332 __clock_settime. Add weak_alias and libc_hidden_def.
12333 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12335 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12337 * mach/err_boot.sub: Remove trailing whitespace.
12338 * mach/err_ipc.sub: Likewise.
12339 * mach/err_mach.sub: Likewise.
12341 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12342 (ROUNDING_TESTS_double): Likewise.
12343 (ROUNDING_TESTS_long_double): Likewise.
12344 (ROUNDING_TESTS): Likewise.
12345 * math/libm-test.inc: Include <math-tests.h>.
12346 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12347 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12348 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12349 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12351 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12353 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12356 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12358 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12359 otherwise empty TRANS lines.
12360 * sysdeps/gnu/errlist.c: Regenerated.
12362 * catgets/gencat.c (error_print): Use (void) in function
12364 * crypt/crypt_util.c (__init_des): Likewise.
12365 * crypt/speeds.c (Stop): Likewise.
12367 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12368 * inet/ruserpass.c (token): Likewise.
12369 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12370 * intl/localealias.c (extend_alias_table): Likewise.
12371 * intl/plural-exp.c (init_germanic_plural): Likewise.
12372 * libio/fcloseall.c (__fcloseall): Likewise.
12373 * libio/genops.c (_IO_flush_all): Likewise.
12374 (_IO_flush_all_linebuffered): Likewise.
12375 (_IO_cleanup): Likewise.
12376 (_IO_iter_begin): Likewise.
12377 (_IO_iter_end): Likewise.
12378 (_IO_list_lock): Likewise.
12379 (_IO_list_unlock): Likewise.
12380 (_IO_list_resetlock): Likewise.
12381 * libio/getchar.c (getchar): Likewise.
12382 * libio/getchar_u.c (getchar_unlocked): Likewise.
12383 * libio/getwchar.c (getwchar): Likewise.
12384 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12385 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12386 * login/getpt.c (__getpt): Likewise.
12387 * login/tst-utmp.c (main): Likewise.
12388 * malloc/hooks.c (__malloc_check_init): Likewise.
12389 * malloc/malloc.c (__malloc_stats): Likewise.
12390 * malloc/mtrace.c (tr_break): Likewise.
12391 (mtrace): Likewise.
12392 (muntrace): Likewise.
12393 * misc/fstab.c (endfsent): Likewise.
12394 * misc/getclktck.c (__getclktck): Likewise.
12395 * misc/getdtsz.c (__getdtablesize): Likewise.
12396 * misc/gethostid.c (gethostid): Likewise.
12397 * misc/getpagesize.c (__getpagesize): Likewise.
12398 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12399 (__get_nprocs): Likewise.
12400 (__get_phys_pages): Likewise.
12401 (__get_avphys_pages): Likewise.
12402 * misc/getttyent.c (getttyent): Likewise.
12403 (setttyent): Likewise.
12404 (endttyent): Likewise.
12405 * misc/getusershell.c (getusershell): Likewise.
12406 (endusershell): Likewise.
12407 (setusershell): Likewise.
12408 (initshells): Likewise.
12409 * misc/hsearch.c (__hdestroy): Likewise.
12410 * misc/sync.c (sync): Likewise.
12411 * misc/syslog.c (closelog_internal): Likewise.
12412 (closelog): Likewise.
12413 * misc/ttyslot.c (ttyslot): Likewise.
12414 * misc/vhangup.c (vhangup): Likewise.
12415 * posix/fork.c (__fork): Likewise.
12416 * posix/getegid.c (__getegid): Likewise.
12417 * posix/geteuid.c (__geteuid): Likewise.
12418 * posix/getgid.c (__getgid): Likewise.
12419 * posix/getpid.c (__getpid): Likewise.
12420 * posix/getppid.c (__getppid): Likewise.
12421 * posix/getuid.c (__getuid): Likewise.
12422 * posix/pause.c (pause): Likewise.
12423 * posix/setpgrp.c (setpgrp): Likewise.
12424 * posix/setsid.c (__setsid): Likewise.
12425 * posix/test-vfork.c (noop): Likewise.
12426 * resolv/gethnamaddr.c (_endhtent): Likewise.
12427 (_gethtent): Likewise.
12428 (ht_endhostent): Likewise.
12429 (gethostent): Likewise.
12430 (dns_service): Likewise.
12431 * stdlib/drand48.c (drand48): Likewise.
12432 * stdlib/lrand48.c (lrand48): Likewise.
12433 * stdlib/mrand48.c (mrand48): Likewise.
12434 * stdlib/rand.c (rand): Likewise.
12435 * stdlib/random.c (__random): Likewise.
12436 * stdlib/setenv.c (clearenv): Likewise.
12437 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12438 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12439 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12440 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12441 (__get_nprocs): Likewise.
12442 (__get_phys_pages): Likewise.
12443 (__get_avphys_pages): Likewise.
12444 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12445 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12446 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12447 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12448 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12449 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12450 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12451 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12452 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12453 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12454 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12455 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12456 * sysdeps/posix/clock.c (clock): Likewise.
12457 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12458 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12459 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12460 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12461 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12462 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12463 (__get_nprocs_conf): Likewise.
12464 (__get_phys_pages): Likewise.
12465 (__get_avphys_pages): Likewise.
12466 * time/clock.c (clock): Likewise.
12467 * time/tzset.c (__tzname_max): Likewise.
12469 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12471 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12472 (__bswap_32): Do not use "register".
12473 * crypt/crypt.c (_ufc_doit_r): Likewise.
12474 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12475 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12476 * gmon/gmon.c (__monstartup): Likewise.
12477 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12478 * hurd/hurdmalloc.c (more_memory): Likewise.
12479 (malloc): Likewise.
12481 (realloc): Likewise.
12482 (malloc_fork_prepare): Likewise.
12483 (malloc_fork_parent): Likewise.
12484 (malloc_fork_child): Likewise.
12485 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12486 (_svcauth_des): Likewise.
12487 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12488 * inet/inet_net.c (inet_network): Likewise.
12489 * inet/inet_netof.c (inet_netof): Likewise.
12490 * inet/rcmd.c (__validuser2_sa): Likewise.
12491 * io/fts.c (fts_open): Likewise.
12492 (fts_load): Likewise.
12493 (fts_close): Likewise.
12494 (fts_read): Likewise.
12495 (fts_children): Likewise.
12496 (fts_build): Likewise.
12497 (fts_stat): Likewise.
12498 (fts_sort): Likewise.
12499 (fts_alloc): Likewise.
12500 (fts_lfree): Likewise.
12501 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12502 (_IO_file_xsgetn): Likewise.
12503 (_IO_file_xsgetn_mmap): Likewise.
12504 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12505 (_IO_cookie_write): Likewise.
12506 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12507 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12508 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12509 * malloc/obstack.c (_obstack_begin): Likewise.
12510 (_obstack_begin_1): Likewise.
12511 (_obstack_newchunk): Likewise.
12512 (_obstack_allocated_p): Likewise.
12513 (obstack_free): Likewise.
12514 (_obstack_memory_used): Likewise.
12515 * misc/getttyent.c (getttynam): Likewise.
12516 (getttyent): Likewise.
12519 * misc/getusershell.c (initshells): Likewise.
12520 * misc/syslog.c (__vsyslog_chk): Likewise.
12521 * misc/ttyslot.c (ttyslot): Likewise.
12522 * nis/nis_hash.c (__nis_hash): Likewise.
12523 * posix/fnmatch_loop.c (FCT): Likewise.
12524 * posix/getconf.c (print_all): Likewise.
12526 * posix/getopt.c (exchange): Likewise.
12527 * posix/glob.c (globfree): Likewise.
12528 (prefix_array): Likewise.
12529 (__glob_pattern_type): Likewise.
12530 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12531 (NS_GET32): Likewise.
12532 (NS_PUT16): Likewise.
12533 (NS_PUT32): Likewise.
12534 * resolv/gethnamaddr.c (getanswer): Likewise.
12535 (gethostbyname2): Likewise.
12536 (gethostbyaddr): Likewise.
12537 (_gethtent): Likewise.
12538 (_gethtbyname2): Likewise.
12539 (_gethtbyaddr): Likewise.
12540 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12541 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12542 * resolv/res_init.c (__res_vinit): Likewise.
12543 (net_mask): Likewise.
12544 * resolv/res_mkquery.c (outchar): Likewise.
12546 * stdio-common/printf_fp.c (outchar): Likewise.
12548 * stdio-common/printf_fphex.c (outchar): Likewise.
12550 * stdio-common/printf_size.c (outchar): Likewise.
12552 * stdio-common/test_rdwr.c (main): Likewise.
12553 * stdio-common/tfformat.c (matches): Likewise.
12554 * stdio-common/vfprintf.c (outchar): Likewise.
12555 (printf_unknown): Likewise.
12556 (buffered_vfprintf): Likewise.
12557 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12558 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12559 (ReadFile): Likewise.
12560 * stdlib/qsort.c (SWAP): Likewise.
12561 (_quicksort): Likewise.
12562 * stdlib/setenv.c (__add_to_environ): Likewise.
12563 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12564 * stdlib/strtol_l.c (__strtol_l): Likewise.
12565 * stdlib/tst-strtod.c (main): Likewise.
12566 * stdlib/tst-strtol.c (main): Likewise.
12567 * stdlib/tst-strtoll.c (main): Likewise.
12568 * string/bits/string2.h (__strcmp_cc): Likewise.
12569 (__strcmp_cg): Likewise.
12570 (__strcspn_c1): Likewise.
12571 (__strcspn_c2): Likewise.
12572 (__strcspn_c3): Likewise.
12573 (__strspn_c1): Likewise.
12574 (__strspn_c2): Likewise.
12575 (__strspn_c3): Likewise.
12576 (__strsep_1c): Likewise.
12577 (__strsep_2c): Likewise.
12578 (__strsep_3c): Likewise.
12579 * string/memccpy.c (__memccpy): Likewise.
12580 * string/stpcpy.c (__stpcpy): Likewise.
12581 * string/strcmp.c (strcmp): Likewise.
12582 * string/strrchr.c (strrchr): Likewise.
12583 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12585 * sysdeps/mach/hurd/getcwd.c
12586 (_hurd_canonicalize_directory_name_internal): Likewise.
12587 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12588 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12589 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12590 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12591 Likewise, in both definitions.
12592 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12594 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12595 64] (__bswap_64): Likewise.
12596 * time/test_time.c (main): Likewise.
12597 * time/tzfile.c (__tzfile_read): Likewise.
12598 (__tzfile_compute): Likewise.
12599 * time/tzset.c (__tzset_parse_tz): Likewise.
12600 (tzset_internal): Likewise.
12601 (compute_change): Likewise.
12602 * wcsmbs/wcscat.c (__wcscat): Likewise.
12603 * wcsmbs/wcschr.c (wcschr): Likewise.
12604 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12605 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12606 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12607 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12608 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12609 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12610 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12611 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12612 * wcsmbs/wmemset.c (wmemset): Likewise.
12614 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12616 * scripts/config.guess: Update to version 2013-05-16.
12617 * scripts/config.sub: Update to version 2013-04-24.
12618 * scripts/install-sh: Update to version 2011-11-20.07.
12619 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12620 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12622 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12624 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12625 * elf/sln.c: Likewise.
12626 * hurd/hurd/ioctl.h: Likewise.
12627 * hurd/hurdmalloc.c: Likewise.
12628 * hurd/xattr.c: Likewise.
12629 * include/shlib-compat.h: Likewise.
12630 * inet/ruserpass.c: Likewise.
12631 * libio/iofgets_u.c: Likewise.
12632 * libio/iofgetws_u.c: Likewise.
12633 * locale/programs/ld-identification.c: Likewise.
12634 * locale/programs/ld-time.c: Likewise.
12635 * mach/msg-destroy.c: Likewise.
12636 * nss/nss_files/files-netgrp.c: Likewise.
12637 * resolv/res_data.c: Likewise.
12638 * soft-fp/op-1.h: Likewise.
12639 * soft-fp/op-2.h: Likewise.
12640 * soft-fp/op-4.h: Likewise.
12641 * soft-fp/op-common.h: Likewise.
12642 * stdio-common/printf_fphex.c: Likewise.
12643 * stdlib/strtod_l.c: Likewise.
12644 * sunrpc/rpc/clnt.h: Likewise.
12645 * sysdeps/generic/framestate.c: Likewise.
12646 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12647 * sysdeps/i386/bsd-setjmp.S: Likewise.
12648 * sysdeps/i386/__longjmp.S: Likewise.
12649 * sysdeps/i386/setjmp.S: Likewise.
12650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12651 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12668 * sysdeps/ieee754/support.c: Likewise.
12669 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12670 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12671 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12672 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12673 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12674 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12675 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12676 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12677 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12678 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12679 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12680 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12681 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12682 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12683 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12684 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12685 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12688 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12690 * posix/transbug.c: Remove executable mode.
12692 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12694 * crypt/speeds.c: Remove trailing whitespace.
12695 * dlfcn/default.c: Likewise.
12696 * elf/ifuncdep2.c: Likewise.
12697 * elf/ifuncmain1.c: Likewise.
12698 * elf/ifuncmain1vis.c: Likewise.
12699 * elf/testobj.h: Likewise.
12700 * elf/tst-stackguard1.c: Likewise.
12701 * gmon/sys/gmon.h: Likewise.
12702 * hurd/hurdmsg.c: Likewise.
12703 * hurd/new-fd.c: Likewise.
12704 * hurd/ports-get.c: Likewise.
12705 * iconvdata/ibm1008_420.c: Likewise.
12706 * inet/tst-getni1.c: Likewise.
12707 * inet/tst-getni2.c: Likewise.
12708 * libio/ioungetc.c: Likewise.
12709 * libio/wfiledoalloc.c: Likewise.
12710 * manual/libm-err-tab.pl: Likewise.
12711 * math/w_dremf.c: Likewise.
12712 * misc/ftruncate.c: Likewise.
12713 * posix/bug-glob2.c: Likewise.
12714 * posix/tst-pcre.c: Likewise.
12715 * posix/wait4.c: Likewise.
12716 * resolv/README: Likewise.
12717 * resolv/res_debug.h: Likewise.
12718 * resolv/tst-inet_ntop.c: Likewise.
12719 * setjmp/bug269-setjmp.c: Likewise.
12720 * soft-fp/extended.h: Likewise.
12721 * soft-fp/op-1.h: Likewise.
12722 * soft-fp/op-2.h: Likewise.
12723 * soft-fp/op-4.h: Likewise.
12724 * soft-fp/op-8.h: Likewise.
12725 * soft-fp/testit.c: Likewise.
12726 * stdio-common/bug16.c: Likewise.
12727 * stdlib/random.c: Likewise.
12728 * sunrpc/rpcsvc/rquota.x: Likewise.
12729 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12733 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12734 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12738 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12739 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12758 * sysdeps/ieee754/s_lib_version.c: Likewise.
12759 * sysdeps/mach/hurd/check_fds.c: Likewise.
12760 * sysdeps/mach/hurd/getsockname.c: Likewise.
12761 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12762 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12763 * sysdeps/powerpc/bits/link.h: Likewise.
12764 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12765 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12766 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12767 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12768 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12769 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12770 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12771 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12772 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12773 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12774 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12775 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12776 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12777 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12778 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12779 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12780 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12781 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12783 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12784 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12785 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12787 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12788 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12789 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12790 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12793 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12794 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12795 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12798 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12799 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12800 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12802 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12803 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12804 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12805 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12806 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12807 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12808 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12809 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12810 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12811 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12812 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12813 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12816 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12817 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12818 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12819 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12820 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12821 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12823 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12824 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12825 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12826 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12827 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12828 * sysdeps/powerpc/sysdep.h: Likewise.
12829 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12830 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12831 * sysdeps/sh/dl-trampoline.S: Likewise.
12832 * sysdeps/sh/memset.S: Likewise.
12833 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12834 * sysdeps/sh/strlen.S: Likewise.
12835 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12836 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12837 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12838 * sysdeps/sparc/sparc32/rem.S: Likewise.
12839 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12840 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12841 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12842 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12843 * sysdeps/sparc/sparc32/urem.S: Likewise.
12844 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12845 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12846 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12847 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12848 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12849 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12850 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12851 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12852 * sysdeps/unix/bsd/times.c: Likewise.
12853 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12854 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12858 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12860 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12861 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12862 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12864 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12865 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12866 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12867 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12868 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12869 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12870 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12871 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12872 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12873 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12874 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12875 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12876 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12877 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12878 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12879 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12881 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12882 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12883 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12884 * sysdeps/x86_64/strcspn.S: Likewise.
12886 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12888 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12889 generated file. Regenerate properly from gen-translit.pl.
12890 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12891 locale/C-translit.h.
12893 2013-06-05 Andreas Schwab <schwab@suse.de>
12896 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12897 week as 6 instead of -1.
12898 * time/tst-strptime.c (day_tests): Add test case.
12900 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12902 * sysdeps/generic/math_private.h
12903 (libc_feholdexcept_setround_53bit): Replace with
12904 libc_feholdsetround_53bit.
12905 (libc_feupdateenv_53bit): Replace with
12906 libc_feresetround_53bit.
12907 (SET_RESTORE_ROUND_53BIT): Adjust.
12909 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12911 * string/test-strchrnul.c: Add copyright header.
12913 * posix/tst-getaddrinfo4.c: Increase test timeout.
12915 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12918 * math/libm-test.inc (MAX_EXP): Remove
12920 (ulp): Use MIN_EXP - MANT_DIG.
12921 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12923 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12925 * po/be.po: Revert last change.
12926 * po/zh_CN.po: Likewise.
12927 * po/header.pot: Likewise.
12929 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12931 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12932 link-libc-deps to empty as target-specific variable.
12933 * Makerules (link-libc-args): New variable.
12934 (libc-for-link): Likewise.
12935 (link-libc-deps): Likewise.
12936 (lib%.so): Depend on $(link-libc-deps). Link with
12938 (build-module): Link with $(link-libc-args).
12939 (build-module-asneeded): Likewise.
12940 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12942 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12943 target-specific variable.
12944 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12945 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12946 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12948 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12950 ($(objpfx)libpcprofile.so): Likewise.
12951 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12953 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12954 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12957 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12958 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12959 * login/Makefile ($(objpfx)libutil.so): Likewise.
12960 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12961 * math/Makefile ($(objpfx)libm.so): Likewise.
12962 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12963 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12964 variable instead of depending directly on libc.
12965 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12966 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12968 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12970 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12971 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12972 ($(objpfx)libanl.so): Likewise.
12973 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12975 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12977 * sysdeps/i386/fpu/Makefile: Remove file.
12978 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12979 ($(objpfx)libm.so): Remove dependency on ld.so.
12981 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12984 * nis/yp_xdr.c (XDRMAXNAME): Define.
12985 (XDRMAXRECORD): Define.
12986 (xdr_domainname): Use XDRMAXNAME.
12987 (xdr_mapname): Likewise.
12988 (xdr_peername): Likewise.
12989 (xdr_keydat): Use XDRMAXRECORD.
12990 (xdr_valdat): Likewise.
12992 2013-05-30 Jeff Law <law@redhat.com>
12995 * manual/errno.texi (ESTALE): Update to account for more than
12996 just NFS file systems.
12997 * sysdeps/gnu/errlist.c: Regenerated.
12999 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13002 * elf/Makefile (tests): Add tst-null-argv.
13003 (modules-names): Add tst-null-argv-lib.
13004 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13005 (tst-null-argv-ENV): Set environment for tst-null-argv.
13006 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13007 (RTLD_PROGNAME): New macro.
13008 * elf/tst-null-argv.c: New test case.
13009 * elf/tst-null-argv-lib.c: Library for test case.
13010 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13011 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13012 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13013 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13014 * elf/dl-init.c (call_init): Likewise.
13015 (_dl_init): Likewise.
13016 * elf/dl-load.c (print_search_path): Likewise.
13017 (_dl_map_object): Likewise.
13018 * elf/dl-lookup.c (do_lookup_x): Likewise.
13019 (add_dependency): Likewise.
13020 (_dl_lookup_symbol_x): Likewise.
13021 (_dl_debug_bindings): Likewise.
13022 * elf/dl-open.c (_dl_show_scope): Likewise.
13023 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13024 * elf/dl-version.c (match_symbol): Likewise.
13025 (_dl_check_map_versions): Likewise.
13026 * elf/rtld.c (dl_main): Likewise.
13027 (print_unresolved): Use RTLD_PROGNAME.
13028 (print_missing_version): Likewise.
13029 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13030 (elf_machine_rela): Likewise.
13031 * sysdeps/powerpc/powerpc32/dl-machine.c
13032 (__process_machine_rela): Likewise.
13033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13037 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13039 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13046 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13048 * po/be.po: Add descriptive title.
13049 * po/zh_CN.po: Likewise.
13050 * po/header.pot: Likewise.
13052 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13054 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13056 (enlarge_archive): Likewise.
13058 2013-05-28 Ben North <ben@redfrontdoor.org>
13060 * manual/arith.texi (frexp): It is the magnitude of the return
13061 value which lies in [0.5, 1), not the return value itself.
13063 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13067 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13069 * stdio-common/bug26.c (main): Correct fscanf template.
13071 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13072 declare _dl_skip_args.
13074 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13077 * manual/platform.texi: Add missing @end deftypefun.
13079 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13082 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13083 bit of mantissa of 2^16382.
13084 * math/libm-test.inc (hypot_test_data): Add more tests.
13086 * math/libm-test.inc: Add drem and pow10 to list of tested
13088 (pow10_test): New function.
13089 (drem_test): Likewise.
13090 (drem_test_tonearest): Likewise.
13091 (drem_test_towardzero): Likewise.
13092 (drem_test_downward): Likewise.
13093 (drem_test_upward): Likewise.
13094 (main): Call the new functions.
13096 * math/libm-test.inc (finite_test_data): Remove.
13097 (finite_test): Run tests from isfinite_test_data.
13098 (gamma_test_data): Remove.
13099 (gamma_test): Run tests from lgamma_test_data.
13100 * sysdeps/i386/fpu/libm-test-ulps: Update.
13101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13103 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13105 * manual/platform.texi: Add PowerPC PPR function set documentation.
13106 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13109 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13111 * math/libm-test.inc (MAX_EXP): Define.
13113 (ulp): New function.
13114 (check_float_internal): Use ULPDIFF.
13115 (cpow_test): Disable failing test.
13116 (check_ulp): Test ulp() implemetnation.
13117 (main): Call check_ulp before starting tests.
13119 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13121 * math/gen-libm-test.pl (generate_testfile): Do not handle
13122 START_DATA and END_DATA.
13123 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13125 (acos_tonearest_test_data): Likewise.
13126 (acos_towardzero_test_data): Likewise.
13127 (acos_downward_test_data): Likewise.
13128 (acos_upward_test_data): Likewise.
13129 (acosh_test_data): Likewise.
13130 (asin_test_data): Likewise.
13131 (asin_tonearest_test_data): Likewise.
13132 (asin_towardzero_test_data): Likewise.
13133 (asin_downward_test_data): Likewise.
13134 (asin_upward_test_data): Likewise.
13135 (asinh_test_data): Likewise.
13136 (atan_test_data): Likewise.
13137 (atanh_test_data): Likewise.
13138 (atan2_test_data): Likewise.
13139 (cabs_test_data): Likewise.
13140 (cacos_test_data): Likewise.
13141 (cacosh_test_data): Likewise.
13142 (carg_test_data): Likewise.
13143 (casin_test_data): Likewise.
13144 (casinh_test_data): Likewise.
13145 (catan_test_data): Likewise.
13146 (catanh_test_data): Likewise.
13147 (cbrt_test_data): Likewise.
13148 (ccos_test_data): Likewise.
13149 (ccosh_test_data): Likewise.
13150 (ceil_test_data): Likewise.
13151 (cexp_test_data): Likewise.
13152 (cimag_test_data): Likewise.
13153 (clog_test_data): Likewise.
13154 (clog10_test_data): Likewise.
13155 (conj_test_data): Likewise.
13156 (copysign_test_data): Likewise.
13157 (cos_test_data): Likewise.
13158 (cos_tonearest_test_data): Likewise.
13159 (cos_towardzero_test_data): Likewise.
13160 (cos_downward_test_data): Likewise.
13161 (cos_upward_test_data): Likewise.
13162 (cosh_test_data): Likewise.
13163 (cosh_tonearest_test_data): Likewise.
13164 (cosh_towardzero_test_data): Likewise.
13165 (cosh_downward_test_data): Likewise.
13166 (cosh_upward_test_data): Likewise.
13167 (cpow_test_data): Likewise.
13168 (cproj_test_data): Likewise.
13169 (creal_test_data): Likewise.
13170 (csin_test_data): Likewise.
13171 (csinh_test_data): Likewise.
13172 (csqrt_test_data): Likewise.
13173 (ctan_test_data): Likewise.
13174 (ctan_tonearest_test_data): Likewise.
13175 (ctan_towardzero_test_data): Likewise.
13176 (ctan_downward_test_data): Likewise.
13177 (ctan_upward_test_data): Likewise.
13178 (ctanh_test_data): Likewise.
13179 (ctanh_tonearest_test_data): Likewise.
13180 (ctanh_towardzero_test_data): Likewise.
13181 (ctanh_downward_test_data): Likewise.
13182 (ctanh_upward_test_data): Likewise.
13183 (erf_test_data): Likewise.
13184 (erfc_test_data): Likewise.
13185 (exp_test_data): Likewise.
13186 (exp_tonearest_test_data): Likewise.
13187 (exp_towardzero_test_data): Likewise.
13188 (exp_downward_test_data): Likewise.
13189 (exp_upward_test_data): Likewise.
13190 (exp10_test_data): Likewise.
13191 (exp2_test_data): Likewise.
13192 (expm1_test_data): Likewise.
13193 (fabs_test_data): Likewise.
13194 (fdim_test_data): Likewise.
13195 (finite_test_data): Likewise.
13196 (floor_test_data): Likewise.
13197 (fma_test_data): Likewise.
13198 (fma_towardzero_test_data): Likewise.
13199 (fma_downward_test_data): Likewise.
13200 (fma_upward_test_data): Likewise.
13201 (fmax_test_data): Likewise.
13202 (fmin_test_data): Likewise.
13203 (fmod_test_data): Likewise.
13204 (fpclassify_test_data): Likewise.
13205 (frexp_test_data): Likewise.
13206 (gamma_test_data): Likewise.
13207 (hypot_test_data): Likewise.
13208 (ilogb_test_data): Likewise.
13209 (isfinite_test_data): Likewise.
13210 (isgreater_test_data): Likewise.
13211 (isgreaterequal_test_data): Likewise.
13212 (isinf_test_data): Likewise.
13213 (isless_test_data): Likewise.
13214 (islessequal_test_data): Likewise.
13215 (islessgreater_test_data): Likewise.
13216 (isnan_test_data): Likewise.
13217 (isnormal_test_data): Likewise.
13218 (issignaling_test_data): Likewise.
13219 (isunordered_test_data): Likewise.
13220 (j0_test_data): Likewise.
13221 (j1_test_data): Likewise.
13222 (jn_test_data): Likewise.
13223 (ldexp_test_data): Likewise.
13224 (lgamma_test_data): Likewise.
13225 (lrint_test_data): Likewise.
13226 (lrint_tonearest_test_data): Likewise.
13227 (lrint_towardzero_test_data): Likewise.
13228 (lrint_downward_test_data): Likewise.
13229 (lrint_upward_test_data): Likewise.
13230 (llrint_test_data): Likewise.
13231 (llrint_tonearest_test_data): Likewise.
13232 (llrint_towardzero_test_data): Likewise.
13233 (llrint_downward_test_data): Likewise.
13234 (llrint_upward_test_data): Likewise.
13235 (log_test_data): Likewise.
13236 (log10_test_data): Likewise.
13237 (log1p_test_data): Likewise.
13238 (log2_test_data): Likewise.
13239 (logb_test_data): Likewise.
13240 (logb_downward_test_data): Likewise.
13241 (lround_test_data): Likewise.
13242 (llround_test_data): Likewise.
13243 (modf_test_data): Likewise.
13244 (nearbyint_test_data): Likewise.
13245 (nextafter_test_data): Likewise.
13246 (nexttoward_test_data): Likewise.
13247 (pow_test_data): Likewise.
13248 (pow_tonearest_test_data): Likewise.
13249 (pow_towardzero_test_data): Likewise.
13250 (pow_downward_test_data): Likewise.
13251 (pow_upward_test_data): Likewise.
13252 (remainder_test_data): Likewise.
13253 (remainder_tonearest_test_data): Likewise.
13254 (remainder_towardzero_test_data): Likewise.
13255 (remainder_downward_test_data): Likewise.
13256 (remainder_upward_test_data): Likewise.
13257 (remquo_test_data): Likewise.
13258 (rint_test_data): Likewise.
13259 (rint_tonearest_test_data): Likewise.
13260 (rint_towardzero_test_data): Likewise.
13261 (rint_downward_test_data): Likewise.
13262 (rint_upward_test_data): Likewise.
13263 (round_test_data): Likewise.
13264 (scalb_test_data): Likewise.
13265 (scalbn_test_data): Likewise.
13266 (scalbln_test_data): Likewise.
13267 (signbit_test_data): Likewise.
13268 (sin_test_data): Likewise.
13269 (sin_tonearest_test_data): Likewise.
13270 (sin_towardzero_test_data): Likewise.
13271 (sin_downward_test_data): Likewise.
13272 (sin_upward_test_data): Likewise.
13273 (sincos_test_data): Likewise.
13274 (sinh_test_data): Likewise.
13275 (sinh_tonearest_test_data): Likewise.
13276 (sinh_towardzero_test_data): Likewise.
13277 (sinh_downward_test_data): Likewise.
13278 (sinh_upward_test_data): Likewise.
13279 (sqrt_test_data): Likewise.
13280 (tan_test_data): Likewise.
13281 (tan_tonearest_test_data): Likewise.
13282 (tan_towardzero_test_data): Likewise.
13283 (tan_downward_test_data): Likewise.
13284 (tan_upward_test_data): Likewise.
13285 (tanh_test_data): Likewise.
13286 (tgamma_test_data): Likewise.
13287 (trunc_test_data): Likewise.
13288 (y0_test_data): Likewise.
13289 (y1_test_data): Likewise.
13290 (yn_test_data): Likewise.
13291 (significand_test_data): Likewise.
13293 * math/gen-libm-test.pl (@functions): Remove variable.
13294 (generate_testfile): Don't handle START and END lines.
13295 * math/libm-test.inc (START): New macro.
13297 (END_COMPLEX): Likewise.
13298 (acos_test): Use END macro without arguments.
13299 (acos_test_tonearest): Likewise.
13300 (acos_test_towardzero): Likewise.
13301 (acos_test_downward): Likewise.
13302 (acos_test_upward): Likewise.
13303 (acosh_test): Likewise.
13304 (asin_test): Likewise.
13305 (asin_test_tonearest): Likewise.
13306 (asin_test_towardzero): Likewise.
13307 (asin_test_downward): Likewise.
13308 (asin_test_upward): Likewise.
13309 (asinh_test): Likewise.
13310 (atan_test): Likewise.
13311 (atanh_test): Likewise.
13312 (atan2_test): Likewise.
13313 (cabs_test): Likewise.
13314 (cacos_test): Use END_COMPLEX macro without arguments.
13315 (cacosh_test): Likewise.
13316 (carg_test): Use END macro without arguments.
13317 (casin_test): Use END_COMPLEX macro without arguments.
13318 (casinh_test): Likewise.
13319 (catan_test): Likewise.
13320 (catanh_test): Likewise.
13321 (cbrt_test): Use END macro without arguments.
13322 (ccos_test): Use END_COMPLEX macro without arguments.
13323 (ccosh_test): Likewise.
13324 (ceil_test): Use END macro without arguments.
13325 (cexp_test): Use END_COMPLEX macro without arguments.
13326 (cimag_test): Use END macro without arguments.
13327 (clog_test): Use END_COMPLEX macro without arguments.
13328 (clog10_test): Likewise.
13329 (conj_test): Likewise.
13330 (copysign_test): Use END macro without arguments.
13331 (cos_test): Likewise.
13332 (cos_test_tonearest): Likewise.
13333 (cos_test_towardzero): Likewise.
13334 (cos_test_downward): Likewise.
13335 (cos_test_upward): Likewise.
13336 (cosh_test): Likewise.
13337 (cosh_test_tonearest): Likewise.
13338 (cosh_test_towardzero): Likewise.
13339 (cosh_test_downward): Likewise.
13340 (cosh_test_upward): Likewise.
13341 (cpow_test): Use END_COMPLEX macro without arguments.
13342 (cproj_test): Likewise.
13343 (creal_test): Use END macro without arguments.
13344 (csin_test): Use END_COMPLEX macro without arguments.
13345 (csinh_test): Likewise.
13346 (csqrt_test): Likewise.
13347 (ctan_test): Likewise.
13348 (ctan_test_tonearest): Likewise.
13349 (ctan_test_towardzero): Likewise.
13350 (ctan_test_downward): Likewise.
13351 (ctan_test_upward): Likewise.
13352 (ctanh_test): Likewise.
13353 (ctanh_test_tonearest): Likewise.
13354 (ctanh_test_towardzero): Likewise.
13355 (ctanh_test_downward): Likewise.
13356 (ctanh_test_upward): Likewise.
13357 (erf_test): Use END macro without arguments.
13358 (erfc_test): Likewise.
13359 (exp_test): Likewise.
13360 (exp_test_tonearest): Likewise.
13361 (exp_test_towardzero): Likewise.
13362 (exp_test_downward): Likewise.
13363 (exp_test_upward): Likewise.
13364 (exp10_test): Likewise.
13365 (exp2_test): Likewise.
13366 (expm1_test): Likewise.
13367 (fabs_test): Likewise.
13368 (fdim_test): Likewise.
13369 (finite_test): Likewise.
13370 (floor_test): Likewise.
13371 (fma_test): Likewise.
13372 (fma_test_towardzero): Likewise.
13373 (fma_test_downward): Likewise.
13374 (fma_test_upward): Likewise.
13375 (fmax_test): Likewise.
13376 (fmin_test): Likewise.
13377 (fmod_test): Likewise.
13378 (fpclassify_test): Likewise.
13379 (frexp_test): Likewise.
13380 (gamma_test): Likewise.
13381 (hypot_test): Likewise.
13382 (ilogb_test): Likewise.
13383 (isfinite_test): Likewise.
13384 (isgreater_test): Likewise.
13385 (isgreaterequal_test): Likewise.
13386 (isinf_test): Likewise.
13387 (isless_test): Likewise.
13388 (islessequal_test): Likewise.
13389 (islessgreater_test): Likewise.
13390 (isnan_test): Likewise.
13391 (isnormal_test): Likewise.
13392 (issignaling_test): Likewise.
13393 (isunordered_test): Likewise.
13394 (j0_test): Likewise.
13395 (j1_test): Likewise.
13396 (jn_test): Likewise.
13397 (ldexp_test): Likewise.
13398 (lgamma_test): Likewise.
13399 (lrint_test): Likewise.
13400 (lrint_test_tonearest): Likewise.
13401 (lrint_test_towardzero): Likewise.
13402 (lrint_test_downward): Likewise.
13403 (lrint_test_upward): Likewise.
13404 (llrint_test): Likewise.
13405 (llrint_test_tonearest): Likewise.
13406 (llrint_test_towardzero): Likewise.
13407 (llrint_test_downward): Likewise.
13408 (llrint_test_upward): Likewise.
13409 (log_test): Likewise.
13410 (log10_test): Likewise.
13411 (log1p_test): Likewise.
13412 (log2_test): Likewise.
13413 (logb_test): Likewise.
13414 (logb_test_downward): Likewise.
13415 (lround_test): Likewise.
13416 (llround_test): Likewise.
13417 (modf_test): Likewise.
13418 (nearbyint_test): Likewise.
13419 (nextafter_test): Likewise.
13420 (nexttoward_test): Likewise.
13421 (pow_test): Likewise.
13422 (pow_test_tonearest): Likewise.
13423 (pow_test_towardzero): Likewise.
13424 (pow_test_downward): Likewise.
13425 (pow_test_upward): Likewise.
13426 (remainder_test): Likewise.
13427 (remainder_test_tonearest): Likewise.
13428 (remainder_test_towardzero): Likewise.
13429 (remainder_test_downward): Likewise.
13430 (remainder_test_upward): Likewise.
13431 (remquo_test): Likewise.
13432 (rint_test): Likewise.
13433 (rint_test_tonearest): Likewise.
13434 (rint_test_towardzero): Likewise.
13435 (rint_test_downward): Likewise.
13436 (rint_test_upward): Likewise.
13437 (round_test): Likewise.
13438 (scalb_test): Likewise.
13439 (scalbn_test): Likewise.
13440 (scalbln_test): Likewise.
13441 (signbit_test): Likewise.
13442 (sin_test): Likewise.
13443 (sin_test_tonearest): Likewise.
13444 (sin_test_towardzero): Likewise.
13445 (sin_test_downward): Likewise.
13446 (sin_test_upward): Likewise.
13447 (sincos_test): Likewise.
13448 (sinh_test): Likewise.
13449 (sinh_test_tonearest): Likewise.
13450 (sinh_test_towardzero): Likewise.
13451 (sinh_test_downward): Likewise.
13452 (sinh_test_upward): Likewise.
13453 (sqrt_test): Likewise.
13454 (tan_test): Likewise.
13455 (tan_test_tonearest): Likewise.
13456 (tan_test_towardzero): Likewise.
13457 (tan_test_downward): Likewise.
13458 (tan_test_upward): Likewise.
13459 (tanh_test): Likewise.
13460 (tgamma_test): Likewise.
13461 (trunc_test): Likewise.
13462 (y0_test): Likewise.
13463 (y1_test): Likewise.
13464 (yn_test): Likewise.
13465 (significand_test): Likewise.
13467 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13470 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13472 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13475 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13476 __ppc_mdoio and __ppc_mdoom.
13477 * manual/platform.texi: Document new functions __ppc_yield,
13478 __ppc_mdoio and __ppc_mdoom.
13480 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13482 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13483 (main): Mention "tls" pseudo-hwcap is legacy.
13484 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13486 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13488 * math/gen-libm-test.pl (parse_args): Output only string of
13489 arguments as text for test name, not full call or descriptions of
13490 tests for extra outputs.
13491 (generate_testfile): Do not pass function name to parse_args.
13492 Generate this_func variable from START.
13493 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13495 (struct test_ff_f_data): Likewise.
13496 (test_ff_f_data_nexttoward): Likewise.
13497 (struct test_fi_f_data): Likewise.
13498 (struct test_fl_f_data): Likewise.
13499 (struct test_if_f_data): Likewise.
13500 (struct test_fff_f_data): Likewise.
13501 (struct test_c_f_data): Likewise.
13502 (struct test_f_f1_data): Likewise. Remove field extra_name.
13503 (struct test_fF_f1_data): Likewise.
13504 (struct test_ffI_f1_data): Likewise.
13505 (struct test_c_c_data): Rename test_name field to arg_str.
13506 (struct test_cc_c_data): Likewise.
13507 (struct test_f_i_data): Likewise.
13508 (struct test_ff_i_data): Likewise.
13509 (struct test_f_l_data): Likewise.
13510 (struct test_f_L_data): Likewise.
13511 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13513 (COMMON_TEST_SETUP): New macro.
13514 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13515 (COMMON_TEST_CLEANUP): Likewise.
13516 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13517 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13519 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13520 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13522 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13523 (RUN_TEST_fff_f): Take argument string. Call new setup and
13525 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13526 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13528 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13529 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13531 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13532 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13534 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13535 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13537 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13538 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13540 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13541 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13543 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13544 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13546 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13547 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13549 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13550 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13552 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13553 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13555 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13556 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13558 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13559 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13561 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13562 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13564 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13565 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13567 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13568 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13570 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13572 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13574 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13575 to _sifields.sigfault.
13576 (si_addr_lsb): Define new macro.
13577 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13578 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13581 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13584 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13586 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13588 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13589 loading the domain.
13591 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13593 * math/gen-libm-test.pl (parse_args): Do not include expected
13594 result in test name.
13595 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13597 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13598 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13599 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13602 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13604 * benchtests/Makefile: Sort function entries.
13606 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13607 tanh, asinh, acosh, atanh.
13608 * benchtests/acos-inputs: New file.
13609 * benchtests/acosh-inputs: New file.
13610 * benchtests/asin-inputs: New file.
13611 * benchtests/asinh-inputs: New file.
13612 * benchtests/atanh-inputs: New file.
13613 * benchtests/cosh-inputs: New file.
13614 * benchtests/log-inputs: New file.
13615 * benchtests/sinh-inputs: New file.
13616 * benchtests/tanh-inputs: New file.
13618 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13621 * posix/tst-getaddrinfo4.c: New test.
13622 * posix/Makefile (tests): Add it.
13624 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13627 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13628 when no services were used.
13629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13630 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13632 2013-05-21 Andreas Schwab <schwab@suse.de>
13635 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13636 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13638 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13639 redundant variable declarations and reallocation of buffer when
13640 parsing as IPv6 address. Always set NSS status when called from
13641 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13642 buffer too small. Correct computation of needed size.
13643 * nss/Makefile (tests): Add test-digits-dots.
13644 * nss/test-digits-dots.c: New test.
13646 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13648 * benchtests/Makefile: Remove instructions for adding
13650 * benchtests/README: New file to explain how to execute and
13651 enhance the benchmark tests.
13653 2013-05-21 Andreas Schwab <schwab@suse.de>
13656 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13657 * setjmp/tst-sigsetjmp.c: New test.
13659 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13661 * sysdeps/x86_64/memset.S (memset): New implementation.
13662 (__bzero): Likewise.
13663 (__memset_tail): New function.
13665 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13667 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13668 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13669 __memcpy_sse2_unaligned ifunc selection.
13670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13671 Add memcpy-sse2-unaligned.S.
13672 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13673 Add: __memcpy_sse2_unaligned.
13675 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13679 math_force_eval before restoring floating-point envrionment.
13680 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13681 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13685 (__nearbyintl): Use math_force_eval before restoring
13686 floating-point environment.
13687 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13689 * math/gen-libm-test.pl (special_functions): Remove.
13690 (parse_args): Don't handle TEST_extra. Handle functions with no
13692 * math/libm-test.inc (struct test_sincos_data): Replace with
13693 struct test_fFF_11_data.
13694 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13695 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13696 (sincos_test_data): Change element type to struct
13697 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13698 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13699 RUN_TEST_LOOP_sincos.
13700 * math/README.libm-test: Don't mention special handling of
13701 individual functions.
13702 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13706 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13709 * math/gen-libm-test.pl (get_variable): Remove function.
13710 (parse_args): Don't show pointer parameters to call in test
13711 names. Use "extra output N" in test names for extra outputs
13712 rather than naming variables.
13714 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13717 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13718 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13719 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13721 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13723 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13726 * math/gen-libm-test.pl (@tests): Remove variable.
13727 ($count): Likewise.
13728 (new_test): Remove function.
13729 (show_exceptions): New function.
13730 (special_functions): Use show_exceptions instead of new_test.
13731 (parse_args): Likewise.
13732 (generate_testfile): Pass only function name in generated call to
13733 print_max_error or print_complex_max_error.
13734 (get_ulps): Do not handle complex tests specially.
13735 (output_test): Rename to ...
13736 (get_all_ulps_for_test): ... this. Return a string rather than
13737 printing to a file. Require ulps to be present.
13738 (output_ulps): Generate arrays rather than #defines.
13739 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13740 (struct ulp_data): New type.
13741 (BUILD_COMPLEX_ULP): Remove macro.
13742 (compare_ulp_data): New function.
13743 (find_ulps): Likewise.
13744 (find_test_ulps): Likewise.
13745 (find_function_ulps): Likewise.
13746 (find_complex_function_ulps): Likewise.
13747 (print_max_error): Determine allowed ulps using
13748 find_function_ulps.
13749 (print_complex_max_error): Determine allowed ulps using
13750 find_complex_function_ulps.
13751 (check_float_internal): Determine max ulps using find_test_ulps.
13752 (check_float): Do not take max_ulp parameter. Update call to
13753 check_float_internal.
13754 (check_complex): Likewise.
13755 (check_int): Do not take max_ulp parameter.
13756 (check_long): Likewise.
13757 (check_bool): Likewise.
13758 (check_longlong): Likewise.
13759 (struct test_f_f_data): Remove max_ulp field.
13760 (struct test_ff_f_data): Likewise.
13761 (struct test_ff_f_data_nexttoward): Likewise.
13762 (struct test_fi_f_data): Likewise.
13763 (struct test_fl_f_data): Likewise.
13764 (struct test_if_f_data): Likewise.
13765 (struct test_fff_f_data): Likewise.
13766 (struct test_c_f_data): Likewise.
13767 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13768 (struct test_fF_f1_data): Likewise.
13769 (struct test_ffI_f1_data): Likewise.
13770 (struct test_c_c_data): Remove max_ulp field.
13771 (struct test_cc_c_data): Likewise.
13772 (struct test_f_i_data): Likewise.
13773 (struct test_ff_i_data): Likewise.
13774 (struct test_f_l_data): Likewise.
13775 (struct test_f_L_data): Likewise.
13776 (struct test_sincos_data): Likewise.
13777 (RUN_TEST_f_f): Do not handle ulps.
13778 (RUN_TEST_LOOP_f_f): Likewise.
13779 (RUN_TEST_2_f): Likewise.
13780 (RUN_TEST_LOOP_2_f): Likewise.
13781 (RUN_TEST_fff_f): Likewise.
13782 (RUN_TEST_LOOP_fff_f): Likewise.
13783 (RUN_TEST_c_f): Likewise.
13784 (RUN_TEST_LOOP_c_f): Likewise.
13785 (RUN_TEST_f_f1): Likewise.
13786 (RUN_TEST_LOOP_f_f1): Likewise.
13787 (RUN_TEST_fF_f1): Likewise.
13788 (RUN_TEST_LOOP_fF_f1): Likewise.
13789 (RUN_TEST_fI_f1): Likewise.
13790 (RUN_TEST_LOOP_fI_f1): Likewise.
13791 (RUN_TEST_ffI_f1): Likewise.
13792 (RUN_TEST_LOOP_ffI_f1): Likewise.
13793 (RUN_TEST_c_c): Likewise.
13794 (RUN_TEST_LOOP_c_c): Likewise.
13795 (RUN_TEST_cc_c): Likewise.
13796 (RUN_TEST_LOOP_cc_c): Likewise.
13797 (RUN_TEST_f_i): Likewise.
13798 (RUN_TEST_LOOP_f_i): Likewise.
13799 (RUN_TEST_f_i_tg): Likewise.
13800 (RUN_TEST_LOOP_f_i_tg): Likewise.
13801 (RUN_TEST_ff_i_tg): Likewise.
13802 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13803 (RUN_TEST_f_b): Likewise.
13804 (RUN_TEST_LOOP_f_b): Likewise.
13805 (RUN_TEST_f_b_tg): Likewise.
13806 (RUN_TEST_LOOP_f_b_tg): Likewise.
13807 (RUN_TEST_f_l): Likewise.
13808 (RUN_TEST_LOOP_f_l): Likewise.
13809 (RUN_TEST_f_L): Likewise.
13810 (RUN_TEST_LOOP_f_L): Likewise.
13811 (RUN_TEST_sincos): Likewise.
13812 (RUN_TEST_LOOP_sincos): Likewise.
13814 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13818 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13819 main case of finite arguments, set rounding mode to FE_TONEAREST
13820 and discard exceptions.
13821 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13823 (remainder_tonearest_test_data): New variable.
13824 (remainder_test_tonearest): New function.
13825 (remainder_towardzero_test_data): New variable.
13826 (remainder_test_towardzero): New function.
13827 (remainder_downward_test_data): New variable.
13828 (remainder_test_downward): New function.
13829 (remainder_upward_test_data): New variable.
13830 (remainder_test_upward): New function.
13831 (main): Call the new test functions.
13833 * math/libm-test.inc (struct test_f_f1_data): Remove field
13835 (struct test_fF_f1_data): Likewise.
13836 (struct test_ffI_f1_data): Likewise.
13837 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13838 based on value of EXTRA_EXPECTED.
13839 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13840 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13841 EXTRA_VAR based on value of EXTRA_EXPECTED.
13842 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13843 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13844 EXTRA_VAR based on value of EXTRA_EXPECTED.
13845 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13846 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13847 EXTRA_VAR based on value of EXTRA_EXPECTED.
13848 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13849 * math/gen-libm-test.pl (parse_args): Don't output initializers
13850 for extra output values.
13852 * math/libm-test.inc (check_int): Expect result to be exactly
13853 equal to expected value and do not handle ulps.
13854 (check_long): Likewise.
13855 (check_longlong): Likewise.
13857 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13859 (cimag_test_data): Likewise.
13860 (conj_test_data): Likewise.
13861 (copysign_test_data): Likewise.
13862 (cproj_test_data): Likewise.
13863 (creal_test_data): Likewise.
13864 (fabs_test_data): Likewise.
13865 (fdim_test_data): Likewise.
13866 (finite_test_data): Likewise.
13867 (floor_test_data): Likewise.
13868 (fmax_test_data): Likewise.
13869 (fmin_test_data): Likewise.
13870 (fmod_test_data): Likewise.
13871 (fpclassify_test_data): Likewise.
13872 (frexp_test_data): Likewise.
13873 (ilogb_test_data): Likewise.
13874 (isfinite_test_data): Likewise.
13875 (isgreater_test_data): Likewise.
13876 (isgreaterequal_test_data): Likewise.
13877 (isinf_test_data): Likewise.
13878 (isless_test_data): Likewise.
13879 (islessequal_test_data): Likewise.
13880 (islessgreater_test_data): Likewise.
13881 (isnan_test_data): Likewise.
13882 (isnormal_test_data): Likewise.
13883 (issignaling_test_data): Likewise.
13884 (isunordered_test_data): Likewise.
13885 (ldexp_test_data): Likewise.
13886 (lrint_test_data): Likewise.
13887 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13888 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13889 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13890 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13891 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13892 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13894 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13895 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13896 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13897 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13899 (lrint_downward_test_data): Test for "inexact" exceptions.
13900 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13901 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13902 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13904 (lrint_upward_test_data): Test for "inexact" exceptions.
13905 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13907 (llrint_test_data): Test for "inexact" exceptions.
13908 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13909 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13910 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13911 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13912 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13913 (llrint_downward_test_data): Test for "inexact" exceptions.
13914 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13915 (llrint_upward_test_data): Test for "inexact" exceptions.
13916 (logb_test_data): Likewise.
13917 (logb_downward_test_data): Likewise.
13918 (nextafter_test_data): Likewise.
13919 (nexttoward_test_data): Likewise.
13920 (remainder_test_data): Likewise.
13921 (remquo_test_data): Likewise.
13922 (scalbn_test_data): Likewise.
13923 (scalbln_test_data): Likewise.
13924 (signbit_test_data): Likewise.
13925 (sqrt_test_data): Likewise.
13926 (significand_test_data): Likewise.
13928 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13931 * benchtests/bench-modf.c (struct args): Mark arg0 as
13933 * scripts/bench.pl: Mark members of struct args as volatile.
13935 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13938 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13939 negative infinity on POWER6 or lower.
13940 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13942 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13945 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13946 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13947 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13948 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13949 (_FP_SETQNAN): New macro.
13950 (_FP_SETQNAN_SEMIRAW): Likewise.
13951 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13952 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13953 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13954 (FP_EXTEND): Use _FP_FRAC_SNANP.
13955 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13956 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13958 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13960 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13963 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13965 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13966 with DIVIDE_BY_ZERO_EXCEPTION.
13967 (gamma_test_data): Likewise.
13968 (lgamma_test_data): Likewise.
13969 (log_test_data): Likewise.
13970 (log10_test_data): Likewise.
13971 (log2_test_data): Likewise.
13972 (tgamma_test_data): Likewise.
13974 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13975 (acos_test_tonearest): Likewise.
13976 (acos_test_towardzero): Likewise.
13977 (acos_test_downward): Likewise.
13978 (acos_test_upward): Likewise.
13979 (acosh_test): Likewise.
13980 (asin_test): Likewise.
13981 (asin_test_tonearest): Likewise.
13982 (asin_test_towardzero): Likewise.
13983 (asin_test_downward): Likewise.
13984 (asin_test_upward): Likewise.
13985 (asinh_test): Likewise.
13986 (atan_test): Likewise.
13987 (atanh_test): Likewise.
13988 (atan2_test): Likewise.
13989 (cabs_test): Likewise.
13990 (cacos_test): Likewise.
13991 (cacosh_test): Likewise.
13992 (casin_test): Likewise.
13993 (casinh_test): Likewise.
13994 (catan_test): Likewise.
13995 (catanh_test): Likewise.
13996 (cbrt_test): Likewise.
13997 (ccos_test): Likewise.
13998 (ccosh_test): Likewise.
13999 (cexp_test): Likewise.
14000 (clog_test): Likewise.
14001 (clog10_test): Likewise.
14002 (cos_test): Likewise.
14003 (cos_test_tonearest): Likewise.
14004 (cos_test_towardzero): Likewise.
14005 (cos_test_downward): Likewise.
14006 (cos_test_upward): Likewise.
14007 (cosh_test): Likewise.
14008 (cosh_test_tonearest): Likewise.
14009 (cosh_test_towardzero): Likewise.
14010 (cosh_test_downward): Likewise.
14011 (cosh_test_upward): Likewise.
14012 (cpow_test): Likewise.
14013 (csin_test): Likewise.
14014 (csinh_test): Likewise.
14015 (csqrt_test): Likewise.
14016 (ctan_test): Likewise.
14017 (ctan_test_tonearest): Likewise.
14018 (ctan_test_towardzero): Likewise.
14019 (ctan_test_downward): Likewise.
14020 (ctan_test_upward): Likewise.
14021 (ctanh_test): Likewise.
14022 (ctanh_test_tonearest): Likewise.
14023 (ctanh_test_towardzero): Likewise.
14024 (ctanh_test_downward): Likewise.
14025 (ctanh_test_upward): Likewise.
14026 (erf_test): Likewise.
14027 (erfc_test): Likewise.
14028 (exp_test): Likewise.
14029 (exp_test_tonearest): Likewise.
14030 (exp_test_towardzero): Likewise.
14031 (exp_test_downward): Likewise.
14032 (exp_test_upward): Likewise.
14033 (exp10_test): Likewise.
14034 (exp2_test): Likewise.
14035 (expm1_test): Likewise.
14036 (fmod_test): Likewise.
14037 (gamma_test): Likewise.
14038 (hypot_test): Likewise.
14039 (j0_test): Likewise.
14040 (j1_test): Likewise.
14041 (jn_test): Likewise.
14042 (lgamma_test): Likewise.
14043 (log_test): Likewise.
14044 (log10_test): Likewise.
14045 (log1p_test): Likewise.
14046 (log2_test): Likewise.
14047 (logb_test_downward): Likewise.
14048 (pow_test): Likewise.
14049 (pow_test_tonearest): Likewise.
14050 (pow_test_towardzero): Likewise.
14051 (pow_test_downward): Likewise.
14052 (pow_test_upward): Likewise.
14053 (remainder_test): Likewise.
14054 (remquo_test): Likewise.
14055 (sin_test): Likewise.
14056 (sin_test_tonearest): Likewise.
14057 (sin_test_towardzero): Likewise.
14058 (sin_test_downward): Likewise.
14059 (sin_test_upward): Likewise.
14060 (sincos_test): Likewise.
14061 (sinh_test): Likewise.
14062 (sinh_test_tonearest): Likewise.
14063 (sinh_test_towardzero): Likewise.
14064 (sinh_test_downward): Likewise.
14065 (sinh_test_upward): Likewise.
14066 (sqrt_test): Likewise.
14067 (tan_test): Likewise.
14068 (tan_test_tonearest): Likewise.
14069 (tan_test_towardzero): Likewise.
14070 (tan_test_downward): Likewise.
14071 (tan_test_upward): Likewise.
14072 (tanh_test): Likewise.
14073 (tgamma_test): Likewise.
14074 (y0_test): Likewise.
14075 (y1_test): Likewise.
14076 (yn_test): Likewise.
14078 * math/gen-libm-test.pl (adjust_arg): Remove function.
14079 (special_function): Remove argument $in_func. Only handle
14080 generating output for tables of tests, not inside functions.
14081 (parse_args): Likewise.
14082 (generate_testfile): Remove variable $in_func. Update call to
14084 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14085 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14086 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14087 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14088 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14089 (MAX_VALUE_INIT): Rename macro to max_value.
14090 (MIN_VALUE_INIT): Rename macro to min_value.
14091 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14092 (plus_zero): Remove variable.
14093 (minus_zero): Likewise.
14094 (plus_infty): Likewise.
14095 (minus_infty): Likewise.
14096 (qnan_value): Likewise.
14097 (max_value): Likewise.
14098 (min_value): Likewise.
14099 (min_subnorm_value): Likewise.
14101 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14103 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14104 uint64_t or uint32_t usage.
14105 * crypt/sha256-block.c: Likewise.
14106 * crypt/sha256-crypt.c: Likewise.
14107 * crypt/sha256.c: Likewise.
14108 * crypt/sha512-block.c: Likewise.
14109 * crypt/sha512-crypt.c: Likewise.
14110 * crypt/sha512.c: Likewise.
14111 * debug/backtrace-tst.c: Likewise.
14112 * debug/pcprofiledump.c: Likewise.
14113 * elf/cache.c: Likewise.
14114 * elf/dl-cache.c: Likewise.
14115 * elf/dl-misc.c: Likewise.
14116 * elf/dl-profile.c: Likewise.
14117 * elf/dl-support.c: Likewise.
14118 * elf/ldconfig.c: Likewise.
14119 * elf/sprof.c: Likewise.
14120 * iconv/dummy-repertoire.c: Likewise.
14121 * iconv/iconv_charmap.c: Likewise.
14122 * iconv/skeleton.c: Likewise.
14123 * iconvdata/8bit-generic.c: Likewise.
14124 * iconvdata/cp737.h: Likewise.
14125 * iconvdata/cp775.h: Likewise.
14126 * iconvdata/ibm1008.h: Likewise.
14127 * iconvdata/ibm1025.h: Likewise.
14128 * iconvdata/ibm1046.h: Likewise.
14129 * iconvdata/ibm1097.h: Likewise.
14130 * iconvdata/ibm1112.h: Likewise.
14131 * iconvdata/ibm1122.h: Likewise.
14132 * iconvdata/ibm1123.h: Likewise.
14133 * iconvdata/ibm1124.h: Likewise.
14134 * iconvdata/ibm1129.h: Likewise.
14135 * iconvdata/ibm1130.h: Likewise.
14136 * iconvdata/ibm1132.h: Likewise.
14137 * iconvdata/ibm1133.h: Likewise.
14138 * iconvdata/ibm1137.h: Likewise.
14139 * iconvdata/ibm1140.h: Likewise.
14140 * iconvdata/ibm1141.h: Likewise.
14141 * iconvdata/ibm1142.h: Likewise.
14142 * iconvdata/ibm1143.h: Likewise.
14143 * iconvdata/ibm1144.h: Likewise.
14144 * iconvdata/ibm1145.h: Likewise.
14145 * iconvdata/ibm1146.h: Likewise.
14146 * iconvdata/ibm1147.h: Likewise.
14147 * iconvdata/ibm1148.h: Likewise.
14148 * iconvdata/ibm1149.h: Likewise.
14149 * iconvdata/ibm1153.h: Likewise.
14150 * iconvdata/ibm1154.h: Likewise.
14151 * iconvdata/ibm1155.h: Likewise.
14152 * iconvdata/ibm1156.h: Likewise.
14153 * iconvdata/ibm1157.h: Likewise.
14154 * iconvdata/ibm1158.h: Likewise.
14155 * iconvdata/ibm1160.h: Likewise.
14156 * iconvdata/ibm1161.h: Likewise.
14157 * iconvdata/ibm1162.h: Likewise.
14158 * iconvdata/ibm1163.h: Likewise.
14159 * iconvdata/ibm1164.h: Likewise.
14160 * iconvdata/ibm1166.h: Likewise.
14161 * iconvdata/ibm1167.h: Likewise.
14162 * iconvdata/ibm12712.h: Likewise.
14163 * iconvdata/ibm1390.h: Likewise.
14164 * iconvdata/ibm1399.h: Likewise.
14165 * iconvdata/ibm16804.h: Likewise.
14166 * iconvdata/ibm4517.h: Likewise.
14167 * iconvdata/ibm4899.h: Likewise.
14168 * iconvdata/ibm4909.h: Likewise.
14169 * iconvdata/ibm4971.h: Likewise.
14170 * iconvdata/ibm5347.h: Likewise.
14171 * iconvdata/ibm803.h: Likewise.
14172 * iconvdata/ibm856.h: Likewise.
14173 * iconvdata/ibm901.h: Likewise.
14174 * iconvdata/ibm902.h: Likewise.
14175 * iconvdata/ibm9030.h: Likewise.
14176 * iconvdata/ibm9066.h: Likewise.
14177 * iconvdata/ibm921.h: Likewise.
14178 * iconvdata/ibm922.h: Likewise.
14179 * iconvdata/ibm9448.h: Likewise.
14180 * iconvdata/isiri-3342.h: Likewise.
14181 * iconvdata/jis0201.h: Likewise.
14182 * include/link.h: Likewise.
14183 * include/netdb.h: Likewise.
14184 * inet/check_native.c: Likewise.
14185 * inet/check_pf.c: Likewise.
14186 * inet/getipv4sourcefilter.c: Likewise.
14187 * inet/getnameinfo.c: Likewise.
14188 * inet/getsourcefilter.c: Likewise.
14189 * inet/htonl.c: Likewise.
14190 * inet/setipv4sourcefilter.c: Likewise.
14191 * inet/setsourcefilter.c: Likewise.
14192 * inet/test-inet6_opt.c: Likewise.
14193 * inet/tst-network.c: Likewise.
14194 * locale/C-collate.c: Likewise.
14195 * locale/C-ctype.c: Likewise.
14196 * locale/C-time.c: Likewise.
14197 * locale/C-translit.h: Likewise.
14198 * locale/loadarchive.c: Likewise.
14199 * locale/programs/3level.h: Likewise.
14200 * locale/programs/charmap.c: Likewise.
14201 * locale/programs/charmap.h: Likewise.
14202 * locale/programs/ld-address.c: Likewise.
14203 * locale/programs/ld-collate.c: Likewise.
14204 * locale/programs/ld-ctype.c: Likewise.
14205 * locale/programs/ld-identification.c: Likewise.
14206 * locale/programs/ld-measurement.c: Likewise.
14207 * locale/programs/ld-messages.c: Likewise.
14208 * locale/programs/ld-monetary.c: Likewise.
14209 * locale/programs/ld-name.c: Likewise.
14210 * locale/programs/ld-numeric.c: Likewise.
14211 * locale/programs/ld-paper.c: Likewise.
14212 * locale/programs/ld-telephone.c: Likewise.
14213 * locale/programs/ld-time.c: Likewise.
14214 * locale/programs/linereader.c: Likewise.
14215 * locale/programs/locale.c: Likewise.
14216 * locale/programs/locarchive.c: Likewise.
14217 * locale/programs/locfile.h: Likewise.
14218 * locale/programs/repertoire.c: Likewise.
14219 * locale/programs/simple-hash.c: Likewise.
14220 * locale/programs/simple-hash.h: Likewise.
14221 * malloc/memusage.c: Likewise.
14222 * malloc/memusagestat.c: Likewise.
14223 * nis/nis_defaults.c: Likewise.
14224 * nis/nis_hash.c: Likewise.
14225 * nis/nis_print.c: Likewise.
14226 * nis/nis_xdr.c: Likewise.
14227 * nscd/connections.c: Likewise.
14228 * nscd/hstcache.c: Likewise.
14229 * nscd/nscd_gethst_r.c: Likewise.
14230 * nscd/nscd_getserv_r.c: Likewise.
14231 * nscd/nscd_helper.c: Likewise.
14232 * nscd/servicescache.c: Likewise.
14233 * nss/makedb.c: Likewise.
14234 * nss/nss_db/db-XXX.c: Likewise.
14235 * nss/nss_db/db-initgroups.c: Likewise.
14236 * nss/nss_db/db-netgrp.c: Likewise.
14237 * nss/nss_files/files-network.c: Likewise.
14238 * nss/nss_files/files-parse.c: Likewise.
14239 * posix/bug-regex5.c: Likewise.
14240 * posix/fnmatch_loop.c: Likewise.
14241 * posix/regcomp.c: Likewise.
14242 * posix/regexec.c: Likewise.
14243 * posix/tst-rfc3484-2.c: Likewise.
14244 * posix/tst-rfc3484-3.c: Likewise.
14245 * posix/tst-rfc3484.c: Likewise.
14246 * resolv/nss_dns/dns-canon.c: Likewise.
14247 * resolv/nss_dns/dns-network.c: Likewise.
14248 * resolv/res_init.c: Likewise.
14249 * resolv/res_mkquery.c: Likewise.
14250 * resolv/tst-aton.c: Likewise.
14251 * stdlib/cxa_atexit.c: Likewise.
14252 * stdlib/cxa_finalize.c: Likewise.
14253 * stdlib/gen-fpioconst.c: Likewise.
14254 * stdlib/strtol_l.c: Likewise.
14255 * string/tst-endian.c: Likewise.
14256 * sunrpc/auth_des.c: Likewise.
14257 * sunrpc/clnt_udp.c: Likewise.
14258 * sunrpc/rtime.c: Likewise.
14259 * sunrpc/svcauth_des.c: Likewise.
14260 * sunrpc/xdr.c: Likewise.
14261 * sunrpc/xdr_intXX_t.c: Likewise.
14262 * sunrpc/xdr_rec.c: Likewise.
14263 * sysdeps/generic/ldconfig.h: Likewise.
14264 * sysdeps/generic/ldsodefs.h: Likewise.
14265 * sysdeps/generic/memusage.h: Likewise.
14266 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14267 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14268 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14269 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14272 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14276 * sysdeps/posix/getaddrinfo.c: Likewise.
14277 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14278 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14279 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14280 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14281 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14282 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14283 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14284 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14285 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14286 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14287 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14288 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14289 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14290 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14291 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14292 * sysdeps/x86_64/dl-tls.h: Likewise.
14293 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14294 * time/alt_digit.c: Likewise.
14295 * time/era.c: Likewise.
14296 * wcsmbs/tst-c16c32-1.c: Likewise.
14298 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14300 * math/libm-test.inc (struct test_sincos_data): New type.
14301 (RUN_TEST_LOOP_sincos): New macro.
14302 (sincos_test_data): New variable.
14303 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14305 2013-05-16 Richard Henderson <rth@redhat.com>
14307 * math/atest-exp2.c (LIMB64): New macro.
14308 (CONSTSZ): New macro.
14309 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14311 (print_mpn_fp): ... to function scope.
14312 (read_mpn_hex): Remove.
14313 (get_log2): Remove.
14314 (exp2_mpn): Use mp_log2.
14315 (main): Use mp_exp1.
14317 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14319 * math/libm-test.inc: Remove comment about not testing "inexact"
14321 (INEXACT_EXCEPTION): New macro.
14322 (NO_INEXACT_EXCEPTION): Likewise.
14323 (INVALID_EXCEPTION_OK): Update value.
14324 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14325 (OVERFLOW_EXCEPTION_OK): Likewise.
14326 (UNDERFLOW_EXCEPTION_OK): Likewise.
14327 (IGNORE_ZERO_INF_SIGN): Likewise.
14328 (ERRNO_UNCHANGED): Likewise.
14329 (ERRNO_EDOM): Likewise.
14330 (ERRNO_ERANGE): Likewise.
14331 (test_exceptions): Handle testing "inexact" exceptions.
14332 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14333 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14334 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14335 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14337 (rint_towardzero_test_data): Likewise.
14338 (rint_downward_test_data): Likewise.
14339 (rint_upward_test_data): Likewise.
14341 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14342 with OVERFLOW_EXCEPTION.
14343 (exp10_test_data): Likewise.
14344 (exp2_test_data): Likewise.
14345 (expm1_test_data): Likewise.
14346 (lgamma_test_data): Likewise.
14347 (pow_test_data): Likewise.
14348 (tgamma_test_data): Likewise.
14349 (yn_test_data): Remove duplicate test of overflow.
14351 * math/libm-test.inc (struct test_cc_c_data): New type.
14352 (RUN_TEST_LOOP_cc_c): New macro.
14353 (cpow_test_data): New variable.
14354 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14356 * math/libm-test.inc (struct test_f_L_data): New type.
14357 (RUN_TEST_LOOP_f_L): New macro.
14358 (llrint_test_data): New variable.
14359 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14360 (llrint_tonearest_test_data): New variable.
14361 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14362 (llrint_towardzero_test_data): New variable.
14363 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14364 (llrint_downward_test_data): New variable.
14365 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14366 (llrint_upward_test_data): New variable.
14367 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14368 (llround_test_data): New variable.
14369 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14371 2013-05-13 Peter Collingbourne <pcc@google.com>
14373 * math/atest-exp2.c (get_log2): Remove const attribute.
14375 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14377 * math/libm-test.inc (struct test_f_l_data): New type.
14378 (RUN_TEST_LOOP_f_l): New macro.
14379 (lrint_test_data): New variable.
14380 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14381 (lrint_tonearest_test_data): New variable.
14382 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14383 (lrint_towardzero_test_data): New variable.
14384 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14385 (lrint_downward_test_data): New variable.
14386 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14387 (lrint_upward_test_data): New variable.
14388 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14389 (lround_test_data): New variable.
14390 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14392 2013-05-15 Peter Collingbourne <pcc@google.com>
14394 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14395 (EXTRACT_WORDS64) Use where appropriate.
14396 (INSERT_WORDS64) Likewise.
14398 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14399 constraints with x constraints.
14400 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14402 * malloc/obstack.c (_obstack_compat): Add initializer.
14404 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14407 si_trapno and add si_addr_lsb to _sifields.sigfault.
14408 (si_trapno): Remove macro.
14409 (si_addr_lsb): Define new macro.
14410 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14412 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14414 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14415 instead of TEST_f_l.
14416 (llrint_test_tonearest): Likewise.
14417 (llrint_test_towardzero): Likewise.
14418 (llrint_test_downward): Likewise.
14419 (llrint_test_upward): Likewise.
14420 (llround_test): Likewise.
14422 * math/libm-test.inc (struct test_f_i_data): Add comment.
14423 (RUN_TEST_LOOP_f_b): New macro.
14424 (RUN_TEST_LOOP_f_b_tg): Likewise.
14425 (finite_test_data): New variable.
14426 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14427 (isfinite_test_data): New variable.
14428 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14429 (isinf_test_data): New variable.
14430 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14431 (isnan_test_data): New variable.
14432 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14433 (isnormal_test_data): New variable.
14434 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14435 (issignaling_test_data): New variable.
14436 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14437 (signbit_test_data): New variable.
14438 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14440 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14441 with INVALID_EXCEPTION.
14442 (acosh_test_data): Likewise.
14443 (asin_test_data): Likewise.
14444 (atanh_test_data): Likewise.
14445 (fmod_test_data): Likewise.
14446 (log_test_data): Likewise.
14447 (log10_test_data): Likewise.
14448 (log2_test_data): Likewise.
14449 (pow_test_data): Likewise.
14450 (sqrt_test_data): Likewise.
14451 (y0_test_data): Likewise.
14452 (y1_test_data): Likewise.
14453 (yn_test_data): Likewise.
14455 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14458 * math/libm-test.inc (struct test_ff_i_data): New type.
14459 (RUN_TEST_LOOP_ff_i_tg): New macro.
14460 (isgreater_test_data): New variable.
14461 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14462 (isgreaterequal_test_data): New variable.
14463 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14464 (isless_test_data): New variable.
14465 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14466 (islessequal_test_data): New variable.
14467 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14468 (islessgreater_test_data): New variable.
14469 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14470 (isunordered_test_data): New variable.
14471 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14473 2013-05-14 David S. Miller <davem@davemloft.net>
14475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14477 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14479 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14481 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14483 (struct test_f_i_data): Change type of max_ulp to int.
14485 * math/libm-test.inc (test_ffI_f1_data): New type.
14486 (RUN_TEST_LOOP_ffI_f1): New macro.
14487 (remquo_test_data): New variable.
14488 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14490 * setjmp/tst-setjmp-fp.c: New file.
14491 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14492 (link-libm): New variable.
14493 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14495 * math/libm-test.inc (struct test_f_i_data): New type.
14496 (RUN_TEST_LOOP_f_i): New macro.
14497 (RUN_TEST_LOOP_f_i_tg): Likewise.
14498 (fpclassify_test_data): New variable.
14499 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14500 (ilogb_test_data): New variable.
14501 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14503 * math/libm-test.inc (scalbln_test): Correct function name in END
14506 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14507 (RUN_TEST_LOOP_fI_f1): New macro.
14508 (frexp_test_data): New variable.
14509 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14511 * math/libm-test.inc (struct test_fF_f1_data): New type.
14512 (RUN_TEST_LOOP_fF_f1): New macro.
14513 (modf_test_data): New variable.
14514 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14516 * math/libm-test.inc (struct test_f_f1_data): New type.
14517 (RUN_TEST_LOOP_f_f1): New macro.
14518 (gamma_test_data): New variable.
14519 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14520 (lgamma_test_data): New variable.
14521 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14523 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14525 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14526 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14527 (main): Comment "tls" pseudo-hwcap.
14529 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14531 * math/libm-test.inc (struct test_fl_f_data): New type.
14532 (RUN_TEST_LOOP_fl_f): New variable.
14533 (scalbln_test_data): New variable.
14534 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14536 * math/libm-test.inc (struct test_fi_f_data): New type.
14537 (RUN_TEST_LOOP_fi_f): New macro.
14538 (ldexp_test_data): New variable.
14539 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14540 (scalbn_test_data): New variable.
14541 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14543 * math/libm-test.inc (struct test_c_f_data): New type.
14544 (RUN_TEST_LOOP_c_f): New macro.
14545 (cabs_test_data): New variable.
14546 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14547 (carg_test_data): New variable.
14548 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14549 (cimag_test_data): New variable.
14550 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14551 (creal_test_data): New variable.
14552 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14554 * math/libm-test.inc (struct test_if_f_data): New type.
14555 (RUN_TEST_LOOP_if_f): New macro.
14556 (jn_test_data): New variable.
14557 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14558 (yn_test_data): New variable.
14559 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14561 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14563 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14565 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14566 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14568 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14570 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14571 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14572 (bench-deps): Add bench-timing.h.
14573 * benchtests-bench-skeleton.c: Include bench-timing.h.
14574 (main): Use TIMING_* macros instead of clock_gettime.
14575 * benchtests/bench-timing.h: New file.
14578 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14579 Renamed from _LIB_VERSION.
14580 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14582 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14584 * math/libm-test.inc (struct test_fff_f_data): New type.
14585 (RUN_TEST_LOOP_fff_f): New macro.
14586 (fma_test_data): New variable.
14587 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14588 (fma_towardzero_test_data): New variable.
14589 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14590 (fma_downward_test_data): New variable.
14591 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14592 (fma_upward_test_data): New variable.
14593 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14595 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14596 (struct test_c_c_data): New type.
14597 (RUN_TEST_LOOP_c_c): New macro.
14598 (cacos_test_data): New variable.
14599 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14600 (cacosh_test_data): New variable.
14601 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14602 (casin_test_data): New variable.
14603 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14604 (casinh_test_data): New variable.
14605 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14606 (catan_test_data): New variable.
14607 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14608 (catanh_test_data): New variable.
14609 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14610 (ccos_test_data): New variable.
14611 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14612 (ccosh_test_data): New variable.
14613 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14614 (cexp_test_data): New variable.
14615 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14616 (clog_test_data): New variable.
14617 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14618 (clog10_test_data): New variable.
14619 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14620 (conj_test_data): New variable.
14621 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14622 (cproj_test_data): New variable.
14623 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14624 (csin_test_data): New variable.
14625 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14626 (csinh_test_data): New variable.
14627 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14628 (csqrt_test_data): New variable.
14629 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14630 (ctan_test_data): New variable.
14631 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14632 (ctan_tonearest_test_data): New variable.
14633 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14634 (ctan_towardzero_test_data): New variable.
14635 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14636 (ctan_downward_test_data): New variable.
14637 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14638 (ctan_upward_test_data): New variable.
14639 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14640 (ctanh_test_data): New variable.
14641 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14642 (ctanh_tonearest_test_data): New variable.
14643 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14644 (ctanh_towardzero_test_data): New variable.
14645 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14646 (ctanh_downward_test_data): New variable.
14647 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14648 (ctanh_upward_test_data): New variable.
14649 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14650 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14653 * math/libm-test.inc (struct test_ff_f_data): New type.
14654 (struct test_ff_f_data_nexttoward): Likewise.
14655 (RUN_TEST_LOOP_2_f): New macro.
14656 (RUN_TEST_LOOP_ff_f): Likewise.
14657 (atan2_test_data): New variable.
14658 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14659 (copysign_test_data): New variable.
14660 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14661 (fdim_test_data): New variable.
14662 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14663 (fmax_test_data): New variable.
14664 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14665 (fmin_test_data): New variable.
14666 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14667 (fmod_test_data): New variable.
14668 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14669 (hypot_test_data): New variable.
14670 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14671 (nextafter_test_data): New variable.
14672 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14673 (nexttoward_test_data): New variable.
14674 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14675 (pow_test_data): New variable.
14676 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14677 (pow_tonearest_test_data): New variable.
14678 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14679 (pow_towardzero_test_data): New variable.
14680 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14681 (pow_downward_test_data): New variable.
14682 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14683 (pow_upward_test_data): New variable.
14684 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14685 (remainder_test_data): New variable.
14686 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14687 (scalb_test_data): New variable.
14688 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14689 * sysdeps/i386/fpu/libm-test-ulps: Update.
14691 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14693 * math/libm-test.inc (fma_test): Use max_value instead of local
14695 (nextafter_test): Likewise.
14697 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14698 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14699 (acos_downward_test_data): New variable.
14700 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14701 (acos_upward_test_data): New variable.
14702 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14703 (acosh_test_data): New variable.
14704 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14705 (asin_test_data): New variable.
14706 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14707 (asin_tonearest_test_data): New variable.
14708 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14709 (asin_towardzero_test_data): New variable.
14710 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14711 (asin_downward_test_data): New variable.
14712 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14713 (asin_upward_test_data): New variable.
14714 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14715 (asinh_test_data): New variable.
14716 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14717 (atan_test_data): New variable.
14718 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14719 (atanh_test_data): New variable.
14720 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14721 (cbrt_test_data): New variable.
14722 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14723 (ceil_test_data): New variable.
14724 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14725 (cos_test_data): New variable.
14726 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14727 (cos_tonearest_test_data): New variable.
14728 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14729 (cos_towardzero_test_data): New variable.
14730 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14731 (cos_downward_test_data): New variable.
14732 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14733 (cos_upward_test_data): New variable.
14734 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14735 (cosh_test_data): New variable.
14736 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14737 (cosh_tonearest_test_data): New variable.
14738 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14739 (cosh_towardzero_test_data): New variable.
14740 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14741 (cosh_downward_test_data): New variable.
14742 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14743 (cosh_upward_test_data): New variable.
14744 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14745 (erf_test_data): New variable.
14746 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14747 (erfc_test_data): New variable.
14748 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14749 (exp_test_data): New variable.
14750 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14751 (exp_tonearest_test_data): New variable.
14752 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14753 (exp_towardzero_test_data): New variable.
14754 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14755 (exp_downward_test_data): New variable.
14756 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14757 (exp_upward_test_data): New variable.
14758 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14759 (exp10_test_data): New variable.
14760 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14761 (exp2_test_data): New variable.
14762 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14763 (expm1_test_data): New variable.
14764 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14765 (fabs_test_data): New variable.
14766 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14767 (floor_test_data): New variable.
14768 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14769 (j0_test_data): New variable.
14770 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14771 (j1_test_data): New variable.
14772 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14773 (log_test_data): New variable.
14774 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14775 (log10_test_data): New variable.
14776 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14777 (log1p_test_data): New variable.
14778 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14779 (log2_test_data): New variable.
14780 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14781 (logb_test_data): New variable.
14782 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14783 (logb_downward_test_data): New variable.
14784 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14785 (nearbyint_test_data): New variable.
14786 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14787 (rint_test_data): New variable.
14788 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14789 (rint_tonearest_test_data): New variable.
14790 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14791 (rint_towardzero_test_data): New variable.
14792 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14793 (rint_downward_test_data): New variable.
14794 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14795 (rint_upward_test_data): New variable.
14796 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14797 (round_test_data): New variable.
14798 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14799 (sin_test_data): New variable.
14800 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14801 (sin_tonearest_test_data): New variable.
14802 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14803 (sin_towardzero_test_data): New variable.
14804 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14805 (sin_downward_test_data): New variable.
14806 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14807 (sin_upward_test_data): New variable.
14808 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14809 (sinh_test_data): New variable.
14810 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14811 (sinh_tonearest_test_data): New variable.
14812 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14813 (sinh_towardzero_test_data): New variable.
14814 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14815 (sinh_downward_test_data): New variable.
14816 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14817 (sinh_upward_test_data): New variable.
14818 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14819 (sqrt_test_data): New variable.
14820 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14821 (tan_test_data): New variable.
14822 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14823 (tan_tonearest_test_data): New variable.
14824 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14825 (tan_towardzero_test_data): New variable.
14826 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14827 (tan_downward_test_data): New variable.
14828 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14829 (tan_upward_test_data): New variable.
14830 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14831 (tanh_test_data): New variable.
14832 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14833 (tgamma_test_data): New variable.
14834 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14835 (trunc_test_data): New variable.
14836 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14837 (y0_test_data): New variable.
14838 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14839 (y1_test_data): New variable.
14840 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14841 (significand_test_data): New variable.
14842 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14844 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14847 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14849 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14851 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14853 2013-05-10 Andreas Jaeger <aj@suse.de>
14856 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14857 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14859 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14861 * math/gen-libm-test.pl (adjust_arg): New function.
14862 (special_functions): Handle generating output in both functions
14864 (parse_args): Likewise.
14865 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14866 $in_func argument to parse_args.
14867 * math/libm-test.inc (struct test_f_f_data): New type.
14868 (IF_ROUND_INIT_): New macro.
14869 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14870 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14871 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14872 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14873 (ROUND_RESTORE_): Likewise.
14874 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14875 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14876 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14877 (ROUND_RESTORE_FE_UPWARD): Likewise.
14878 (RUN_TEST_LOOP_f_f): New macro.
14879 (acos_test_data): New variable.
14880 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14881 (acos_tonearest_test_data): New variable.
14882 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14884 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14886 * benchtests/bench-skeleton.c (startup): Fix coding style.
14888 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14891 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14892 negative infinity argument.
14893 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14894 negative infinity argument.
14895 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14896 negative infinity argument.
14897 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14900 2013-05-10 Florian Weimer <fweimer@redhat.com>
14902 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14903 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14904 * iconv/iconv_prog.c (main): Likewise.
14905 * locale/programs/charmap-dir.c (charmap_readdir)
14906 (fopen_uncompressed): Likewise.
14907 * locale/programs/locfile.c (siblings_uncached)
14908 (write_locale_data): Use lstat64 instead of lstat.
14909 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14912 2013-05-10 Andreas Jaeger <aj@suse.de>
14915 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14917 Include <locale.h>.
14919 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14921 * elf/dl-close.c (_dl_close_worker): Add comments.
14923 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14926 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14928 (__ieee754_rem_pio2l): Update comments.
14931 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14933 (__ieee754_rem_pio2l): Update comments.
14935 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14936 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14938 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14941 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14942 (M_PI_34_LOG10El): Likewise.
14943 (M_PI2_LOG10El): Likewise.
14944 (M_PI4_LOG10El): Likewise.
14945 (M_PI_LOG10El): Likewise.
14947 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14951 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14953 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14954 (MINUS_ZERO_INIT): Likewise.
14955 (PLUS_INFTY_INIT): Likewise.
14956 (MINUS_INFTY_INIT): Likewise.
14957 (QNAN_VALUE_INIT): Likewise.
14958 (MAX_VALUE_INIT): Likewise.
14959 (MIN_VALUE_INIT): Likewise.
14960 (MIN_SUBNORM_VALUE_INIT): Likewise.
14961 (plus_zero): Initialize with PLUS_ZERO_INIT.
14962 (minus_zero): Initialize with MINUS_ZERO_INIT.
14963 (plus_infty): Initialize with PLUS_INFTY_INIT.
14964 (minus_infty): Initialize with MINUS_INFTY_INIT.
14965 (qnan_value): Initialize with QNAN_VALUE_INIT.
14966 (max_value): Initialize with MAX_VALUE_INIT.
14967 (min_value): Initialize with MIN_VALUE_INIT.
14968 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14970 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14971 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14972 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14973 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14975 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14976 (RUN_TEST_2_f): Likewise.
14977 (RUN_TEST_ff_f): Likewise.
14978 (RUN_TEST_fi_f): Likewise.
14979 (RUN_TEST_fl_f): Likewise.
14980 (RUN_TEST_fff_f): Likewise.
14981 (RUN_TEST_c_f): Likewise.
14982 (RUN_TEST_f_f1): Likewise.
14983 (RUN_TEST_fF_f1): Likewise.
14984 (RUN_TEST_fI_f1): Likewise.
14985 (RUN_TEST_ffI_f1): Likewise.
14986 (RUN_TEST_c_c): Likewise.
14987 (RUN_TEST_cc_c): Likewise.
14988 (RUN_TEST_f_i): Likewise.
14989 (RUN_TEST_f_i_tg): Likewise.
14990 (RUN_TEST_ff_i_tg): Likewise.
14991 (RUN_TEST_f_b): Likewise.
14992 (RUN_TEST_f_b_tg): Likewise.
14993 (RUN_TEST_f_l): Likewise.
14994 (RUN_TEST_f_L): Likewise.
14995 (RUN_TEST_sincos): Likewise.
14996 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14997 whether to show exceptions. Do not include ");\n" in return
14999 (special_functions): Output call to RUN_TEST_sincos instead of
15000 check_float calls. Update calls to new_test.
15001 (parse_args): Output call to single RUN_TEST_* macro instead of
15002 check_* calls and other assignments. Update calls to new_test.
15008 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15009 input to result for tgamma overflow.
15010 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15011 (gamma_coeff): New variable.
15012 (NCOEFF): New macro.
15013 (gamma_positive): New function.
15014 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15015 underflow here. Use gamma_positive instead of exp (lgamma) for
15017 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15018 (gamma_coeff): New variable.
15019 (NCOEFF): New macro.
15020 (gammaf_positive): New function.
15021 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15022 underflow here. Use gamma_positive instead of exp (lgamma) for
15024 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15025 (gamma_coeff): New variable.
15026 (NCOEFF): New macro.
15027 (gammal_positive): New function.
15028 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15029 underflow here. Use gamma_positive instead of exp (lgamma) for
15031 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15032 (gamma_coeff): New variable.
15033 (NCOEFF): New macro.
15034 (gammal_positive): New function.
15035 (__ieee754_gammal_r): Handle positive infinity, overflow and
15036 underflow here. Handle NaN the same as positive infinity. Remove
15037 check x < 0xffffffff for negative integers. Use gamma_positive
15038 instead of exp (lgamma) for other arguments.
15039 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15040 (gamma_coeff): New variable.
15041 (NCOEFF): New macro.
15042 (gammal_positive): New function.
15043 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15044 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15048 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15049 * sysdeps/generic/math_private.h (__gamma_productf): New
15051 (__gamma_product): Likewise.
15052 (__gamma_productl): Likewise.
15053 * math/Makefile (libm-calls): Add gamma_product.
15054 * math/libm-test.inc (tgamma_test): Add more tests.
15055 * sysdeps/i386/fpu/libm-test-ulps: Update.
15056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15058 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15060 * benchtests/bench-skeleton.c (main): Preheat CPU.
15062 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15064 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15066 2013-05-07 Roland McGrath <roland@hack.frob.com>
15068 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15069 and _dl_skip_args_internal.
15071 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15073 * manual/message.texi (Message Translation): Talk about users.
15074 Message to key mapping impacts design.
15076 2013-05-06 Roland McGrath <roland@hack.frob.com>
15078 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15080 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15082 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15083 * sysdeps/wordsize-64/glob64.c: ... here.
15085 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15086 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15089 * debug/getlogin_r_chk.c: Moved to ...
15090 * login/getlogin_r_chk.c: ... here.
15091 * debug/Makefile (routines): Move getlogin_r_chk to ...
15092 * login/Makefile (routines): ... here.
15093 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15094 * login/Versions (libc: GLIBC_2.4): ... here.
15096 * io/poll.c (__poll): Renamed from poll.
15097 Add libc_hidden_def.
15098 (poll): Define as weak alias.
15100 * debug/ptsname_r_chk.c: Moved to ...
15101 * login/ptsname_r_chk.c: ... here.
15102 * debug/Makefile (routines): Move ptsname_r_chk to ...
15103 * login/Makefile (routines): ... here.
15104 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15105 * login/Versions (libc: GLIBC_2.4): ... here.
15107 * posix/getlogin.c: Moved to ...
15108 * login/getlogin.c: ... here.
15109 * posix/getlogin_r.c: Moved to ...
15110 * login/getlogin_r.c: ... here.
15111 * posix/getlogin_r.c: Moved to ...
15112 * login/getlogin_r.c: ... here.
15113 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15114 * login/Makefile (routines): ... here.
15115 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15116 * login/Versions (libc: GLIBC_2.0): ... here.
15118 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15119 (setrlimit): Define as weak alias.
15121 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15122 Call __ names for open, ftruncate, and close.
15123 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15124 (truncate): Define as weak alias.
15126 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15128 * math/gen-libm-test.pl (parse_args): Initialize x before each
15129 test of frexp, modf and remquo.
15131 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15132 test signgam value.
15134 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15138 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15140 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15142 2013-05-06 Roland McGrath <roland@hack.frob.com>
15144 * elf/dl-writev.h: New file.
15145 * elf/dl-misc.c: Include it.
15146 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15147 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15149 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15151 * math/libm-test.inc (noXFails): Remove variable.
15152 (noXPasses): Likewise.
15153 (BUILD_COMPLEX_INT): Remove macro.
15154 (print_screen): Remove xfail argument.
15155 (print_screen_max_error): Likewise.
15156 (update_stats): Likewise.
15157 (print_max_error): Likewise. Update calls to other affected
15159 (print_complex_max_error): Likewise.
15160 (test_single_exception): Update calls to print_screen.
15161 (test_single_errno): Likewise.
15162 (check_float_internal): Remove xfail argument. Update calls to
15163 other affected functions.
15164 (check_float): Likewise.
15165 (check_complex): Likewise.
15166 (check_int): Likewise.
15167 (check_long): Likewise.
15168 (check_bool): Likewise.
15169 (check_longlong): Likewise.
15170 (main): Don't print noXFails and noXPasses.
15171 * math/gen-libm-test.pl (top level): Don't mention expected
15172 failure handling in comment.
15173 (new_test): Don't handle expected failures.
15174 (parse_args): Don't mention expected failure handling in comment.
15175 (generate_testfile): Don't handle expected failures.
15176 (parse_ulps): Likewise.
15177 (print_ulps_file): Likewise.
15178 (get_failure): Remove function.
15179 (output_test): Don't handle expected failures.
15180 * make/README.libm-test: Don't mention expected failure handling.
15182 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15183 (minus_zero): Likewise.
15184 (plus_infty): Likewise.
15185 (minus_infty): Likewise.
15186 (qnan_value): Likewise.
15187 (max_value): Likewise.
15188 (min_value): Likewise.
15189 (min_subnorm_value): Likewise.
15190 (initialize): Do not initialize those variables dynamically.
15192 2013-05-03 Roland McGrath <roland@hack.frob.com>
15194 * io/open.c (__open_2): Moved to ...
15195 * io/open_2.c: ... this new file.
15196 * io/open64.c (__open64_2): Moved to ...
15197 * io/open64_2.c: ... this new file.
15198 * io/openat.c (__openat_2): Moved to ...
15199 * io/openat_2.c: ... this new file.
15200 * io/openat64.c (__openat64_2): Moved to ...
15201 * io/openat64_2.c: ... this new file.
15202 * io/Makefile (routines): Add them.
15203 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15204 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15205 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15206 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15207 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15208 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15209 (__openat64): Add hidden_ver.
15210 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15211 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15213 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15214 Separately conditionalize setting of GLRO(dl_sysinfo) so
15215 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15216 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15218 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15220 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15221 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15223 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15224 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15225 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15226 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15227 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15229 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15231 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15232 test signgam value.
15234 * math/libm-test.inc (hypot_test): Do not use
15235 IGNORE_ZERO_INF_SIGN.
15237 2013-05-03 Andreas Jaeger <aj@suse.de>
15239 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15241 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15242 (PF_MAX): Adjust for VSOCK change.
15244 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15248 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15251 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15252 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15253 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15255 2013-05-02 David S. Miller <davem@davemloft.net>
15257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15259 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15261 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15263 2013-05-01 Roland McGrath <roland@hack.frob.com>
15265 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15267 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15270 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15271 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15272 Use __attribute__ ((__gnu_inline__)).
15273 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15274 Don't use __attribute__ ((__gnu_inline__)).
15276 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15279 * math/s_catan.c (__catan): Handle small real or imaginary part of
15280 input specially to avoid spurious underflow.
15281 * math/s_catanf.c (__catanf): Likewise.
15282 * math/s_catanh.c (__catanh): Likewise.
15283 * math/s_catanhf.c (__catanhf): Likewise.
15284 * math/s_catanhl.c (__catanhl): Likewise.
15285 * math/s_catanl.c (__catanl): Likewise.
15286 * math/libm-test.inc (catan_test): Add more tests.
15287 (catanh_test): Likewise.
15288 * sysdeps/i386/fpu/libm-test-ulps: Update.
15289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15291 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15295 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15298 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15299 accurately for denominator in atan2.
15300 * math/s_catanf.c (__catanf): Likewise.
15301 * math/s_catanh.c (__catanh): Likewise.
15302 * math/s_catanhf.c (__catanhf): Likewise.
15303 * math/s_catanhl.c (__catanhl): Likewise.
15304 * math/s_catanl.c (__catanl): Likewise.
15305 * math/libm-test.inc (catan_test): Add more tests.
15306 (catanh_test): Likewise.
15307 * sysdeps/i386/fpu/libm-test-ulps: Update.
15308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15312 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15314 * benchtests/Makefile (bench): Remove slow benchmarks.
15315 * benchtests/atan-inputs: Add slow benchmark inputs.
15316 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15317 (BENCH_FUNC): Accept variant offset.
15319 * benchtests/bench-skeleton.c (main): Run benchmark for each
15321 * benchtests/cos-inputs: Add slow benchmark inputs.
15322 * benchtests/exp-inputs: Likewise.
15323 * benchtests/pow-inputs: Likewise.
15324 * benchtests/sin-inputs: Likewise.
15325 * benchtests/slowatan-inputs: Remove.
15326 * benchtests/slowatan.c: Remove.
15327 * benchtests/slowcos-inputs: Remove.
15328 * benchtests/slowcos.c: Remove.
15329 * benchtests/slowexp-inputs: Remove.
15330 * benchtests/slowexp.c: Remove.
15331 * benchtests/slowpow-inputs: Remove.
15332 * benchtests/slowpow.c: Remove.
15333 * benchtests/slowsin-inputs: Remove.
15334 * benchtests/slowsin.c: Remove.
15335 * benchtests/slowtan-inputs: Remove.
15336 * benchtests/slowtan.c: Remove.
15337 * benchtests/tan-inputs: Add slow benchmark inputs.
15338 * scripts/bench.pl: Parse comments and directives.
15340 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15342 ($(objpfx)bench-%.c): Remove *-ITER.
15343 * benchtests/bench-modf.c: Remove definition of ITER.
15344 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15345 (main): Loop for DURATION seconds instead of fixed number of
15347 * scripts/bench.pl: Don't expect iterations in parameters.
15349 2013-04-29 Roland McGrath <roland@hack.frob.com>
15351 * io/fchdir.c (__fchdir): Renamed from fchdir.
15352 (fchdir): Define as weak alias.
15354 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15356 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15357 (ERRNO_EDOM): Likewise.
15358 (ERRNO_ERANGE): Likewise.
15359 (noErrnoTests): New variable.
15360 (init_max_error): Set errno to 0.
15361 (test_single_errno): New function.
15362 (test_errno): Likewise.
15363 (check_float_internal): Call test_errno. Set errno to 0.
15364 (check_complex): Refer to errno tests in comment.
15365 (check_int): Call test_errno. Set errno to 0.
15366 (check_long): Likewise.
15367 (check_bool): Likewise.
15368 (check_longlong): Likewise.
15369 (cos_test): Use ERRNO_* flags for errno tests instead of
15371 (expm1_test): Likewise.
15372 (fmod_test): Likewise.
15373 (ilogb_test): Likewise.
15374 (lgamma_test): Likewise.
15375 (pow_test): Likewise.
15376 (remainder_test): Likewise.
15377 (sin_test): Likewise.
15378 (tan_test): Likewise.
15379 (yn_test): Likewise.
15380 (initialize): Set errno to 0.
15381 (main): Print number of errno tests.
15382 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15384 2013-04-29 Andreas Jaeger <aj@suse.de>
15387 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15391 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15392 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15396 * stdlib/random.c (__initstate): Return NULL if
15400 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15401 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15404 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15408 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15410 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15411 of individual tests.
15412 (casin_test): Likewise.
15413 (casinh_test): Likewise.
15415 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15418 * math/s_catan.c (__catan): Handle arguments with large real or
15419 imaginary part separately without squaring.
15420 * math/s_catanf.c (__catanf): Likewise.
15421 * math/s_catanh.c (__catanh): Likewise.
15422 * math/s_catanhf.c (__catanhf): Likewise.
15423 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15425 (__catanhl): Handle arguments with large real or imaginary part
15426 separately without squaring.
15427 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15429 (__catanl): Handle arguments with large real or imaginary part
15430 separately without squaring.
15431 * math/libm-test.inc (catan_test): Add more tests.
15432 (catanh_test): Likewise.
15433 * sysdeps/i386/fpu/libm-test-ulps: Update.
15434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15436 2013-04-27 Andreas Jaeger <aj@suse.de>
15439 * stdlib/stdlib.h: Update guards for qecvt.
15440 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15443 2013-04-27 Allan McRae <allan@archlinux.org>
15445 * sysdeps/i386/fpu/libm-test-ulps: Update.
15447 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15450 * math/s_catan.c: Include <float.h>.
15451 (__catan): Ensure underflow exception occurs for underflowed
15453 * math/s_catanf.c: Include <float.h>.
15454 (__catanf): Ensure underflow exception occurs for underflowed
15456 * math/s_catanh.c: Include <float.h>.
15457 (__catanh): Ensure underflow exception occurs for underflowed
15459 * math/s_catanhf.c: Include <float.h>.
15460 (__catanhf): Ensure underflow exception occurs for underflowed
15462 * math/s_catanhl.c: Include <float.h>.
15463 (__catanhl): Ensure underflow exception occurs for underflowed
15465 * math/s_catanl.c: Include <float.h>.
15466 (__catanl): Ensure underflow exception occurs for underflowed
15468 * math/libm-test.inc (catan_test): Add more tests.
15469 (catanh_test): Likewise.
15472 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15473 underflowed result.
15474 * math/s_ccoshf.c (__ccoshf): Likewise.
15475 * math/s_ccoshl.c (__ccoshl): Likewise.
15476 * math/s_csin.c (__csin): Likewise.
15477 * math/s_csinf.c (__csinf): Likewise.
15478 * math/s_csinh.c (__csinh): Likewise.
15479 * math/s_csinhf.c (__csinhf): Likewise.
15480 * math/s_csinhl.c (__csinhl): Likewise.
15481 * math/s_csinl.c (__csinl): Likewise.
15482 * math/libm-test.inc (ccos_test): Add more tests.
15483 (ccosh_test): Likewise.
15484 (csin_test): Likewise.
15485 (csinh_test): Likewise.
15487 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15489 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15490 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15491 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15492 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15493 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15494 powerpc/power5+/fpu folders.
15495 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15498 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15502 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15504 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15505 additions to variable.
15506 [$(config-machine) = x86_64] (modules-names): Likewise.
15507 ($(objpfx)tst-audit3): Remove dependency.
15508 ($(objpfx)tst-audit3.out): Likewise.
15509 ($(objpfx)tst-audit4): Likewise.
15510 ($(objpfx)tst-audit4.out): Likewise.
15511 ($(objpfx)tst-audit5): Likewise.
15512 ($(objpfx)tst-audit5.out): Likewise.
15513 ($(objpfx)tst-audit6): Likewise.
15514 ($(objpfx)tst-audit6.out): Likewise.
15515 ($(objpfx)tst-audit7): Likewise.
15516 ($(objpfx)tst-audit7.out): Likewise.
15517 (tst-audit3-ENV): Remove variable.
15518 (tst-audit4-ENV): Likewise.
15519 (tst-audit5-ENV): Likewise.
15520 (tst-audit6-ENV): Likewise.
15521 (tst-audit7-ENV): Likewise.
15522 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15523 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15524 addition to variable.
15525 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15526 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15527 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15528 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15529 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15530 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15531 tst-audit3, tst-audit4 and tst-audit5.
15532 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15533 tst-audit6 and tst-audit7.
15534 [$(subdir) = elf] (modules-names): Add audit modules for those
15536 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15537 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15538 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15539 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15540 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15541 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15542 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15543 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15544 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15545 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15546 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15547 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15548 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15549 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15550 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15551 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15553 [$(subdir) = elf && $(config-cflags-avx) = yes]
15554 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15555 [$(subdir) = elf && $(config-cflags-avx) = yes]
15556 (CFLAGS-tst-auditmod4a.c): Likewise.
15557 [$(subdir) = elf && $(config-cflags-avx) = yes]
15558 (CFLAGS-tst-auditmod4b.c): Likewise.
15559 [$(subdir) = elf && $(config-cflags-avx) = yes]
15560 (CFLAGS-tst-auditmod6b.c): Likewise.
15561 [$(subdir) = elf && $(config-cflags-avx) = yes]
15562 (CFLAGS-tst-auditmod6c.c): Likewise.
15563 [$(subdir) = elf && $(config-cflags-avx) = yes]
15564 (CFLAGS-tst-auditmod7b.c): Likewise.
15565 * elf/tst-audit3.c: Move to ...
15566 * sysdeps/x86_64/tst-audit3.c: ... here.
15567 * elf/tst-audit4.c: Move to ...
15568 * sysdeps/x86_64/tst-audit4.c: ... here.
15569 * elf/tst-audit5.c: Move to ...
15570 * sysdeps/x86_64/tst-audit5.c: ... here.
15571 * elf/tst-audit6.c: Move to ...
15572 * sysdeps/x86_64/tst-audit6.c: ... here.
15573 * elf/tst-audit7.c: Move to ...
15574 * sysdeps/x86_64/tst-audit7.c: ... here.
15575 * elf/tst-auditmod3a.c: Move to ...
15576 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15577 * elf/tst-auditmod3b.c: Move to ...
15578 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15579 * elf/tst-auditmod4a.c: Move to ...
15580 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15581 * elf/tst-auditmod4b.c: Move to ...
15582 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15583 * elf/tst-auditmod5a.c: Move to ...
15584 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15585 * elf/tst-auditmod5b.c: Move to ...
15586 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15587 * elf/tst-auditmod6a.c: Move to ...
15588 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15589 * elf/tst-auditmod6b.c: Move to ...
15590 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15591 * elf/tst-auditmod6c.c: Move to ...
15592 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15593 * elf/tst-auditmod7a.c: Move to ...
15594 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15595 * elf/tst-auditmod7b.c: Move to ...
15596 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15598 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15601 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15602 define unconditionally.
15603 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15604 define unconditionally.
15605 (INT8_C, INT16_C, etc.): Likewise.
15607 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15609 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15610 __ehdr_start with hidden visibility.
15612 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15614 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15616 * math/libm-test.inc (cos_test): Use accurate hex constants.
15617 (sincost_test): Likewise.
15619 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15621 * math/libm-test.inc (catan_test): Add more tests.
15622 (catanh_test): Likewise.
15624 * math/s_catanf.c (__catanf): Use suffixed floating-point
15626 * math/s_catanhf.c (__catanhf): Likewise.
15627 * math/s_catanhl.c (__catanhl): Likewise.
15628 * math/s_catanl.c (__catanl): Likewise.
15631 * math/s_catan.c (__catan): Calculate imaginary part of result
15632 with log1p not log unless computing log of number close to 0.
15633 * math/s_catanf.c (__catanf): Likewise.
15634 * math/s_catanl.c (__catanl): Likewise.
15635 * math/s_catanh.c (__catanh): Calculate real part of result with
15636 log1p not log unless computing log of number close to 0.
15637 * math/s_catanhf.c (__catanhf): Likewise.
15638 * math/s_catanhl.c (__catanhl): Likewise.
15639 * math/libm-test.inc (catan_test): Add more tests.
15640 (catanh_test): Likewise.
15641 * sysdeps/i386/fpu/libm-test-ulps: Update.
15642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15644 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15646 * benchtests/Makefile: Mention files in which fast and slow
15647 paths of math functions are implemented.
15649 2013-04-23 Roland McGrath <roland@hack.frob.com>
15651 * sysdeps/posix/timespec_get.c: New file.
15653 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15655 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15657 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15659 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15660 powerpc/power5/fpu folders.
15661 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15662 * benchtests/Makefile: Add modf testcase.
15663 * benchtests/bench-modf.c: New file: Benchmark test for mo
15665 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15668 * time/Makefile (tests): Add tst-strptime-whitespace.
15669 * time/strptime_l.c (get_number): Use ISSPACE.
15670 (__strptime_internal): Likewise.
15671 * time/tst-strptime-whitespace.c: New test case.
15673 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15675 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15677 (_nss_files_init): Set it here.
15679 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15681 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15682 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15685 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15687 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15689 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15691 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15694 2013-04-21 David S. Miller <davem@davemloft.net>
15696 * po/ru.po: Update Russion translation from translation project.
15698 2013-04-17 Adam Conrad <adconrad@0c3.net>
15700 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15703 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15705 * configure.in: Remove i386 configure warning. Remove i386 case.
15706 * configure: Regenerate.
15707 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15708 Add example to error message.
15709 * sysdeps/i386/configure: Regenerate.
15711 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15713 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15715 * benchtests/cos-inputs: New file.
15716 * benchtests/slowcos-inputs: New file.
15717 * benchtests/slowcos.c: New file.
15718 * benchtests/slowtan-inputs: New file.
15719 * benchtests/slowtan.c: New file.
15720 * benchtests/tan-inputs: New file.
15722 2013-04-16 Roland McGrath <roland@hack.frob.com>
15724 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15727 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15729 * benchtests/Makefile: Include cppflags-iterator.mk to add
15730 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15732 * Makefile.in (bench-clean): New target.
15733 * benchtests/Makefile (bench-clean): Likewise.
15735 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15737 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15739 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15741 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15743 2013-04-15 Andreas Schwab <schwab@suse.de>
15745 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15746 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15747 * nscd/pwdcache.c (cache_addpw): Likewise.
15748 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15751 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15753 * benchtests/Makefile (bench): Write all output to
15754 bench-out.tmp together.
15756 2013-04-15 Andreas Schwab <schwab@suse.de>
15758 * nscd/nscd.c (main): Don't fork again after closing files.
15760 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15762 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15764 * benchtests/Rules (bench-deps): Collect dependencies into a
15765 single variable. Add Makefile to dependencies.
15766 ($(objpfx)bench-%.c): Depend on bench-deps.
15768 2013-04-12 Roland McGrath <roland@hack.frob.com>
15769 Xavier Roche <roche+kml2@exalead.com>
15772 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15773 just that it's a file descriptor.
15774 * manual/llio.texi (Synchronizing AIO Operations): Update description
15775 for EBADF error from aio_fsync.
15777 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15779 * Rules (bench): Move target definition...
15780 * benchtests/Makefile: ... here.
15782 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15784 * math/libm-test.inc (cos_test): Fix PI/2 test.
15785 (sincos_test): Likewise.
15786 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15787 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15789 2013-04-11 Andreas Schwab <schwab@suse.de>
15792 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15793 accept exponent character only when digits were seen.
15794 * stdio-common/Makefile (tests): Add bug26.
15795 * stdio-common/bug26.c: New file.
15798 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15801 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15803 * Makeconfig (rtld-prefix): Define built linker prefix.
15804 * Rules (run-bench): Use it.
15805 * math/Makefile (run-regen-ulps): Likewise.
15807 * Rules (bench): Remove eval.
15809 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15810 Roland McGrath <roland@hack.frob.com>
15811 Ondrej Bilka <neleai@seznam.cz>
15814 * time/getdate.c: Include ctype.h and alloca.h.
15815 (__getdate_r): Trim leading and trailing spaces of input.
15816 * time/tst-getdate.c (tests): Add tests with leading and
15819 2013-04-08 Roland McGrath <roland@hack.frob.com>
15822 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15823 when computing value.
15825 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15827 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15828 Use testrun.sh to run libm tests.
15831 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15833 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15836 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15838 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15840 * Makefile.in (regen-ulps): New target.
15841 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15842 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15843 [ifneq (no,$(PERL)] (regen-ulps): New target.
15844 [ifeq (no,$(PERL)] (regen-ulps): New target.
15845 * math/libm-test.inc (ulps_file_name): Define.
15846 (output_dir): New variable.
15847 (options): Add "output-dir" option.
15848 (parse_opt): Handle 'o' case.
15849 (main): If output_dir is non-NULL use it as a prefix
15851 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15853 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15855 [BZ #10060, #10062]
15856 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15857 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15858 fail configure if __sync_val_compare_and_swap is not inlined.
15859 * sysdeps/i386/configure: Regenerate.
15860 * configure.in: Build for i686 when configured for i386.
15861 * configure: Regenerate.
15862 * README: Remove i386 reference.
15864 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15866 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15869 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15871 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15872 (lmsnanval): New variables.
15873 (F): Add conversion tests.
15874 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15875 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15877 * stdio-common/tstdiomisc.c (F): Properly collect individual
15880 [BZ #14686, #15336]
15881 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15882 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15883 Instead, use input NaN values or generate a qNaN by arithmetic
15884 operation. Also fix bugs to comply with the standard.
15885 * math/libm-test.inc (remainder_test): Add more tests.
15887 [BZ #15335, #15342]
15888 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15890 input NaN values or generate a qNaN by arithmetic operation.
15892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15895 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15898 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15901 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15902 underflowed result.
15903 * math/s_cexpf.c (__cexpf): Likewise.
15904 * math/s_cexpl.c (__cexpl): Likewise.
15905 * math/libm-test.inc (cexp_test): Add more tests.
15907 2013-04-03 Andreas Schwab <schwab@suse.de>
15910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15911 order arrays from heap if bigger than alloca cutoff.
15913 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15915 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15916 (SNAN_TESTS_double): Refer to GCC PR56831.
15917 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15920 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15922 * Rules (bench): Move bench.out after the run is complete.
15924 * Rules (bench): Echo currently running benchmark.
15926 * benchtests/Makefile (bench): Add atan and slowatan.
15927 * benchtests/atan-inputs: New file.
15928 * benchtests/slowatan-inputs: New file.
15929 * benchtests/slowatan.c: New file.
15931 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15932 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15936 * sysdeps/unix/sysv/linux/kernel-features.h
15937 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15938 __ASSUME_XFS_RESTRICTED_CHOWN.
15939 * sysdeps/unix/sysv/linux/pathconf.c
15940 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15941 Save and restore errno.
15943 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15946 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15947 arguments using __kernel_casinh.
15948 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15949 arguments using __kernel_casinhf.
15950 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15951 arguments using __kernel_casinhl.
15952 * math/libm-test.inc (cacosh_test): Add more tests.
15953 * sysdeps/i386/fpu/libm-test-ulps: Update.
15954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15956 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15958 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15961 * bench/Makefile (bench): Add sin and slowsin.
15962 * benchtests/sin-inputs: New file.
15963 * benchtests/slowsin-inputs: New file.
15964 * benchtests/slowsin.c: New file.
15966 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15967 (bench): Add slowexp and slowpow.
15968 (exp-ITER): Increase iterations.
15969 (pow-ITER): Likewise.
15970 * benchtests/exp-inputs: Change input.
15971 * benchtests/pow-inputs: Likewise.
15972 * benchtests/slowexp-inputs: New file.
15973 * benchtests/slowexp.c: New file.
15974 * benchtests/slowpow-inputs: New file.
15975 * benchtests/slowpow.c: New file.
15977 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15979 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15981 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15982 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15983 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15984 * benchtests/Makefile: Add rint benchtest.
15985 * benchtests/rint-inputs: Input for rint benchtest.
15987 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15989 * Versions.def (libm): Add GLIBC_2.18.
15990 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15991 hidden libm prototypes.
15992 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15993 * math/Makefile (libm-calls): Add s_issignaling.
15994 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15995 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15996 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15998 * math/math.h [__USE_GNU] (issignaling): New macro.
15999 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16000 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16002 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16005 * manual/arith.texi (issignaling): New section.
16006 * manual/libm-err-tab.pl (@all_functions): Update comment.
16007 * math/gen-libm-test.pl (parse_args): Apply special handling for
16009 * math/libm-test.inc (print_float, issignaling_test): New
16011 (check_float_internal): Add issignaling checks.
16012 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16013 default definition.
16014 * sysdeps/powerpc/math-tests.h: New file.
16015 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16017 * math/test-snan.c (TEST_FUNC): Likewise.
16019 2013-03-30 David S. Miller <davem@davemloft.net>
16021 * po/de.po: Update from translation team.
16023 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16026 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16027 imaginary part less than 1.0 and real part less than 0.5
16029 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16030 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16031 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16032 (cacos_test): Add more tests.
16033 (casin_test): Likewise.
16034 (casinh_test): Likewise.
16035 * sysdeps/i386/fpu/libm-test-ulps: Update.
16036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16038 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16040 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16041 ONE with its value.
16043 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16044 (__pow_mp): Replace ONE and MONE with their values.
16045 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16046 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16047 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16048 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16049 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16050 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16052 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16054 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16055 (__pow_mp): Replace ZERO and MZERO with their values.
16056 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16058 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16060 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16061 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16064 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16066 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16068 2013-03-28 Roland McGrath <roland@hack.frob.com>
16070 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16071 Declare with __attribute__ ((weak)).
16072 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16073 Call __call_tls_dtors only if it's not NULL.
16075 2013-03-28 Roland McGrath <roland@hack.frob.com>
16077 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16078 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16079 magic __ehdr_start linker symbol if it's defined.
16080 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16081 them up here if it was already done.
16083 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16084 (_dl_aux_init): Use const in cast when setting it.
16085 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16086 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16087 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16089 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16091 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16092 * csu/libc-tls.c: Nor here.
16093 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16095 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16096 (__libc_message): Never call vsyslog.
16098 2013-03-28 Alan Modra <amodra@gmail.com>
16100 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16102 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16105 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16108 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16112 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16115 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16116 Don't add gid passed as argument.
16118 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16120 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16123 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16124 imaginary part between 1.0 and 1.5 and real part less than 0.5
16126 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16127 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16128 * math/libm-test.inc (cacos_test): Add more tests.
16129 (casin_test): Likewise.
16130 (casinh_test): Likewise.
16131 * sysdeps/i386/fpu/libm-test-ulps: Update.
16132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16134 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16136 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16139 (denorm): Likewise.
16140 (__dbl_mp): Likewise.
16141 (add_magnitudes): Likewise.
16142 (sub_magnitudes): Likewise.
16150 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16152 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16153 (__dubcos): Likewise.
16154 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16155 (__ieee754_acos): Likewise.
16156 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16157 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16158 (__exp1): Likewise.
16159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16162 (my_log2): Likewise.
16163 (checkint): Likewise.
16164 * sysdeps/ieee754/dbl-64/e_remainder.c
16165 (__ieee754_remainder): Likewise.
16166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16168 (bsloww): Likewise.
16169 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16171 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16172 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16173 MANTISSA_STORE_T to store computations on mantissa. Use
16174 macros for rounding and division.
16175 (denorm): Likewise.
16176 (__dbl_mp): Likewise.
16177 (add_magnitudes): Likewise.
16178 (sub_magnitudes): Likewise.
16181 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16182 powers of two in terms of TWOPOW macro.
16183 (mp_no): Make type of mantissa as MANTISSA_T.
16184 [!RADIXI]: Define RADIXI.
16185 [!TWO52]: Define TWO52.
16186 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16188 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16190 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16191 llroundl symbol when building for PPC32.
16193 2013-03-24 Mark H Weaver <mhw@netris.org>
16195 * manual/arith.texi (Normalization Functions): Fix prototypes for
16196 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16198 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16202 high value to check if expl overflow.
16203 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16204 to check for underflow and overflow.
16205 * math/libm-test.inc: Add exp test.
16207 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16210 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16213 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16215 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16218 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16220 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16221 wrap blocks consisting of several statements.
16223 * sysdeps/generic/math-tests.h: New file.
16224 * sysdeps/i386/fpu/math-tests.h: Likewise.
16225 * math/test-snan.c: Include it.
16226 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16228 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16231 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16232 (__ieee754_j0l): Do not improve calculations using cos of twice
16233 input for inputs above LDBL_MAX / 2.0L.
16234 (__ieee754_y0l): Likewise.
16235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16236 (__ieee754_j1l): Do not improve calculations using cos of twice
16237 input for inputs above LDBL_MAX / 2.0L.
16238 (__ieee754_y1l): Likewise.
16239 * math/libm-test.inc (j0_test): Add another test.
16240 (j1_test): Likewise.
16241 (y0_test): Likewise.
16242 (y1_test): Likewise.
16243 * sysdeps/i386/fpu/libm-test-ulps: Update.
16245 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16247 * Rules ($(objpfx)bench-%.c): Include code from a C source
16250 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16253 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16254 imaginary part 1.0 and real part less than 0.5 specially.
16255 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16256 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16257 * math/libm-test.inc (cacos_test): Add more tests.
16258 (casin_test): Likewise.
16259 (casinh_test): Likewise.
16260 * sysdeps/i386/fpu/libm-test-ulps: Update.
16261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16263 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16265 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16266 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16268 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16270 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16271 * config.make.in (config-cflags-sse4): Remove variable.
16272 (config-cflags-avx): Likewise.
16273 (config-cflags-sse2avx): Likewise.
16274 (config-cflags-novzeroupper): Likewise.
16275 (config-asflags-i686): Likewise.
16276 (have-mfma4): Likewise.
16277 (have-as-vis3): Likewise.
16279 * configure.in (MIG): Do not AC_SUBST.
16280 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16281 (libc_cv_cc_sse4): Do not AC_SUBST.
16282 (libc_cv_cc_avx): Likewise.
16283 (libc_cv_cc_sse2avx): Likewise.
16284 (libc_cv_cc_novzeroupper): Likewise.
16285 (libc_cv_cc_fma4): Likewise.
16286 (libc_cv_as_i686): Likewise.
16287 (libc_cv_sparc_as_vis3): Likewise.
16288 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16290 (config-asflags-i686): Likewise.
16291 (config-cflags-avx): Likewise.
16292 (config-cflags-sse2avx): Likewise.
16293 (have-mfma4): Likewise.
16294 (config-cflags-novzeroupper): Likewise.
16295 * sysdeps/mach/configure.in (MIG): Likewise.
16296 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16297 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16299 (config-cflags-avx): Likewise.
16300 (config-cflags-sse2avx): Likewise.
16301 (have-mfma4): Likewise.
16302 (config-cflags-novzeroupper): Likewise.
16303 * configure: Regenerated.
16304 * sysdeps/i386/configure: Likewise.
16305 * sysdeps/mach/configure: Likewise.
16306 * sysdeps/sparc/configure: Likewise.
16307 * sysdeps/x86_64/configure: Likewise.
16309 2013-03-20 Roland McGrath <roland@hack.frob.com>
16312 * locale/programs/localedef.c (options): Put N_ translation marker
16313 on argument names, not just descriptions.
16315 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16317 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16319 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16322 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16324 2013-03-19 Roland McGrath <roland@hack.frob.com>
16326 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16327 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16328 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16329 [!BEFORE_ABORT] (before_abort): New function.
16330 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16331 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16332 (writev_for_fatal): New function.
16333 (WRITEV_FOR_FATAL): New macro; call that.
16334 (backtrace_and_maps): New function.
16335 (BEFORE_ABORT): New macro; call that.
16336 (struct str_list): Type removed.
16337 (__libc_message, __libc_fatal): Functions removed.
16338 Include <sysdeps/posix/libc_fatal.c> instead.
16340 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16342 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16344 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16347 2013-03-19 Andreas Schwab <schwab@suse.de>
16349 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16350 * sysdeps/gnu/configure: Regenerate.
16352 * configure.in: Substitute libc_cv_rtlddir.
16353 * configure: Regenerate.
16354 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16355 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16356 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16357 * elf/Makefile (install-others, CFLAGS-interp.c)
16358 (ldso_install, common-ldd-rewrite): Likewise.
16359 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16360 $(inst_slibdir)/$(rtld-installed-name).
16361 * scripts/rellns-sh: Add -p option.
16362 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16365 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16367 * manual/nptl.texi: Renamed to ...
16368 * manual/threads.texi: ... this.
16369 * manual/Makefile (chapters): Update.
16371 2013-03-18 Roland McGrath <roland@hack.frob.com>
16374 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16375 on argument names, not just descriptions.
16376 * malloc/memusagestat.c (options): Likewise.
16377 * nss/getent.c (options): Likewise.
16379 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16382 * iconv/iconv_prog.c (options): Put N_ translation marker
16383 on argument names, not just descriptions.
16384 * iconv/iconvconfig.c (options): Likewise.
16386 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16388 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16389 implementation which is faster on all x86_64 architectures.
16390 Tested on AMD, Intel Nehalem, SNB, IVB.
16391 * sysdeps/x86_64/strnlen.S: Likewise.
16393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16394 Remove all multiarch strlen and strnlen versions.
16395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16396 Remove strlen and strnlen related parts.
16398 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16399 Inline strlen part.
16400 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16402 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16403 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16404 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16405 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16406 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16407 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16409 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16411 * manual/memory.texi (Malloc Tunable Parameters):
16412 Sort parameters alphabetically. Add comments for missing entries.
16414 2013-03-17 David S. Miller <davem@davemloft.net>
16416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16418 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16421 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16422 for arguments at most half maximum finite value.
16423 * math/libm-test.inc (j0_test): Add more tests.
16424 (j1_test): Likewise.
16425 (y0_test): Likewise.
16426 (y1_test): Likewise.
16427 * sysdeps/i386/fpu/libm-test-ulps: Update.
16428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16431 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16432 1 / x and functions P and Q for arguments above 0x1p256L.
16433 (__ieee754_y0l): Likewise.
16434 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16435 (__ieee754_y1l): Likewise.
16436 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16437 (j1_test): Likewise.
16438 (y0_test): Likewise.
16439 (y1_test): Likewise.
16441 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16443 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16446 2013-03-15 Roland McGrath <roland@hack.frob.com>
16448 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16449 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16450 zero since it's initialized to EXEC_PAGESIZE.
16452 * sysdeps/unix/sysv/linux/ldsodefs.h
16453 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16454 * sysdeps/generic/ldsodefs.h: ... here.
16456 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16458 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16460 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16462 * math/test-snan.c: Renamed from
16463 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16464 * math/Makefile (tests): Add test-snan.
16465 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16468 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16469 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16471 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16472 __builtin_nan family of functions.
16473 * math/libm-test.inc (initialize): Initialize qnan_value with
16474 __builtin_nan family of functions.
16475 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16477 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16479 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16480 storage class. Initialize qNaN_var and sNaN_var with
16481 __builtin_nan and __builtin_nans families of functions,
16484 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16485 (sqrt_test): Remove duplicate test with qNaN input.
16486 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16487 (round_test, signbit_test, significand_test): Note missing +/-Inf
16488 as well as qNaN tests.
16490 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16491 qNaN_var. Fix a few strings, too.
16492 * math/libm-test.inc (nan_value): Rename to qnan_value.
16493 * math/gen-libm-test.pl (%beautify): Adjust to that.
16494 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16495 * math/test-misc.c (main): Likewise.
16496 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16497 to __qnan_bytes, and __qnan_union, respectively.
16498 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16500 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16501 and lqnanval, respectively.
16502 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16503 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16504 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16505 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16507 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16508 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16511 * math/test-misc.c (main): Fix copy'n'pastos.
16512 * misc/tst-efgcvt.c (special): Likewise.
16514 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16515 Remove declarations.
16517 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16519 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16520 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16521 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16522 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16524 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16526 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16527 macro to return vdso values correctly in IFUNC implementations.
16528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16529 Optimization by using IFUNC.
16531 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16532 Richard Henderson <rth@redhat.com>
16533 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16535 * Makefile.in (bench): New target.
16536 * NEWS: Mention the benchmark framework.
16537 * Rules (bench): Likewise.
16538 (binaries-bench): Generate binaries for functions to
16540 * benchtests/Makefile: New makefile for benchmark tests.
16541 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16543 * benchtests/exp-inputs: New input file for EXP function.
16544 * benchtests/pow-inputs: New input file for POW function.
16545 * scripts/bench.pl: New script to generate source files for
16546 benchmark programs.
16548 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16550 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16551 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16552 computations on mantissa. Use macros for rounding and
16554 (denorm): Likewise.
16555 (__dbl_mp): Likewise.
16556 (add_magnitudes): Likewise.
16557 (sub_magnitudes): Likewise.
16560 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16561 powers of two in terms of TWOPOW macro.
16562 (mp_no): Make type of mantissa as MANTISSA_T.
16563 [!RADIXI]: Define RADIXI.
16564 [!TWO52]: Define TWO52.
16565 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16567 * manual/nptl.texi (cindex): Modify threads to pthreads.
16569 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16571 * sysdeps/x86_64/preconfigure: Regenerated.
16573 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16576 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16578 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16579 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16581 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16582 * math/libm-test.inc (j0_test): Do not allow one spurious
16583 underflow exception.
16584 (y1_test): Likewise.
16586 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16588 * manual/Makefile (chapters): Add nptl.
16589 * manual/debug.texi (Debugging Support): Add link to Threads
16591 * manual/nptl.texi: New file.
16593 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16595 2013-03-14 Petr Baudis <pasky@ucw.cz>
16597 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16598 for non-NULL pointer before the memory validity test. Pointed
16599 out by Holger Brunck <holger.brunck@keymile.com>.
16601 2013-03-13 Andreas Schwab <schwab@suse.de>
16603 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16606 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16608 * timezone/zic.c: Update from tzcode 2013b.
16610 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16612 * manual/install.texi (Configuring and compiling):
16613 Mention i686 and i586.
16614 * INSTALL: Regenerate.
16616 2013-03-12 Roland McGrath <roland@hack.frob.com>
16618 * sysdeps/init_array/elf-init.c: New file.
16620 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16621 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16623 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16624 __gmon_start__ as global, but as static with a .preinit_array pointer.
16625 * sysdeps/init_array/gmon-start.c: New file. Use that.
16626 * sysdeps/init_array/crti.S: New file, empty except for comments.
16627 * sysdeps/init_array/crtn.S: Likewise.
16629 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16631 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16634 Remove Prefer_SSE_for_memop.
16635 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16636 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16637 HAS_PREFER_SSE_FOR_MEMOP.
16638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16641 Remove bzero, memset ifunc support.
16642 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16643 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16644 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16645 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16647 2013-03-11 Andreas Schwab <schwab@suse.de>
16650 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16653 (GLIBC_2.16): Remove pthread_atfork.
16655 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16657 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16658 (ptestcases.h): Likewise.
16660 2013-03-08 Roland McGrath <roland@hack.frob.com>
16662 * Makeconfig ($(common-objpfx)config.status): Depend on
16663 sysdeps/*/preconfigure{,.in} too.
16665 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16667 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16668 (__free_hook): Use void * instead of __malloc_ptr_t.
16669 (__malloc_hook): Likewise.
16670 (__realloc_hook): Likewise.
16671 (__memalign_hook): Likewise.
16672 (__after_morecore_hook): Likewise.
16673 * malloc/arena.c (save_malloc_hook): Likewise.
16674 (save_free_hook): Likewise.
16675 * malloc/hooks.c (malloc_hook_ini): Likewise.
16676 (realloc_hook_ini): Likewise.
16677 (memalign_hook_ini): Likewise.
16678 * malloc/malloc.c (malloc_hook_ini): Likewise.
16679 (realloc_hook_ini): Likewise.
16680 (memalign_hook_ini): Likewise.
16681 (__free_hook): Likewise.
16682 (__malloc_hook): Likewise.
16683 (__realloc_hook): Likewise.
16684 (__memalign_hook): Likewise.
16685 (__libc_malloc): Likewise.
16686 (__libc_free): Likewise.
16687 (__libc_realloc): Likewise.
16688 (__libc_memalign): Likewise.
16689 (__libc_valloc): Likewise.
16690 (__libc_pvalloc): Likewise.
16691 (__libc_calloc): Likewise.
16692 (__posix_memalign): Likewise.
16693 * malloc/morecore.c (__sbrk): Likewise.
16694 (__default_morecore): Likewise.
16696 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16698 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16699 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16700 __malloc_ptrdiff_t.
16702 * malloc/malloc.h (__malloc_size_t): Remove macro.
16703 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16705 (old_memalign_hook): Likewise.
16706 (old_realloc_hook): Likewise.
16707 (struct hdr): Likewise.
16709 (mallochook): Likewise.
16710 (memalignhook): Likewise.
16711 (reallochook): Likewise.
16712 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16713 (tr_old_realloc_hook): Likewise.
16714 (tr_old_memalign_hook): Likewise.
16715 (tr_mallochook): Likewise.
16716 (tr_reallochook): Likewise.
16717 (tr_memalignhook): Likewise.
16719 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16722 default_ldbl_pack and using as default implementation.
16723 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16725 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16726 redundant definition.
16727 (ldbl_insert_mantissa): Likewise.
16728 (ldbl_canonicalize): Likewise.
16729 (ldbl_nearbyint): Likewise.
16730 (ldbl_pack): Rename to ldbl_pack_ppc.
16731 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16732 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16733 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16735 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16738 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16740 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16743 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16744 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16746 2013-03-07 Andreas Jaeger <aj@suse.de>
16748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16751 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16753 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16754 Include mpa.h and declare __MPEXP.
16755 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16756 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16757 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16758 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16759 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16760 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16761 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16763 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16764 (__slowpow): Use long double EXPL and LOGL functions to
16766 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16767 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16768 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16769 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16770 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16774 intermediate variable to calculate exponent.
16776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16780 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16781 [!NO__SQR]: Define __sqr.
16782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16783 and NO__SQR. Remove all code except __mul and __sqr. Include
16784 sysdeps/ieee754/dbl-64/mpa.c.
16785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16788 * posix/Makefile (tests): Add tst-pathconf.
16789 * posix/tst-pathconf.c: New test case.
16790 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16792 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16794 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16796 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16798 2013-03-06 Andreas Jaeger <aj@suse.de>
16800 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16801 definition via __MAP_ANONYMOUS.
16803 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16804 it's not part of Linux headers.
16806 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16807 (MAP_HUGE_MASK): Define.
16809 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16811 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16814 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16815 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16817 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16822 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16823 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16824 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16825 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16826 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16827 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16833 Handle f2fs and efivarfs.
16835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16838 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16839 (EFIVARFS_MAGIC): Add.
16840 (F2FS_LINK_MAX): Add.
16842 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16844 * stdio-common/vfprintf.c: Replace __builtin_expect with
16847 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16850 * sysdeps/generic/bp-sym.h: Remove file.
16851 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16852 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16853 <bp-sym.h> and <bp-asm.h>.
16854 (__longjmp): Don't use BP_SYM.
16855 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16857 (memcpy): Don't use BP_SYM.
16858 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16859 <bp-sym.h> and <bp-asm.h>.
16860 (memcpy): Don't use BP_SYM.
16861 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16863 (memcpy): Don't use BP_SYM.
16864 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16866 (memset): Don't use BP_SYM.
16867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16869 (__bzero): Don't use BP_SYM.
16870 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16871 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16872 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16873 <bp-sym.h> and <bp-asm.h>.
16874 (memcmp): Don't use BP_SYM. Remove comment about bounded
16876 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16877 <bp-sym.h> and <bp-asm.h>.
16878 (memcpy): Don't use BP_SYM.
16879 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16880 <bp-sym.h> and <bp-asm.h>.
16881 (memset): Don't use BP_SYM.
16882 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16883 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16884 (__bzero): Don't use BP_SYM.
16885 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16886 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16887 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16888 <bp-sym.h> and <bp-asm.h>.
16889 (strncmp): Don't use BP_SYM. Remove comment about bounded
16891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16892 <bp-sym.h> and <bp-asm.h>.
16893 (memcpy): Don't use BP_SYM.
16894 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16895 <bp-sym.h> and <bp-asm.h>.
16896 (memset): Don't use BP_SYM.
16897 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16898 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16899 (__bzero): Don't use BP_SYM.
16900 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16901 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16903 <bp-sym.h> and <bp-asm.h>.
16904 (__memchr): Don't use BP_SYM.
16905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16906 <bp-sym.h> and <bp-asm.h>.
16907 (memcmp): Don't use BP_SYM. Remove comment about bounded
16909 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16910 <bp-sym.h> and <bp-asm.h>.
16911 (memcpy): Don't use BP_SYM.
16912 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16913 <bp-sym.h> and <bp-asm.h>.
16914 (__mempcpy): Don't use BP_SYM.
16915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16916 <bp-sym.h> and <bp-asm.h>.
16917 (__memrchr): Don't use BP_SYM.
16918 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16919 <bp-sym.h> and <bp-asm.h>.
16920 (memset): Don't use BP_SYM.
16921 (__bzero): Likewise.
16922 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16923 <bp-sym.h> and <bp-asm.h>.
16924 (__rawmemchr): Don't use BP_SYM.
16925 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16926 <bp-sym.h> and <bp-asm.h>.
16927 (__STRCMP): Don't use BP_SYM.
16928 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16929 <bp-sym.h> and <bp-asm.h>.
16930 (strchr): Don't use BP_SYM.
16931 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16932 <bp-sym.h> and <bp-asm.h>.
16933 (__strchrnul): Don't use BP_SYM.
16934 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16935 <bp-sym.h> and <bp-asm.h>.
16936 (strlen): Don't use BP_SYM.
16937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16938 <bp-sym.h> and <bp-asm.h>.
16939 (strncmp): Don't use BP_SYM. Remove comment about bounded
16941 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16942 <bp-sym.h> and <bp-asm.h>.
16943 (__strnlen): Don't use BP_SYM.
16944 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16945 <bp-sym.h> and <bp-asm.h>.
16946 (__GI__setjmp): Don't use BP_SYM.
16947 (_setjmp): Likewise.
16948 (__sigsetjmp): Likewise.
16949 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16950 (L(start_addresses)): Don't use BP_SYM.
16951 (_start): Likewise.
16952 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16954 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16955 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16956 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16957 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16958 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16960 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16961 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16962 about bounded pointers.
16963 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16964 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16965 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16967 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16968 about bounded pointers. Remove GKM FIXME comments.
16969 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16970 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16972 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16973 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16974 Remove GKM FIXME comments.
16975 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16976 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16977 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16979 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16980 about bounded pointers. Remove GKM FIXME comment.
16981 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16983 (strncmp): Don't use BP_SYM. Remove comment about bounded
16985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16986 <bp-sym.h> and <bp-asm.h>.
16987 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16989 <bp-sym.h> and <bp-asm.h>.
16990 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16993 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16995 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16998 2013-03-05 David S. Miller <davem@davemloft.net>
17000 * po/es.po: Update from translation team.
17002 2013-03-05 Andreas Jaeger <aj@suse.de>
17004 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17005 <bits/mman-linux.h>.
17006 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17008 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17009 <bits/mman-linux.h> to end of file.
17010 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17012 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17013 <bits/mman-linux.h> to end of file.
17014 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17016 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17017 <bits/mman-linux.h> to end of file.
17019 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17020 (MCL_CURRENT, MCL_FUTURE): Define here.
17022 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17025 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17027 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17029 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17031 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17032 fourth parameter needed for rt_sigprocmask syscall.
17033 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17034 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17035 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17036 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17037 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17038 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17040 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17043 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17044 comment about bounded pointers.
17045 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17046 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17048 2013-03-04 Andreas Jaeger <aj@suse.de>
17050 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17051 common definitions.
17053 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17054 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17055 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17056 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17057 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17060 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17063 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17064 __ieee754_sqrl instead of __sqrl.
17066 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17068 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17069 * sysdeps/powerpc/fpu_control.h: ... here.
17070 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17071 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17072 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17073 * sysdeps/powerpc/bits/mathinline.h: ... here.
17075 2013-03-01 Roland McGrath <roland@hack.frob.com>
17077 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17078 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17079 to just [NEED_DL_SYSINFO_DSO].
17080 * elf/dl-support.c: Likewise.
17081 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17082 * elf/rtld.c (dl_main): Likewise.
17083 * elf/setup-vdso.h (setup_vdso): Likewise.
17084 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17085 * sysdeps/unix/sysv/linux/dl-sysdep.c
17086 (_dl_discover_osversion): Likewise.
17088 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17090 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17091 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17093 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17095 * NEWS: Mention libm performance improvements and non-x86 PI
17098 * csu/libc-start.c (__pthread_initialize_minimal): Change
17099 function arguments.
17100 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17102 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17105 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17106 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17107 <bp-sym.h> and <bp-asm.h>.
17108 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17109 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17111 (memcpy): Don't use BP_SYM.
17112 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17114 (__mpn_add_n): Don't use BP_SYM.
17115 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17116 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17118 (__mpn_addmul_1): Don't use BP_SYM.
17119 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17120 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17122 (_setjmp): Don't use BP_SYM.
17123 (__novmx_setjmp): Likewise.
17124 (__GI__setjmp): Likewise.
17125 (__vmx_setjmp): Likewise.
17126 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17128 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17129 (__bzero): Don't use BP_SYM.
17130 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17131 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17132 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17133 <bp-sym.h> and <bp-asm.h>.
17134 (memcpy): Don't use BP_SYM.
17135 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17136 <bp-sym.h> and <bp-asm.h>.
17137 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17138 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17139 <bp-sym.h> and <bp-asm.h>.
17140 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17141 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17143 (__mpn_lshift): Don't use BP_SYM.
17144 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17145 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17147 (memset): Don't use BP_SYM.
17148 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17149 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17150 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17152 (__mpn_mul_1): Don't use BP_SYM.
17153 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17155 <bp-sym.h> and <bp-asm.h>.
17156 (memcmp): Don't use BP_SYM.
17157 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17158 <bp-sym.h> and <bp-asm.h>.
17159 (memcpy): Don't use BP_SYM.
17160 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17161 <bp-sym.h> and <bp-asm.h>.
17162 (memset): Don't use BP_SYM.
17163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17164 <bp-sym.h> and <bp-asm.h>.
17165 (strncmp): Don't use BP_SYM.
17166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17167 <bp-sym.h> and <bp-asm.h>.
17168 (memcpy): Don't use BP_SYM.
17169 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17170 <bp-sym.h> and <bp-asm.h>.
17171 (memset): Don't use BP_SYM.
17172 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17173 <bp-sym.h> and <bp-asm.h>.
17174 (__memchr): Don't use BP_SYM.
17175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17176 <bp-sym.h> and <bp-asm.h>.
17177 (memcmp): Don't use BP_SYM.
17178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17179 <bp-sym.h> and <bp-asm.h>.
17180 (memcpy): Don't use BP_SYM.
17181 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17182 <bp-sym.h> and <bp-asm.h>.
17183 (__mempcpy): Don't use BP_SYM.
17184 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17185 <bp-sym.h> and <bp-asm.h>.
17186 (__memrchr): Don't use BP_SYM.
17187 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17188 <bp-sym.h> and <bp-asm.h>.
17189 (memset): Don't use BP_SYM.
17190 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17191 <bp-sym.h> and <bp-asm.h>.
17192 (__rawmemchr): Don't use BP_SYM.
17193 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17194 <bp-sym.h> and <bp-asm.h>.
17195 (__STRCMP): Don't use BP_SYM.
17196 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17197 <bp-sym.h> and <bp-asm.h>.
17198 (strchr): Don't use BP_SYM.
17199 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17200 <bp-sym.h> and <bp-asm.h>.
17201 (__strchrnul): Don't use BP_SYM.
17202 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17203 <bp-sym.h> and <bp-asm.h>.
17204 (strlen): Don't use BP_SYM.
17205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17206 <bp-sym.h> and <bp-asm.h>.
17207 (strncmp): Don't use BP_SYM.
17208 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17209 <bp-sym.h> and <bp-asm.h>.
17210 (__strnlen): Don't use BP_SYM.
17211 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17213 (__mpn_rshift): Don't use BP_SYM.
17214 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17215 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17216 <bp-sym.h> and <bp-asm.h>.
17217 (__sigsetjmp): Don't use BP_SYM.
17218 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17219 (L(start_addresses)): Don't use BP_SYM.
17220 (_start): Likewise.
17221 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17223 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17224 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17225 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17226 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17228 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17229 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17230 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17231 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17233 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17235 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17236 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17238 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17240 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17241 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17242 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17244 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17246 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17248 (strncmp): Don't use BP_SYM,
17249 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17251 (__mpn_sub_n): Don't use BP_SYM.
17252 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17253 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17255 (__mpn_submul_1): Don't use BP_SYM.
17256 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17258 <bp-sym.h> and <bp-asm.h>.
17259 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17261 <bp-sym.h> and <bp-asm.h>.
17262 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17265 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17268 Use ZK to minimize writes to Z.
17269 (sub_magnitudes): Simplify code a bit.
17270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17271 Use ZK to minimize writes to Z.
17272 (sub_magnitudes): Simplify code a bit.
17274 2013-02-27 Roland McGrath <roland@hack.frob.com>
17276 * csu/gmon-start.c: Add special exception to license text.
17278 2013-02-27 Richard Henderson <rth@redhat.com>
17280 * scripts/config.guess: Update from config.git.
17281 * scripts/config.sub: Likewise.
17283 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17285 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17287 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17289 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17291 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17293 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17295 2013-02-26 Roland McGrath <roland@hack.frob.com>
17297 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17298 [$(build-shared = yes].
17300 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17302 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17303 (__mul): Reduce iterations for calculating mantissa.
17305 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17307 (__mpranred): Likewise.
17310 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17311 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17313 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17315 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17316 Define __attribute__.
17318 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17320 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17322 * posix/regex_internal.h (__attribute): Remove.
17323 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17324 (re_string_context_at): Likewise.
17325 (bitset_not): Use __attribute__ and mark function as possibly
17327 (bitset_merge): Likewise.
17328 (bitset_mask): Likewise.
17329 (re_string_char_size_at): Likewise.
17330 (re_string_wchar_at): Likewise.
17331 (re_string_elem_size_at): Likewise.
17333 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17335 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17339 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17343 (denorm): Likewise.
17344 (__dbl_mp): Likewise.
17345 (add_magnitudes): Likewise.
17346 (sub_magnitudes): Likewise.
17350 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17353 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17356 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17360 up changes with default code.
17361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17364 2013-02-24 Allan McRae <allan@archlinux.org>
17366 * manual/socket.texi (The Internet Namespace): Order menu items
17367 to match that in the file.
17369 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17370 node listing of the info page menu.
17372 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17375 * sysdeps/i386/bp-asm.h: Remove file.
17376 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17377 (PARMS): Do not use macros from bp-asm.h.
17381 (__mpn_add_n): Do not use BP_SYM
17382 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17384 (PARMS): Do not use macros from bp-asm.h.
17387 (__mpn_addmul_1): Do not use BP_SYM
17388 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17390 (PARMS): Do not use macros from bp-asm.h.
17391 (SIGMSK): Likewise.
17392 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
17400 (PARMS): Do not use macros from bp-asm.h.
17401 (__frexp): Do not use BP_SYM.
17403 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17405 (PARMS): Do not use macros from bp-asm.h.
17406 (__frexpf): Do not use BP_SYM.
17407 (frexpf): Likewise.
17408 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17410 (PARMS): Do not use macros from bp-asm.h.
17411 (__frexpl): Do not use BP_SYM.
17412 (frexpl): Likewise.
17413 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17415 (PARMS): Do not use macros from bp-asm.h.
17416 (__remquo): Do not use BP_SYM.
17417 (remquo): Likewise.
17418 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17420 (PARMS): Do not use macros from bp-asm.h.
17421 (__remquof): Do not use BP_SYM.
17422 (remquof): Likewise.
17423 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17425 (PARMS): Do not use macros from bp-asm.h.
17426 (__remquol): Do not use BP_SYM.
17427 (remquol): Likewise.
17428 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17430 (PARMS): Do not use macros from bp-asm.h.
17433 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17434 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17436 (PARMS): Do not use macros from bp-asm.h.
17437 (strlen): Do not use BP_SYM.
17438 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17440 (PARMS): Do not use macros from bp-asm.h.
17444 (__mpn_add_n): Do not use BP_SYM.
17445 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17447 (PARMS): Do not use macros from bp-asm.h.
17450 (__mpn_addmul_1): Do not use BP_SYM.
17451 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17454 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17456 (PARMS): Do not use macros from bp-asm.h.
17459 (__mpn_lshift): Do not use BP_SYM.
17460 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17462 (PARMS): Do not use macros from bp-asm.h.
17466 (memcpy): Likewise. Do not use BP_SYM.
17467 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17468 libc_hidden_def and weak_alias.
17469 (mempcpy): Do not use BP_SYM in weak_alias.
17470 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17472 (PARMS): Do not use macros from bp-asm.h.
17475 [!BZERO_P] (CHR): Likewise.
17476 (memset): Likewise. Do not use BP_SYM.
17477 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17479 (PARMS): Do not use macros from bp-asm.h.
17482 (__mpn_mul_1): Do not use BP_SYM.
17483 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17485 (PARMS): Do not use macros from bp-asm.h.
17488 (__mpn_rshift): Do not use BP_SYM.
17489 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17491 (PARMS): Do not use macros from bp-asm.h.
17494 (strchr): Likewise. Do not use BP_SYM.
17495 (index): Do not use BP_SYM in weak_alias.
17496 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17498 (PARMS): Do not use macros from bp-asm.h.
17501 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17502 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17504 (PARMS): Do not use macros from bp-asm.h.
17505 (strlen): Do not use BP_SYM.
17506 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17508 (PARMS): Do not use macros from bp-asm.h.
17512 (__mpn_sub_n): Do not use BP_SYM.
17513 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17515 (PARMS): Do not use macros from bp-asm.h.
17518 (__mpn_submul_1): Do not use BP_SYM.
17519 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17521 (PARMS): Do not use macros from bp-asm.h.
17525 (__mpn_add_n): Do not use BP_SYM.
17526 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17529 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17531 (PARMS): Do not use macros from bp-asm.h.
17534 (memcmp): Do not use BP_SYM.
17535 (bcmp): Do not use BP_SYM in weak_alias.
17536 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17538 (PARMS): Do not use macros from bp-asm.h.
17542 (memcpy): Likewise. Do not use BP_SYM.
17543 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17545 (PARMS): Do not use macros from bp-asm.h.
17549 (memmove): Likewise. Do not use BP_SYM.
17550 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17552 (PARMS): Do not use macros from bp-asm.h.
17556 (__mempcpy): Likewise. Do not use BP_SYM.
17557 (mempcpy): Do not use BP_SYM in weak_alias.
17558 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17560 (PARMS): Do not use macros from bp-asm.h.
17563 [!BZERO_P] (CHR): Likewise.
17564 (memset): Likewise. Do not use BP_SYM.
17565 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17567 (PARMS): Do not use macros from bp-asm.h.
17569 (strcmp): Do not use BP_SYM.
17570 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17572 (PARMS): Do not use macros from bp-asm.h.
17575 [USE_AS_STRTOK_R] (SAVE): Likewise.
17576 (FUNCTION): Likewise. Do not use BP_SYM.
17577 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17579 (strtok_r): Likewise.
17580 (__GI___strtok_r): Likewise.
17581 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17582 (PARMS): Do not use macros from bp-asm.h.
17585 (__mpn_lshift): Do not use BP_SYM.
17586 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17587 (PARMS): Do not use macros from bp-asm.h.
17590 (__memchr): Do not use BP_SYM.
17591 (memchr): Do not use BP_SYM in weak_alias.
17592 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17593 (PARMS): Do not use macros from bp-asm.h.
17596 (memcmp): Do not use BP_SYM.
17597 (bcmp): Do not use BP_SYM in weak_alias.
17598 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17599 (PARMS): Do not use macros from bp-asm.h.
17602 (__mpn_mul_1): Do not use BP_SYM.
17603 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17605 (PARMS): Do not use macros from bp-asm.h.
17608 (__rawmemchr): Do not use BP_SYM.
17609 (rawmemchr): Do not use BP_SYM in weak_alias.
17610 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17611 (PARMS): Do not use macros from bp-asm.h.
17614 (__mpn_rshift): Do not use BP_SYM.
17615 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17616 (PARMS): Do not use macros from bp-asm.h.
17617 (SIGMSK): Likewise.
17618 (__sigsetjmp): Likewise. Do not use BP_SYM.
17619 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17620 (_start): Do not use BP_SYM.
17621 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17622 (PARMS): Do not use macros from bp-asm.h.
17625 (__stpcpy): Likewise. Do not use BP_SYM.
17626 (stpcpy): Do not use BP_SYM in weak_alias.
17627 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17629 (PARMS): Do not use macros from bp-asm.h.
17633 (__stpncpy): Likewise. Do not use BP_SYM.
17634 (stpncpy): Do not use BP_SYM in weak_alias.
17635 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17636 (PARMS): Do not use macros from bp-asm.h.
17639 (strchr): Likewise. Do not use BP_SYM.
17640 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17642 (PARMS): Do not use macros from bp-asm.h.
17645 (__strchrnul): Likewise. Do not use BP_SYM.
17646 (strchrnul): Do not use BP_SYM in weak_alias.
17647 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17649 (PARMS): Do not use macros from bp-asm.h.
17651 (strcspn): Do not use BP_SYM.
17652 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17654 (PARMS): Do not use macros from bp-asm.h.
17657 (strpbrk): Likewise. Do not use BP_SYM.
17658 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17660 (PARMS): Do not use macros from bp-asm.h.
17663 (strrchr): Likewise. Do not use BP_SYM.
17664 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17665 (PARMS): Do not use macros from bp-asm.h.
17667 (strspn): Do not use BP_SYM.
17668 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17669 (PARMS): Do not use macros from bp-asm.h.
17673 (FUNCTION): Likewise. Do not use BP_SYM.
17674 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17676 (strtok_r): Likewise.
17677 (__GI___strtok_r): Likewise.
17678 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17679 (PARMS): Do not use macros from bp-asm.h.
17683 (__mpn_sub_n): Do not use BP_SYM.
17684 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17686 (PARMS): Do not use macros from bp-asm.h.
17689 (__mpn_submul_1): Do not use BP_SYM.
17690 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17692 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17694 (PARMS): Do not use macros from bp-asm.h.
17699 (__clone): Do not use BP_SYM.
17700 (clone): Do not use BP_SYM in weak_alias.
17701 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17703 (PARMS): Do not use macros from bp-asm.h.
17705 (__mmap64): Do not use BP_SYM.
17706 (mmap64): Do not use BP_SYM in weak_alias.
17707 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17708 <bp-sym.h> and <bp-asm.h>.
17709 (PARMS): Do not use macros from bp-asm.h.
17710 (__posix_fadvise64_l64): Do not use BP_SYM.
17711 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17712 (PARMS): Do not use macros from bp-asm.h.
17714 (semtimedop): Do not use BP_SYM.
17715 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17718 2013-02-21 Allan McRae <allan@archlinux.org>
17720 * manual/message.texi (Charset conversion in gettext):
17721 Move @end statement to beginning of line.
17723 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17730 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17731 (denorm): Likewise.
17732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17735 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17737 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17738 tail-call to the resolved function if pltexit isn't needed.
17740 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17743 or Y being zero as being unlikely.
17744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17747 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17749 * manual/nss.texi (System Databases and Name Service Switch):
17750 Remove frobnicate @pxref.
17752 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17754 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17755 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17757 2013-02-20 Petr Machata <pmachata@redhat.com>
17759 * elf/elf.h (R_ARM_TARGET1): New macro.
17760 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17761 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17762 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17763 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17764 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17765 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17766 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17767 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17768 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17769 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17770 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17771 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17772 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17773 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17774 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17775 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17776 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17777 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17778 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17779 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17780 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17781 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17782 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17783 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17784 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17785 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17786 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17787 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17788 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17789 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17790 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17791 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17792 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17793 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17794 (R_ARM_THM_GOT_BREL12): Likewise.
17795 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17796 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17797 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17798 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17799 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17800 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17801 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17802 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17803 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17805 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17807 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17808 __attribute_used__ to __attribute__ ((unused)).
17810 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17812 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17815 comment formatting.
17816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17818 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17821 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17823 (ENTER): Remove both macro definitions.
17825 (CHECK_BOUNDS_LOW): Likewise.
17826 (CHECK_BOUNDS_HIGH): Likewise.
17827 (CHECK_BOUNDS_BOTH): Likewise.
17828 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17829 (RETURN_BOUNDED_POINTER): Likewise.
17830 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17831 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17832 (POP_ERRNO_LOCATION_RETURN): Likewise.
17833 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17834 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17835 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17837 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17838 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17839 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17840 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17841 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17842 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17843 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17844 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17845 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17846 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17847 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17848 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17849 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17850 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17852 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17853 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17855 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17856 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17857 * sysdeps/i386/i586/memset.S (memset): Likewise.
17858 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17859 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17860 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17862 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17863 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17864 Change uses of L(2) to L(out).
17865 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17866 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17867 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17868 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17869 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17871 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17872 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17874 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17875 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17876 (RETURN): Do not use macro LEAVE.
17877 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17878 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17879 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17880 * sysdeps/i386/i686/memset.S (memset): Likewise.
17881 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17882 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17883 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17884 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17886 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17887 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17888 L(1_2) and L(1_3) into L(1).
17889 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17890 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17891 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17892 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17893 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17894 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17895 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17896 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17897 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17899 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17900 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17901 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17902 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17903 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17904 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17905 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17906 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17907 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17908 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17909 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17910 * sysdeps/i386/strspn.S (strspn): Likewise.
17911 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17913 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17914 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17915 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17916 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17917 L(1_3) into L(1_1).
17918 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17919 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17920 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17922 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17924 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17926 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17929 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17931 * math/atest-exp.c (exp_mpn): Remove ROUND.
17932 * math/atest-exp2.c (exp_mpn): Likewise.
17933 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17935 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17936 * stdlib/tst-tls-atexit-lib.c: Likewise.
17937 * stdlib/tst-tls-atexit.c: Likewise.
17939 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17941 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17942 and __attribute_alloc_size__.
17944 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17946 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17947 __attribute_alloc_size__.
17948 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17949 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17951 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17953 * include/programs/xmalloc.h: New file.
17954 * catgets/gencat.c: Include it.
17955 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17956 * elf/pldd.c: Likewise.
17957 * iconv/iconv_charmap.c: Likewise.
17958 * iconv/iconvconfig.c: Likewise.
17959 * iconv/strtab.c: Likewise.
17960 * locale/programs/locale.c: Likewise.
17961 * locale/programs/localedef.h: Likewise.
17962 * locale/programs/simple-hash.c: Likewise.
17963 * nscd/nscd.h: Likewise.
17964 * nss/makedb.c: Likewise.
17965 * sysdeps/generic/ldconfig.h: Likewise.
17967 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17969 * Versions.def: Add GLIBC_2.18.
17970 * include/link.h (struct link_map): New member l_tls_dtor_count.
17971 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17972 (__call_tls_dtors): Likewise.
17973 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17974 __cxa_thread_atexit_impl.
17975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17991 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17992 (tests): Add test case tst-tls-atexit.
17993 (modules-names): Add shared library for tst-tls-atexit.
17994 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17995 (GLIBC_PRIVATE): Add __call_tls_dtors.
17996 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17998 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17999 * stdlib/tst-tls-atexit.c: New test case.
18000 * stdlib/tst-tls-atexit-lib.c: New test case.
18002 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18004 * elf/Versions (ld): Add _dl_find_dso_for_object.
18005 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18006 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18007 (dl_open_worker): Use _dl_find_dso_for_object.
18008 * elf/dl-sym.c (do_sym): Likewise.
18009 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18011 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18013 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18014 Syntactic changes only.
18015 (_dl_runtime_profile): Do a tail-call to the resolved function.
18017 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18020 * sysdeps/x86_64/bp-asm.h: Remove file.
18021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18022 <bp-sym.h> and <bp-asm.h>.
18023 (__clone): Do not use BP_SYM.
18024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18025 <bp-sym.h> and <bp-asm.h>.
18026 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18027 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18029 (_setjmp): Do not use BP_SYM.
18030 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18032 (setjmp): Do not use BP_SYM.
18033 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18035 (mempcpy): Do not use BP_SYM in weak_alias.
18036 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18038 (strchr): Do not use BP_SYM.
18039 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18041 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18042 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18043 (_start): Do not use BP_SYM.
18044 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18046 (strcat): Do not use BP_SYM.
18047 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18049 (STRCMP): Do not use BP_SYM.
18050 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18052 (STRCPY): Do not use BP_SYM.
18053 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18055 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18057 (FUNCTION): Do not use BP_SYM.
18058 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18060 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18062 2013-02-17 Andreas Jaeger <aj@suse.de>
18064 * time/Versions: Sort entries.
18065 * string/Versions: Likewise.
18066 * resolv/Versions: Likewise.
18067 * posix/Versions: Likewise.
18068 * iconv/Versions: Likewise.
18069 * elf/Versions: Likewise.
18070 * wcsmbs/Versions: Likewise.
18072 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18074 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18075 loop termination condition.
18077 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18078 variable to calculate EZ.
18081 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18082 the lower precision input.
18084 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18087 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18088 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18089 (run-via-rtld-prefix): Do not handle %-bp tests.
18090 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18091 (all-object-suffixes): Remove .ob.
18092 (bppfx): Remove variable.
18093 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18094 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18095 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18096 [$(build-bounded) = yes] (libtype.ob): Likewise.
18097 * Makerules (elide-routines.ob): Remove variable.
18098 (do-tests-clean): Do not handle *-bp.out.
18099 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18100 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18101 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18102 (tests): Do not include $(tests-bp.out).
18103 (xtests): Do not include $(xtests-bp.out).
18104 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18105 [$(build-bounded) = yes] ($(addprefix
18106 $(objpfx),$(binaries-bounded))): Remove rule.
18107 ($(objpfx)%-bp.out): Remove rule.
18108 * config.make.in (build-bounded): Remove variable.
18109 * crypt/Makefile [$(build-bounded) = yes]
18110 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18111 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18112 append to variable.
18113 [$(build-bounded) = yes] (install-lib): Likewise.
18114 [$(build-bounded) = yes] (generated): Likewise.
18115 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18117 * intl/Makefile [$(build-bounded) = yes]
18118 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18119 * math/Makefile [$(build-bounded) = yes]
18120 ($(tests:%=$(objpfx)%-bp): Likewise.
18121 * misc/Makefile [$(build-bounded) = yes]
18122 ($(objpfx)tst-tsearch-bp): Likewise.
18123 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18124 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18126 * string/Makefile (o-objects.ob): Remove variable.
18127 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18128 (CFLAGS-.ob): Remove variable.
18129 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18130 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18131 both definitions of variable.
18132 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18133 (ASFLAGS-.ob): Remove variable.
18135 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18138 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18139 Remove __BOUNDED_POINTERS__ from condition.
18140 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18141 * string/bits/string2.h [!__NO_STRING_INLINES &&
18142 !__BOUNDED_POINTERS__]: Likewise.
18143 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18145 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18146 Remove conditional code.
18147 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18148 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18149 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18153 * csu/libc-start.c: Do not include <bp-sym.h>.
18154 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18155 * elf/dl-open.c: Do not include <bp-sym.h>.
18156 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18157 * math/fegetenv.c: Do not include <bp-sym.h>.
18158 (fegetenv): Do not use BP_SYM in versioned symbols.
18159 * nptl/sysdeps/pthread/bits/libc-lockP.h
18160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18163 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18165 (__pthread_mutex_destroy): Likewise.
18166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18167 (__pthread_mutex_lock): Likewise.
18168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18169 (__pthread_mutex_trylock): Likewise.
18170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18171 (__pthread_mutex_unlock): Likewise.
18172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18173 (__pthread_mutexattr_init): Likewise.
18174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18175 (__pthread_mutexattr_destroy): Likewise.
18176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18177 (__pthread_mutexattr_settype): Likewise.
18178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18179 (__pthread_rwlock_init): Likewise.
18180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18181 (__pthread_rwlock_destroy): Likewise.
18182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18183 (__pthread_rwlock_rdlock): Likewise.
18184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18185 (__pthread_rwlock_tryrdlock): Likewise.
18186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18187 (__pthread_rwlock_wrlock): Likewise.
18188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18189 (__pthread_rwlock_trywrlock): Likewise.
18190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18191 (__pthread_rwlock_unlock): Likewise.
18192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18193 (__pthread_key_create): Likewise.
18194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18195 (__pthread_setspecific): Likewise.
18196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18197 (__pthread_getspecific): Likewise.
18198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18201 (_pthread_cleanup_push_defer): Likewise.
18202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18203 (_pthread_cleanup_pop_restore): Likewise.
18204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18205 (pthread_setcancelstate): Likewise.
18206 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18208 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18209 (memchr): Do not use BP_SYM in weak_alias.
18210 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18211 (fegetenv): Do not use BP_SYM in versioned symbols.
18212 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18213 (fesetenv): Do not use BP_SYM in versioned symbols.
18214 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18215 (feupdateenv): Do not use BP_SYM in versioned symbols.
18216 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18217 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18218 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18219 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18220 (open64): Do not use BP_SYM in weak_alias.
18221 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18222 (fegetenv): Do not use BP_SYM in versioned symbols.
18223 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18224 (fesetenv): Do not use BP_SYM in versioned symbols.
18225 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18226 (feupdateenv): Do not use BP_SYM in versioned symbols.
18227 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18228 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18229 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18230 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18231 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18232 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18233 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18235 (__libc_start_main): Do not use BP_SYM.
18237 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18240 redundant return line.
18242 (denorm): Likewise.
18243 (dbl_mp): Likewise.
18244 (sub_magnitudes): Likewise.
18250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18252 (denorm): Likewise.
18253 (dbl_mp): Likewise.
18254 (sub_magnitudes): Likewise.
18261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18263 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18264 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18267 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18268 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18270 of __mul for squares.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18275 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18276 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18278 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18281 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18283 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18284 prototype or function definition. Rename ubp_* variables and
18285 parameters. Remove argv definitions conditional on
18286 [__BOUNDED_POINTERS__].
18287 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18288 * elf/dl-runtime.c (_dl_fixup): Likewise.
18289 * include/set-hooks.h (RUN_HOOK): Likewise.
18290 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18292 * string/strcpy.c (strcpy): Do not use __unbounded.
18293 * sysdeps/generic/frame.h (struct layout): Likewise.
18294 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18295 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18296 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18297 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18298 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18299 (__backtrace): Likewise.
18300 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18302 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18303 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18304 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18306 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18307 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18308 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18309 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18310 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18311 Do not use __unbounded.
18312 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18313 Rename __unboundedrlimits parameter to rlimits in prototype.
18314 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18315 Do not use __unbounded.
18316 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18317 not use __ptrvalue.
18318 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18319 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18320 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18321 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18322 __ptrvalue or __unbounded.
18323 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18324 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18326 (__new_msgctl): Do not use __ptrvalue.
18327 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18329 (__libc_msgrcv): Do not use __ptrvalue.
18330 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18331 startup_info): Do not use __unbounded.
18332 (__libc_start_main): Likewise. Rename ubp_* variables and
18333 parameters. Remove argv definitions conditional on
18334 [__BOUNDED_POINTERS__].
18335 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18337 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18339 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18341 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18343 (__new_shmctl): Do not use __ptrvalue.
18344 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18345 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18347 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18349 (__libc_sigaction): Likewise.
18350 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18351 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18353 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18355 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18357 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18359 * string/mempcpy.c: Implement by calling memcpy.
18361 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18368 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18369 values in the mantissa.
18371 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18372 minimize writes to Z.
18373 (sub_magnitudes): Simplify code a bit.
18375 2013-02-12 Roland McGrath <roland@hack.frob.com>
18377 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18378 from the message. The linker prefixes all warnings with that already.
18380 2013-02-12 Andreas Schwab <schwab@suse.de>
18383 * posix/regexec.c (extend_buffers): Add parameter min_len.
18384 (check_matching): Pass minimum needed length.
18385 (clean_state_log_if_needed): Likewise.
18386 (get_subexp): Likewise.
18387 * posix/Makefile (tests): Add bug-regex34.
18388 (bug-regex34-ENV): Define.
18389 * posix/bug-regex34.c: New file.
18392 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18393 elements compare against the byte sequence of it, not its name.
18394 * posix/Makefile (tests): Add bug-regex35.
18395 (bug-regex35-ENV): Define.
18396 * posix/bug-regex35.c: New file.
18398 2013-02-11 Tom de Vries <tom@codesourcery.com>
18400 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18402 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18403 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18404 (CHECK_EOL): Add undef.
18406 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18408 * bits/stdlib-bsearch.h: New file.
18409 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18410 * stdlib/stdlib.h: Likewise.
18412 2013-02-11 Roland McGrath <roland@hack.frob.com>
18414 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18415 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18417 * manual/search.texi (Array Search Function): Add missing const in
18419 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18420 declaration to use rlim_t.
18421 (Basic Scheduling Functions): Remove erroneous const from
18422 sched_getparam prototype. Remove erroneous * from
18423 sched_get_priority_max and sched_get_priority_min prototypes.
18424 (Resource Usage): Fix summary @comment on vtimes to refer to
18425 sys/vtimes.h rather than vtimes.h.
18426 Add missing *s in vtimes prototype.
18427 (Limits on Resources): Fix ulimit prototype to return long int.
18428 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18429 prototypes to use long int rather than double.
18430 (BSD Random): Fix initstate and setstate to use char *, not void *.
18431 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18432 prototype to make second argument 'struct aiocb64 *const[]'.
18433 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18434 (Status of AIO Operations): Remove erroneous const in aio_return and
18435 aio_return64 prototypes.
18436 (Synchronizing I/O): Fix sync prototype to return void.
18437 * manual/startup.texi (Suboptions): Remove an erroneous const in
18438 getsubopt prototype.
18439 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18440 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18441 use size_t rather than int.
18442 (Scanning All Users): Likewise for getpwent_r.
18443 (Setting Groups): Add missing const to setgroups prototype.
18444 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18445 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18446 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18447 'const void *' rather than 'const char *'.
18448 (Host Address Functions): Likewise for inet_ntop.
18449 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18450 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18451 ssize_t for return value.
18452 (Sending Data): Likewise for send, sendto, sendmsg.
18453 (Socket Option Functions): Add a missing const in setsockopt prototype.
18454 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18455 use wchar_t for the argument.
18456 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18457 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18459 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18460 double/float/long double for second argument.
18461 Fix return types of significand, significandf, significandl.
18462 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18463 argument in fchmod prototype.
18464 (File Owner): Use uid_t and gid_t in fchown prototype.
18465 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18466 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18467 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18468 use 'const struct dirent **' as argument types to CMP function pointer
18470 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18471 (File Times): Fix summary magic @comment for struct utimbuf and utime
18472 to refer to utime.h, not time.h.
18473 * manual/string.texi (Argz Functions): Add missing const in
18474 argz_extract and argz_next prototypes.
18475 (Finding Tokens in a String): Likewise for basename.
18476 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18477 (Copying and Concatenation): Fix typo in wmemmove prototype.
18478 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18479 (Signal Stack): Remove erroneous const in sigstack prototype.
18480 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18482 (Simple Calendar Time): Likewise for stime.
18483 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18485 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18486 say sys/sysctl.h instead.
18487 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18488 and vsyslog prototypes.
18490 2013-02-11 Tom de Vries <tom@codesourcery.com>
18492 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18495 2013-02-11 Roland McGrath <roland@hack.frob.com>
18497 * misc/sys/mman.h: Fix typo in mremap comment.
18499 2013-02-08 Roland McGrath <roland@hack.frob.com>
18501 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18502 the '\0' terminator.
18504 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18507 * debug/segfault.c: Don't include <bp-checks.h>.
18508 * sysdeps/generic/bp-checks.h: Remove file.
18509 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18510 (__GETDENTS): Don't use CHECK_N.
18511 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18512 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18513 (__getgroups): Don't use CHECK_N.
18514 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18515 (setgroups): Don't use CHECK_N.
18516 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18517 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18518 (__libc_msgrcv): Don't use CHECK_N.
18519 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18520 (__libc_msgsnd): Don't use CHECK_N.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18523 (__libc_pread): Don't use CHECK_N.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18525 include <bp-checks.h>.
18526 (__libc_pread64): Don't use CHECK_N.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18528 include <bp-checks.h>.
18529 (__libc_pwrite): Don't use CHECK_N.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18531 include <bp-checks.h>.
18532 (__libc_pwrite64): Don't use CHECK_N.
18533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18535 (__libc_pread): Don't use CHECK_N.
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18537 include <bp-checks.h>.
18538 (__libc_pread64): Don't use CHECK_N.
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18540 include <bp-checks.h>.
18541 (__libc_pwrite): Don't use CHECK_N.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18543 include <bp-checks.h>.
18544 (__libc_pwrite64): Don't use CHECK_N.
18545 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18546 (do_pread): Don't use CHECK_N.
18547 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18548 (do_pread64): Don't use CHECK_N.
18549 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18550 (do_pwrite): Don't use CHECK_N.
18551 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18552 (do_pwrite64): Don't use CHECK_N.
18553 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18554 (__libc_readv): Don't use CHECK_N.
18555 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18556 (semop): Don't use CHECK_N.
18557 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18559 (semtimedop): Don't use CHECK_N.
18560 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18561 (__libc_pread): Don't use CHECK_N.
18562 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18564 (__libc_pread64): Don't use CHECK_N.
18565 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18567 (__libc_pwrite): Don't use CHECK_N.
18568 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18570 (__libc_pwrite64): Don't use CHECK_N.
18571 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18573 (__libc_msgrcv): Don't use CHECK_N.
18574 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18575 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18576 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18577 (__libc_writev): Don't use CHECK_N.
18579 2013-02-08 Roland McGrath <roland@hack.frob.com>
18581 * string/strcpy.c: Removed unused variable.
18583 * Makeconfig (+sysdep-includes): Define with := rather than =.
18584 Use an existing include/ subdir of each sysdeps dir before it.
18586 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18588 * nscd/connection.c (register_traced_file): Comment function.
18589 [HAVE_INOTIFY] (union __inev): Define.
18590 [HAVE_INOTIFY] (inotify_check_files): New function.
18591 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18592 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18594 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18596 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18598 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18599 loaded if not already and that a failure is permanent.
18601 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18604 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18605 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18607 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18610 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18611 (CHECK_1_NULL_OK): Likewise.
18612 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18613 (__fxstat): Do not use CHECK_1.
18614 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18616 (___fxstat64): Do not use CHECK_1.
18617 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18619 (__fxstatat): Do not use CHECK_1.
18620 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18622 (__fxstatat64): Do not use CHECK_1.
18623 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18625 (__fxstat): Do not use CHECK_1.
18626 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18628 (__fxstatat): Do not use CHECK_1.
18629 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18631 (__getresgid): Do not use CHECK_1.
18632 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18634 (__getresuid): Do not use CHECK_1.
18635 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18637 (__lxstat): Do not use CHECK_1.
18638 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18640 (__old_msgctl): Do not use CHECK_1.
18641 (__new_msgctl): Likewise.
18642 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18644 (__new_setrlimit): Do not use CHECK_1.
18645 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18647 (__old_shmctl): Do not use CHECK_1.
18648 (__new_shmctl): Likewise.
18649 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18651 (__xstat): Do not use CHECK_1.
18652 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18653 (__lxstat): Do not use CHECK_1.
18654 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18656 (___lxstat64): Do not use CHECK_1.
18657 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18658 (__old_msgctl): Do not use CHECK_1.
18659 (__new_msgctl): Likewise.
18660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18662 (__gettimeofday): Do not use CHECK_1.
18663 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18664 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18665 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18667 (__gettimeofday): Do not use CHECK_1.
18668 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18669 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18670 (__new_shmctl): Do not use CHECK_1.
18671 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18673 (do_sigtimedwait): Do not use CHECK_1.
18674 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18676 (do_sigwaitinfo): Do not use CHECK_1.
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18679 (msgctl): Do not use CHECK_1.
18680 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18682 (shmctl): Do not use CHECK_1.
18683 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18684 (ustat): Do not use CHECK_1.
18685 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18687 (__fxstat): Do not use CHECK_1.
18688 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18690 (__fxstatat): Do not use CHECK_1.
18691 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18693 (__lxstat): Do not use CHECK_1.
18694 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18696 (__xstat): Do not use CHECK_1.
18697 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18698 (__xstat): Do not use CHECK_1.
18699 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18700 (___xstat64): Do not use CHECK_1.
18703 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18705 (CHECK_BOUNDS_HIGH): Likewise.
18706 * string/strcpy.c: Do not include <bp-checks.h>.
18707 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18709 2013-02-07 Roland McGrath <roland@hack.frob.com>
18711 * nscd/nscd-client.h (__nscd_drop_map_ref):
18712 Add __attribute__ ((unused)).
18713 * nis/nss-nisplus.h (niserr2nss): Likewise.
18715 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18716 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18718 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18719 Remove inline keyword.
18720 * include/rounding-mode.h (round_away): Likewise.
18721 * libio/wfileops.c (adjust_wide_data): Likewise.
18722 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18723 (__m128i_strloadu_tolower): Likewise.
18724 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18725 (__m128i_strloadu_tolower): Likewise.
18726 * time/mktime.c (ydhms_diff): Likewise.
18727 * locale/elem-hash.h (elem_hash): Likewise.
18728 * locale/setlocale.c (setdata): Likewise.
18729 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18730 (re_string_wchar_at): Likewise.
18731 (bitset_not, bitset_merge, bitset_mask): Likewise.
18732 [!(__GNUC__ > 3)] (inline): Remove macro.
18733 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18734 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18735 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18736 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18737 * string/memcmp.c (memcmp_bytes): Likewise.
18738 * locale/programs/locarchive.c (compute_hashval): Likewise.
18739 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18740 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18741 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18742 * nss/getent.c (print_rpc, print_protocols): Likewise.
18743 (print_passwd, print_group, print_aliases): Likewise.
18744 * nis/nss-nisplus.h (niserr2nss): Likewise.
18745 * nscd/connections.c (restart_p): Likewise.
18746 Change return type to bool.
18748 2013-02-05 Roland McGrath <roland@hack.frob.com>
18750 * Makeconfig (all-Depend-files): Add existing
18751 $(sorted-subdirs:=/Depend) files.
18752 (all-subdirs): Remove nss.
18753 * sysdeps/unix/inet/Subdirs: Add it here instead.
18754 * hesiod/Depend: New file.
18756 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18757 instead of calling alloca.
18759 * io/lseek.c (__lseek): Rename to __libc_lseek.
18760 Define __lseek as an alias.
18762 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18764 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18766 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18767 else clause and remove check for non-standard endianness.
18769 2013-02-04 David S. Miller <davem@davemloft.net>
18771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18773 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18776 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18777 (__ubp_memchr): Remove prototype.
18778 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18779 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18780 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18781 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18782 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18784 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18785 (__ubp_memchr): Likewise.
18786 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18787 (__ubp_memchr): Likewise.
18788 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18789 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18790 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18791 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18793 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18794 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18795 (__getcwd): Do not use CHECK_STRING.
18796 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18798 (__real_chown): Do not use CHECK_STRING.
18799 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18801 (fchownat): Do not use CHECK_STRING.
18802 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18804 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18806 (__lchown): Do not use CHECK_STRING.
18807 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18808 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18809 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18810 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18812 include <bp-checks.h>.
18813 (truncate64): Do not use CHECK_STRING.
18814 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18816 (__real_chown): Do not use CHECK_STRING.
18817 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18819 (__lchown): Do not use CHECK_STRING.
18820 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18822 (__chown): Do not use CHECK_STRING.
18823 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18825 (truncate64): Do not use CHECK_STRING.
18826 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18828 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18829 (__xmknod): Do not use CHECK_STRING.
18830 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18832 (__xmknodat): Do not use CHECK_STRING.
18833 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18834 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18836 2013-02-04 Andreas Schwab <schwab@suse.de>
18839 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18840 * include/netdb.h: Likewise for h_errno.
18841 * elf/tst-stackguard1.c: Include <tls.h>.
18843 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18845 * elf/link.h (struct link_map): Extend the l_addr comment.
18846 * include/link.h (struct link_map): Likewise.
18848 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18851 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18852 (BOUNDED_1): Remove macro.
18853 * debug/backtrace.c: Don't include <bp-checks.h>.
18854 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18855 (__backtrace): Likewise.
18856 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18858 (__backtrace): Don't use BOUNDED_1.
18859 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18861 (__backtrace): Don't use BOUNDED_1.
18862 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18863 (__backtrace): Don't use BOUNDED_1.
18864 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18865 (shmat): Don't use BOUNDED_N.
18867 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18870 * sysdeps/generic/bp-start.h: Remove file.
18871 * csu/libc-start.c: Don't include <bp-start.h>.
18872 (LIBC_START_MAIN): Set up __environ directly instead of using
18873 INIT_ARGV_and_ENVIRON.
18874 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18878 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18880 (CHECK_FCNTL): Likewise.
18881 (CHECK_N_PAGES): Likewise.
18884 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18886 (CHECK_SIGSET_NULL_OK): Likewise.
18887 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18889 (sigpending): Don't use CHECK_SIGSET.
18890 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18892 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18893 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18895 (do_sigsuspend): Don't use CHECK_SIGSET.
18896 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18898 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18899 (do_sigwait): Don't use CHECK_SIGSET.
18900 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18902 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18903 include <bp-checks.h>.
18904 (sigpending): Don't use CHECK_SIGSET.
18905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18906 include <bp-checks.h>.
18907 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18908 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18910 (sigpending): Don't use CHECK_SIGSET.
18911 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18916 * sysdeps/generic/bp-semctl.h: Remove file.
18917 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18918 <bp-checks.h> and <bp-semctl.h>.
18919 (__old_semctl): Don't use CHECK_SEMCTL.
18920 (__new_semctl): Likewise.
18921 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18923 (__old_semctl): Don't use CHECK_SEMCTL.
18924 (__new_semctl): Likewise.
18925 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18926 <bp-checks.h> and <bp-semctl.h>.
18927 (__old_semctl): Don't use CHECK_SEMCTL.
18928 (__new_semctl): Likewise.
18929 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18930 <bp-checks.h> and <bp-semctl.h>.
18931 (semctl): Don't use CHECK_SEMCTL.
18934 * Makerules (elide-bp-thunks): Remove variable.
18935 (elide-routines.oS): Don't use $(elide-bp-thunks).
18936 (elide-routines.os): Likewise.
18937 (elide-routines.o): Likewise.
18938 (elide-routines.op): Likewise.
18939 (elide-routines.og): Likewise.
18940 (objects): Don't use $(bp-thunks).
18941 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18943 (common-generated): Do not add s-proto-bp.d.
18944 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18947 Do not generate makefile rules for bounded-pointer thunks.
18948 * sysdeps/generic/bp-thunks.h: Remove file.
18949 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18950 * sysdeps/unix/s-proto-bp.S: Likewise.
18953 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18954 parts of result separately when argument is not close to line from
18955 -i to i and one part of argument is small.
18956 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18957 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18958 * math/libm-test.inc (cacos_test): Add more tests.
18959 (casin_test): Likewise.
18960 (casinh_test): Likewise.
18961 * sysdeps/i386/fpu/libm-test-ulps: Update.
18962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18964 2013-01-31 David S. Miller <davem@davemloft.net>
18966 * po/de.po: Update from translation team.
18968 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18970 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18972 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18974 * configure.in (_AC_PROG_CC_C89): New definition.
18975 * configure: Regenerate.
18977 * configure.in (AC_PROG_CPP): New definition.
18978 * configure: Regenerate.
18980 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18982 * debug/tst-backtrace.h: New file.
18983 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18984 (ret): Remove variable.
18986 (FAIL): Remove macro.
18987 (NO_INLINE): Likewise.
18988 (fn1): Use match function instead of strstr.
18989 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18990 (ret): Remove variable.
18992 (FAIL): Remove macro.
18993 (NO_INLINE): Likewise.
18994 (fn): Use match function instead of strstr.
18995 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18996 (ret): Remove variable.
18998 (FAIL): Remove macro.
18999 (NO_INLINE): Likewise.
19000 (handle_signal): Use match function instead of strstr.
19001 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19002 (ret): Remove variable.
19004 (FAIL): Remove macro.
19005 (NO_INLINE): Likewise.
19006 (handle_signal): Use match function instead of strstr.
19008 2013-01-23 Roland McGrath <roland@hack.frob.com>
19010 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19012 2013-01-23 David S. Miller <davem@davemloft.net>
19014 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19015 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19016 argument of CAS if possible.
19017 * sysdeps/sparc/sparc64/bits/atomic.h
19018 (__arch_compare_and_exchange_val_32_acq): Likewise.
19019 (__arch_compare_and_exchange_val_64_acq): Likewise.
19021 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19023 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19024 * sysdeps/posix/ulimit.c: ... this.
19025 Include <limits.h>.
19026 * sysdeps/unix/bsd/ulimit.c: Remove file.
19028 2013-01-23 Adam Conrad <adconrad@0c3.net>
19030 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19031 (LDFLAGS-tst-array5): Likewise.
19033 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19036 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19037 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19038 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19039 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19041 2013-01-21 David S. Miller <davem@davemloft.net>
19043 * sysdeps/sparc/backtrace.c: New file.
19044 * sysdeps/sparc/sparc32/backtrace.h: New file.
19045 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19046 * sysdeps/sparc/sparc64/backtrace.h: New file.
19047 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19048 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19051 2013-01-21 Andreas Schwab <schwab@suse.de>
19054 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19057 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19063 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19064 Mark Mitchell <mark@codesourcery.com>
19065 Tom de Vries <tom@codesourcery.com>
19066 Paul Pluzhnikov <ppluzhnikov@google.com>
19068 * debug/tst-backtrace2.c: New file.
19069 * debug/tst-backtrace3.c: Likewise.
19070 * debug/tst-backtrace4.c: Likewise.
19071 * debug/tst-backtrace5.c: Likewise.
19072 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19073 (CFLAGS-tst-backtrace3.c): Likewise.
19074 (CFLAGS-tst-backtrace4.c): Likewise.
19075 (CFLAGS-tst-backtrace5.c): Likewise.
19076 (LDFLAGS-tst-backtrace2): Likewise.
19077 (LDFLAGS-tst-backtrace3): Likewise.
19078 (LDFLAGS-tst-backtrace4): Likewise.
19079 (LDFLAGS-tst-backtrace5): Likewise.
19080 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19081 tst-backtrace4 and tst-backtrace5.
19083 2013-01-18 Anton Blanchard <anton@samba.org>
19084 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19086 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19087 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19088 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19089 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19091 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19092 "+r" and remove output regs list as redundant. Add explicit inline
19093 asm to specify register of return val to work around compiler codegen
19094 bug. Remove (int) cast on return value. Add return type parameter to
19095 use in macro so that this macro does not truncate return value for
19097 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19098 pass to INTERNAL_VSYSCALL_NCS.
19099 (INLINE_VSYSCALL): Add 'long int' as return type to
19100 INTERNAL_VSYSCALL_NCS macro invocation.
19101 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19102 INTERNAL_VSYSCALL_NCS macro invocation.
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19105 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19108 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19109 Fix application of SIMD FP exception mask.
19111 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19112 mp_no from a power of two.
19113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19114 __mpexp_twomm1. Use __pow_mp.
19116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19119 2013-01-17 David S. Miller <davem@davemloft.net>
19121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19123 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19126 * include/complex.h: Condition contents on [!_COMPLEX_H].
19127 (__kernel_casinhf): New prototype.
19128 (__kernel_casinh): Likewise.
19129 (__kernel_casinhl): Likewise.
19130 * math/Makefile (libm_calls): Add k_casinh.
19131 * math/k_casinh.c: New file.
19132 * math/k_casinhf.c: Likewise.
19133 * math/k_casinhl.c: Likewise.
19134 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19135 finite nonzero arguments.
19136 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19137 finite nonzero arguments.
19138 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19139 finite nonzero arguments.
19140 * math/s_casinh.c: Do not include <float.h>.
19141 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19142 * math/s_casinhf.c: Do not include <float.h>.
19143 (__casinhf): Move code for finite nonzero arguments to
19145 * math/s_casinhl.c: Do not include <float.h>.
19146 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19148 (__casinhl): Move code for finite nonzero arguments to
19150 * math/libm-test.inc (cacos_test): Add more tests.
19151 * sysdeps/i386/fpu/libm-test-ulps: Update.
19152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19154 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19156 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19157 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19158 [!HAVE_MREMAP]: Remove [defined linux] case.
19159 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19161 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19163 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19165 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19167 * elf/elf.h (R_386_SIZE32): New relocation.
19168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19170 (elf_machine_rela): Likewise.
19171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19172 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19174 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19176 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19177 (FP_FAST_FMA): Do not define.
19178 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19179 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19180 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19181 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19182 !_SOFT_FLOAT]: Likewise.
19183 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19184 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19186 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19187 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19188 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19189 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19190 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19191 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19194 2013-01-16 Andreas Schwab <schwab@suse.de>
19197 * include/stdlib.h (__mktemp): Add declaration.
19198 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19199 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19201 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19203 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19205 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19206 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19207 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19209 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19210 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19214 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19215 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19216 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19218 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19219 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19221 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19223 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19225 2013-01-15 David S. Miller <davem@davemloft.net>
19227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19228 trunc{,f} to libm-sysdep_routes.
19229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19239 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19240 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19241 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19242 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19243 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19244 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19247 nearbyint{,f} to libm-sysdep_routes.
19248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19259 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19261 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19262 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19264 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19265 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19266 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19268 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19269 libc_feholdexcept and libc_fesetenv.
19271 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19273 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19275 2013-01-14 David S. Miller <davem@davemloft.net>
19277 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19278 (SPARC_ASM_VIS2_IFUNC): Likewise.
19279 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19281 use of 'siam' instruction.
19282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19315 routines to libm-sysdep_routines.
19316 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19319 fdim/fdimf to libm-sysdep_routines.
19320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19328 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19329 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19330 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19331 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19333 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19335 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19336 to optimize copies.
19338 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19343 local variable MPTWO.
19344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19347 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19349 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19352 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19354 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19356 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19358 * manual/pattern.texi (glob_t): Document gl_flags.
19359 (glob64_t): Likewise.
19361 2013-01-11 David S. Miller <davem@davemloft.net>
19363 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19364 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19365 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19366 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19367 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19368 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19369 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19370 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19371 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19372 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19373 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19374 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19375 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19377 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19378 sparc V9 rather than using V8 code.
19379 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19380 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19382 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19384 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19387 2013-01-11 Roland McGrath <roland@hack.frob.com>
19389 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19390 not in the main loop.
19391 * configure: Regenerated.
19393 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19395 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19396 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19398 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19399 [!__GLIBC_HAVE_LONG_LONG] case.
19400 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19401 condition to just #else.
19402 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19403 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19404 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19405 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19407 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19408 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19409 #elif condition to just #else.
19410 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19411 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19412 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19413 #elif condition to just #else.
19415 2013-01-11 Steve Ellcey <sellcey@mips.com>
19417 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19418 (EF_MIPS_ARCH_64): Fix value.
19419 (EF_MIPS_ARCH_32R2): New.
19420 (EF_MIPS_ARCH_64R2): New.
19422 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19424 * Makeconfig (+link-pie-before-libc): New.
19425 (+link-pie-after-libc): Likewise.
19426 (+link-pie-tests): Likewise.
19427 (+link-pie): Rewritten.
19428 (link-before-libc): Remove $(config-LDFLAGS).
19429 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19430 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19431 (config-LDFLAGS): Renamed to ...
19432 (rtld-LDFLAGS): This.
19433 (rtld-tests-LDFLAGS): New macro.
19434 (link-libc-rpath-link): Likewise.
19435 (link-libc-tests-rpath-link): Likewise.
19436 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19437 (link-libc): Prepand $(link-libc-rpath-link).
19438 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19439 (test-program-prefix): New macro.
19440 (test-via-rtld-prefix): Likewise.
19441 (test-program-cmd): Likewise.
19442 (host-test-program-cmd): Likewise.
19443 * Makefile ($(common-objpfx)testrun.sh): Replace
19444 $(run-program-prefix) with $(test-program-prefix).
19445 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19447 ($(common-objpfx)shlib.lds): Likewise.
19448 (build-module-helper): Likewise.
19449 ($(common-objpfx)format.lds): Likewise.
19450 * Rules (binaries-pie-tests): New.
19451 (binaries-pie-notests): Likewise.
19452 (binaries-pie): Rewritten.
19453 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19454 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19455 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19456 (make-test-out): Replace $(host-built-program-cmd) with
19457 $(host-test-program-cmd).
19458 * config.make.in (build-hardcoded-path-in-tests): New variable.
19459 * configure.in (--enable-hardcoded-path-in-tests): New configure
19461 (hardcoded_path_in_tests): New AC_SUBST.
19462 * configure: Regenerated.
19463 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19464 $(built-program-cmd) with $(test-program-cmd).
19465 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19466 (test_program_cmd): This.
19467 * elf/Makefile ($(objpfx)order.out): Run test with
19468 $(test-program-prefix).
19469 ($(objpfx)order2.out): Likewise.
19470 ($(objpfx)tst-initorder.out): Likewise.
19471 ($(objpfx)tst-initorder2.out): Likewise.
19472 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19473 $(test-program-cmd).
19474 ($(objpfx)tst-array1-static.out): Likewise.
19475 ($(objpfx)tst-array2.out): Likewise.
19476 ($(objpfx)tst-array3.out): Likewise.
19477 ($(objpfx)tst-array4.out): Likewise.
19478 ($(objpfx)tst-array5.out): Likewise.
19479 ($(objpfx)tst-array5-static.out): Likewise.
19480 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19481 $(test-program-cmd).
19482 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19483 $(run-program-prefix) with $(test-program-prefix).
19484 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19485 (test_program_prefix): This.
19486 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19487 $(run-program-prefix) with $(test-program-prefix).
19488 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19489 (test_program_prefix): This.
19490 * iconvdata/tst-tables.sh: Likewise.
19491 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19492 $(run-program-prefix) with $(test-program-prefix).
19493 ($(objpfx)tst-translit.out): Likewise.
19494 ($(objpfx)tst-gettext2.out): Likewise.
19495 ($(objpfx)tst-gettext4.out): Likewise.
19496 ($(objpfx)tst-gettext6.out): Likewise.
19497 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19498 (test_program_prefix): This.
19499 * intl/tst-gettext2.sh: Likewise.
19500 * intl/tst-gettext4.sh Likewise.
19501 * intl/tst-gettext6.sh: Likewise.
19502 * intl/tst-translit.sh: Likewise.
19503 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19504 with $(test-program-cmd).
19505 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19506 $(run-program-prefix) with $(test-program-prefix).
19507 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19508 (test_program_prefix): This.
19509 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19510 $(run-program-prefix) with $(test-program-prefix).
19511 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19512 (test_program_prefix): This.
19513 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19514 * posix/Makefile ($(objpfx)globtest.out): Replace
19515 $(run-via-rtld-prefix) and $(test-wrapper) with
19516 $(test-program-prefix) and $(test-via-rtld-prefix).
19517 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19518 $(test-program-prefix).
19519 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19520 $(host-test-program-cmd).
19521 (tst-spawn-ARGS): Likewise.
19522 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19523 $(test-program-prefix).
19524 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19525 (test_via_rtld_prefix): This.
19526 (test_wrapper): Renamed to ...
19527 (test_program_prefix): This.
19528 (run_program_prefix): Replaced by test_program_prefix.
19529 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19530 (test_program_prefix): This.
19531 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19532 with $(host-test-program-cmd).
19533 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19534 $(run-program-prefix) with $(test-program-prefix).
19535 ($(objpfx)tst-printf.out): Likewise.
19536 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19537 $(test-program-cmd).
19538 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19539 (test_program_prefix): This.
19540 * stdio-common/tst-unbputc.sh: Likewise.
19541 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19542 $(run-program-prefix) with $(test-program-prefix).
19543 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19544 (test_program_prefix): This.
19545 * string/Makefile ($(objpfx)tst-svc.out): Replace
19546 $(built-program-cmd) with $(test-program-cmd).
19548 2013-01-11 Andreas Jaeger <aj@suse.de>
19551 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19552 value. Sync with Linux 3.7.
19554 2013-01-10 David S. Miller <davem@davemloft.net>
19556 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19557 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19558 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19560 2013-01-10 Roland McGrath <roland@hack.frob.com>
19562 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19564 * configure: Regenerated.
19566 2013-01-10 David S. Miller <davem@davemloft.net>
19568 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19569 sparc V9 rather than using V8 code.
19570 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19571 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19573 2013-01-10 Roland McGrath <roland@hack.frob.com>
19575 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19576 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19577 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19578 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19579 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19580 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19581 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19582 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19583 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19584 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19585 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19586 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19587 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19588 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19589 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19590 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19591 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19592 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19593 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19594 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19595 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19596 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19597 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19598 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19599 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19600 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19601 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19603 2013-01-10 David S. Miller <davem@davemloft.net>
19605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19607 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19609 * posix/Makefile (tests-static): New variable.
19610 (tests): Add $(tests-static).
19611 (tst-exec-static-ARGS): New variable.
19612 (tst-spawn-static-ARGS): Likewise.
19613 * posix/tst-exec-static.c: New file.
19614 * posix/tst-spawn-static.c: Likewise.
19615 * posix/tst-exec.c: Support run directly.
19616 * posix/tst-spawn.c: Likewise.
19618 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19620 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19622 * math/bits/mathcalls.h (llrint): Likewise.
19623 (llround): Likewise.
19624 * stdlib/stdlib.h (struct drand48_data): Likewise.
19625 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19626 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19627 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19629 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19631 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19632 (elf_greg_t): Likewise.
19633 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19634 (__jmp_buf): Likewise.
19635 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19637 (llrint): Likewise, for all definitions.
19638 (llrintl): Likewise.
19640 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19641 Remove [__GNUC__] condition.
19642 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19643 condition to just [__USE_ISOC99].
19644 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19646 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19649 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19650 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19652 (_POSIX_V6_ILP32_OFF32): Likewise.
19653 (_XBS5_ILP32_OFF32): Likewise.
19654 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19655 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19657 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19659 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19662 doubles __mpexp_twomm1. Adjust usage.
19663 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19666 2013-01-10 Andreas Schwab <schwab@suse.de>
19669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19670 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19672 2013-01-09 David S. Miller <davem@davemloft.net>
19675 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19676 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19677 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19678 (TCP_FASTOPEN): Define.
19679 (tcp_repair_opt): New structure.
19680 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19682 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19683 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19684 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19685 (tcp_cookie_transactions): New structure.
19687 2013-01-09 Anton Blanchard <anton@samba.org>
19689 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19690 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19691 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19692 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19694 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19696 * include/features.h (__USE_ANSI): Remove.
19698 2013-01-09 Roland McGrath <roland@hack.frob.com>
19700 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19702 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19704 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19706 * sysdeps/s390/fpu/libm-test-ulps: Update.
19708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19710 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19714 (denorm): Likewise.
19715 (__mp_dbl): Likewise.
19716 (__dbl_mp): Likewise.
19717 (add_magnitudes): Likewise.
19718 (sub_magnitudes): Likewise.
19724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19728 (denorm): Likewise.
19729 (__mp_dbl): Likewise.
19730 (__dbl_mp): Likewise.
19731 (add_magnitudes): Likewise.
19732 (sub_magnitudes): Likewise.
19738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19742 (denorm): Likewise.
19743 (__mp_dbl): Likewise.
19744 (__dbl_mp): Likewise.
19745 (add_magnitudes): Likewise.
19746 (sub_magnitudes): Likewise.
19753 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19755 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19756 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19757 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19758 2 && __USE_EXTERN_INLINES]: Likewise.
19760 2013-01-08 Andreas Jaeger <aj@suse.de>
19763 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19765 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19766 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19768 2013-01-07 Anton Blanchard <anton@samba.org>
19770 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19771 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19772 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19773 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19774 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19775 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19776 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19777 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19779 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19780 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19781 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19782 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19783 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19785 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19786 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19787 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19788 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19789 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19790 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19791 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19793 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19794 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19795 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19796 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19797 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19799 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19800 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19802 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19803 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19804 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19805 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19806 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19807 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19809 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19810 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19812 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19814 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19816 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19817 (__MALLOC_PMT): Likewise.
19818 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19819 [__GNUC__], only on [_LIBC].
19820 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19821 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19822 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19823 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19824 forward declaration.
19825 (realloc_hook_ini): Likewise.
19826 (memalign_hook_ini): Likewise.
19827 (__libc_memalign): Do not use __MALLOC_PMT in variable
19829 (__libc_valloc): Likewise.
19830 (__libc_pvalloc): Likewise.
19831 (__libc_calloc): Likewise.
19832 (__posix_memalign): Likewise.
19835 * math/s_casinh.c: Include <float.h>.
19836 (__casinh): Do not do computation with squaring and square root
19837 for large arguments.
19838 * math/s_casinhf.c: Include <float.h>.
19839 (__casinhf): Do not do computation with squaring and square root
19840 for large arguments.
19841 * math/s_casinhl.c: Include <float.h>.
19842 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19843 (__casinhl): Do not do computation with squaring and square root
19844 for large arguments.
19845 * math/libm-test.inc (casin_test): Add more tests.
19846 (casinh_test): Likewise.
19847 * sysdeps/i386/fpu/libm-test-ulps: Update.
19848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19850 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19852 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19853 (__x86_64_raw_data_cache_size): Likewise.
19854 (__x86_64_data_cache_size_half): Likewise.
19855 (__x86_64_raw_data_cache_size_half): Likewise.
19856 (__x86_64_shared_cache_size): Likewise.
19857 (__x86_64_raw_shared_cache_size): Likewise.
19858 (__x86_64_shared_cache_size_half): Likewise.
19859 (__x86_64_raw_shared_cache_size_half): Likewise.
19860 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19862 (__x86_data_cache_size): This.
19863 (__x86_64_raw_data_cache_size): Renamed to ...
19864 (__x86_raw_data_cache_size): This.
19865 (__x86_64_data_cache_size_half): Renamed to ...
19866 (__x86_data_cache_size_half): This.
19867 (__x86_64_raw_data_cache_size_half): Renamed to ...
19868 (__x86_raw_data_cache_size_half): This.
19869 (__x86_64_shared_cache_size): Renamed to ...
19870 (__x86_shared_cache_size): This.
19871 (__x86_64_raw_shared_cache_size): Renamed to ...
19872 (__x86_raw_shared_cache_size): This.
19873 (__x86_64_shared_cache_size_half): Renamed to ...
19874 (__x86_shared_cache_size_half): This.
19875 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19876 (__x86_raw_shared_cache_size_half): This.
19877 * sysdeps/x86_64/memcpy.S: Updated.
19878 * sysdeps/x86_64/memset.S: Likewise.
19879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19883 2013-01-04 David S. Miller <davem@davemloft.net>
19885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19887 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19889 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19890 1 to avoid redefinition warning.
19891 (__USE_GNU): Don't define.
19892 (init_signaling_nan): Protoize.
19894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19896 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19898 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19900 (__cpymn): Likewise.
19901 (norm): Remove commented code.
19902 (denorm): Likewise.
19903 (__mp_dbl): Likewise.
19905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19906 (__cpymn): Likewise.
19907 (norm): Remove commented code.
19908 (denorm): Likewise.
19909 (__mp_dbl): Likewise.
19912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19913 mp_no value for 1.0 and 2.0.
19914 (norm): Use RADIXI instead of radixi.d.
19915 (denorm): Likewise.
19916 (__mul): Use 0.0 instead of zero.d.
19917 * sysdeps/powerpc/powerpc64/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.
19923 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19926 * math/s_casinh.c (__casinh): Reduce finite argument to first
19927 quadrant then set signs of results at the end.
19928 * math/s_casinhf.c (__casinhf): Likewise.
19929 * math/s_casinhl.c (__casinhl): Likewise.
19930 * math/libm-test.inc (casin_test): Add more tests.
19931 (casinh_test): Likewise.
19932 * sysdeps/i386/fpu/libm-test-ulps: Update.
19933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19935 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19937 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19939 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19941 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19943 (denorm): Likewise.
19944 (__mp_dbl): Likewise.
19947 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19948 and adjust the header comment.
19950 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19951 variable name from declaration.
19953 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19956 Initialize COMMON_CPUID_INDEX_7 element.
19957 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19958 (CPUID_RTM): Likewise.
19959 (HAS_RTM): Likewise.
19960 (COMMON_CPUID_INDEX_7): New enum.
19962 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19965 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19966 size is zero, record memory as freed.
19968 2013-01-03 Andreas Jaeger <aj@suse.de>
19970 * po/ia.po: Add new Interlingua translation.
19972 2012-01-03 Allan McRae <allan@archlinux.org>
19974 * locale/programs/localedef.c: Fix description of '--posix' flag.
19976 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19978 * NEWS: Update dates in second copyright notice.
19979 * README: Update copyright dates in example.
19980 * manual/libc.texinfo: Update copyright dates.
19981 * scripts/test-installation.pl: Update copyright date in --version
19984 * hurd/ctty-input.c: Fix copyright notice formatting.
19985 * hurd/ctty-output.c: Likewise.
19986 * hurd/dtable.c: Likewise.
19987 * hurd/hurd-raise.c: Likewise.
19988 * hurd/hurdprio.c: Likewise.
19989 * hurd/msgportdemux.c: Likewise.
19990 * misc/sys/file.h: Likewise.
19991 * misc/sys/ioctl.h: Likewise.
19992 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19993 * sysdeps/mach/hurd/chdir.c: Likewise.
19994 * sysdeps/mach/hurd/fchdir.c: Likewise.
19995 * sysdeps/mach/hurd/rename.c: Likewise.
19996 * sysdeps/mach/hurd/rmdir.c: Likewise.
19997 * sysdeps/mach/hurd/seekdir.c: Likewise.
19998 * sysdeps/mach/hurd/setsid.c: Likewise.
19999 * sysdeps/posix/wait3.c: Likewise.
20001 * All files with FSF copyright notices: Update copyright dates
20002 using scripts/update-copyrights.
20003 * intl/plural.c: Regenerated.
20004 * locale/programs/charmap-kw.h: Likewise.
20005 * locale/programs/locfile-kw.h: Likewise.
20007 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20009 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20013 calculation loop and add branch prediction.
20015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20016 check access beyond bounds of m1np.
20018 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20020 (__inv): Remove local variable MPTWO to use the global
20022 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20023 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20025 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20026 MP3HALFS static const.
20028 2013-01-01 David S. Miller <davem@davemloft.net>
20030 * po/ca.po: Update from translation team.
20032 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20034 * scripts/update-copyrights: New file.
20035 * Makeconfig: Reformat copyright notice.
20036 * ctype/ctype.h: Likewise.
20037 * debug/swprintf_chk.c: Likewise.
20038 * elf/dl-cache.c: Likewise.
20039 * elf/dl-debug.c: Likewise.
20040 * elf/dl-object.c: Likewise.
20041 * grp/initgroups.c: Likewise.
20042 * hurd/Makefile: Likewise.
20043 * hurd/hurd/signal.h: Likewise.
20044 * hurd/hurdfault.c: Likewise.
20045 * hurd/hurdioctl.c: Likewise.
20046 * hurd/hurdlookup.c: Likewise.
20047 * hurd/intr-msg.c: Likewise.
20048 * iconv/gconv_open.c: Likewise.
20049 * libio/swprintf.c: Likewise.
20050 * locale/lc-ctype.c: Likewise.
20051 * locale/nl_langinfo.c: Likewise.
20052 * mach/Machrules: Likewise.
20053 * mach/Makefile: Likewise.
20054 * malloc/obstack.h: Likewise.
20055 * manual/Makefile: Likewise.
20056 * manual/tsort.awk: Likewise.
20057 * misc/bits/stab.def: Likewise.
20058 * nis/nis_print_group_entry.c: Likewise.
20059 * nis/nis_table.c: Likewise.
20060 * nis/nss_compat/compat-pwd.c: Likewise.
20061 * nis/nss_compat/compat-spwd.c: Likewise.
20062 * po/Makefile: Likewise.
20063 * posix/fnmatch.c: Likewise.
20064 * posix/regex.h: Likewise.
20065 * resolv/Makefile: Likewise.
20066 * resolv/nss_dns/dns-network.c: Likewise.
20067 * resolv/res_hconf.c: Likewise.
20068 * scripts/gen-sorted.awk: Likewise.
20069 * soft-fp/soft-fp.h: Likewise.
20070 * stdio-common/printf.h: Likewise.
20071 * stdlib/monetary.h: Likewise.
20072 * stdlib/random.c: Likewise.
20073 * stdlib/random_r.c: Likewise.
20074 * sysdeps/generic/Makefile: Likewise.
20075 * sysdeps/gnu/Makefile: Likewise.
20076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20086 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20087 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20088 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20089 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20092 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20099 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20100 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20101 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20102 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20103 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20104 * sysdeps/mach/hurd/errnos.awk: Likewise.
20105 * sysdeps/mach/hurd/fork.c: Likewise.
20106 * sysdeps/mach/hurd/getcwd.c: Likewise.
20107 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20108 * sysdeps/mach/hurd/mmap.c: Likewise.
20109 * sysdeps/mach/hurd/utimes.c: Likewise.
20110 * sysdeps/mach/hurd/xmknod.c: Likewise.
20111 * sysdeps/posix/profil.c: Likewise.
20112 * sysdeps/posix/readdir_r.c: Likewise.
20113 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20114 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20115 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20116 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20118 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20119 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20120 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20122 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20123 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20124 * sysdeps/pthread/lio_listio.c: Likewise.
20125 * sysdeps/sparc/dl-procinfo.h: Likewise.
20126 * sysdeps/unix/i386/sysdep.S: Likewise.
20127 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20128 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20129 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20130 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20132 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20133 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20134 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20135 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20136 * sysdeps/wordsize-32/divdi3.c: Likewise.
20137 * time/sys/time.h: Likewise.
20138 * wcsmbs/Makefile: Likewise.
20140 2013-01-01 David S. Miller <davem@davemloft.net>
20142 * po/fr.po: Update from translation team.
20144 * catgets/gencat.c: Update copyright year.
20145 * csu/version.c: Likewise.
20146 * debug/catchsegv.sh: Likewise.
20147 * debug/pcprofiledump.c: Likewise.
20148 * debug/xtrace.sh: Likewise.
20149 * elf/ldconfig.c: Likewise.
20150 * elf/ldd.bash.in: Likewise.
20151 * elf/pldd.c: Likewise.
20152 * elf/sotruss.ksh: Likewise.
20153 * elf/sprof.c: Likewise.
20154 * iconv/iconv_prog.c: Likewise.
20155 * iconv/iconvconfig.c: Likewise.
20156 * locale/programs/locale.c: Likewise.
20157 * locale/programs/localedef.c: Likewise.
20158 * login/programs/pt_chown.c: Likewise.
20159 * malloc/memusage.sh: Likewise.
20160 * malloc/memusagestat.c: Likewise.
20161 * malloc/mtrace.pl: Likewise.
20162 * nscd/nscd.c: Likewise.
20163 * nss/getent.c: Likewise.
20164 * nss/makedb.c: Likewise.
20165 * posix/getconf.c: Likewise.
20167 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20169 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20172 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20174 * math/bits/mathcalls.h (modf): Use __nonnull.
20176 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20178 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20179 (split): Use macro CN instead of the bare value.
20180 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20183 instead of the bare value.
20184 (power1): Likewise.
20186 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20190 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20192 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20194 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20195 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20196 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20197 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20199 2012-12-28 Andreas Jaeger <aj@suse.de>
20201 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20202 values are from Linux 3.7.
20204 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20205 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20207 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20209 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20214 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20215 variables with preprocessor constants.
20216 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20217 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20218 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20220 2012-12-27 Bruno Haible <bruno@clisp.org>
20223 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20226 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20229 and use variable directly.
20230 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20232 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20234 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20235 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20237 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20239 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20240 include directive. Remove local variable MPONE.
20241 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20242 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20243 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20245 2012-12-25 David S. Miller <davem@davemloft.net>
20247 * version.h (RELEASE): Set to "development".
20248 (VERSION): Set to "2.17.90".
20249 * NEWS: Add 2.18 section.
20251 2012-12-21 David S. Miller <davem@davemloft.net>
20253 * po/hr.po: Update from translation team.
20255 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20257 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20259 2012-12-19 Steve Ellcey <sellcey@mips.com>
20261 * NEWS: Mention new memcpy for MIPS.
20263 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20265 * manual/contrib.texi (Contributors): Spelling correction.
20267 2012-12-15 David S. Miller <davem@davemloft.net>
20269 * po/ru.po: Update from translation team.
20271 2012-12-13 David S. Miller <davem@davemloft.net>
20273 * NEWS: Mention IFUNC testsuite enhancements.
20275 * po/pl.po: Update from translation team.
20276 * po/bg.po: Likewise.
20278 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20279 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20281 2012-12-11 David S. Miller <davem@davemloft.net>
20283 * po/sv.po: Update from translation team.
20285 * po/vi.po: Update from translation team.
20287 * po/cs.po: Update from translation team.
20289 * po/de.po: Update from translation team.
20290 * po/eo.po: Likewise.
20291 * po/nl.po: Likewise.
20293 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20296 * manual/argp.texi (Argp Helper Functions): Move node to follow
20297 Argp Parsing State.
20300 * manual/conf.texi (Limits on File System Capacity): Mention if
20301 terminating null is included in the max size.
20303 2012-12-10 Andreas Jaeger <aj@suse.de>
20305 * po/cs.po: Update from translation team.
20307 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20309 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20310 void pointer and cast to uintptr_t.
20311 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20313 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20314 * sysdeps/s390/s390-64/memset.S: Likewise.
20316 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20319 * menual/message.texi (Message Translation): Fix typos.
20320 (Helper programs for gettext): Likewise.
20322 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20325 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20328 2012-12-07 David S. Miller <davem@davemloft.net>
20330 * po/libc.pot: Update.
20332 2012-12-07 Richard Henderson <rth@redhat.com>
20335 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20336 normal/normal case to before the switch.
20337 (_FP_DIV): Likewise.
20339 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20340 Mike Frysinger <vapier@gentoo.org>
20342 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20343 check for __NR_fadvise64_64.
20345 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20347 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20348 0, not just to plain "0" as a statement.
20349 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20352 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20354 * NEWS: Use sourceware.org in Bugzilla URL.
20356 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20359 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20361 * stdio-common/tst-put-error.c (do_test): Add newline to the
20362 padded test to ensure flush.
20364 2012-12-05 Jeff Law <law@redhat.com>
20366 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20368 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20370 * README: Don't refer to ports add-on as distributed separately.
20371 Mention AArch64 in list of systems supported in the ports add-on.
20373 * LICENSES: Add more non-FSF copyright and license notices.
20375 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20378 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20380 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20381 10000 as width of padded output.
20383 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20385 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20387 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20388 variable LX with __attribute__ ((unused)).
20389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20391 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20393 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20394 with __attribute__ ((unused)).
20396 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20398 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20400 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20402 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20403 (CFLAGS-nldbl-acos.c): New variable.
20404 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20408 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20409 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20417 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20418 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20419 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20420 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20421 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20422 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20423 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20424 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20425 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20426 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20427 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20428 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20429 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20430 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20431 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20432 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20433 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20434 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20435 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20436 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20437 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20438 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20439 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20440 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20441 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20442 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20443 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20444 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20445 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20446 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20447 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20448 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20449 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20450 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20451 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20452 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20453 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20454 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20455 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20456 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20457 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20458 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20459 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20460 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20461 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20462 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20463 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20464 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20465 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20466 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20467 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20468 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20469 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20470 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20471 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20472 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20473 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20474 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20475 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20476 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20477 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20478 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20479 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20480 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20481 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20482 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20483 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20484 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20485 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20486 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20487 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20488 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20489 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20490 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20491 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20492 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20493 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20494 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20495 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20496 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20497 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20498 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20499 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20503 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20507 whole low double instead of just low 47 bits when splitting values
20510 2012-12-03 Allan McRae <allan@archlinux.org>
20512 * manual/stdio.texi (Predefined Printf Handlers): Remove
20513 @hsep and @vsep usage.
20515 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20517 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20518 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20520 2012-12-03 Jeff Law <law@redhat.com>
20522 * time/sys/time.h (settimeofday): Do not mark TV argument
20525 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20527 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20528 when currently writing and seek to current position when not.
20529 * libio/Makefile (tests): Remove bug-fclose1.
20530 * libio/bug-fclose1.c: Delete.
20532 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20534 * manual/arith.texi (feenableexcept): Fix typo.
20535 (fedisableexcept): Likewise.
20537 2012-11-30 Roland McGrath <roland@hack.frob.com>
20539 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20540 second, differently-typed declaration, rather than a cast.
20542 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20544 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20545 * include/rpc/svc.h: ... here.
20547 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20550 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20551 depending n and resplen2 to catch cases where answer
20554 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20556 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20557 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20559 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20561 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20563 2012-11-29 Roland McGrath <roland@hack.frob.com>
20565 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20567 2012-11-28 Jeff Law <law@redhat.com>
20570 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20571 dataset_temporary. Track alloca usage into alloca_used.
20572 If dataset is large allocate and release it via malloc/free.
20574 2012-06-04 Florian Weimer <fweimer@redhat.com>
20577 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20579 2012-11-28 David S. Miller <davem@davemloft.net>
20581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20583 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20586 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20587 of pi/2 rounded to nearest to 64 bits.
20588 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20589 nearest to 64 bits.
20590 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20593 2012-11-28 Jeff Law <law@redhat.com>
20594 Martin Osvald <mosvald@redhat.com>
20597 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20598 * sunrpc/svc.c: Include time.h.
20599 (__svc_accept_failed): New function.
20600 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20601 any reason other than EINTR, call __svc_accept_failed.
20602 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20603 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20605 2012-11-28 Andreas Schwab <schwab@suse.de>
20607 * scripts/abilist.awk: Also handle indirect functions in .opd
20610 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20613 * sysdeps/x86/fpu/powl_helper.c: New file.
20614 * sysdeps/x86/fpu/Makefile: Likewise.
20615 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20617 (__ieee754_powl): Use __powl_helper for finite arguments except
20618 integer exponents below 8.
20619 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20621 (__ieee754_powl): Use __powl_helper for finite arguments except
20622 integer exponents below 8.
20623 * math/libm-test.inc (pow_test): Add more tests and enable some
20624 previously disabled tests.
20625 * sysdeps/i386/fpu/libm-test-ulps: Update.
20626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20628 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20629 Carlos O'Donell <carlos_odonell@mentor.com>
20631 * nss/makedb.c (is_prime): Assert that input is odd and greater
20632 than 4. Note that fact in a comment too.
20633 (next_prime): Add 4 to input.
20635 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20638 * libio/Makefile (tests): Add test case tst-fwrite-error.
20639 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20640 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20641 * libio/tst-fwrite-error.c: New test case.
20643 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20645 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20646 before casting to void *.
20647 * include/libc-internal.h (__pointer_type): New macro.
20648 (__integer_if_pointer_type_sub): Likewise.
20649 (__integer_if_pointer_type): Likewise.
20650 (cast_to_integer): Likewise.
20651 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20652 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20653 before casting to atomic64_t.
20654 (atomic_exchange_acq): Likewise.
20655 (__arch_exchange_and_add_body): Likewise.
20656 (__arch_add_body): Likewise.
20657 (atomic_add_negative): Likewise.
20658 (atomic_add_zero): Likewise.
20660 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20662 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20663 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20664 (add_fdes): Likewise.
20665 (linear_search_fdes): Likewise.
20666 (binary_search_unencoded_fdes): Likewise.
20668 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20670 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20672 2012-11-24 Adam Conrad <adconrad@0c3.net>
20674 * configure.in: Autodetect C++ header directories.
20675 * configure: Regenerated.
20677 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20679 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20681 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20685 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20687 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20688 LDBL_MANT_DIG == 106]: Disable some tests.
20689 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20691 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20695 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20696 input for small inputs. Return +/- pi/2 for large inputs.
20697 * math/libm-test.inc (atan_test): Add more tests.
20699 * sysdeps/generic/unwind-dw2-fde-glibc.c
20700 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20701 __attribute__ ((unused)).
20704 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20705 x * y if x and y are nonzero and z is zero.
20708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20709 nonzero exponents with absolute value below 0x1p-117 to +/-
20713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20714 up arguments below 2**-450, not just those below 2**-500.
20715 * math/libm-test.inc (hypot_test): Add another test.
20718 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20719 Return a+b for ratio over 2**120, not 2**60.
20720 * math/libm-test.inc (hypot_test): Add another test.
20722 * math/libm-test.inc (clog_test): Use
20723 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20724 (clog10_test): Likewise.
20727 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20729 2012-11-22 Andreas Schwab <schwab@suse.de>
20731 * sysdeps/i386/fpu/libm-test-ulps: Update.
20733 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20735 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20736 printf output with newline.
20738 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20741 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20742 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20743 -z nodlopen, -z initfirst and -z execstack support.
20744 * configure: Regenerated.
20746 * elf/elf.h (DF_1_NODIRECT): New macro.
20747 (DF_1_IGNMULDEF): Likewise.
20748 (DF_1_NOKSYMS): Likewise.
20749 (DF_1_NOHDR): Likewise.
20750 (DF_1_EDITED): Likewise.
20751 (DF_1_NORELOC): Likewise.
20752 (DF_1_SYMINTPOSE): Likewise.
20753 (DF_1_GLOBAUDIT): Likewise.
20754 (DF_1_SINGLETON): Likewise.
20755 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20756 DT_1_SUPPORTED_MASK bits.
20757 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20759 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20761 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20763 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20765 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20768 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20769 (sendmmsg): Move declarations...
20770 * socket/sys/socket.h: ... here.
20771 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20772 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20774 * socket/recvmmsg.c: ... this new file.
20775 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20776 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20777 definition of __sendmmsg hidden.
20778 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20779 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20780 Move ENOSYS stub into and include it from...
20781 * socket/sendmmsg.c: ... this new file.
20782 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20783 (sysdep_routines): Move recvmmsg and sendmmsg...
20784 * socket/Makefile (routines): ... here.
20785 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20786 (GLIBC_PRIVATE): Add __sendmmsg.
20787 * include/sys/socket.h (__sendmmsg): Add declarations.
20788 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20791 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20793 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20794 variable I1 with __attribute__ ((unused)).
20795 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20797 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20799 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20800 DUMMY variables with __attribute__ ((unused)).
20802 * bits/byteswap.h: Include <bits/types.h>.
20803 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20805 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20807 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20808 string_t. Do not manually set errno.
20809 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20810 length with __strnlen. Make sure to both set errno and return it on
20813 2012-11-19 David S. Miller <davem@davemloft.net>
20815 With help from Joseph Myers.
20816 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20817 very large arguments properly.
20818 * math/libm-test.inc (atan_test): New tests.
20819 (atan2_test): New tests.
20820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20823 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20826 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20829 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20830 [POSIX] (EADDRNOTAVAIL): Likewise.
20831 [POSIX] (EAFNOSUPPORT): Likewise.
20832 [POSIX] (EALREADY): Likewise.
20833 [POSIX] (ECONNABORTED): Likewise.
20834 [POSIX] (ECONNREFUSED): Likewise.
20835 [POSIX] (ECONNRESET): Likewise.
20836 [POSIX] (EDESTADDRREQ): Likewise.
20837 [POSIX] (EDQUOT): Likewise.
20838 [POSIX] (EHOSTUNREACH): Likewise.
20839 [POSIX] (EIDRM): Likewise.
20840 [POSIX] (EISCONN): Likewise.
20841 [POSIX] (ELOOP): Likewise.
20842 [POSIX] (EMULTIHOP): Likewise.
20843 [POSIX] (ENETDOWN): Likewise.
20844 [POSIX] (ENETUNREACH): Likewise.
20845 [POSIX] (ENOBUFS): Likewise.
20846 [POSIX] (ENODATA): Likewise.
20847 [POSIX] (ENOLINK): Likewise.
20848 [POSIX] (ENOMSG): Likewise.
20849 [POSIX] (ENOPROTOOPT): Likewise.
20850 [POSIX] (ENOSR): Likewise.
20851 [POSIX] (ENOSTR): Likewise.
20852 [POSIX] (ENOTCONN): Likewise.
20853 [POSIX] (ENOTSOCK): Likewise.
20854 [POSIX] (EOPNOTSUPP): Likewise.
20855 [POSIX] (EOVERFLOW): Likewise.
20856 [POSIX] (EPROTO): Likewise.
20857 [POSIX] (EPROTONOSUPPORT): Likewise.
20858 [POSIX] (EPROTOTYPE): Likewise.
20859 [POSIX] (ESTALE): Likewise.
20860 [POSIX] (ETIME): Likewise.
20861 [POSIX] (ETXTBSY): Likewise.
20862 [POSIX] (EWOULDBLOCK): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20864 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20865 [POSIX] (SEEK_CUR): Likewise.
20866 [POSIX] (SEEK_END): Likewise.
20867 [POSIX || UNIX98] (mode_t): Do not require.
20868 [POSIX] (off_t): Likewise.
20869 [POSIX] (pid_t): Likewise.
20870 [POSIX] (sys/stat.h): Do not allow header.
20871 [POSIX] (unistd.h): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20873 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20875 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20877 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20878 sigevent): Specify elements.
20879 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20881 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20882 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20884 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20885 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20886 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20887 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20888 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20889 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20890 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20891 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20892 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20893 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20894 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20895 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20896 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20897 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20899 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20901 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20905 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20906 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20907 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20908 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20909 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20910 Specify lower bound on value.
20911 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20912 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20913 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20914 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20915 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20916 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20917 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20918 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20920 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20922 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20923 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20924 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20925 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20926 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20927 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20928 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20929 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20930 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20931 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20932 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20933 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20934 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20935 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20936 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20937 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20939 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20941 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20942 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20943 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20944 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20945 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20946 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20948 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20949 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20950 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20951 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20952 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20953 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20954 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20956 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20957 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20959 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20960 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20961 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20962 specify as optional.
20963 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20964 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20965 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20966 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20967 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20968 [XPG3] (NL_LANGMAX): Likewise.
20969 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20970 [POSIX || XPG3] (NL_NMAX): Likewise.
20971 [POSIX || XPG3] (NL_SETMAX): Likewise.
20972 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20973 [XPG3] (NZERO): Likewise.
20974 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20975 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20976 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20977 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20978 (REG_ERANGE): Expect.
20979 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20981 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20982 Use (void) in prototype.
20983 [POSIX] (*_t): Allow.
20984 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20985 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20986 (WRDE_BADVAL): Expect.
20988 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20990 [XPG3 || XPG4] (O_RSYNC): Likewise.
20991 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20993 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20994 [XPG3 || XPG4] (sigqueue): Likewise.
20995 [XPG3 || XPG4] (sigtimedwait): Likewise.
20996 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20997 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20998 [XPG3 || XPG4] (vsnprintf): Likewise.
20999 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21001 [XPG3 || XPG4] (blksize_t): Likewise.
21002 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21004 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21005 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21006 [XPG3 || XPG4] (struct itimerspec): Likewise.
21007 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21008 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21009 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21010 [XPG3 || XPG4] (clockid_t): Likewise.
21011 [XPG3 || XPG4] (timer_t): Likewise.
21012 [XPG3 || XPG4] (clock_getres): Likewise.
21013 [XPG3 || XPG4] (clock_gettime): Likewise.
21014 [XPG3 || XPG4] (clock_settime): Likewise.
21015 [XPG3 || XPG4] (nanosleep): Likewise.
21016 [XPG3 || XPG4] (timer_create): Likewise.
21017 [XPG3 || XPG4] (timer_delete): Likewise.
21018 [XPG3 || XPG4] (timer_gettime): Likewise.
21019 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21020 [XPG3 || XPG4] (timer_settime): Likewise.
21021 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21022 [XPG3 || XPG4] (getlogin_r): Likewise.
21023 [XPG3 || XPG4] (pread): Likewise.
21024 [XPG3 || XPG4] (pthread_atfork): Likewise.
21025 [XPG3 || XPG4] (pwrite): Likewise.
21028 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21031 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21033 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21034 finalizing MALLSTREAM.
21036 * sysdeps/mach/hurd/syncfs.c: New file.
21038 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21041 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21042 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21043 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21044 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21045 (_nss_dns_gethostbyname4_r): Likewise.
21046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21047 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21049 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21052 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21054 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21056 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21057 * elf/cache.c (print_entry): Print ",AArch64" for
21060 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21061 * elf/cache.c (print_entry): Print ",hard-float" for
21064 2012-11-18 David S. Miller <davem@davemloft.net>
21066 With help from Joseph Myers.
21067 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21069 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21071 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21072 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21074 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21075 * math/libm-test.inc (y0_test): New tests.
21076 (y1_test): New tests.
21077 * sysdeps/i386/fpu/libm-test-ulps: Update.
21078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21081 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21083 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21085 * configure: Regenerated.
21087 2012-11-17 David S. Miller <davem@davemloft.net>
21090 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21091 nonzero exponents with absolute value below 0x1p-128 to +/-
21094 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21096 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21098 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21100 * posix/getconf-speclist.c: New file.
21101 * posix/posix-envs.def: Likewise.
21102 * posix/confstr.c (START_ENV_GROUP): New macro.
21103 (END_ENV_GROUP): Likewise.
21104 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21105 (KNOWN_PRESENT_ENV_STRING): Likewise.
21106 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21107 (UNKNOWN_ENVIRONMENT): Likewise.
21108 (confstr): Include posix-envs.def instead of handling
21109 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21110 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21111 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21112 (END_ENV_GROUP): Likewise.
21113 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21114 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21115 (UNKNOWN_ENVIRONMENT): Likewise.
21116 (__sysconf): Include posix-envs.def instead of handling associated
21117 cases directly here.
21118 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21119 preprocessing getconf-speclist.c rather than running getconf or
21120 generating empty file.
21122 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21124 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21126 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21129 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21131 2012-11-16 David S. Miller <davem@davemloft.net>
21133 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21134 smaller than LDBL_EPSILON/2.0L, just return xm1.
21136 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21138 * elf/tst-array1.c (init): Set constructor priority to 1000.
21139 (fini): Set destructor priority to 1000.
21140 * elf/tst-array2dep.c: Likewise.
21142 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21145 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21146 (_IO_new_file_xsputn): Also return EOF if none of the input
21147 data was written when overflow failed.
21148 * libio/iopadn.c (_IO_padn): Likewise.
21149 * libio/iowpadn.c (_IO_wpadn): Likewise.
21150 * stdio-common/tst-put-error.c: Add copyright notice.
21151 (do_test): Add case for printing padded string.
21152 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21153 _IO_padn returned error.
21154 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21155 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21158 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21160 * libio/libioP.h: Add comment note that the references to C++
21161 bits are now obsolete.
21163 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21165 * math/libm-test.inc (check_complex): Use asprintf.
21167 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21169 * debug/pcprofiledump.c (print_version): Update copyright year.
21170 * malloc/memusagestat.c (print_version): Likewise.
21172 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21175 * elf/Makefile (tests): Add tst-audit8.
21176 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21177 ($(objpfx)tst-audit8.out): New target.
21178 (tst-audit8-ENV): New variable.
21179 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21180 audit if l_reloc_result is NULL.
21181 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21182 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21183 * elf/tst-audit8.c: New file.
21185 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21187 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21188 * misc/Makefile (CFLAGS-select.c): Define.
21189 * posix/Makefile (CFLAGS-pause.c): Define.
21191 2012-11-13 David S. Miller <davem@davemloft.net>
21193 * crypt/Makefile: Move test targets after toplevel Rules
21194 inclusion. Grab any necessary sysdep routines when linking.
21195 * crypt/md5.c (md5_process_block): Remove define, we will always
21196 name it __md5_process_block.
21197 (md5_finish_ctx): Update md5_process_block call.
21198 (md5_stream): Likewise.
21199 (md5_process_bytes): Likewise.
21200 (md5_process_block): Rename to __md5_process_block and move to ...
21201 * crypt/md5-block.c: ... here.
21202 * crypt/sha256.c (sha256_process_block): Move to ...
21203 * crypt/sha256-block.c: ... here.
21204 * crypt/sha512.c (sha512_process_block): Move to ...
21205 * crypt/sha512-block.c: ... here.
21206 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21208 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21209 * sysdeps/sparc/sparc64/multiarch/Makefile
21210 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21212 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21213 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21215 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21216 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21217 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21218 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21219 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21220 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21221 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21222 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21223 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21225 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21226 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21228 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21230 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21232 * timezone/tzselect.ksh: Update from tzcode git revision
21233 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21234 * timezone/zdump.c: Likewise.
21235 * timezone/zic.c: Likewise.
21236 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21237 in TZVERSION setting, not $(PKGVERSION).
21238 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21239 REPORT_BUGS_TO settings.
21242 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21245 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21247 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21248 detection to immediately after _FP_ROUND().
21249 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21252 2012-11-11 David S. Miller <davem@davemloft.net>
21254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21256 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21257 __close rather than their public counterparts.
21259 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21261 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21263 [UNIX98] (sem_timedwait): Do not expect.
21264 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21265 [XPG4 || UNIX98] (sockatmark): Do not expect.
21266 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21267 (clock_getcpuclockid): Do not expect.
21268 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21269 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21271 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21272 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21273 [UNIX98] (vwscanf): Likewise.
21274 [UNIX98] (vswscanf): Likewise.
21276 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21278 * timezone/version.h: Remove file.
21279 * timezone/README: Do not refer to version.h.
21280 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21281 $(objpfx)version.h.
21282 ($(objpfx)zdump.o): Likewise.
21283 ($(objpfx)version.h): New target.
21285 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21287 * timezone/README: Don't mention modification to tzselect.ksh.
21288 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21289 work on unmodified tzselect.ksh. Substitute version numbers in
21292 * Makefile (format-me): Remove.
21293 (INSTALL): Adjust indentation. Use commands directly instead of
21294 using $(format-me).
21296 * aclocal.m4 (ACX_PKGVERSION): New macro.
21297 (ACX_BUGURL): Likewise.
21298 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21299 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21300 (REPORT_BUGS_TO): Likewise.
21301 * configure: Regenerated.
21302 * config.h.in (PKGVERSION): New macro.
21303 (REPORT_BUGS_TO): Likewise.
21304 * config.make.in (PKGVERSION): New variable.
21305 (PKGVERSION_TEXI): Likewise.
21306 (REPORT_BUGS_TO): Likewise.
21307 (REPORT_BUGS_TEXI): Likewise.
21308 * Makefile (format-me): Use -I$(common-objpfx)manual.
21309 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21310 ($(common-objpfx)manual/%): New target.
21311 (manual/%): Remove target.
21312 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21313 (print_version): Use PKGVERSION.
21314 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21315 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21316 and REPORT_BUGS_TO.
21317 ($(objpfx)xtrace): Likewise.
21318 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21319 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21320 (print_version): Use PKGVERSION.
21321 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21322 (do_version): Use PKGVERSION.
21323 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21325 (common-ldd-rewrite): Likewise.
21326 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21327 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21328 (print_version): Use PKGVERSION.
21329 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21330 * elf/pldd.c (argp_program_bug_address): Remove variable.
21331 (more_help): New function.
21332 (argp): Use more_help.
21333 (print_version): Use PKGVERSION.
21334 * elf/sln.c (main): Use PKGVERSION.
21335 (usage): Use REPORT_BUGS_TO.
21336 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21337 (top level): Use PKGVERSION.
21338 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21339 (print_version): Use PKGVERSION.
21340 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21341 (print_version): Use PKGVERSION.
21342 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21343 (print_version): Use PKGVERSION.
21344 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21345 (print_version): Use PKGVERSION.
21346 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21347 (print_version): Use PKGVERSION.
21348 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21349 (print_version): Use PKGVERSION.
21350 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21352 ($(objpfx)memusage): Likewise.
21353 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21354 (do_version): Use PKGVERSION.
21355 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21356 (print_version): Use PKGVERSION.
21357 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21358 ($PKGVERSION): New variable.
21359 ($REPORT_BUGS_TO): Likewise.
21360 (usage): Use $REPORT_BUGS_TO.
21361 (top level): Use $PKGVERSION.
21362 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21363 ($(objpfx)pkgvers.texi): New rule.
21364 ($(objpfx)stamp-pkgvers): Likewise.
21365 * manual/install.texi: Include pkgvers.texi.
21366 (--with-pkgversion): Document new configure option.
21367 (--with-bugurl): Likewise.
21368 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21369 than necessarily for this particular distribution. Use
21370 REPORT_BUGS_TO for where to report bugs.
21371 * INSTALL: Regenerated.
21372 * manual/libc.texinfo: Include pkgvers.texi.
21373 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21374 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21375 (print_version): Use PKGVERSION.
21376 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21377 (print_version): Use PKGVERSION.
21378 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21379 (print_version): Use PKGVERSION.
21380 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21381 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21383 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21384 (print_version): Use PKGVERSION.
21385 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21386 (print_version): Use PKGVERSION.
21387 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21390 * timezone/checktab.awk: Update from tzcode 2012i.
21391 * timezone/ialloc.c: Likewise.
21392 * timezone/private.h: Likewise.
21393 * timezone/scheck.c: Likewise.
21394 * timezone/tzfile.h: Likewise.
21395 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21396 (TZVERSION): Hardcode tzcode version number.
21397 * timezone/zdump.c: Update from tzcode 2012i.
21398 * timezone/zic.c: Likewise.
21399 * timezone/version.h: New file.
21400 * timezone/README: Describe version.h. Update upstream location.
21403 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21404 (mktemp): Enable declaration.
21405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21410 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21422 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21423 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21424 for copies of such integer values.
21425 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21426 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21428 2012-11-09 Andreas Jaeger <aj@suse.de>
21430 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21431 definitions and declarations that are provided by
21432 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21434 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21436 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21437 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21438 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21441 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21443 * elf/elf.h: Update comment before AArch64 relocations.
21445 2012-11-07 David S. Miller <davem@davemloft.net>
21447 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21448 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21449 (__start_context): Declare.
21450 (__makecontext_ret): Delete.
21451 (__makecontext): Hook up __start_context instead of
21453 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21454 (sysdep_routines): Add __start_context when in stdlib.
21456 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21458 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21459 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21460 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21462 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21463 (READELF): New variable. Use it instead of hardcoded "readelf".
21465 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21467 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21468 * sysdeps/x86/Makefile: Here.
21469 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21470 * sysdeps/x86/tst-xmmymm.sh: This.
21472 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21474 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21476 [UNIX98] (pthread_barrier_t): Do not expect.
21477 [UNIX98] (pthread_barrierattr_t): Likewise.
21478 [UNIX98] (pthread_spinlock_t): Likewise.
21479 [UNIX98] (pthread_barrier_destroy): Likewise.
21480 [UNIX98] (pthread_barrier_init): Likewise.
21481 [UNIX98] (pthread_barrier_wait): Likewise.
21482 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21483 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21484 [UNIX98] (pthread_barrierattr_init): Likewise.
21485 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21486 [UNIX98] (pthread_getcpuclockid): Likewise.
21487 [UNIX98] (pthread_mutex_timedlock): Likewise.
21488 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21489 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21490 [UNIX98] (pthread_sigmask): Likewise.
21491 [UNIX98] (pthread_spin_destroy): Likewise.
21492 [UNIX98] (pthread_spin_init): Likewise.
21493 [UNIX98] (pthread_spin_lock): Likewise.
21494 [UNIX98] (pthread_spin_trylock): Likewise.
21495 [UNIX98] (pthread_spin_unlock): Likewise.
21496 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21498 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21499 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21500 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21501 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21502 [XPG3 || XPG4] (pthread_key_t): Likewise.
21503 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21504 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21505 [XPG3 || XPG4] (pthread_once_t): Likewise.
21506 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21507 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21509 [XPG3 || XPG4] (pthread_t): Likewise.
21511 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21513 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21515 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21516 Change function return type to int.
21518 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21519 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21520 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21521 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21522 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21523 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21524 [!POSIX] (posix_madvise): Likewise.
21525 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21527 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21528 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21529 (mode_t): Likewise.
21530 (posix_mem_offset): Likewise.
21531 (posix_typed_mem_get_info): Likewise.
21532 (posix_typed_mem_open): Likewise.
21534 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21535 Change condition to [XOPEN2K8].
21537 * conform/conformtest.pl: Preprocess allow-header data with -x c
21538 instead of from stdin.
21539 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21540 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21541 [C99-based standards] (cerfc): Likewise.
21542 [C99-based standards] (cexp2): Likewise.
21543 [C99-based standards] (cexpm1): Likewise.
21544 [C99-based standards] (clog10): Likewise.
21545 [C99-based standards] (clog1p): Likewise.
21546 [C99-based standards] (clog2): Likewise.
21547 [C99-based standards] (clgamma): Likewise.
21548 [C99-based standards] (ctgamma): Likewise.
21549 [C99-based standards] (cerff): Likewise.
21550 [C99-based standards] (cerfcf): Likewise.
21551 [C99-based standards] (cexp2f): Likewise.
21552 [C99-based standards] (cexpm1f): Likewise.
21553 [C99-based standards] (clog10f): Likewise.
21554 [C99-based standards] (clog1pf): Likewise.
21555 [C99-based standards] (clog2f): Likewise.
21556 [C99-based standards] (clgammaf): Likewise.
21557 [C99-based standards] (ctgammaf): Likewise.
21558 [C99-based standards] (cerfl): Likewise.
21559 [C99-based standards] (cerfcl): Likewise.
21560 [C99-based standards] (cexp2l): Likewise.
21561 [C99-based standards] (cexpm1l): Likewise.
21562 [C99-based standards] (clog10l): Likewise.
21563 [C99-based standards] (clog1pl): Likewise.
21564 [C99-based standards] (clog2l): Likewise.
21565 [C99-based standards] (clgammal): Likewise.
21566 [C99-based standards] (ctgammal): Likewise.
21567 * conform/data/inttypes.h-data [C99-based standards]: Include
21568 stdint.h-data. Remove all expectations for stdint.h contents.
21569 [C99-based standards] (PRI*): Do not allow.
21570 [C99-based standards] (SCN*): Likewise.
21571 [C99-based standards] (*_t): Likewise.
21572 [C99-based-standards] (PRId8): Expect macro.
21573 [C99-based-standards] (PRIi8): Likewise.
21574 [C99-based-standards] (PRIo8): Likewise.
21575 [C99-based-standards] (PRIu8): Likewise.
21576 [C99-based-standards] (PRIx8): Likewise.
21577 [C99-based-standards] (PRIX8): Likewise.
21578 [C99-based-standards] (SCNd8): Likewise.
21579 [C99-based-standards] (SCNi8): Likewise.
21580 [C99-based-standards] (SCNo8): Likewise.
21581 [C99-based-standards] (SCNu8): Likewise.
21582 [C99-based-standards] (SCNx8): Likewise.
21583 [C99-based-standards] (PRIdLEAST8): Likewise.
21584 [C99-based-standards] (PRIiLEAST8): Likewise.
21585 [C99-based-standards] (PRIoLEAST8): Likewise.
21586 [C99-based-standards] (PRIuLEAST8): Likewise.
21587 [C99-based-standards] (PRIxLEAST8): Likewise.
21588 [C99-based-standards] (PRIXLEAST8): Likewise.
21589 [C99-based-standards] (SCNdLEAST8): Likewise.
21590 [C99-based-standards] (SCNiLEAST8): Likewise.
21591 [C99-based-standards] (SCNoLEAST8): Likewise.
21592 [C99-based-standards] (SCNuLEAST8): Likewise.
21593 [C99-based-standards] (SCNxLEAST8): Likewise.
21594 [C99-based-standards] (PRIdFAST8): Likewise.
21595 [C99-based-standards] (PRIiFAST8): Likewise.
21596 [C99-based-standards] (PRIoFAST8): Likewise.
21597 [C99-based-standards] (PRIuFAST8): Likewise.
21598 [C99-based-standards] (PRIxFAST8): Likewise.
21599 [C99-based-standards] (PRIXFAST8): Likewise.
21600 [C99-based-standards] (SCNdFAST8): Likewise.
21601 [C99-based-standards] (SCNiFAST8): Likewise.
21602 [C99-based-standards] (SCNoFAST8): Likewise.
21603 [C99-based-standards] (SCNuFAST8): Likewise.
21604 [C99-based-standards] (SCNxFAST8): Likewise.
21605 [C99-based-standards] (PRId16): Likewise.
21606 [C99-based-standards] (PRIi16): Likewise.
21607 [C99-based-standards] (PRIo16): Likewise.
21608 [C99-based-standards] (PRIu16): Likewise.
21609 [C99-based-standards] (PRIx16): Likewise.
21610 [C99-based-standards] (PRIX16): Likewise.
21611 [C99-based-standards] (SCNd16): Likewise.
21612 [C99-based-standards] (SCNi16): Likewise.
21613 [C99-based-standards] (SCNo16): Likewise.
21614 [C99-based-standards] (SCNu16): Likewise.
21615 [C99-based-standards] (SCNx16): Likewise.
21616 [C99-based-standards] (PRIdLEAST16): Likewise.
21617 [C99-based-standards] (PRIiLEAST16): Likewise.
21618 [C99-based-standards] (PRIoLEAST16): Likewise.
21619 [C99-based-standards] (PRIuLEAST16): Likewise.
21620 [C99-based-standards] (PRIxLEAST16): Likewise.
21621 [C99-based-standards] (PRIXLEAST16): Likewise.
21622 [C99-based-standards] (SCNdLEAST16): Likewise.
21623 [C99-based-standards] (SCNiLEAST16): Likewise.
21624 [C99-based-standards] (SCNoLEAST16): Likewise.
21625 [C99-based-standards] (SCNuLEAST16): Likewise.
21626 [C99-based-standards] (SCNxLEAST16): Likewise.
21627 [C99-based-standards] (PRIdFAST16): Likewise.
21628 [C99-based-standards] (PRIiFAST16): Likewise.
21629 [C99-based-standards] (PRIoFAST16): Likewise.
21630 [C99-based-standards] (PRIuFAST16): Likewise.
21631 [C99-based-standards] (PRIxFAST16): Likewise.
21632 [C99-based-standards] (PRIXFAST16): Likewise.
21633 [C99-based-standards] (SCNdFAST16): Likewise.
21634 [C99-based-standards] (SCNiFAST16): Likewise.
21635 [C99-based-standards] (SCNoFAST16): Likewise.
21636 [C99-based-standards] (SCNuFAST16): Likewise.
21637 [C99-based-standards] (SCNxFAST16): Likewise.
21638 [C99-based-standards] (PRId32): Likewise.
21639 [C99-based-standards] (PRIi32): Likewise.
21640 [C99-based-standards] (PRIo32): Likewise.
21641 [C99-based-standards] (PRIu32): Likewise.
21642 [C99-based-standards] (PRIx32): Likewise.
21643 [C99-based-standards] (PRIX32): Likewise.
21644 [C99-based-standards] (SCNd32): Likewise.
21645 [C99-based-standards] (SCNi32): Likewise.
21646 [C99-based-standards] (SCNo32): Likewise.
21647 [C99-based-standards] (SCNu32): Likewise.
21648 [C99-based-standards] (SCNx32): Likewise.
21649 [C99-based-standards] (PRIdLEAST32): Likewise.
21650 [C99-based-standards] (PRIiLEAST32): Likewise.
21651 [C99-based-standards] (PRIoLEAST32): Likewise.
21652 [C99-based-standards] (PRIuLEAST32): Likewise.
21653 [C99-based-standards] (PRIxLEAST32): Likewise.
21654 [C99-based-standards] (PRIXLEAST32): Likewise.
21655 [C99-based-standards] (SCNdLEAST32): Likewise.
21656 [C99-based-standards] (SCNiLEAST32): Likewise.
21657 [C99-based-standards] (SCNoLEAST32): Likewise.
21658 [C99-based-standards] (SCNuLEAST32): Likewise.
21659 [C99-based-standards] (SCNxLEAST32): Likewise.
21660 [C99-based-standards] (PRIdFAST32): Likewise.
21661 [C99-based-standards] (PRIiFAST32): Likewise.
21662 [C99-based-standards] (PRIoFAST32): Likewise.
21663 [C99-based-standards] (PRIuFAST32): Likewise.
21664 [C99-based-standards] (PRIxFAST32): Likewise.
21665 [C99-based-standards] (PRIXFAST32): Likewise.
21666 [C99-based-standards] (SCNdFAST32): Likewise.
21667 [C99-based-standards] (SCNiFAST32): Likewise.
21668 [C99-based-standards] (SCNoFAST32): Likewise.
21669 [C99-based-standards] (SCNuFAST32): Likewise.
21670 [C99-based-standards] (SCNxFAST32): Likewise.
21671 [C99-based-standards] (PRId64): Likewise.
21672 [C99-based-standards] (PRIi64): Likewise.
21673 [C99-based-standards] (PRIo64): Likewise.
21674 [C99-based-standards] (PRIu64): Likewise.
21675 [C99-based-standards] (PRIx64): Likewise.
21676 [C99-based-standards] (PRIX64): Likewise.
21677 [C99-based-standards] (SCNd64): Likewise.
21678 [C99-based-standards] (SCNi64): Likewise.
21679 [C99-based-standards] (SCNo64): Likewise.
21680 [C99-based-standards] (SCNu64): Likewise.
21681 [C99-based-standards] (SCNx64): Likewise.
21682 [C99-based-standards] (PRIdLEAST64): Likewise.
21683 [C99-based-standards] (PRIiLEAST64): Likewise.
21684 [C99-based-standards] (PRIoLEAST64): Likewise.
21685 [C99-based-standards] (PRIuLEAST64): Likewise.
21686 [C99-based-standards] (PRIxLEAST64): Likewise.
21687 [C99-based-standards] (PRIXLEAST64): Likewise.
21688 [C99-based-standards] (SCNdLEAST64): Likewise.
21689 [C99-based-standards] (SCNiLEAST64): Likewise.
21690 [C99-based-standards] (SCNoLEAST64): Likewise.
21691 [C99-based-standards] (SCNuLEAST64): Likewise.
21692 [C99-based-standards] (SCNxLEAST64): Likewise.
21693 [C99-based-standards] (PRIdFAST64): Likewise.
21694 [C99-based-standards] (PRIiFAST64): Likewise.
21695 [C99-based-standards] (PRIoFAST64): Likewise.
21696 [C99-based-standards] (PRIuFAST64): Likewise.
21697 [C99-based-standards] (PRIxFAST64): Likewise.
21698 [C99-based-standards] (PRIXFAST64): Likewise.
21699 [C99-based-standards] (SCNdFAST64): Likewise.
21700 [C99-based-standards] (SCNiFAST64): Likewise.
21701 [C99-based-standards] (SCNoFAST64): Likewise.
21702 [C99-based-standards] (SCNuFAST64): Likewise.
21703 [C99-based-standards] (SCNxFAST64): Likewise.
21704 [C99-based-standards] (PRIdMAX): Likewise.
21705 [C99-based-standards] (PRIiMAX): Likewise.
21706 [C99-based-standards] (PRIoMAX): Likewise.
21707 [C99-based-standards] (PRIuMAX): Likewise.
21708 [C99-based-standards] (PRIxMAX): Likewise.
21709 [C99-based-standards] (PRIXMAX): Likewise.
21710 [C99-based-standards] (SCNdMAX): Likewise.
21711 [C99-based-standards] (SCNiMAX): Likewise.
21712 [C99-based-standards] (SCNoMAX): Likewise.
21713 [C99-based-standards] (SCNuMAX): Likewise.
21714 [C99-based-standards] (SCNxMAX): Likewise.
21715 [C99-based-standards] (PRIdPTR): Likewise.
21716 [C99-based-standards] (PRIiPTR): Likewise.
21717 [C99-based-standards] (PRIoPTR): Likewise.
21718 [C99-based-standards] (PRIuPTR): Likewise.
21719 [C99-based-standards] (PRIxPTR): Likewise.
21720 [C99-based-standards] (PRIXPTR): Likewise.
21721 [C99-based-standards] (SCNdPTR): Likewise.
21722 [C99-based-standards] (SCNiPTR): Likewise.
21723 [C99-based-standards] (SCNoPTR): Likewise.
21724 [C99-based-standards] (SCNuPTR): Likewise.
21725 [C99-based-standards] (SCNxPTR): Likewise.
21726 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21728 * conform/data/stdint.h-data: Update comments to clarify
21730 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21732 [C99-based standards] (INT8_MAX): Likewise.
21733 [C99-based standards] (INT16_MIN): Likewise.
21734 [C99-based standards] (INT16_MAX): Likewise.
21735 [C99-based standards] (INT32_MIN): Likewise.
21736 [C99-based standards] (INT32_MAX): Likewise.
21737 [C99-based standards] (INT64_MIN): Likewise.
21738 [C99-based standards] (INT64_MAX): Likewise.
21739 [C99-based standards] (UINT8_MAX): Likewise.
21740 [C99-based standards] (UINT16_MAX): Likewise.
21741 [C99-based standards] (UINT32_MAX): Likewise.
21742 [C99-based standards] (UINT64_MAX): Likewise.
21743 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21744 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21745 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21746 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21747 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21748 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21749 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21750 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21751 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21752 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21753 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21754 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21755 [C99-based standards] (INT_FAST8_MIN): Likewise.
21756 [C99-based standards] (INT_FAST8_MAX): Likewise.
21757 [C99-based standards] (INT_FAST16_MIN): Likewise.
21758 [C99-based standards] (INT_FAST16_MAX): Likewise.
21759 [C99-based standards] (INT_FAST32_MIN): Likewise.
21760 [C99-based standards] (INT_FAST32_MAX): Likewise.
21761 [C99-based standards] (INT_FAST64_MIN): Likewise.
21762 [C99-based standards] (INT_FAST64_MAX): Likewise.
21763 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21764 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21765 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21766 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21767 [C99-based standards] (INTPTR_MIN): Likewise.
21768 [C99-based standards] (INTPTR_MAX): Likewise.
21769 [C99-based standards] (UINTPTR_MAX): Likewise.
21770 [C99-based standards] (INTMAX_MIN): Likewise.
21771 [C99-based standards] (INTMAX_MAX): Likewise.
21772 [C99-based standards] (UINTMAX_MAX): Likewise.
21773 [C99-based standards] (PTRDIFF_MIN): Likewise.
21774 [C99-based standards] (PTRDIFF_MAX): Likewise.
21775 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21776 [C99-based standards] (SIZE_MAX): Likewise.
21777 [C99-based standards] (WCHAR_MAX): Likewise.
21778 [C99-based standards] (WINT_MAX): Likewise.
21779 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21780 constraint on value.
21781 [C99-based standards] (WCHAR_MIN): Likewise.
21782 [C99-based standards] (WINT_MIN): Likewise.
21783 [C99-based standards] (*_t): Allow.
21784 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21785 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21786 Include math.h-data and complex.h-data. Remove all expectations
21787 of math.h and complex.h contents.
21788 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21790 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21791 (struct tm): Expect tag.
21792 [C99-based-standards] (wcstof): Expect function.
21793 [C99-based-standards] (wcstold): Likewise.
21794 [C99-based-standards] (wcstoll): Likewise.
21795 [C99-based-standards] (wcstoull): Likewise.
21796 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21797 macro-int-constant. Specify type.
21798 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21799 constraint on value.
21800 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21802 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21804 [ISO C standards]: Do not allow headers.
21805 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21806 wcs[abcdefghijklmnopqrstuvwxyz]*.
21807 [ISO C standards] (*_t): Do not allow.
21808 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21810 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21811 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21813 [ISO C standards]: Do not allow headers.
21814 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21815 is[abcdefghijklmnopqrstuvwxyz]*.
21816 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21817 to[abcdefghijklmnopqrstuvwxyz]*.
21818 [ISO C standards] (*_t): Do not allow.
21819 * conform/data/stdalign.h-data: New file.
21820 * conform/data/stdbool.h-data: Likewise.
21821 * conform/data/stdnoreturn.h-data: Likewise.
21823 2012-11-07 Roland McGrath <roland@hack.frob.com>
21826 * manual/filesys.texi (Directory Entries): Typo fix.
21827 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21829 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21831 * elf/elf.h (EM_AARCH64): New macro.
21832 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21833 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21834 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21835 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21836 (R_AARCH64_TLSDESC): Likewise.
21837 (NT_ARM_TLS): Likewise.
21838 (NT_ARM_HW_BREAK): Likewise.
21839 (NT_ARM_HW_WATCH): Likewise.
21841 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21844 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21845 (__ieee754_powl): Saturate nonzero exponents with absolute value
21846 below 0x1p-79 to +/- 0x1p-79.
21847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21848 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21849 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21850 nonzero exponents with absolute value below 0x1p-32 to +/-
21852 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21853 (__ieee754_powl): Saturate nonzero exponents with absolute value
21854 below 0x1p-79 to +/- 0x1p-79.
21855 * math/libm-test.inc (pow_test): Add more tests.
21857 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21859 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21860 _dl_s390_cap_flags with kernel. Increase string length.
21861 (_dl_s390_platforms): Add z196 and zEC12.
21863 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21865 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21866 Change XOPEN21K to XOPEN2K.
21868 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21870 * string/memmove.c: Use memcpy when possible.
21872 2012-11-06 Andreas Jaeger <aj@suse.de>
21874 * po/eo.po: Update from translation team.
21876 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21880 exponent and small x and y exponents, scale x or y up. Increase
21881 by 2 the exponent used in scaling up.
21882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21884 * math/libm-test.inc (fma_test): Add more tests.
21885 (fma_test_towardzero): Likewise.
21886 (fma_test_downward): Likewise.
21887 (fma_test_upward): Likewise.
21889 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21892 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21896 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21897 namespace for names of struct fields.
21898 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21900 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21901 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21903 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21906 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21908 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21910 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21914 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21917 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21921 definitely overflow as x * y not x * y + z.
21922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21924 * math/libm-test.inc (fma_test): Add more tests.
21925 (fma_test_towardzero): Likewise.
21926 (fma_test_downward): Likewise.
21927 (fma_test_upward): Likewise.
21929 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21933 * include/stub-tag.h: Remove file.
21934 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21936 * manual/maint.texi (Porting): Don't reference it.
21937 * Makerules ($(objpfx)stubs): Likewise.
21938 * dirent/closedir.c: Don't include <stub-tag.h>.
21939 * dirent/dirfd.c: Likewise.
21940 * dirent/fdopendir.c: Likewise.
21941 * dirent/getdents.c: Likewise.
21942 * dirent/getdents64.c: Likewise.
21943 * dirent/opendir.c: Likewise.
21944 * dirent/readdir.c: Likewise.
21945 * dirent/readdir64.c: Likewise.
21946 * dirent/readdir64_r.c: Likewise.
21947 * dirent/readdir_r.c: Likewise.
21948 * dirent/rewinddir.c: Likewise.
21949 * dirent/seekdir.c: Likewise.
21950 * dirent/telldir.c: Likewise.
21951 * gmon/profil.c: Likewise.
21952 * grp/setgroups.c: Likewise.
21953 * inet/if_index.c: Likewise.
21954 * io/access.c: Likewise.
21955 * io/chdir.c: Likewise.
21956 * io/chmod.c: Likewise.
21957 * io/chown.c: Likewise.
21958 * io/close.c: Likewise.
21959 * io/dup.c: Likewise.
21960 * io/dup2.c: Likewise.
21961 * io/dup3.c: Likewise.
21962 * io/euidaccess.c: Likewise.
21963 * io/faccessat.c: Likewise.
21964 * io/fchdir.c: Likewise.
21965 * io/fchmod.c: Likewise.
21966 * io/fchmodat.c: Likewise.
21967 * io/fchown.c: Likewise.
21968 * io/fchownat.c: Likewise.
21969 * io/fcntl.c: Likewise.
21970 * io/flock.c: Likewise.
21971 * io/fstatfs.c: Likewise.
21972 * io/fstatfs64.c: Likewise.
21973 * io/fstatvfs.c: Likewise.
21974 * io/fstatvfs64.c: Likewise.
21975 * io/futimens.c: Likewise.
21976 * io/fxstat.c: Likewise.
21977 * io/fxstat64.c: Likewise.
21978 * io/fxstatat.c: Likewise.
21979 * io/fxstatat64.c: Likewise.
21980 * io/getcwd.c: Likewise.
21981 * io/isatty.c: Likewise.
21982 * io/lchmod.c: Likewise.
21983 * io/lchown.c: Likewise.
21984 * io/link.c: Likewise.
21985 * io/linkat.c: Likewise.
21986 * io/lseek.c: Likewise.
21987 * io/lseek64.c: Likewise.
21988 * io/lxstat64.c: Likewise.
21989 * io/mkdir.c: Likewise.
21990 * io/mkdirat.c: Likewise.
21991 * io/mkfifo.c: Likewise.
21992 * io/mkfifoat.c: Likewise.
21993 * io/open.c: Likewise.
21994 * io/open64.c: Likewise.
21995 * io/openat.c: Likewise.
21996 * io/openat64.c: Likewise.
21997 * io/pipe.c: Likewise.
21998 * io/pipe2.c: Likewise.
21999 * io/poll.c: Likewise.
22000 * io/posix_fadvise.c: Likewise.
22001 * io/posix_fadvise64.c: Likewise.
22002 * io/posix_fallocate.c: Likewise.
22003 * io/posix_fallocate64.c: Likewise.
22004 * io/read.c: Likewise.
22005 * io/readlink.c: Likewise.
22006 * io/readlinkat.c: Likewise.
22007 * io/rmdir.c: Likewise.
22008 * io/sendfile.c: Likewise.
22009 * io/sendfile64.c: Likewise.
22010 * io/statfs.c: Likewise.
22011 * io/statfs64.c: Likewise.
22012 * io/statvfs.c: Likewise.
22013 * io/statvfs64.c: Likewise.
22014 * io/symlink.c: Likewise.
22015 * io/symlinkat.c: Likewise.
22016 * io/ttyname.c: Likewise.
22017 * io/ttyname_r.c: Likewise.
22018 * io/umask.c: Likewise.
22019 * io/unlink.c: Likewise.
22020 * io/unlinkat.c: Likewise.
22021 * io/utime.c: Likewise.
22022 * io/utimensat.c: Likewise.
22023 * io/write.c: Likewise.
22024 * io/xmknod.c: Likewise.
22025 * io/xmknodat.c: Likewise.
22026 * io/xstat.c: Likewise.
22027 * io/xstat64.c: Likewise.
22028 * login/getpt.c: Likewise.
22029 * login/grantpt.c: Likewise.
22030 * login/unlockpt.c: Likewise.
22031 * math/e_acoshl.c: Likewise.
22032 * math/e_acosl.c: Likewise.
22033 * math/e_asinl.c: Likewise.
22034 * math/e_atan2l.c: Likewise.
22035 * math/e_atanhl.c: Likewise.
22036 * math/e_coshl.c: Likewise.
22037 * math/e_expl.c: Likewise.
22038 * math/e_fmodl.c: Likewise.
22039 * math/e_gammal_r.c: Likewise.
22040 * math/e_hypotl.c: Likewise.
22041 * math/e_j0l.c: Likewise.
22042 * math/e_j1l.c: Likewise.
22043 * math/e_jnl.c: Likewise.
22044 * math/e_lgammal_r.c: Likewise.
22045 * math/e_log10l.c: Likewise.
22046 * math/e_log2l.c: Likewise.
22047 * math/e_logl.c: Likewise.
22048 * math/e_powl.c: Likewise.
22049 * math/e_rem_pio2l.c: Likewise.
22050 * math/e_sinhl.c: Likewise.
22051 * math/e_sqrtl.c: Likewise.
22052 * math/fclrexcpt.c: Likewise.
22053 * math/fedisblxcpt.c: Likewise.
22054 * math/feenablxcpt.c: Likewise.
22055 * math/fegetenv.c: Likewise.
22056 * math/fegetexcept.c: Likewise.
22057 * math/fegetround.c: Likewise.
22058 * math/feholdexcpt.c: Likewise.
22059 * math/fesetenv.c: Likewise.
22060 * math/fesetround.c: Likewise.
22061 * math/feupdateenv.c: Likewise.
22062 * math/fgetexcptflg.c: Likewise.
22063 * math/fraiseexcpt.c: Likewise.
22064 * math/fsetexcptflg.c: Likewise.
22065 * math/ftestexcept.c: Likewise.
22066 * math/k_cosl.c: Likewise.
22067 * math/k_rem_pio2l.c: Likewise.
22068 * math/k_sinl.c: Likewise.
22069 * math/k_tanl.c: Likewise.
22070 * math/s_asinhl.c: Likewise.
22071 * math/s_atanl.c: Likewise.
22072 * math/s_cbrtl.c: Likewise.
22073 * math/s_erfl.c: Likewise.
22074 * math/s_expm1l.c: Likewise.
22075 * math/s_log1pl.c: Likewise.
22076 * math/s_tanhl.c: Likewise.
22077 * misc/acct.c: Likewise.
22078 * misc/brk.c: Likewise.
22079 * misc/chflags.c: Likewise.
22080 * misc/chroot.c: Likewise.
22081 * misc/fchflags.c: Likewise.
22082 * misc/fgetxattr.c: Likewise.
22083 * misc/flistxattr.c: Likewise.
22084 * misc/fremovexattr.c: Likewise.
22085 * misc/fsetxattr.c: Likewise.
22086 * misc/fsync.c: Likewise.
22087 * misc/ftruncate.c: Likewise.
22088 * misc/futimes.c: Likewise.
22089 * misc/futimesat.c: Likewise.
22090 * misc/getdomain.c: Likewise.
22091 * misc/getdtsz.c: Likewise.
22092 * misc/gethostid.c: Likewise.
22093 * misc/gethostname.c: Likewise.
22094 * misc/getloadavg.c: Likewise.
22095 * misc/getpagesize.c: Likewise.
22096 * misc/getsysstats.c: Likewise.
22097 * misc/getxattr.c: Likewise.
22098 * misc/gtty.c: Likewise.
22099 * misc/ioctl.c: Likewise.
22100 * misc/lgetxattr.c: Likewise.
22101 * misc/listxattr.c: Likewise.
22102 * misc/llistxattr.c: Likewise.
22103 * misc/lremovexattr.c: Likewise.
22104 * misc/lsetxattr.c: Likewise.
22105 * misc/lutimes.c: Likewise.
22106 * misc/madvise.c: Likewise.
22107 * misc/mincore.c: Likewise.
22108 * misc/mlock.c: Likewise.
22109 * misc/mlockall.c: Likewise.
22110 * misc/mmap.c: Likewise.
22111 * misc/mprotect.c: Likewise.
22112 * misc/msync.c: Likewise.
22113 * misc/munlock.c: Likewise.
22114 * misc/munlockall.c: Likewise.
22115 * misc/munmap.c: Likewise.
22116 * misc/preadv.c: Likewise.
22117 * misc/preadv64.c: Likewise.
22118 * misc/ptrace.c: Likewise.
22119 * misc/pwritev.c: Likewise.
22120 * misc/pwritev64.c: Likewise.
22121 * misc/readv.c: Likewise.
22122 * misc/reboot.c: Likewise.
22123 * misc/remap_file_pages.c: Likewise.
22124 * misc/removexattr.c: Likewise.
22125 * misc/revoke.c: Likewise.
22126 * misc/select.c: Likewise.
22127 * misc/setdomain.c: Likewise.
22128 * misc/setegid.c: Likewise.
22129 * misc/seteuid.c: Likewise.
22130 * misc/sethostid.c: Likewise.
22131 * misc/sethostname.c: Likewise.
22132 * misc/setregid.c: Likewise.
22133 * misc/setreuid.c: Likewise.
22134 * misc/setxattr.c: Likewise.
22135 * misc/sstk.c: Likewise.
22136 * misc/stty.c: Likewise.
22137 * misc/swapoff.c: Likewise.
22138 * misc/swapon.c: Likewise.
22139 * misc/sync.c: Likewise.
22140 * misc/syncfs.c: Likewise.
22141 * misc/syscall.c: Likewise.
22142 * misc/truncate.c: Likewise.
22143 * misc/ualarm.c: Likewise.
22144 * misc/usleep.c: Likewise.
22145 * misc/ustat.c: Likewise.
22146 * misc/utimes.c: Likewise.
22147 * misc/vhangup.c: Likewise.
22148 * misc/writev.c: Likewise.
22149 * posix/_exit.c: Likewise.
22150 * posix/alarm.c: Likewise.
22151 * posix/execve.c: Likewise.
22152 * posix/fexecve.c: Likewise.
22153 * posix/fork.c: Likewise.
22154 * posix/fpathconf.c: Likewise.
22155 * posix/getaddrinfo.c: Likewise.
22156 * posix/getegid.c: Likewise.
22157 * posix/geteuid.c: Likewise.
22158 * posix/getgid.c: Likewise.
22159 * posix/getgroups.c: Likewise.
22160 * posix/getlogin.c: Likewise.
22161 * posix/getlogin_r.c: Likewise.
22162 * posix/getpgid.c: Likewise.
22163 * posix/getpid.c: Likewise.
22164 * posix/getppid.c: Likewise.
22165 * posix/getresgid.c: Likewise.
22166 * posix/getresuid.c: Likewise.
22167 * posix/getsid.c: Likewise.
22168 * posix/getuid.c: Likewise.
22169 * posix/glob64.c: Likewise.
22170 * posix/nanosleep.c: Likewise.
22171 * posix/pathconf.c: Likewise.
22172 * posix/pause.c: Likewise.
22173 * posix/posix_madvise.c: Likewise.
22174 * posix/pread.c: Likewise.
22175 * posix/pread64.c: Likewise.
22176 * posix/pwrite.c: Likewise.
22177 * posix/pwrite64.c: Likewise.
22178 * posix/sched_getaffinity.c: Likewise.
22179 * posix/sched_getp.c: Likewise.
22180 * posix/sched_gets.c: Likewise.
22181 * posix/sched_primax.c: Likewise.
22182 * posix/sched_primin.c: Likewise.
22183 * posix/sched_rr_gi.c: Likewise.
22184 * posix/sched_setaffinity.c: Likewise.
22185 * posix/sched_setp.c: Likewise.
22186 * posix/sched_sets.c: Likewise.
22187 * posix/sched_yield.c: Likewise.
22188 * posix/setgid.c: Likewise.
22189 * posix/setlogin.c: Likewise.
22190 * posix/setpgid.c: Likewise.
22191 * posix/setresgid.c: Likewise.
22192 * posix/setresuid.c: Likewise.
22193 * posix/setsid.c: Likewise.
22194 * posix/setuid.c: Likewise.
22195 * posix/sleep.c: Likewise.
22196 * posix/spawni.c: Likewise.
22197 * posix/sysconf.c: Likewise.
22198 * posix/times.c: Likewise.
22199 * posix/wait.c: Likewise.
22200 * posix/wait3.c: Likewise.
22201 * posix/wait4.c: Likewise.
22202 * posix/waitpid.c: Likewise.
22203 * resolv/gai_sigqueue.c: Likewise.
22204 * resource/getpriority.c: Likewise.
22205 * resource/getrlimit.c: Likewise.
22206 * resource/getrusage.c: Likewise.
22207 * resource/nice.c: Likewise.
22208 * resource/setpriority.c: Likewise.
22209 * resource/setrlimit.c: Likewise.
22210 * resource/ulimit.c: Likewise.
22211 * rt/aio_cancel.c: Likewise.
22212 * rt/aio_fsync.c: Likewise.
22213 * rt/aio_read.c: Likewise.
22214 * rt/aio_sigqueue.c: Likewise.
22215 * rt/aio_suspend.c: Likewise.
22216 * rt/aio_write.c: Likewise.
22217 * rt/clock_getres.c: Likewise.
22218 * rt/clock_gettime.c: Likewise.
22219 * rt/clock_nanosleep.c: Likewise.
22220 * rt/clock_settime.c: Likewise.
22221 * rt/lio_listio.c: Likewise.
22222 * rt/mq_close.c: Likewise.
22223 * rt/mq_getattr.c: Likewise.
22224 * rt/mq_notify.c: Likewise.
22225 * rt/mq_open.c: Likewise.
22226 * rt/mq_receive.c: Likewise.
22227 * rt/mq_send.c: Likewise.
22228 * rt/mq_setattr.c: Likewise.
22229 * rt/mq_timedreceive.c: Likewise.
22230 * rt/mq_timedsend.c: Likewise.
22231 * rt/mq_unlink.c: Likewise.
22232 * rt/shm_open.c: Likewise.
22233 * rt/shm_unlink.c: Likewise.
22234 * rt/timer_create.c: Likewise.
22235 * rt/timer_delete.c: Likewise.
22236 * rt/timer_getoverr.c: Likewise.
22237 * rt/timer_gettime.c: Likewise.
22238 * rt/timer_settime.c: Likewise.
22239 * setjmp/__longjmp.c: Likewise.
22240 * setjmp/setjmp.c: Likewise.
22241 * signal/kill.c: Likewise.
22242 * signal/killpg.c: Likewise.
22243 * signal/raise.c: Likewise.
22244 * signal/sigaction.c: Likewise.
22245 * signal/sigaltstack.c: Likewise.
22246 * signal/sigblock.c: Likewise.
22247 * signal/sigignore.c: Likewise.
22248 * signal/sigintr.c: Likewise.
22249 * signal/signal.c: Likewise.
22250 * signal/sigpause.c: Likewise.
22251 * signal/sigpending.c: Likewise.
22252 * signal/sigqueue.c: Likewise.
22253 * signal/sigreturn.c: Likewise.
22254 * signal/sigset.c: Likewise.
22255 * signal/sigsetmask.c: Likewise.
22256 * signal/sigstack.c: Likewise.
22257 * signal/sigsuspend.c: Likewise.
22258 * signal/sigtimedwait.c: Likewise.
22259 * signal/sigvec.c: Likewise.
22260 * signal/sigwait.c: Likewise.
22261 * signal/sigwaitinfo.c: Likewise.
22262 * signal/sysv_signal.c: Likewise.
22263 * socket/accept.c: Likewise.
22264 * socket/accept4.c: Likewise.
22265 * socket/bind.c: Likewise.
22266 * socket/connect.c: Likewise.
22267 * socket/getpeername.c: Likewise.
22268 * socket/getsockname.c: Likewise.
22269 * socket/getsockopt.c: Likewise.
22270 * socket/isfdtype.c: Likewise.
22271 * socket/listen.c: Likewise.
22272 * socket/recv.c: Likewise.
22273 * socket/recvfrom.c: Likewise.
22274 * socket/recvmsg.c: Likewise.
22275 * socket/send.c: Likewise.
22276 * socket/sendmsg.c: Likewise.
22277 * socket/sendto.c: Likewise.
22278 * socket/setsockopt.c: Likewise.
22279 * socket/shutdown.c: Likewise.
22280 * socket/sockatmark.c: Likewise.
22281 * socket/socket.c: Likewise.
22282 * socket/socketpair.c: Likewise.
22283 * stdio-common/ctermid.c: Likewise.
22284 * stdio-common/cuserid.c: Likewise.
22285 * stdio-common/remove.c: Likewise.
22286 * stdio-common/rename.c: Likewise.
22287 * stdio-common/renameat.c: Likewise.
22288 * stdio-common/tempname.c: Likewise.
22289 * stdlib/getcontext.c: Likewise.
22290 * stdlib/makecontext.c: Likewise.
22291 * stdlib/setcontext.c: Likewise.
22292 * stdlib/swapcontext.c: Likewise.
22293 * stdlib/system.c: Likewise.
22294 * streams/fattach.c: Likewise.
22295 * streams/fdetach.c: Likewise.
22296 * streams/getmsg.c: Likewise.
22297 * streams/getpmsg.c: Likewise.
22298 * streams/putmsg.c: Likewise.
22299 * streams/putpmsg.c: Likewise.
22300 * sysdeps/unix/bsd/getpt.c: Likewise.
22301 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22302 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22303 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22306 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22307 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22308 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22309 * sysvipc/msgctl.c: Likewise.
22310 * sysvipc/msgget.c: Likewise.
22311 * sysvipc/msgrcv.c: Likewise.
22312 * sysvipc/msgsnd.c: Likewise.
22313 * sysvipc/semctl.c: Likewise.
22314 * sysvipc/semget.c: Likewise.
22315 * sysvipc/semop.c: Likewise.
22316 * sysvipc/semtimedop.c: Likewise.
22317 * sysvipc/shmat.c: Likewise.
22318 * sysvipc/shmctl.c: Likewise.
22319 * sysvipc/shmdt.c: Likewise.
22320 * sysvipc/shmget.c: Likewise.
22321 * termios/tcdrain.c: Likewise.
22322 * termios/tcflow.c: Likewise.
22323 * termios/tcflush.c: Likewise.
22324 * termios/tcgetattr.c: Likewise.
22325 * termios/tcgetpgrp.c: Likewise.
22326 * termios/tcsendbrk.c: Likewise.
22327 * termios/tcsetattr.c: Likewise.
22328 * termios/tcsetpgrp.c: Likewise.
22329 * time/adjtime.c: Likewise.
22330 * time/clock.c: Likewise.
22331 * time/getitimer.c: Likewise.
22332 * time/gettimeofday.c: Likewise.
22333 * time/setitimer.c: Likewise.
22334 * time/settimeofday.c: Likewise.
22335 * time/stime.c: Likewise.
22336 * time/time.c: Likewise.
22338 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22340 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22343 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22345 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22347 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22351 FE_TONEAREST before applying Dekker multiplication and Knuth
22352 addition. Clear inexact exceptions and check for exact zero
22353 results afterwards.
22354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22357 * math/libm-test.inc (fma_test): Add more tests.
22358 (fma_test_towardzero): Likewise.
22359 (fma_test_downward): Likewise.
22360 (fma_test_upward): Likewise.
22361 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22363 (libc_fesetround): New macro.
22364 (libc_fesetroundf): Likewise.
22365 (libc_fesetroundl): Likewise.
22366 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22368 (libc_fesetround_387): Likewise.
22369 (libc_fesetroundf): New macro.
22370 (libc_fesetround): Likewise.
22371 (libc_fesetroundl): Likewise.
22372 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22374 (libc_fesetroundf): New macro.
22375 (libc_fesetround): Likewise.
22376 (libc_fesetroundl): Likewise.
22377 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22378 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22379 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22381 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22382 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22384 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22385 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22387 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22391 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22392 integer constant usable in #if and use that to give value to enum
22394 (FE_DIVBYZERO): Likewise.
22395 (FE_UNDERFLOW): Likewise.
22396 (FE_OVERFLOW): Likewise.
22397 (FE_INVALID): Likewise.
22398 (FE_INVALID_SNAN): Likewise.
22399 (FE_INVALID_ISI): Likewise.
22400 (FE_INVALID_IDI): Likewise.
22401 (FE_INVALID_ZDZ): Likewise.
22402 (FE_INVALID_IMZ): Likewise.
22403 (FE_INVALID_COMPARE): Likewise.
22404 (FE_INVALID_SOFTWARE): Likewise.
22405 (FE_INVALID_SQRT): Likewise.
22406 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22407 (FE_TONEAREST): Likewise.
22408 (FE_TOWARDZERO): Likewise.
22409 (FE_UPWARD): Likewise.
22410 (FE_DOWNWARD): Likewise.
22411 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22412 (FE_DIVBYZERO): Likewise.
22413 (FE_OVERFLOW): Likewise.
22414 (FE_UNDERFLOW): Likewise.
22415 (FE_INEXACT): Likewise.
22416 (FE_TONEAREST): Likewise.
22417 (FE_DOWNWARD): Likewise.
22418 (FE_UPWARD): Likewise.
22419 (FE_TOWARDZERO): Likewise.
22420 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22421 (FE_UNDERFLOW): Likewise.
22422 (FE_OVERFLOW): Likewise.
22423 (FE_DIVBYZERO): Likewise.
22424 (FE_INVALID): Likewise.
22425 (FE_TONEAREST): Likewise.
22426 (FE_TOWARDZERO): Likewise.
22427 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22428 (FE_OVERFLOW): Likewise.
22429 (FE_UNDERFLOW): Likewise.
22430 (FE_DIVBYZERO): Likewise.
22431 (FE_INEXACT): Likewise.
22432 (FE_TONEAREST): Likewise.
22433 (FE_TOWARDZERO): Likewise.
22434 (FE_UPWARD): Likewise.
22435 (FE_DOWNWARD): Likewise.
22436 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22437 (FE_DIVBYZERO): Likewise.
22438 (FE_OVERFLOW): Likewise.
22439 (FE_UNDERFLOW): Likewise.
22440 (FE_INEXACT): Likewise.
22441 (FE_TONEAREST): Likewise.
22442 (FE_DOWNWARD): Likewise.
22443 (FE_UPWARD): Likewise.
22444 (FE_TOWARDZERO): Likewise.
22446 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22448 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22450 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22452 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22453 commands. Quote $PWD.
22454 (blacklist_exports): Don't use remove_newlines. Replace "declare
22456 (remove_newlines): Remove.
22458 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22460 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22461 * stdlib/stdlib.h (atof): Moved to ...
22462 * include/bits/stdlib-float.h: Here. New file.
22463 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22464 * stdlib/bits/stdlib-float.h: New file.
22465 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22467 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22470 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22472 * conform/conformtest.pl (@headers): Add fenv.h.
22473 * conform/data/fenv.h-data: New file.
22474 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22475 include of <math/fenv.h>.
22477 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22478 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22479 && !UNIX98]. Enables tests for XOPEN2K8.
22480 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22481 POSIX2008]: Likewise.
22483 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22484 (struct rusage): Do not expect type or its members.
22487 * math/math.h (FP_NAN): Define macro to integer constant usable in
22488 #if and use that to give value to enum constant.
22489 (FP_INFINITE): Likewise.
22490 (FP_ZERO): Likewise.
22491 (FP_SUBNORMAL): Likewise.
22492 (FP_NORMAL): Likewise.
22494 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22496 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22497 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22500 2012-11-02 Roland McGrath <roland@hack.frob.com>
22502 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22503 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22504 autoconf-time if not.
22505 * configure.in: Remove AC_PREREQ.
22507 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22509 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22510 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22511 of the internal implementation.
22513 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22515 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22516 except include of <misc/sys/syslog.h>.
22518 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22521 function returns with a NULL context exit with zero.
22523 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22525 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22527 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22529 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22530 (run_program_cmd): This.
22531 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22532 (tst_langinfo): New variable. Use it.
22534 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22536 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22537 floating point opcodes.
22539 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22541 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22544 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22546 * sysdeps/mach/hurd/powerpc: Remove directory.
22547 * sysdeps/mach/powerpc: Likewise.
22549 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22551 * scripts/check-local-headers.sh: Ignore c++ headers.
22553 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22555 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22556 __libc_cleanup_region_start argument.
22558 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22563 x * y using scaling, not as x * y + z.
22564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22565 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22566 * math/libm-test.inc (fma_test): Add more tests.
22567 (fma_test_towardzero): Likewise.
22568 (fma_test_downward): Likewise.
22569 (fma_test_upward): Likewise.
22571 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22573 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22575 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22577 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22580 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22582 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22584 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22591 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22594 Fix the order of the list for glibc 2.17.
22595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22598 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22602 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22605 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22606 for low part of x being zero before using __atanl (y).
22607 * math/libm-test.inc (atan2_test): Add another test.
22609 * manual/install.texi (Configuring and compiling): Document
22610 general use of test-wrapper and test-wrapper-env.
22611 * INSTALL: Regenerated.
22613 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22614 (__fma): Do not extract and scale down low bits on after-rounding
22615 systems when result rounded to normal precision would have normal
22617 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22618 (__fmal): Do not extract and scale down low bits on after-rounding
22619 systems when result rounded to normal precision would have normal
22621 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22622 (__fmal): Do not extract and scale down low bits on after-rounding
22623 systems when result rounded to normal precision would have normal
22625 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22627 (fma_test): Add more tests.
22628 (fma_test_towardzero): Likewise.
22629 (fma_test_downward): Likewise.
22630 (fma_test_upward): Likewise.
22632 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22634 * sysdeps/i386/tininess.h: Renamed to ...
22635 * sysdeps/x86/tininess.h: This.
22636 * sysdeps/x86_64/tininess.h: Removed.
22638 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22640 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22641 input. Use $(build-program-cmd).
22642 ($(objpfx)tst-array1-static.out): Likewise.
22643 ($(objpfx)tst-array2.out): Likewise.
22644 ($(objpfx)tst-array3.out): Likewise.
22645 ($(objpfx)tst-array4.out): Likewise.
22646 ($(objpfx)tst-array5.out): Likewise.
22647 ($(objpfx)tst-array5-static.out): Likewise.
22649 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22651 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22654 * nss/nsswitch.h (nss_interface_function): Provide new
22655 macro for use with NSS functions.
22656 * grp/initgroups.c: Use new macro.
22657 * nss/getXXbyYY.c: Likewise.
22658 * nss/getXXbyYY_r.c: Likewise.
22659 * nss/getXXent.c: Likewise.
22660 * nss/getXXent_r.c: Likewise.
22661 * sysdeps/posix/getaddrinfo.c: Likewise.
22663 2012-10-30 Andreas Jaeger <aj@suse.de>
22665 * po/ru.po: Update Russion translation from translation project.
22667 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22672 result and shift together with sticky bit instead of replicating
22673 round-to-nearest rounding.
22674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22676 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22677 missing underflow exceptions.
22678 (fma_test_towardzero): Add more tests.
22679 (fma_test_downward): Likewise.
22680 (fma_test_upward): Likewise.
22683 * sysdeps/generic/tininess.h: New file.
22684 * sysdeps/i386/tininess.h: Likewise.
22685 * sysdeps/sh/tininess.h: Likewise.
22686 * sysdeps/x86_64/tininess.h: Likewise.
22687 * stdlib/tst-strtod-underflow.c: Likewise.
22688 * stdlib/tst-tininess.c: Likewise.
22689 * stdlib/strtod_l.c: Include <tininess.h>.
22690 (round_and_return): Do not set errno for exact underflow cases.
22691 Force an underflow exception when setting errno for underflow.
22692 Determine underflow based on rounding to normal precision if
22693 TININESS_AFTER_ROUNDING.
22694 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22695 ERANGE for exact underflow cases.
22696 * stdlib/Makefile (tests): Add tst-tininess and
22697 tst-strtod-underflow.
22698 ($(objpfx)tst-tininess): Use $(link-libm).
22699 ($(objpfx)tst-strtod-underflow): Likewise.
22701 2012-10-30 Andreas Jaeger <aj@suse.de>
22704 * elf/Makefile (tests): Remove conditional for have-initfini-array
22705 since this is now always required and the variable does not exist
22707 (tests-static): Likewise.
22708 (modules-names): Likewise.
22710 * po/eo.po: Add Esperanto translation from translation project.
22712 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22713 merged with constructor/destructor.
22714 (init_array): Likewise.
22715 * elf/tst-array2dep.c (fini_array): Likewise.
22716 (init_array): Likewise.
22718 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22720 * manual/message.texi: Delete @cartouche tags.
22722 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22724 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22726 * sysdeps/mach/hurd/fsync.c: Likewise.
22728 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22729 [_POSIX_REALTIME_SIGNALS]: Change condition to
22730 [_POSIX_REALTIME_SIGNALS > 0].
22732 2012-10-27 Andreas Jaeger <aj@suse.de>
22734 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22735 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22737 [__WORDSIZE != 64]: Likewise.
22739 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22741 * iconvdata/tst-table.sh: Remove ${SHELL}.
22742 * iconvdata/tst-tables.sh: Likewise.
22744 2012-10-25 David S. Miller <davem@davemloft.net>
22746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22747 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22753 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22754 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22757 2012-10-25 Roland McGrath <roland@hack.frob.com>
22759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22760 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22763 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22764 Jim Blandy <jimb@codesourcery.com>
22766 * scripts/cross-test-ssh.sh: New file.
22767 * manual/install.texi (Configuring and compiling): Document use of
22769 * INSTALL: Regenerated.
22771 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22773 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22776 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22778 * Makeconfig (run-program-prefix): Fix comment.
22780 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22781 Jim Blandy <jimb@codesourcery.com>
22783 * Makeconfig (test-wrapper): New variable,
22784 (test-wrapper-env): Likewise.
22785 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22786 (run-built-tests): Define to yes.
22787 (run-program-prefix): Use $(test-wrapper).
22788 (built-program-cmd): Likewise.
22789 * Rules (make-test-out): Use $(test-wrapper-env) and
22790 $(host-built-program-cmd).
22791 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22792 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22794 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22795 $(test-wrapper-env) to tst-rtld-load-self.sh.
22796 ($(objpfx)order2.out): Use $(test-wrapper).
22797 ($(objpfx)tst-initorder.out): Likewise.
22798 ($(objpfx)tst-initorder2.out): Likewise.
22799 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22800 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22801 (test_wrapper_env): New variable. Use it to run ld.so.
22802 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22803 Use it to run ld.so.
22804 (test_wrapper_env): Likewise.
22805 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22806 $(test-wrapper) to run-iconv-test.sh.
22807 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22808 (ICONV): Use $test_wrapper.
22809 * posix/Makefile ($(objpfx)globtest.out): Pass
22810 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22811 globtest.sh, not $(run-program-prefix).
22812 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22813 (test_wrapper): Likewise.
22814 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22815 set together with run_via_rtld_prefix.
22816 (run_program_prefix): Define in terms of test_wrapper and
22817 run_via_rtld_prefix.
22819 2012-10-24 Roland McGrath <roland@hack.frob.com>
22821 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22822 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22826 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22827 Declare __clock_getres, __clock_gettime, __clock_settime,
22828 __clock_nanosleep, and __clock_getcpuclockid.
22829 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22830 Remove librt_hidden_def (clock_gettime).
22831 * sysdeps/unix/clock_gettime.c: Likewise.
22832 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22834 * rt/clock_getres.c: Define __clock_getres as an alias.
22835 * sysdeps/posix/clock_getres.c: Likewise.
22836 * rt/clock_settime.c: Define __clock_settime as an alias.
22837 * sysdeps/unix/clock_settime.c: Likewise.
22838 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22839 * sysdeps/unix/clock_nanosleep.c: Likewise.
22840 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22841 * rt/clock-compat.c: New file.
22842 * rt/Makefile (librt-routines): Add clock-compat and move
22843 $(clock-routines) to ...
22844 (routines): ... here, new variable.
22845 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22846 Don't add get_clockfreq here.
22847 * rt/Versions (libc: GLIBC_2.17): New version set.
22848 Add clock_* symbols here.
22849 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22850 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22851 (GLIBC_2.17): Add clock_* symbols.
22852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22863 * NEWS: Mention the move.
22865 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22866 Use __open, __read, __close rather than their public counterparts.
22867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22868 (__get_clockfreq_via_cpuinfo): Likewise.
22869 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22870 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22872 * config.h.in (HAVE_IFUNC): New #undef.
22873 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22875 * configure: Regenerated.
22877 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22879 * configure.in: Move READELF check to start of file.
22880 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22881 libc_cv_asm_gnu_indirect_function in the process.
22882 * configure: Regenerated.
22884 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22886 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22887 send the output to /dev/null.
22888 (libc_cv_cc_with_libunwind): Likewise.
22889 (libc_cv_as_noexecstack): Likewise.
22890 * configure: Regenerate.
22892 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22894 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22896 * posix/globtest.sh (TMPDIR): Do not set.
22897 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22898 (testout): Likewise.
22900 2012-10-24 Andreas Jaeger <aj@suse.de>
22902 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22903 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22904 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22905 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22906 posix_fadvise64, posix_fallocate64.
22908 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22909 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22910 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22912 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22914 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22917 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22918 <bits/fcntl-linux.h>.
22919 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22922 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22923 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22924 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22925 [__WORDSIZE != 64]: Likewise.
22927 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22929 * Makeconfig (run-built-tests): New variable.
22930 * Rules [$(cross-compiling) = yes]: Change condition to
22931 [$(run-built-tests) = no].
22932 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22933 to [$(run-built-tests) = yes].
22934 * elf/Makefile [$(cross-compiling) = no]: Likewise
22935 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22936 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22937 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22938 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22939 * io/Makefile [$(cross-compiling) = no]: Likewise.
22940 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22941 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22942 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22943 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22944 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22945 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22946 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22947 * string/Makefile [$(cross-compiling) = no]: Likewise.
22949 * posix/Makefile ($(objpfx)globtest.out): Pass
22950 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22951 $(rtld-installed-name).
22952 * posix/globtest.sh (elf_objpfx): Remove variable.
22953 (rtld_installed_name): Likewise.
22954 (library_path): Likewise.
22955 (run_program_prefix): New variable. Use for running globtest
22958 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22959 Joseph Myers <joseph@codesourcery.com>
22961 * Makeconfig (host-built-program-cmd): New variable.
22962 * elf/Makefile (tst-stackguard1-ARGS): Use
22963 $(host-built-program-cmd).
22964 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22965 (tst-spawn-ARGS): Likewise.
22966 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22968 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22969 Jim Blandy <jimb@codesourcery.com>
22971 * Makeconfig (run-via-rtld-prefix): New variable.
22972 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22973 (built-program-cmd): Likewise.
22975 2012-10-22 Andreas Jaeger <aj@suse.de>
22977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22978 __O_RSYNC if it exists, otherwise to O_SYNC.
22980 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22981 Joseph Myers <joseph@codesourcery.com>
22983 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22985 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22987 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22990 2012-10-22 Andreas Jaeger <aj@suse.de>
22992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22997 bits/fcntl-linux.h.
22999 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23000 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23007 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23008 Joseph Myers <joseph@codesourcery.com>
23010 * config.make.in (NM): New variable.
23012 2012-10-21 Andreas Jaeger <aj@suse.de>
23014 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23015 definitions and declarations that are provided by
23016 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23018 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23021 * elf/Makefile (tests-static): Add tst-leaks1-static.
23022 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23023 ($(objpfx)tst-leaks1-static): New rule.
23024 ($(objpfx)tst-leaks1-static-mem): Likewise.
23025 (tst-leaks1-static-ENV): New macro.
23026 * elf/dl-open.c (dl_open_worker): Check the main application
23027 only if SHARED is defined.
23028 * elf/tst-leaks1-static.c: New file.
23030 2012-10-20 Andreas Jaeger <aj@suse.de>
23032 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23033 generic values for Linux.
23034 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23035 and declarations that are provided by <bits/fcntl-linux.h> and
23036 include <bits/fcntl-linux.h>.
23037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23040 2012-10-20 Roland McGrath <roland@hack.frob.com>
23042 * io/fcntl.h: Move include of <bits/types.h> to the top and
23043 include it unconditionally.
23045 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23047 * wcsmbs/Makefile (tests-ifunc): New variable.
23048 (tests): Add $(tests-ifunc).
23049 * wcsmbs/test-wcschr-ifunc.c: New file.
23050 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23051 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23052 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23053 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23054 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23056 * string/Makefile (tests-ifunc): New variable.
23057 (tests): Add $(tests-ifunc).
23058 * string/test-memccpy.c (TEST_NAME): New macro.
23059 * string/test-memchr.c (TEST_NAME): Likewise.
23060 * string/test-memcmp.c (TEST_NAME): Likewise.
23061 * string/test-memcpy.c (TEST_NAME): Likewise.
23062 * string/test-memmem.c (TEST_NAME): Likewise.
23063 * string/test-memmove.c (TEST_NAME): Likewise.
23064 * string/test-memset.c (TEST_NAME): Likewise.
23065 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23066 * string/test-stpcpy.c (TEST_NAME): Likewise.
23067 * string/test-stpncpy.c (TEST_NAME): Likewise.
23068 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23069 * string/test-strcasestr.c (TEST_NAME): Likewise.
23070 * string/test-strcat.c (TEST_NAME): Likewise.
23071 * string/test-strchr.c (TEST_NAME): Likewise.
23072 * string/test-strcmp.c(TEST_NAME): Likewise.
23073 * string/test-strcpy.c (TEST_NAME): Likewise.
23074 * string/test-strcspn.c (TEST_NAME): Likewise.
23075 * string/test-strlen.c (TEST_NAME): Likewise.
23076 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23077 * string/test-strncmp.c (TEST_NAME): Likewise.
23078 * string/test-strncpy.c (TEST_NAME): Likewise.
23079 * string/test-strnlen.c (TEST_NAME): Likewise.
23080 * string/test-strpbrk.c (TEST_NAME): Likewise.
23081 * string/test-strrchr.c (TEST_NAME): Likewise.
23082 * string/test-strspn.c (TEST_NAME): Likewise.
23083 * string/test-strstr.c (TEST_NAME): Likewise.
23084 * string/test-bcopy-ifunc.c: New file.
23085 * string/test-bzero-ifunc.c: Likewise.
23086 * string/test-memccpy-ifunc.c: Likewise.
23087 * string/test-memchr-ifunc.c: Likewise.
23088 * string/test-memcmp-ifunc.c: Likewise.
23089 * string/test-memcpy-ifunc.c: Likewise.
23090 * string/test-memmem-ifunc.c: Likewise.
23091 * string/test-memmove-ifunc.c: Likewise.
23092 * string/test-mempcpy-ifunc.c: Likewise.
23093 * string/test-memset-ifunc.c: Likewise.
23094 * string/test-rawmemchr-ifunc.c: Likewise.
23095 * string/test-stpcpy-ifunc.c: Likewise.
23096 * string/test-stpncpy-ifunc.c: Likewise.
23097 * string/test-strcasecmp-ifunc.c: Likewise.
23098 * string/test-strcasestr-ifunc.c: Likewise.
23099 * string/test-strcat-ifunc.c: Likewise.
23100 * string/test-strchr-ifunc.c: Likewise.
23101 * string/test-strchrnul-ifunc.c: Likewise.
23102 * string/test-strcmp-ifunc.c: Likewise.
23103 * string/test-strcpy-ifunc.c: Likewise.
23104 * string/test-strcspn-ifunc.c: Likewise.
23105 * string/test-strlen-ifunc.c: Likewise.
23106 * string/test-strncasecmp-ifunc.c: Likewise.
23107 * string/test-strncat-ifunc.c: Likewise.
23108 * string/test-strncmp-ifunc.c: Likewise.
23109 * string/test-strncpy-ifunc.c: Likewise.
23110 * string/test-strnlen-ifunc.c: Likewise.
23111 * string/test-strpbrk-ifunc.c: Likewise.
23112 * string/test-strrchr-ifunc.c: Likewise.
23113 * string/test-strspn-ifunc.c: Likewise.
23114 * string/test-strstr-ifunc.c: Likewise.
23116 * debug/Makefile (tests-ifunc): New variable.
23117 (tests): Add $(tests-ifunc).
23118 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23119 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23120 * debug/test-stpcpy_chk-ifunc.c: New file.
23121 * debug/test-strcpy_chk-ifunc.c: Likewise.
23123 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23126 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23127 header is not read in.
23129 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23131 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23132 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23133 directly. Pass built executable to script as
23134 $(built-program-cmd).
23135 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23136 $testprogram without using LD_LIBRARY_PATH and $ldso.
23138 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23139 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23140 $(rtld-installed-name).
23141 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23142 (rtld_installed_name): Likewise.
23143 (library_path): Likewise.
23144 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23145 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23146 $(run-program-prefix) to tst-tables.sh.
23147 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23148 it to run tst-table-from and tst-table-to.
23149 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23150 Pass it to tst-table.sh.
23151 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23152 $(run-program-prefix) to tst-gettext.sh.
23153 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23155 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23157 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23158 to run tst-gettext.
23159 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23160 to run tst-gettext2.
23161 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23162 to run tst-translit.
23163 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23164 $(run-program-prefix) to tst-mtrace.sh.
23165 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23167 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23168 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23169 $(rtld-installed-name).
23170 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23171 (rtld_installed_name): Likewise.
23172 (run_program_prefix): New variable. Use it to run wordexp-test.
23174 * Makeconfig (ARCH): Remove all definitions.
23175 (machine): Likewise.
23176 [ARCH]: Remove conditional code.
23177 [!objdir]: Give error.
23178 [!objdir] (objpfx): Remove.
23179 [!objdir] (common-objpfx): Likewise.
23180 [!objdir] (common-objdir): Likewise.
23181 * configure.in (config_makefile): Remove. Hardcode Makefile in
23182 AC_CONFIG_FILES call.
23183 * configure: Regenerated.
23186 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23188 (testout): Likewise.
23190 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23191 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23192 $(rtld-installed-name).
23193 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23194 (rtld_installed_name): Likwise.
23195 (runit): Remove function.
23196 (run_getconf): New variable, Use it for running getconf binary.
23198 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23201 * string/test-memmem.c (check_result): New function.
23202 (do_one_test): Use it.
23203 (check1): New function.
23204 (test_main): Use it.
23206 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23208 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23210 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23212 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23213 (_G_LSEEK64): Likewise.
23214 (_G_MMAP64): Likewise.
23215 (_G_FSTAT64): Likewise.
23216 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23217 (_G_LSEEK64): Likewise.
23218 (_G_MMAP64): Likewise.
23219 (_G_FSTAT64): Likewise.
23220 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23221 unconditional. Call __mmap64 directly.
23222 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23223 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23224 __lseek64 directly.
23225 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23226 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23228 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23229 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23230 __lseek64 directly.
23231 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23232 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23233 __lseek64 directly.
23234 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23235 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23236 __lseek64 directly.
23237 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23238 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23239 __fxstat64 directly.
23240 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23241 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23243 (freopen64) [!_G_OPEN64]: Remove conditional code.
23244 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23246 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23247 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23249 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23250 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23252 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23253 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23255 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23256 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23258 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23259 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23261 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23262 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23264 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23266 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23269 * manual/memory.texi (Malloc Tunable Parameters): Add note
23270 about free list pointers overwriting some perturb bytes.
23271 Wording suggested by Roland McGrath.
23273 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23275 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23276 (lgamma_test): Likewise.
23277 (tgamma_test): Likewise.
23279 2012-10-16 Florian Weimer <fweimer@redhat.com>
23282 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23283 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23285 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23287 * NEWS: Mention BZ #14716.
23288 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23289 when removing AVAILABLE1_USES_J macro.
23291 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23293 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23294 (__bswap_64): __uint64_t for unsigned 64-bit int.
23296 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23298 * include/string.h (memmem): Declare libc hidden alias.
23299 * string/memmem.c (memmem): Define libc hidden alias.
23300 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23301 __read, __close instead of open, read, close.
23303 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23306 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23308 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23309 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23310 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23312 (__rawmemchr_sse2): Likewise.
23313 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23314 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23315 (__strchr_sse2): Likewise.
23316 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23317 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23318 (__strcasecmp_sse2): Likewise.
23319 (__strncasecmp_sse2): Likewise.
23320 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23321 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23322 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23323 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23324 (__strrchr_sse2): Likewise.
23325 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23327 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23328 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23329 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23330 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23331 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23332 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23333 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23334 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23335 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23336 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23337 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23338 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23339 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23340 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23341 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23342 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23343 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23344 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23345 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23346 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23347 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23348 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23349 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23350 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23351 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23353 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23354 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23355 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23356 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23358 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23360 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23361 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23362 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23363 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23365 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23367 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23368 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23369 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23370 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23372 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23373 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23374 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23375 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23376 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23377 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23378 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23379 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23380 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23381 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23382 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23383 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23384 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23385 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23386 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23387 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23388 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23389 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23390 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23391 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23392 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23393 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23394 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23395 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23397 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23398 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23399 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23400 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23401 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23402 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23403 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23404 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23405 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23406 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23407 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23408 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23409 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23410 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23411 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23412 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23414 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23415 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23416 * include/ifunc-impl-list.h: New file.
23417 * misc/ifunc-impl-list.c: Likewise.
23418 * misc/Makefile (routines): Add ifunc-impl-list.
23419 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23420 * string/test-string.h: Include <ifunc-impl-list.h>.
23421 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23422 TEST_NAME]: New variables.
23423 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23425 (test_init): Call __libc_ifunc_impl_list to initialize
23426 func_list if TEST_IFUNC and TEST_NAME are defined.
23428 * string/Makefile (strop-tests): Add bcopy and bzero.
23429 * string/test-bcopy.c: New file.
23430 * string/test-bzero.c: Likewise.
23431 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23433 * string/test-memset.c: Support bzero test if TEST_BZERO is
23435 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23437 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23439 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23442 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23444 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23445 * configure: Regenerated.
23447 * Makeconfig (+link-static-before-libc): Don't include
23448 $(link-static-libc).
23450 * libio/libio.h (_IO_pos_t): Remove.
23452 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23454 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23457 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23459 * crypt/crypt-entry.c: Include fips-private.h.
23460 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23461 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23462 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23463 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23465 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23467 * crypt/crypt-private.h: Include stdbool.h.
23468 (_ufc_setup_salt_r): Return bool.
23469 * crypt/crypt-entry.c: Include errno.h.
23470 (__crypt_r): Return NULL with EINVAL for bad salt.
23471 * crypt/crypt_util.c (bad_for_salt): New.
23472 (_ufc_setup_salt_r): Check that salt is long enough and within
23473 the specified alphabet.
23474 * crypt/badsalttest.c: New file.
23475 * crypt/Makefile (tests): Add it.
23476 ($(objpfx)badsalttest): New.
23478 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23480 * NEWS: Add entry for BZ #14602.
23482 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23484 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23486 * math/libm-test.inc: Update comment listing what functions and
23488 (isgreater_test): New function.
23489 (isgreaterequal_test): Likewise.
23490 (isless_test): Likewise.
23491 (islessequal_test): Likewise.
23492 (islessgreater_test): Likewise.
23493 (isunordered_test): Likewise.
23494 (main): Call the new functions.
23496 2012-10-09 Roland McGrath <roland@hack.frob.com>
23498 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23499 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23500 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23501 * sysdeps/i386/configure: Regenerated.
23502 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23503 * sysdeps/mach/configure: Regenerated.
23504 * sysdeps/mach/hurd/configure: Regenerated.
23505 * sysdeps/powerpc/configure: Regenerated.
23506 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23507 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23508 * sysdeps/s390/s390-32/configure: Regenerated.
23509 * sysdeps/s390/s390-64/configure: Regenerated.
23510 * sysdeps/sh/configure: Regenerated.
23511 * sysdeps/sparc/configure: Regenerated.
23512 * sysdeps/unix/sysv/linux/configure: Regenerated.
23513 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23514 * sysdeps/x86_64/configure: Regenerated.
23516 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23517 defined. Don't check if MAP is NULL.
23519 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23521 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23522 (_G_stat64): Likewise.
23523 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23524 (_G_stat64): Likewise.
23525 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23526 instead of struct _G_stat64.
23527 * libio/fileops.c (mmap_remap_check): Likewise.
23528 (decide_maybe_mmap): Likewise.
23529 (_IO_new_file_seekoff): Likewise.
23530 (_IO_file_stat): Likewise.
23531 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23533 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23534 instead of struct _G_stat64.
23535 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23537 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23540 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23542 (CHECK_EOL): New macro.
23543 (two_way_short_needle): Check beginning of haystack for EOL. Use
23545 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23546 Replace with CHECK_EOL.
23547 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23548 Replace with CHECK_EOL.
23550 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23552 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23554 * math/libm-test.inc: Update comment listing what functions and
23556 (finite_test): New function.
23557 (isinf_test): Likewise.
23558 (isnan_test): Likewise.
23559 (fpclassify_test): Test subnormal input.
23560 (isfinite_test): Likewise.
23561 (isnormal_test): Likewise.
23562 (main): Call the new functions.
23564 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23567 * Makerules (%.dynsym): Force C locale when running
23568 $(OBJDUMP) --dynamic-syms.
23570 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23572 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23575 2012-10-06 David S. Miller <davem@davemloft.net>
23577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23578 upper 32-bits of the length value in %o2 since we use branch-on-register
23579 tests which consider the entire 64-bit register.
23581 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23583 * string/test-strstr.c (check2): Add a test for page boundary.
23585 2012-10-05 David S. Miller <davem@davemloft.net>
23587 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23588 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23590 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23592 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23593 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23594 and bzero when HWCAP_SPARC_CRYPTO is present.
23596 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23599 * string/test-strstr.c (check2): New function.
23600 (test_main): Call check2.
23602 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23604 * string/bug-strcasestr1.c (do_test): Moved to ...
23605 * string/test-strcasestr.c (check1): Here. New function.
23606 (do_one_test): Break out result checking code into ...
23607 (check_result): This. New function.
23608 (do_one_test): Call check_result.
23609 (test_main): Call check1.
23610 * string/bug-strchr1.c (do_test): Moved to ...
23611 * string/test-strchr.c (check1): Here. New function.
23612 (do_one_test): Break out result checking code into ...
23613 (check_result): This. New function.
23614 (do_one_test): Call check_result.
23615 (test_main): Call check1.
23616 * string/bug-strstr1.c (main): Moved to ...
23617 * string/test-strstr.c (check1): Here. New function.
23618 (do_one_test): Break out result checking code into ...
23619 (check_result): This. New function.
23620 (do_one_test): Call check_result.
23621 (test_main): Call check1.
23622 * string/bug-strcasestr1.c: Removed.
23623 * string/bug-strchr1.c: Likewise.
23624 * string/bug-strstr1.c: Likewise.
23626 * elf/Makefile (dl-routines): Add hwcaps.
23627 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23628 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23629 (_dl_important_hwcaps): Moved to ...
23630 * elf/dl-hwcaps.c: Here. New file.
23631 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23634 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23635 if IS_IN_rtld isn't defined.
23637 * elf/dl-support.c (_dl_sysinfo_map): New.
23638 Include "get-dynamic-info.h" and "setup-vdso.h".
23639 (_dl_non_dynamic_init): Call setup_vdso.
23640 * elf/dynamic-link.h: Don't include <assert.h>.
23641 (elf_get_dynamic_info): Moved to ...
23642 * elf/get-dynamic-info.h: Here. New file.
23643 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23644 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23645 * elf/setup-vdso.h: Here. New file.
23646 * elf/rtld.c: Include "setup-vdso.h".
23647 (dl_main): Call setup_vdso.
23649 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23651 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23652 creal in comment listing functions tested. List finite, isinf,
23653 isnan, isless, islessequal, isgreater, isgreaterequal,
23654 islessgreater, isunordered, lgamma_r and pow10 as functions and
23655 macros not tested. Mention which functions not tested are aliases
23656 for other functions. Fix typo. Note that signs of NaNs are not
23659 * scripts/config.guess: Update from config.git.
23660 * scripts/config.sub: Likewise.
23662 2012-10-04 Roland McGrath <roland@hack.frob.com>
23664 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23665 * misc/madvise.c (madvise): Renamed to __madvise.
23666 Make madvise a weak alias.
23667 * include/sys/mman.h: Declare __madvise.
23668 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23669 * sysdeps/unix/syscalls.list
23670 (madvise): Make __madvise the strong name, and madvise a weak alias.
23671 * sysdeps/unix/sysv/linux/syscalls.list
23672 (madvise, mmap): Remove redundant entries.
23673 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23674 * malloc/malloc.c (mtrim): Likewise.
23675 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23677 2012-10-03 Roland McGrath <roland@hack.frob.com>
23679 * sysdeps/mach/hurd/dl-cache.c: File removed.
23680 * config.h.in (USE_LDCONFIG): New #undef.
23681 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23682 * configure: Regenerated.
23683 * elf/Makefile (dl-routines): Add dl-cache only under
23684 [$(use-ldconfig) = yes].
23685 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23686 cache on [USE_LDCONFIG].
23687 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23689 * elf/rtld.c (dl_main): Likewise.
23691 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23693 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23694 _SC_LEVEL4_CACHE_LINESIZE.
23696 2012-10-03 Roland McGrath <roland@hack.frob.com>
23698 * sysdeps/unix/bsd/confstr.h: File removed.
23700 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23702 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23705 2012-10-02 Roland McGrath <roland@hack.frob.com>
23707 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23708 Make 'mapoff' field ElfW(Off) rather than off_t.
23710 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23712 * nscd/Makefile: Remove nscd-cflags and all its users.
23713 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23714 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23717 * malloc.c (malloc_printerr): Clarify error message.
23719 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23723 Set bit_FMA_Usable if FMA is supported.
23724 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23726 (bit_FMA4_Usable): Updated.
23727 (index_FMA_Usable): New macro.
23728 (CPUID_FMA): Likewise
23729 (HAS_FMA): Defined with bit_FMA_Usable.
23731 2012-10-01 Roland McGrath <roland@hack.frob.com>
23733 * bits/types.h (__swblk_t): Type removed.
23734 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23735 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23737 (__SWBLK_T_TYPE): Likewise.
23738 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23739 (__SWBLK_T_TYPE): Likewise.
23740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23741 (__SWBLK_T_TYPE): Likewise.
23742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23743 (__SWBLK_T_TYPE): Likewise.
23745 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23746 Honza Horak <hhorak@redhat.com>
23748 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23749 (xdr_mapname): Use YPMAXMAP as maxsize.
23750 (xdr_peername): Use YPMAXPEER as maxsize.
23751 (xdr_keydat): Use YPAXRECORD as maxsize.
23752 (xdr_valdat): Use YPMAXRECORD as maxsize.
23754 2012-10-01 Roland McGrath <roland@hack.frob.com>
23756 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23758 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23759 * csu/init-first.c: ... here.
23760 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23761 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23762 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23763 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23764 * sysdeps/i386/init-first.c: File removed.
23765 * sysdeps/sh/init-first.c: File removed.
23767 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23771 if x * y might underflow to zero and z is zero.
23772 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23774 * math/libm-test.inc (min_subnorm_value): New variable.
23775 (fma_test): Add more tests.
23776 (fma_test_towardzero): Likewise.
23777 (fma_test_downward): Likewise
23778 (fma_test_upward): Likewise.
23779 (initialize): Set min_subnorm_value.
23781 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23787 mode for addition resulting in exact zero.
23788 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23791 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23793 * math/libm-test.inc (fma_test): Add more tests.
23794 (fma_test_towardzero): New function.
23795 (fma_test_downward): Likewise.
23796 (fma_test_upward): Likewise.
23797 (main): Call the new functions.
23799 2012-09-28 David S. Miller <davem@davemloft.net>
23801 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23803 2012-09-28 Roland McGrath <roland@hack.frob.com>
23805 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23806 instead of SIGALRM.
23808 * sysdeps/gnu/_G_config.h: Moved to ...
23809 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23810 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23811 * sysdeps/generic/_G_config.h: ... here.
23813 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23815 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23817 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23818 Conditionalize target on [libnss_test1.so-version].
23820 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23822 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23823 (elfobjdir): Move out of conditionals.
23825 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23826 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23827 (__nss_lookup_function): Conditionalize label remove_from_tree on
23828 [!DO_STATIC_NSS || SHARED], matching its only use.
23830 2012-09-28 David S. Miller <davem@davemloft.net>
23832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23833 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23835 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23837 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23839 when HWCAP_SPARC_CRYPTO is present.
23841 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23843 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23845 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23848 * stdio-common/vfprintf.c (process_string_arg): Revert
23851 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23853 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23855 * stdio-common/tst-sprintf.c: Include <locale.h>
23856 (main): Test sprintf's handling of incomplete multibyte
23859 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23861 * elf/dl-runtime.c (VERSYMIDX): Removed.
23862 * elf/dl-version.c (VERSYMIDX): Likewise.
23863 * elf/do-rel.h (VERSYMIDX): Likewise.
23864 (VALIDX): Likewise.
23865 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23866 * elf/rtld.c (VALIDX): Likewise.
23867 (ADDRIDX): Likewise.
23868 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23869 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23870 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23871 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23872 (VALIDX): Likewise.
23873 (ADDRIDX): Likewise.
23875 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23877 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23879 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23882 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23884 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23885 addresses are in the same scope as 192.0.2/24.
23886 * posix/gai.conf: Document new scope table defaults.
23888 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23891 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23892 for ftell. Compute offsets from write pointers instead.
23893 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23895 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23898 * libio/Makefile (tests): New test case tst-fseek.
23899 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23900 combination works in wide mode.
23901 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23902 state when the external buffer state changes.
23904 2012-09-27 David S. Miller <davem@davemloft.net>
23907 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23908 pass reloc->r_addend in as the 'high' argument to
23909 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23913 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23915 * rt/tst-aio2.c: Include <pthread.h>.
23916 * rt/tst-aio3.c: Likewise.
23918 2012-09-27 Steve Ellcey <sellcey@mips.com>
23920 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23922 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23924 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23925 contents on [SHARED].
23927 2012-09-26 Marek Polacek <polacek@redhat.com>
23931 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23932 for C++ and GCC <4.3 as well as for non GCC compilers.
23934 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23938 2012-09-25 Roland McGrath <roland@hack.frob.com>
23940 * Makefile.in (all, install): Declare with .PHONY.
23941 Reported by Michael Hope <michael.hope@linaro.org>.
23943 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23945 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23946 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23948 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23950 (sydep_routines): Add the new and the internal functions.
23951 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23952 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23954 (GLIBC_2.17): Add the new function.
23955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23956 (GLIBC_2.17): Likewise.
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23958 (GLIBC_2.17): Likewise.
23959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23960 (GLIBC_2.17): Likewise.
23961 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23963 2012-09-25 Alan Modra <amodra@gmail.com>
23965 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23966 Add release barrier before setting once_control to say
23967 initialisation is done. Add hints on lwarx. Use macro in
23969 (clear_once_control): Add release barrier.
23971 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23974 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23976 * math/s_clog10.c (__clog10): Likewise.
23977 * math/s_clog10f.c (__clog10f): Likewise.
23978 * math/s_clog10l.c (__clog10l): Likewise.
23979 * math/s_clogf.c (__clogf): Likewise.
23980 * math/s_clogl.c (__clogl): Likewise.
23981 * math/Makefile (libm-calls): Add x2y2m1.
23982 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23983 (__x2y2m1): Likewise.
23984 (__x2y2m1l): Likewise.
23985 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23986 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23989 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23991 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23992 * sysdeps/i386/fpu/libm-test-ulps: Update.
23993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23996 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23997 int as type of variable DEPTH.
23998 (glob): Use size_t instead of int as type of variables NEWCOUNT
24001 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24003 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24004 Add s_sincosf-sse2.
24005 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24006 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24007 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24008 macros for using routine as __sincosf_ia32.
24009 Use macro for function declaration and weak_alias.
24010 * sysdeps/i386/fpu/libm-test-ulps: Update.
24012 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24015 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24016 subnormal argument.
24017 * math/s_cexpf.c (__cexpf): Likewise.
24018 * math/s_csinf.c (__csinf): Likewise.
24019 * math/s_csinhf.c (__csinhf): Likewise.
24020 * math/s_ctanf.c (__ctanf): Likewise.
24021 * math/s_ctanhf.c (__ctanhf): Likewise.
24022 * math/s_ccosh.c (__ccoshf): Likewise.
24023 * math/s_cexp.c (__cexpl): Likewise.
24024 * math/s_csin.c (__csin): Likewise.
24025 * math/s_csinh.c (__csinh): Likewise.
24026 * math/s_ctan.c (__ctan): Likewise.
24027 * math/s_ctanh.c (ctanh): Likewise.
24028 * math/s_ccoshl.c (__ccoshl): Likewise.
24029 * math/s_cexpl.c (__cexpl): Likewise.
24030 * math/s_csinl.c (__csinl): Likewise.
24031 * math/s_csinhl.c (__csinhl): Likewise.
24032 * math/s_ctanl.c (__ctanl): Likewise.
24033 * math/s_ctanhl.c (__ctanhl): Likewise.
24035 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24037 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24038 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24039 (_IO_off_t): Define to __off_t, not _G_off_t.
24040 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24041 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24042 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24043 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24044 type of __dummy and __dummy2 fields.
24045 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24046 (_G_ssize_t): Likewise.
24047 (_G_off_t): Likewise.
24048 (_G_pid_t): Likewise.
24049 (_G_uid_t): Likewise.
24050 (_G_wchar_t): Likewise.
24051 (_G_wint_t): Likewise.
24052 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24053 (_G_ssize_t): Likewise.
24054 (_G_off_t): Likewise.
24055 (_G_pid_t): Likewise.
24056 (_G_uid_t): Likewise.
24057 (_G_wchar_t): Likewise.
24058 (_G_wint_t): Likewise.
24059 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24060 (_G_ssize_t): Likewise.
24061 (_G_off_t): Likewise.
24062 (_G_pid_t): Likewise.
24063 (_G_uid_t): Likewise.
24064 (_G_wchar_t): Likewise.
24065 (_G_wint_t): Likewise.
24067 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24069 * malloc/arena.c: Include malloc-sysdep.h.
24070 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24071 is sufficient to shrink the heap or an unmap is needed.
24072 * sysdeps/generic/malloc-sysdep.h: New file. Define
24073 new function check_may_shrink_heap.
24074 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24075 new function check_may_shrink_heap.
24077 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24079 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24082 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24084 * catgets/test-gencat.sh: Add "set -e".
24085 * elf/tst-pathopt.sh: Likewise.
24086 * grp/tst_fgetgrent.sh: Likewise.
24087 * iconvdata/run-iconv-test.sh: Likewise.
24088 * intl/tst-gettext.sh: Likewise.
24089 * intl/tst-gettext2.sh: Likewise.
24090 * intl/tst-gettext4.sh: Likewise.
24091 * intl/tst-gettext6.sh: Likewise.
24092 * intl/tst-translit.sh: Likewise.
24093 * io/ftwtest-sh: Likewise.
24094 * libio/test-freopen.sh: Likewise.
24095 * malloc/tst-mtrace.sh: Likewise.
24096 * posix/globtest.sh: Likewise.
24097 * posix/tst-getconf.sh: Likewise.
24098 * posix/wordexp-tst.sh: Likewise.
24099 * stdio-common/tst-printf.sh: Likewise.
24100 * stdio-common/tst-unbputc.sh: Likewise.
24101 * stdlib/tst-fmtmsg.sh: Likewise.
24102 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24103 * catgets/Makefile: Do not specify -e option when running
24104 testsuite shell scripts.
24105 * elf/Makefile: Likewise.
24106 * grp/Makefile: Likewise.
24107 * iconvdata/Makefile: Likewise.
24108 * intl/Makefile: Likewise.
24109 * io/Makefile: Likewise.
24110 * libio/Makefile: Likewise.
24111 * malloc/Makefile: Likewise.
24112 * posix/Makefile: Likewise.
24113 * stdio-common/Makefile: Likewise.
24114 * stdlib/Makefile: Likewise.
24115 * sysdeps/x86_64/Makefile: Likewise.
24117 * io/ftwtest-sh: Add copyright header.
24118 * posix/globtest.sh: Likewise.
24119 * posix/tst-getconf.sh: Likewise.
24120 * posix/wordexp-tst.sh: Likewise.
24121 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24123 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24126 * Makeconfig (+link): Defined as $(+link-static) if
24127 $(build-shared) isn't yes.
24128 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24130 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24132 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24135 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24136 new chunk size with MALLOC_ALIGN_MASK.
24138 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24141 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24143 (__printf_fphex): Determine rounding using get_rounding_mode and
24145 * stdio-common/tst-printf-round.c (struct hex_test): New
24147 (hex_tests): New variable.
24148 (test_hex_in_one_mode): New function.
24149 (do_test): Also run tests for hex float output.
24151 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24153 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24154 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24155 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24156 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24157 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24158 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24159 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24160 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24162 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24164 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24165 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24166 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24167 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24169 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24172 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24174 * elf/tst-rtld-load-self.sh: New test.
24175 * elf/Makefile: Run it.
24177 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24179 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24180 (tst-writev-ENV): Remove.
24181 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24183 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24185 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24187 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24189 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24191 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24193 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24194 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24198 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24201 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24202 * config.make.in (have-cpp-asm-debuginfo): Removed.
24203 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24204 * configure: Regenerated.
24206 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24209 * stdio-common/printf_fp.c: Include <stdbool.h> and
24211 (___printf_fp): Determine rounding using get_rounding_mode and
24213 * stdio-common/tst-printf-round.c: New file.
24214 * stdio-common/Makefile (tests): Add tst-printf-round.
24215 (link-libm): New variable.
24216 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24218 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24221 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24222 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24224 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24227 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24229 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24230 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24231 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24232 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24234 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24237 * include/rounding-mode.h: New file.
24238 * sysdeps/generic/get-rounding-mode.h: Likewise.
24239 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24240 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24241 (MAX_VALUE): New macro.
24242 (MIN_VALUE): Likewise.
24243 (overflow_value): New function.
24244 (underflow_value): Likewise.
24245 (round_and_return): Use overflow_value and underflow_value to
24246 determine return values in overflow and underflow cases. Use
24247 round_away to determine rounding depending on rounding mode.
24248 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24249 determine return values in overflow and underflow cases.
24250 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24251 (struct test_results): New structure.
24252 (struct test): Use struct test_results to store expected results
24253 for all rounding modes.
24254 (TEST): Include expected results for all rounding modes.
24255 (test_in_one_mode): New function.
24256 (do_test): Use test_in_one_mode to compute and check results.
24257 Check results for all rounding modes.
24258 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24261 2012-12-09 Allan McRae <allan@archlinux.org>
24263 * sysdeps/i386/fpu/libm-test-ulps: Update
24265 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24267 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24268 (_G_int32_t): Likewise.
24269 (_G_uint16_t): Likewise.
24270 (_G_uint32_t): Likewise.
24271 (_G_HAVE_BOOL): Likewise.
24272 (_G_HAVE_ATEXIT): Likewise.
24273 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24274 (_G_HAVE_IO_FILE_OPEN): Likewise.
24275 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24276 (_G_int32_t): Likewise.
24277 (_G_uint16_t): Likewise.
24278 (_G_uint32_t): Likewise.
24279 (_G_HAVE_BOOL): Likewise.
24280 (_G_HAVE_ATEXIT): Likewise.
24281 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24282 (_G_HAVE_IO_FILE_OPEN): Likewise.
24283 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24284 (_G_int32_t): Likewise.
24285 (_G_uint16_t): Likewise.
24286 (_G_uint32_t): Likewise.
24287 (_G_HAVE_BOOL): Likewise.
24288 (_G_HAVE_ATEXIT): Likewise.
24289 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24290 (_G_HAVE_IO_FILE_OPEN): Likewise.
24292 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24294 * csu/libc-tls.c: Update copyright years.
24296 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24298 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24299 [!_G_USING_THUNKS]: Remove conditional code.
24300 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24301 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24303 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24304 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24305 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24306 (_G_VTABLE_LABEL_PREFIX): Likewise.
24307 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24308 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24309 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24310 (_G_VTABLE_LABEL_PREFIX): Likewise.
24311 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24312 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24313 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24314 (_G_VTABLE_LABEL_PREFIX): Likewise.
24315 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24317 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24319 * libio/Makefile: Include ../Makeconfig before tests.
24320 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24321 only if $(build-shared) is yes.
24323 * iconv/gconv_db.c: Update copyright years.
24325 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24327 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24328 unwind info if defined PIC. Fix special cases description.
24329 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24331 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24333 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24335 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24337 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24339 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24342 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24343 (LDLIBS-tst-chk4): This.
24344 (LDFLAGS-tst-chk5): Renamed to ...
24345 (LDLIBS-tst-chk5): This.
24346 (LDFLAGS-tst-chk6): Renamed to ...
24347 (LDLIBS-tst-chk6): This.
24348 (LDFLAGS-tst-lfschk4): Renamed to ...
24349 (LDLIBS-tst-lfschk4): This.
24350 (LDFLAGS-tst-lfschk5): Renamed to ...
24351 (LDLIBS-tst-lfschk5): This.
24352 (LDFLAGS-tst-lfschk6): Renamed to ...
24353 (LDLIBS-tst-lfschk6): This.
24355 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24356 on $(common-objpfx)soversions.mk.
24358 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24361 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24364 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24366 * malloc/arena.c (arena_get_retry): New function that gets
24367 another arena for the caller to try its request on.
24368 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24369 current arena cannot fulfill the request.
24370 (__libc_memalign): Likewise.
24371 (__libc_memalign): Likewise.
24372 (__libc_pvalloc): Likewise.
24373 (__libc_calloc): Likewise.
24375 2012-09-05 John Tobey <john.tobey@gmail.com>
24378 * manual/arith.texi (Operations on Complex): Fix description
24379 of carg branch cut.
24381 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24384 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24388 * manual/memory.texi (Memory): Make order of menu items match
24391 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24393 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24394 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24395 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24397 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24399 * csu/libc-tls.c (static_dtv): Renamed to ...
24400 (_dl_static_dtv): This. Make it global.
24401 (_dl_initial_dtv): Removed.
24402 (__libc_setup_tls): Updated.
24403 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24404 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24407 2012-09-06 Petr Machata <pmachata@redhat.com>
24409 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24410 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24411 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24412 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24414 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24417 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24418 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24421 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24424 * Makeconfig (link-static-before-libc): Replace $(+prector)
24426 (link-static-after-libc): Replace $(+postctor) with
24428 (link-bounded): Replace $(+prector)/$(+postctor) with
24429 $(+prectorT)/$(+postctorT).
24430 (+prectorT): New macro.
24431 (+postctorT): Likewise.
24433 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24435 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24436 (round_str): Handle values above the maximum for IBM long double
24438 * stdlib/tst-strtod-round.c (tests): Regenerated.
24440 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24442 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24444 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24445 zarch_nohighgprs around the zarch optimized routines.
24446 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24447 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24448 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24451 2012-09-05 David S. Miller <davem@davemloft.net>
24453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24455 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24456 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24457 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24458 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24461 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24463 * malloc/arena.c: Fold copyright years.
24464 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24466 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24468 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24470 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24472 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24474 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24476 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24477 change internal state upon failure.
24479 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24481 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24482 * malloc/memusage.c (mmap): Likewise.
24483 (mmap64, mremap): Likewise. Adjust name in comment.
24485 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24487 * libio/fileops.c: Fix typos in comments.
24488 * libio/oldfileops.c: Likewise.
24489 * libio/wfileops.c: Likewise.
24491 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24494 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24495 (tst-malloc-usable-ENV): Set environment for test case.
24496 * malloc/hooks.c (malloc_check_get_size): New function to get
24498 * malloc/malloc.c (musable): Use malloc_check_get_size.
24499 * malloc/tst-malloc-usable.c: New test case.
24501 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24503 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24505 2012-09-05 Allan McRae <allan@archlinux.org>
24508 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24509 determine header location.
24510 * configure: Regenerated.
24512 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24514 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24516 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24517 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24519 (test): Regenerate.
24521 2012-09-04 David S. Miller <davem@davemloft.net>
24523 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24524 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24525 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24527 2012-09-04 Florian Weimer <fweimer@redhat.com>
24529 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24532 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24534 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24537 * libio/iogetdelim.c: Include <limits.h>.
24538 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24539 + len + 1 would overflow.
24541 2012-09-03 Andreas Jaeger <aj@suse.de>
24543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24544 * sysdeps/i386/fpu/libm-test-ulps: Update.
24546 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24548 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24549 Add s_sinf-sse2, s_conf-sse2.
24551 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24552 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24553 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24554 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24556 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24557 for using routine as __sinf_ia32.
24558 Use macro for function declaration and weak_alias.
24559 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24560 for using routine as __cosf_ia32.
24561 Use macro for function declaration and weak_alias.
24563 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24564 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24566 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24567 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24570 * math/libm-test.inc (cos_test): Add more test cases.
24571 (sin_test): Likewise.
24572 (sincos_test): Likewise.
24574 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24576 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24577 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24579 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24581 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24584 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24585 first element of the GOT.
24586 (elf_machine_load_address): Return the difference between
24587 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24589 2012-09-01 Allan McRae <allan@archlinux.org>
24592 * configure.in (AWK): Require gawk version 3.0 or later.
24593 * configure: Regenerated.
24595 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24597 * sysdeps/unix/sysv/linux/kernel-features.h
24598 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24599 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24600 [__NR_clock_getres]: Make code unconditional.
24601 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24602 (clock_getcpuclockid): Remove code left unreachable by removal of
24604 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24605 code unconditional.
24606 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24607 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24608 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24609 Make code unconditional.
24610 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24611 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24612 * sysdeps/unix/sysv/linux/clock_settime.c
24613 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24615 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24616 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24618 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24621 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24622 scripts/test-installation.pl.
24624 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24625 and $ld_so_version if it is set.
24627 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24630 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24631 failure if reading from procfs failed.
24632 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24634 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24636 * sysdeps/unix/sysv/linux/kernel-features.h
24637 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24638 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24639 Remove conditional code.
24640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24641 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24642 Remove conditional code.
24643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24644 * sysdeps/unix/sysv/linux/i386/fxstat.c
24645 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24647 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24648 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24650 * sysdeps/unix/sysv/linux/i386/lxstat.c
24651 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24653 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24654 Remove conditional code.
24655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24656 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24657 Remove conditional code.
24658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24659 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24660 <kernel-features.h>.
24661 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24663 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24664 Remove conditional code.
24665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24666 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24667 Remove conditional.
24669 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24672 * NEWS: Add fixed bug number.
24674 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24677 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24678 underflowing exponent in case of negative sign.
24679 * stdlib/tst-strtod-round-data: Add more tests.
24680 * stdlib/tst-strtod-round.c (tests): Regenerated.
24683 * stdlib/strtod_l.c (NDIG): Remove.
24684 (HEXNDIG): Likewise.
24685 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24686 smallest representable value.
24687 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24688 lie within an exact representation of 1/2 ulp of the result.
24689 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24691 (TENS_P9_IDX): Define unconditionally.
24692 (TENS_P9_SIZE): Likewise.
24693 (TENS_P10_IDX): Likewise.
24694 (TENS_P10_SIZE): Likewise.
24695 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24696 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24697 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24698 entries for 10^2^13 and 10^2^14.
24699 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24700 (TENS_P13_IDX): Define.
24701 (TENS_P13_SIZE): Likewise.
24702 (TENS_P14_IDX): Likewise.
24703 (TENS_P14_SIZE): Likewise.
24704 (_fpioconst_pow10): Change array size to
24705 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24707 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24708 1024]: Add entries for 10^2^13 and 10^2^14.
24709 [LAST_POW10 > _LAST_POW10]: Remove #error.
24710 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24711 (_fpioconst_pow10): Change array size to
24712 FPIOCONST_POW10_ARRAY_SIZE.
24713 * stdlib/gen-fpioconst.c: New file.
24714 * stdlib/gen-tst-strtod-round.c: Likewise.
24715 * stdlib/tst-strtod-round-data: Likewise.
24716 * stdlib/tst-strtod-round.c: Likewise.
24717 * stdlib/Makefile (tests): Add tst-strtod-round.
24720 * stdlib/strtod_l.c: Include <stdint.h>.
24721 (NDEBUG): Do not define.
24722 (round_and_return): Change EXPONENT parameter to type intmax_t.
24723 Rearrange calculations to avoid internal overflow possibilities.
24724 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24725 Rearrange calculations to avoid internal overflow possibilities.
24726 Assert that number fits inside MPNSIZE limbs.
24727 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24728 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24729 calculations and add assertions to avoid internal overflow
24730 possibilities. Add casts to avoid signed/unsigned operations.
24731 * stdlib/tst-strtod-overflow.c: New file.
24732 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24734 2012-08-25 Marek Polacek <polacek@redhat.com>
24736 * time/time.h: Fix some typos in comments.
24738 2012-08-23 Roland McGrath <roland@hack.frob.com>
24740 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24741 * posix/tst-rfc3484-2.c: Likewise.
24742 * posix/tst-rfc3484-3.c: Likewise.
24744 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24746 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24747 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24749 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24751 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24752 #include of fxstatat64.c.
24754 2012-08-22 Roland McGrath <roland@hack.frob.com>
24756 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24757 * shadow/getspent_r.c: Likewise.
24758 * shadow/getspnam.c: Likewise.
24759 * shadow/getspnam_r.c: Likewise.
24760 * gshadow/getsgent.c: Likewise.
24761 * gshadow/getsgent_r.c: Likewise.
24762 * gshadow/getsgnam.c: Likewise.
24763 * gshadow/getsgnam_r.c: Likewise.
24764 * inet/getnetbyad.c: Likewise.
24765 * inet/getnetbyad_r.c: Likewise.
24766 * inet/getnetbynm.c: Likewise.
24767 * inet/getnetbynm_r.c: Likewise.
24768 * inet/getnetent.c: Likewise.
24769 * inet/getnetent_r.c: Likewise.
24770 * inet/getproto.c: Likewise.
24771 * inet/getproto_r.c: Likewise.
24772 * inet/getprtent.c: Likewise.
24773 * inet/getprtent_r.c: Likewise.
24774 * inet/getprtname.c: Likewise.
24775 * inet/getprtname_r.c: Likewise.
24776 * inet/getrpcbyname.c: Likewise.
24777 * inet/getrpcbyname_r.c: Likewise.
24778 * inet/getrpcbynumber.c: Likewise.
24779 * inet/getrpcbynumber_r.c: Likewise.
24780 * inet/getrpcent.c: Likewise.
24781 * inet/getrpcent_r.c: Likewise.
24782 * inet/getaliasent.c: Likewise.
24783 * inet/getaliasent_r.c: Likewise.
24784 * inet/getaliasname.c: Likewise.
24785 * inet/getaliasname_r.c: Likewise.
24786 * nscd/getgrgid_r.c: Likewise.
24787 * nscd/getgrnam_r.c: Likewise.
24788 * nscd/gethstbyad_r.c: Likewise.
24789 * nscd/gethstbynm3_r.c: Likewise.
24790 * nscd/getpwnam_r.c: Likewise.
24791 * nscd/getpwuid_r.c: Likewise.
24792 * nscd/getsrvbynm_r.c: Likewise.
24793 * nscd/getsrvbypt_r.c: Likewise.
24794 * nscd/gai.c: Likewise.
24796 * configure.in (build_nscd): New substituted variable, set
24797 by --disable-build-nscd and defaults to $use_nscd.
24798 * configure: Regenerated.
24799 * config.make.in (build-nscd): New substituted variable.
24800 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24801 Change conditional to require [$(build-nscd) = yes] as well.
24802 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24805 * configure.in (use_nscd): New substituted variable, set by
24806 --disable-nscd. If enabled, define USE_NSCD.
24807 * configure: Regenerated.
24808 * config.h.in: Add USE_NSCD.
24809 * config.make.in (use-nscd): New substituted variable.
24810 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24811 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24812 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24813 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24814 (CFLAGS-getgrnam_r.c): Likewise.
24815 (CFLAGS-initgroups.c): Likewise.
24816 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24817 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24819 * inet/getnetgrent_r.c
24820 (nscd_setnetgrent): New function, broken out of ...
24821 (setnetgrent): ... here. Call it.
24822 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24823 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24824 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24825 * nscd/Makefile (routines, aux): Move definitions after include of
24826 Makeconfig. Conditionalize on [$(use-nscd) != no].
24827 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24828 Conditionalize on [USE_NSCD].
24829 (is_nscd, nscd_init_cb): Likewise.
24830 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24831 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24832 * nss/nss_db/db-init.c: Likewise.
24833 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24835 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24836 (make_request): Use it.
24837 (cache_valid_p): New function.
24838 (__check_pf): Use it.
24839 * NEWS: Add item for --disable-nscd.
24841 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24843 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24844 to support sed >= 4.2.1-20-ga9bf076.
24845 * configure: Regenerated.
24847 2012-08-22 Roland McGrath <roland@hack.frob.com>
24849 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24850 Conditionalize whole body on [IREL].
24852 2012-08-22 Jeff Law <law@redhat.com>
24855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24856 if the family is PF_UNSPEC.
24858 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24860 * Makerules (lib-version): Rename from V.
24861 (install-lib-nosubdir): Change V to lib-version.
24863 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24866 * powerpc32/power6/wcschr.c: New file.
24867 * powerpc32/power6/wcscpy.c: New file.
24868 * powerpc32/power6/wcsrchr.c: New file.
24869 * powerpc64/power6/wcschr.c: New file.
24870 * powerpc64/power6/wcscpy.c: New file.
24871 * powerpc64/power6/wcsrchr.c: New file.
24873 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24875 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24876 (two_way_short_needle): Use it.
24877 * string/strstr.c (AVAILABLE1_USES_J): Define.
24878 * string/strcasestr.c: Likewise.
24880 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24882 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24885 * NEWS: Add an entry.
24886 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24887 define their defaults.
24888 (two_way_short_needle): Detect end-of-string on-the-fly.
24889 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24890 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24891 * string/bug-strcasestr1.c: New test.
24892 * string/Makefile: Run it.
24894 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24897 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24898 the first character.
24900 2012-08-21 Roland McGrath <roland@hack.frob.com>
24902 * csu/elf-init.c (__libc_csu_irel): Function removed.
24903 * csu/libc-start.c (apply_irel): New function.
24904 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24906 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24908 * sysdeps/unix/sysv/linux/kernel-features.h
24909 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24910 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24911 <kernel-features.h>.
24912 [__NR_fadvise64_64]: Make code unconditional.
24913 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24914 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24915 !__NR_fadvise64_64)]: Likewise.
24916 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24917 !__NR_fadvise64_64))]: Likewise.
24918 [__NR_fadvise64]: Make code unconditional.
24919 [!__NR_fadvise64]: Remove conditional code.
24920 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24921 <kernel-features.h>.
24922 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24924 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24927 not include <kernel-features.h>.
24928 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24930 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24932 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24933 include <kernel-features.h>.
24934 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24936 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24939 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24941 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24942 slight instruction rearrangements per scrollpipe analysis.
24943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24945 2012-08-20 Roland McGrath <roland@hack.frob.com>
24947 * manual/syslog.texi (syslog; vsyslog, closelog):
24948 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24949 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24951 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24952 DSOCAPS to match condition on defining it.
24954 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24956 * sysdeps/unix/sysv/linux/kernel-features.h
24957 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24959 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24960 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24962 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24963 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24965 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24966 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24968 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24969 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24971 * sysdeps/unix/sysv/linux/kernel-features.h
24972 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24973 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24975 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24976 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24977 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24978 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24979 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24980 Make code unconditional.
24981 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24982 (__mmap64) [!__NR_mmap2]: Likewise.
24983 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24984 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24985 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24986 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24987 [__NR_mmap2]: Make code unconditional.
24988 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24989 (__mmap64) [!__NR_mmap2]: Likewise.
24991 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24993 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24995 2012-08-18 Andreas Jaeger <aj@suse.de>
24997 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24999 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25001 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25002 * include/unistd.h (__have_sock_cloexec): Likewise.
25003 (__have_pipe2): Likewise.
25004 (__have_dup3): Likewise.
25006 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25009 * include/unistd.h (__have_pipe2): Change define into an extern int.
25010 (__have_dup3): Likewise.
25011 * socket/have_sock_cloexec.c: Include fcntl.h.
25012 (__have_pipe2): New variable.
25013 (__have_dup3): Likewise.
25015 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25017 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25019 2012-08-17 Marek Polacek <polacek@redhat.com>
25021 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25022 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25024 2012-08-17 Roland McGrath <roland@hack.frob.com>
25026 * configure.in: Add AC_SUBST for sysheaders.
25027 * configure: Regenerated.
25028 * config.make.in (sysheaders): New substituted variable.
25030 * sysdeps/unix/mkfifo.c: Moved ...
25031 * sysdeps/posix/mkfifo.c: ... here.
25032 * sysdeps/unix/mkfifoat.c: Moved ...
25033 * sysdeps/posix/mkfifoat.c: ... here.
25035 * sysdeps/unix/utime.c: Moved ...
25036 * sysdeps/posix/utime.c: ... here.
25038 * sysdeps/unix/time.c: Moved ...
25039 * sysdeps/posix/time.c: ... here.
25040 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25041 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25043 * sysdeps/unix/nice.c: Moved ...
25044 * sysdeps/posix/nice.c: ... here.
25046 * sysdeps/unix/alarm.c: Moved ...
25047 * sysdeps/posix/alarm.c: ... here.
25049 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25051 2012-08-17 Jeff Law <law@redhat.com>
25053 * intl/Makefile (codeset_mo): New variable.
25054 ($(codeset_mo)): New target.
25055 (tst-codeset.out): Depend on that. Remove explicit rule.
25056 (tst-gettext3.out, tst-gettext5.out): Likewise.
25057 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25058 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25059 * intl/tst-codeset.sh: Remove.
25060 * intl/tst-gettext3.sh: Likewise.
25061 * intl/tst-gettext5.sh: Likewise.
25063 2012-08-17 Roland McGrath <roland@hack.frob.com>
25065 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25066 * sysdeps/unix/syscalls.list: ... here.
25068 * sysdeps/posix/getaddrinfo.c
25069 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25070 (gaiconf_init, gaiconf_reload): Use them.
25071 [!_STATBUF_ST_NSEC]
25072 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25073 Define using time_t rather than struct timespec.
25075 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25076 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25078 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25080 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25081 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25084 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25085 __libc_cleanup_push argument.
25087 * bits/param.h: New file.
25088 * misc/sys/param.h: New file.
25089 * include/sys/param.h: New file.
25090 * misc/Makefile (headers): Add bits/param.h.
25091 * sysdeps/generic/sys/param.h: File removed.
25092 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25093 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25094 * sysdeps/mach/hurd/bits/param.h: New file.
25095 * sysdeps/mach/hurd/sys/param.h: File removed.
25097 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25100 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25102 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25103 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25106 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25107 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25108 rather than -D_IO_MTSAFE_IO conditionally.
25109 * stdio-common/Makefile (CPPFLAGS): Likewise.
25110 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25111 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25112 Use $(libio-mtsafe).
25113 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25114 of -D_IO_MTSAFE_IO.
25115 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25116 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25117 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25118 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25119 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25120 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25121 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25122 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25123 (CFLAGS-fread_u_chk.c): Likewise.
25124 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25125 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25126 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25127 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25128 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25129 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25130 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25131 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25132 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25134 * libio/Makefile: Test [$(libc-reentrant) = yes]
25135 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25138 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25139 * sysdeps/pthread/configure: File removed.
25140 * sysdeps/pthread/Makeconfig: New file.
25141 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25142 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25144 2012-08-16 Gary Benson <gbenson@redhat.com>
25146 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25147 unmapping the first object in a namespace.
25149 2012-08-16 Roland McGrath <roland@hack.frob.com>
25151 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25152 (__internal_setnetgrent): ... this. Add internal_function to
25153 definition. Add libc_hidden_def.
25154 (setnetgrent): Update caller.
25155 (internal_endnetgrent): Renamed to ...
25156 (__internal_endnetgrent): ... this. Add internal_function to
25157 definition. Add libc_hidden_def.
25158 (endnetgrent): Update caller.
25159 (internal_getnetgrent_r): Renamed to ...
25160 (__internal_getnetgrent_r): ... this. Add internal_function to
25161 definition. Add libc_hidden_def.
25162 (__getnetgrent_r): Update caller.
25163 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25165 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25167 * stdlib/longlong.h: Update from GCC.
25169 2012-08-16 Roland McGrath <roland@hack.frob.com>
25171 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25172 on _QL, which is set by umul_ppmm but never used.
25173 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25174 variables, which are set by GMP macros but never used.
25175 * stdio-common/_itowa.c (_itowa): Likewise.
25176 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25177 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25179 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25181 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25182 struct La_sh_regs is not constant.
25183 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25184 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25185 and struct La_sparc64_regs are not constant.
25187 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25189 * sysdeps/unix/sysv/linux/kernel-features.h
25190 (__ASSUME_POSIX_TIMERS): Remove.
25191 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25192 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25193 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25194 Make code unconditional.
25195 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25196 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25197 Make code unconditional.
25198 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25199 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25200 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25202 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25203 Make code unconditional.
25204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25205 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25206 (__libc_missing_posix_timers): Remove.
25208 2012-08-15 Roland McGrath <roland@hack.frob.com>
25210 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25211 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25213 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25215 * elf/dl-sym.c: Include <stdlib.h>.
25217 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25218 constants, which avoids warnings in 32-bit builds.
25220 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25221 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25223 * misc/lseek.c: File moved to ...
25224 * io/lseek.c: ... here.
25226 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25228 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25229 shifting LEN more than 31 bits at once.
25231 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25234 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25235 segmentation fault for a case of two empty input strings.
25236 * string/test-strncasecmp.c (check1): Renamed to...
25237 (bz12205): ...this.
25238 (bz14195): Add new testcase for two empty input strings and N > 0.
25239 (test_main): Call new testcase, adapt for renamed function.
25241 2012-08-15 Andreas Jaeger <aj@suse.de>
25244 * crypt/md5test2.c: New test, based on test supplied by Serge
25245 Belyshev <belyshev@depni.sinp.msu.ru>.
25246 * crypt/Makefile (xtests): Add md5test-giant..
25247 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25249 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25252 * crypt/md5.c (md5_process_block): Don't assume the buffer
25253 length is less than 2**32.
25254 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25255 length is less than 2**64.
25257 2012-08-15 Roland McGrath <roland@hack.frob.com>
25259 * string/str-two-way.h: Include <sys/param.h>.
25260 (MAX): Macro removed.
25262 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25263 Move #define and #undef of memmove to just before and after
25264 including <string.h>.
25266 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25267 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25268 and after including <string.h>. Move declarations of
25269 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25270 to before #include "string/memmove.c".
25272 * include/dirent.h: Declare __getdirentries.
25274 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25275 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25277 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25279 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25280 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25281 * sysdeps/i386/configure: Regenerated.
25282 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25283 STABS_CURRENT_FILE, and STABS_FUN.
25284 (END): Remove call to STABS_FUN_END.
25285 (STABS_CURRENT_FILE1): Delete.
25286 (STABS_CURRENT_FILE): Likewise.
25287 (STABS_FUN): Likewise.
25288 (STABS_FUN_END): Likewise.
25289 (STABS_FUN2): Likewise.
25290 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25291 * sysdeps/x86_64/configure: Regenerated.
25293 2012-08-14 Roland McGrath <roland@hack.frob.com>
25295 * elf/dl-open.c: Include <atomic.h>.
25296 * elf/dl-lookup.c: Likewise.
25298 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25300 * sysdeps/unix/sysv/linux/kernel-features.h
25301 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25302 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25304 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25306 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25307 condition on __ASSUME_CLONE_THREAD_FLAGS.
25309 2012-08-14 Andreas Jaeger <aj@suse.de>
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25313 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25315 * include/atomic.h (atomic_exchange_and_add): Split into ...
25316 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25319 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25323 2012-08-13 Jeff Law <law@redhat.com>
25325 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25326 null byte in the output string.
25328 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25330 * sysdeps/unix/sysv/linux/kernel-features.h
25331 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25332 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25333 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25334 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25335 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25336 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25337 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25339 2012-08-09 Jeff Law <law@redhat.com>
25342 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25343 When avoid_arena is set, don't retry in the that arena. Pick the
25344 next one, whatever it might be.
25345 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25346 (arena_lock): Pass in new parameter to arena_get2.
25347 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25349 (__libc_malloc): Unify retrying after main arena failure with
25350 __libc_memalign version.
25351 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25353 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25356 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25357 to __redirect_strstr.
25358 (__strstr_sse42): Use typeof __redirect_strstr.
25359 (__strstr_ia32): Likewise.
25360 (__libc_strstr): New prototype.
25361 (strstr): Renamed to ...
25362 (__libc_strstr): This.
25363 (strstr): New strong alias of __libc_strstr.
25364 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25365 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25368 (__libc_time): New prototype.
25369 (time_ifunc): Replace time with __libc_time.
25370 (time): New strong alias and hidden definition of __libc_time.
25371 (__GI_time): Remove strong alias.
25372 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25373 Include <stddef.h>.
25374 (memmove): Redefined to __redirect_memmove.
25375 (__memmove_sse2): Use typeof __redirect_memmove.
25376 (__memmove_ssse3): Likewise.
25377 (__memmove_ssse3_back): Likewise.
25378 (__libc_memmove): New prototype.
25379 (memmove): Renamed to ...
25380 (__libc_memmove): This.
25381 (memmove): New strong alias of __libc_memmove.
25383 2012-08-08 Mark Salter <msalter@redhat.com>
25386 (R_MN10300_TLS_GD): Define.
25387 (R_MN10300_TLS_LD): Likewise.
25388 (R_MN10300_TLS_LDO): Likewise.
25389 (R_MN10300_TLS_GOTIE): Likewise.
25390 (R_MN10300_TLS_IE): Likewise.
25391 (R_MN10300_TLS_LE): Likewise.
25392 (R_MN10300_TLS_DTPMOD): Likewise.
25393 (R_MN10300_TLS_DTPOFF): Likewise.
25394 (R_MN10300_TLS_TPOFF): Likewise.
25395 (R_MN10300_SYM_DIFF): Likewise.
25396 (R_MN10300_ALIGN): Likewise.
25397 (R_MN10300_NUM): Update.
25399 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25401 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25404 2012-08-08 Roland McGrath <roland@hack.frob.com>
25406 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25408 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25409 sysdeps/unix -> sysdeps/posix move.
25410 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25412 2012-08-07 Allan McRae <allan@archlinux.org>
25415 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25416 (SUNOS_CPP): Likewise.
25417 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25419 (open_input): Call CPP using execvp.
25421 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25423 * sysdeps/unix/sysv/linux/kernel-features.h
25424 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25425 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25426 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25427 (__ASSUME_WAITID_SYSCALL): Likewise.
25428 * sysdeps/unix/sysv/linux/dl-execstack.c
25429 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25430 code unconditional.
25431 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25433 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25434 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25435 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25437 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25439 [__ASSUME_WAITID_SYSCALL]: Likewise.
25440 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25442 2012-08-07 Roland McGrath <roland@hack.frob.com>
25444 * sysdeps/unix/closedir.c: Renamed to ...
25445 * sysdeps/posix/closedir.c: ... here.
25446 * sysdeps/unix/dirfd.c: Renamed to ...
25447 * sysdeps/posix/dirfd.c: ... here.
25448 * sysdeps/unix/dirstream.h: Renamed to ...
25449 * sysdeps/posix/dirstream.h: ... here.
25450 * sysdeps/unix/fdopendir.c: Renamed to ...
25451 * sysdeps/posix/fdopendir.c: ... here.
25452 * sysdeps/unix/opendir.c: Renamed to ...
25453 * sysdeps/posix/opendir.c: ... here.
25454 * sysdeps/unix/readdir.c: Renamed to ...
25455 * sysdeps/posix/readdir.c: ... here.
25456 * sysdeps/unix/readdir_r.c: Renamed to ...
25457 * sysdeps/posix/readdir_r.c: ... here.
25458 * sysdeps/unix/rewinddir.c: Renamed to ...
25459 * sysdeps/posix/rewinddir.c: ... here.
25460 * sysdeps/unix/seekdir.c: Renamed to ...
25461 * sysdeps/posix/seekdir.c: ... here.
25462 * sysdeps/unix/telldir.c: Renamed to ...
25463 * sysdeps/posix/telldir.c: ... here.
25464 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25465 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25466 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25467 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25469 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25470 * bits/fcntl.h: ... here.
25472 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25474 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25475 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25476 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25477 (struct flock): Move l_start, l_len to the beginning.
25478 Use __pid_t for l_pid.
25479 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25480 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25481 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25482 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25483 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25484 [__USE_LARGEFILE64] (struct flock64): New type.
25485 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25487 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25488 * bits/dirent.h: ... here.
25490 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25491 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25493 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25496 Change from 2.6.0 to 2.6.16.
25497 * sysdeps/unix/sysv/linux/configure: Regenerated.
25498 * sysdeps/unix/sysv/linux/kernel-features.h
25499 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25500 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25502 (__ASSUME_UTIMES): Likewise.
25503 (__ASSUME_CLONE_STOPPED): Remove.
25504 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25505 architectures, not kernel version.
25506 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25507 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25508 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25509 (__ASSUME_WAITID_SYSCALL): Likewise.
25510 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25511 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25512 * README: State 2.6.16 as minimum Linux kernel version. Do not
25513 refer to older versions.
25515 2012-08-06 Roland McGrath <roland@hack.frob.com>
25517 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25518 Define alphasort64 as an alias.
25519 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25520 Define versionsort64 as an alias.
25521 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25522 Define scandir64 as an alias.
25523 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25524 Define scandirat64 as an alias.
25525 * dirent/alphasort64.c (alphasort64):
25526 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25527 * dirent/versionsort64.c: Likewise.
25528 * dirent/scandir64.c: Likewise.
25529 * dirent/scandirat64.c: Likewise.
25530 * sysdeps/wordsize-64/alphasort.c: File removed.
25531 * sysdeps/wordsize-64/alphasort64.c: File removed.
25532 * sysdeps/wordsize-64/scandir.c: File removed.
25533 * sysdeps/wordsize-64/scandir64.c: File removed.
25534 * sysdeps/wordsize-64/scandirat.c: File removed.
25535 * sysdeps/wordsize-64/scandirat64.c: File removed.
25536 * sysdeps/wordsize-64/versionsort.c: File removed.
25537 * sysdeps/wordsize-64/versionsort64.c: File removed.
25538 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25539 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25540 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25541 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25542 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25543 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25544 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25545 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25547 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25549 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25551 [defined __arch64__ || defined __sparcv9]
25552 (__INO_T_MATCHES_INO64_T): New macro.
25553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25554 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25555 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25556 * sysdeps/unix/sysv/linux/bits/dirent.h
25557 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25558 (_DIRENT_MATCHES_DIRENT64): New macro.
25560 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25561 Define lockf64 as an alias.
25562 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25563 Define fseeko64 as an alias.
25564 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25565 Define ftello64 as an alias.
25566 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25567 Define _IO_fgetpos64 and fgetpos64 as aliases.
25568 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25569 Define _IO_fsetpos64 and fsetpos64 as aliases.
25570 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25571 Conditionalize body on this.
25572 * libio/fseeko64.c: Likewise.
25573 * libio/ftello64.c: Likewise.
25574 * libio/iofgetpos64.c: Likewise.
25575 * libio/iofsetpos64.c: Likewise.
25576 * sysdeps/wordsize-64/lockf.c: File removed.
25577 * sysdeps/wordsize-64/lockf64.c: File removed.
25578 * sysdeps/wordsize-64/fseeko.c: File removed.
25579 * sysdeps/wordsize-64/fseeko64.c: File removed.
25580 * sysdeps/wordsize-64/ftello.c: File removed.
25581 * sysdeps/wordsize-64/ftello64.c: File removed.
25582 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25583 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25584 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25585 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25588 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25589 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25590 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25595 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25597 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25599 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25601 [defined __arch64__ || defined __sparcv9]
25602 (__OFF_T_MATCHES_OFF64_T): New macro.
25603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25604 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25606 (__OFF_T_MATCHES_OFF64_T): New macro.
25608 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25610 * stdlib/secure-getenv.c (__secure_getenv): Replace
25611 GLIBC_2_16 with GLIBC_2_17.
25613 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25615 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25618 2012-08-03 David S. Miller <davem@davemloft.net>
25620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25622 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25624 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25626 (__ASSUME_CORRECT_SI_PID): Likewise.
25627 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25628 (__ASSUME_TMPFS_NAME): Likewise.
25629 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25630 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25631 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25632 (HAVE_AUX_SECURE): Make definition unconditional.
25633 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25634 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25636 2012-08-03 Roland McGrath <roland@hack.frob.com>
25638 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25639 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25640 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25641 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25642 __eloop_threshold instead of SYMLOOP_MAX.
25644 * sysdeps/generic/eloop-threshold.h: New file.
25645 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25647 * elf/chroot_canon.c (chroot_canon): Likewise.
25649 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25653 Change to 2.6.0 everywhere.
25654 * sysdeps/unix/sysv/linux/configure: Regenerated.
25655 * sysdeps/unix/sysv/linux/kernel-features.h
25656 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25657 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25659 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25660 (__ASSUME_FUTEX_REQUEUE): Remove.
25661 (__ASSUME_STATFS64): Define unconditionally.
25662 (__ASSUME_AT_SECURE): Likewise.
25663 (__ASSUME_CORRECT_SI_PID): Likewise.
25664 (__ASSUME_TGKILL): Define without depending on kernel version for
25666 (__ASSUME_UTIMES): Likewise.
25667 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25669 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25670 (__ASSUME_TMPFS_NAME): Likewise.
25671 * README: Update reference to Linux kernel versions.
25673 2012-08-02 Marek Polacek <polacek@redhat.com>
25676 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25677 libc_cv_asm_type_prefix with %.
25678 * configure: Regenerated.
25679 * include/libc-symbols.h: Remove comment about
25680 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25681 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25682 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25683 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25684 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25685 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25686 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25687 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25688 * elf/tst-unique2mod1.c: Likewise.
25689 * elf/tst-unique1mod2.c: Likewise.
25690 * elf/tst-unique1mod1.c: Likewise.
25691 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25692 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25693 Replace ASM_TYPE_DIRECTIVE with .type.
25694 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25695 * sysdeps/i386/sysdep.h: Likewise.
25696 * sysdeps/x86_64/sysdep.h: Likewise.
25697 * sysdeps/sh/sysdep.h: Likewise.
25698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25699 Do not define ASM_TYPE_DIRECTIVE.
25700 * sysdeps/powerpc/sysdep.h: Likewise.
25701 * sysdeps/powerpc/powerpc32/sysdep.h:
25702 Replace ASM_TYPE_DIRECTIVE with .type.
25703 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25704 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25705 * sysdeps/i386/fpu/e_powf.S: Likewise.
25706 * sysdeps/i386/fpu/e_expl.S: Likewise.
25707 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25709 * sysdeps/i386/fpu/e_pow.S: Likewise.
25710 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25712 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25713 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25714 * sysdeps/i386/fpu/e_log2.S: Likewise.
25715 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25716 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25717 * sysdeps/i386/fpu/e_powl.S: Likewise.
25718 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25719 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25720 * sysdeps/i386/fpu/e_logl.S: Likewise.
25721 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25722 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25723 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25724 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25725 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25726 * sysdeps/i386/fpu/e_log.S: Likewise.
25727 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25728 * sysdeps/i386/fpu/e_logf.S: Likewise.
25729 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25731 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25732 * sysdeps/i386/fpu/e_log10.S: Likewise.
25733 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25734 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25735 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25736 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25737 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25738 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25739 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25740 * sysdeps/i386/i686/strtok.S: Likewise.
25741 * sysdeps/i386/i386-mcount.S: Likewise.
25742 * sysdeps/i386/strtok.S: Likewise.
25743 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25744 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25745 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25746 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25747 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25748 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25749 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25750 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25751 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25752 * sysdeps/x86_64/_mcount.S: Likewise.
25753 * sysdeps/x86_64/strtok.S: Likewise.
25754 * sysdeps/sh/_mcount.S: Likewise.
25756 2012-08-01 Roland McGrath <roland@hack.frob.com>
25758 * libio/iofopen.c: Include <fcntl.h>.
25759 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25760 (_IO_fopen64, fopen64): Define as aliases.
25761 * libio/iofopen64.c: Include <fcntl.h>.
25762 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25763 Conditionalize body on this.
25764 * sysdeps/wordsize-64/iofopen.c: File removed.
25765 * sysdeps/wordsize-64/iofopen64.c: File removed.
25767 2012-08-01 Marek Polacek <polacek@redhat.com>
25769 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25770 Use dlfcn directly instead of a variable.
25771 (binfmt-subdir): Do not define.
25774 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25777 Remove all definitions.
25778 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25779 <kernel-features.h>.
25780 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25781 (miss_F_GETOWN_EX): Remove all definitions.
25782 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25784 [!__ASSUME_FCNTL64]: Remove conditional code.
25785 [__ASSUME_FCNTL64]: Make code unconditional.
25786 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25787 <kernel-features.h>.
25788 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25789 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25790 (lockf64) [__NR_fcntl64]: Make code unconditional.
25791 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25793 * sysdeps/unix/sysv/linux/kernel-features.h
25794 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25795 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25796 Make code unconditional.
25797 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25798 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25800 [__NR_vfork]: Make code unconditional.
25801 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25802 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25804 [__NR_vfork]: Make code unconditional.
25805 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25806 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25808 2012-08-01 Roland McGrath <roland@hack.frob.com>
25810 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25811 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25813 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25814 Define mkstemp64 as an alias.
25815 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25816 Define mkstemps64 as an alias.
25817 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25818 Define mkostemp64 as an alias.
25819 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25820 Define mkostemps64 as an alias.
25821 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25822 Conditionalize body on this.
25823 * misc/mkostemp64.c: Likewise.
25824 * misc/mkostemps64.c: Likewise.
25825 * misc/mkstemps64.c: Likewise.
25826 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25827 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25828 * sysdeps/wordsize-64/mkostemp.c: File removed.
25829 * sysdeps/wordsize-64/mkstemp.c: File removed.
25830 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25831 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25832 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25833 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25836 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25837 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25838 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25839 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25841 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25842 compat_symbol macros from <shlib-compat.h> rather than the underlying
25843 default_symbol_version and symbol_version macros, so that DEFAULT
25844 lines in shlib-versions are respected.
25845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25847 2012-08-01 Florian Weimer <fweimer@redhat.com>
25849 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25850 Declare with warn_unused_result.
25851 (setgid, setregid, setegid, setresgid): Likewise.
25852 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25854 * WUR-REPORT: Remove set*id functions.
25856 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25858 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25860 2012-07-31 Roland McGrath <roland@hack.frob.com>
25863 * include/sys/socket.h (__libc_accept, __libc_accept4):
25864 Add attribute_hidden.
25865 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25867 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25869 * inet/getnetgrent_r.c (setup): Likewise.
25871 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25873 2012-07-31 David S. Miller <davem@davemloft.net>
25875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25877 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25880 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25881 value between 1.0 and 2.0 and smaller part has absolute value less
25883 * math/s_clog10.c (__clog10): Likewise.
25884 * math/s_clog10f.c (__clog10f): Likewise.
25885 * math/s_clog10l.c (__clog10l): Likewise.
25886 * math/s_clogf.c (__clogf): Likewise.
25887 * math/s_clogl.c (__clogl): Likewise.
25888 * math/libm-test.inc (clog_test): Add more tests.
25889 (clog10_test): Likewise.
25890 * sysdeps/i386/fpu/libm-test-ulps: Update.
25891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25893 2012-07-31 Florian Weimer <fweimer@redhat.com>
25895 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25896 Exit with zero in case no suitable GID is found, and write a
25897 message to standard error.
25899 2012-07-30 Roland McGrath <roland@hack.frob.com>
25901 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25903 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25904 (MAXPATHLEN): Removed.
25905 (NOGROUP, NODEV): New macros.
25906 (setbit, clrbit, isset, isclr): New macros.
25907 (howmany, roundup, powerof2): New macros.
25908 (DEV_BSIZE): New macro.
25910 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25911 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25913 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25914 definition on [!__NO_LONG_DOUBLE_MATH].
25916 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25917 PTR_MANGLE and PTR_DEMANGLE.
25919 * socket/accept4.c (accept4): Rename to __libc_accept4.
25920 Define accept4 as a weak alias.
25922 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25923 on [_DIRENT_HAVE_D_TYPE].
25924 * io/ftw.c (ftw_dir): Likewise.
25926 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25928 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25930 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25931 Use the BSD numbers rather than the arbitrary ones we had.
25932 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25933 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25934 (SIGXCPU, SIGXFSZ): New macros.
25937 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25938 initializer on [_LIBC_REENTRANT].
25940 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25941 definitions inside [_POSIX_MAPPED_FILES].
25943 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25945 * dirent/opendir.c: Include <fcntl.h>.
25947 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25948 (__libc_getspecific): Likewise.
25949 (__libc_key_create): Likewise.
25951 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25952 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25953 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25954 (tmpfile64): Define as alias.
25955 * sysdeps/wordsize-64/tmpfile.c: File removed.
25956 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25957 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25958 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25960 * stdio-common/vfscanf.c: Include <stdbool.h>.
25961 * nss/makedb.c: Likewise.
25962 * stdio-common/_i18n_number.h: Likewise.
25963 * argp/argp-help.c: Likewise.
25964 * posix/wordexp.c: Likewise.
25965 * sysdeps/posix/spawni.c: Likewise.
25966 * nss/nss_files/files-initgroups.c: Likewise.
25967 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25968 * nss/nss_files/files-initgroups.c: Likewise.
25969 * nss/nss_db/db-netgrp.c: Likewise.
25970 * nss/nss_db/db-initgroups.c: Likewise.
25971 * io/fchmodat.c: Include <sys/stat.h>.
25973 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25974 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25976 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25979 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25980 Add multiple inclusion protection.
25982 2012-07-27 David S. Miller <davem@davemloft.net>
25984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25986 2012-07-27 Gary Benson <gbenson@redhat.com>
25989 * elf/rtld.c: Include <stap-probe.h>.
25990 (dl_main): Added static probes "init_start" and "init_complete".
25991 * elf/dl-load.c: Include <stap-probe.h>.
25992 (lose): Take new parameter "nsid".
25993 Added static probe "map_failed".
25994 (_dl_map_object_from_fd): Pass namespace id to lose.
25995 Added static probe "map_start".
25996 (open_verify): Pass namespace id to lose.
25997 * elf/dl-open.c: Include <stap-probe.h>.
25998 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25999 and "reloc_complete".
26000 * elf/dl-close.c: Include <stap-probe.h>.
26001 (_dl_close_worker): Added static probes "unmap_start" and
26003 * elf/rtld-debugger-interface.txt: New file documenting the above.
26005 2012-07-26 Roland McGrath <roland@hack.frob.com>
26007 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26008 rather than a string variable.
26009 * sunrpc/rpc_main.c (h_output): Likewise.
26010 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26012 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26014 * inet/check_native.c: New file.
26016 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26019 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26020 if larger part has absolute value 1.0.
26021 * math/s_clog10.c (__clog10): Likewise.
26022 * math/s_clog10f.c (__clog10f): Likewise.
26023 * math/s_clog10l.c (__clog10l): Likewise.
26024 * math/s_clogf.c (__clogf): Likewise.
26025 * math/s_clogl.c (__clogl): Likewise.
26026 * math/libm-test.inc (clog_test): Add more tests.
26027 (clog10_test): Likewise.
26028 * sysdeps/i386/fpu/libm-test-ulps: Update.
26029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26031 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26032 (pltexit): Likewise.
26033 (La_regs): Likewise.
26034 (La_retval): Likewise.
26035 (int_retval): Likewise.
26036 Update #error for removed macros to refer only to definitions in
26038 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26040 (pltexit): Likewise.
26041 (La_regs): Likewise.
26042 (La_retval): Likewise.
26043 (int_retval): Likewise.
26044 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26046 (pltexit): Likewise.
26047 (La_regs): Likewise.
26048 (La_retval): Likewise.
26049 (int_retval): Likewise.
26050 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26052 (pltexit): Likewise.
26053 (La_regs): Likewise.
26054 (La_retval): Likewise.
26055 (int_retval): Likewise.
26056 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26058 (pltexit): Likewise.
26059 (La_regs): Likewise.
26060 (La_retval): Likewise.
26061 (int_retval): Likewise.
26062 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26064 (pltexit): Likewise.
26065 (La_regs): Likewise.
26066 (La_retval): Likewise.
26067 (int_retval): Likewise.
26068 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26070 (pltexit): Likewise.
26071 (La_regs): Likewise.
26072 (La_retval): Likewise.
26073 (int_retval): Likewise.
26074 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26075 macro definitions in tst-audit.h.
26076 * sysdeps/i386/tst-audit.h: New file.
26077 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26078 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26079 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26080 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26081 * sysdeps/sh/tst-audit.h: Likewise.
26082 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26083 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26084 * sysdeps/x86_64/tst-audit.h: Likewise.
26086 2012-07-26 Andreas Jaeger <aj@suse.de>
26088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26091 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26092 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26093 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26095 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26096 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26097 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26099 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26102 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26104 (si_call_addr, si_syscall, si_arch): Define new macro.
26105 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26107 (si_call_addr, si_syscall, si_arch): Define new marcro.
26108 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26110 (si_call_addr, si_syscall, si_arch): Define new macro.
26111 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26113 (si_call_addr, si_syscall, si_arch): Define new macro.
26115 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26118 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26119 Change to 2.4.21 where previously 2.4.1.
26120 * sysdeps/unix/sysv/linux/configure: Regenerated.
26121 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26122 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26123 Linux kernel version.
26124 (__ASSUME_STD_AUXV): Remove.
26125 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26127 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26128 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26129 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26130 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26131 (__ASSUME_NETLINK_SUPPORT): Likewise.
26132 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26133 (__no_netlink_support): Remove conditional definition.
26134 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26136 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26137 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26138 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26139 (if_nameindex_ioctl): Remove.
26140 (if_nameindex_netlink): Do not handle __no_netlink_support.
26141 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26143 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26144 Remove conditional code.
26145 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26147 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26149 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26150 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26151 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26153 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26154 [!__ASSUME_STD_AUXV]: Remove conditional code.
26155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26156 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26157 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26159 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26160 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26162 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26164 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26165 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26167 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26169 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26172 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26175 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26176 code unconditional.
26177 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26179 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26181 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26184 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26186 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26189 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26190 code unconditional.
26191 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26193 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26195 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26198 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26199 code unconditional.
26200 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26202 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26204 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26207 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26209 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26210 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26211 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26212 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26213 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26214 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26215 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26216 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26217 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26218 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26219 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26220 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26221 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26222 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26224 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26225 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26227 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26229 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26230 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26231 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26233 2012-07-25 Florian Weimer <fweimer@redhat.com>
26235 * Versions.def: Add GLIBC_2.17.
26236 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26237 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26238 Introduce __libc_secure_getenv.
26239 * stdlib/Versions (2.17): Add secure_getenv
26240 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26241 * stdlib/secure-getenv.c: Rename __secure_getenv to
26242 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26243 symbol __secure_getenv for GLIBC_2.0.
26244 * stdlib/tst-secure-getenv.c: New.
26245 * stdlib/Makefile (tests): Add testcase.
26246 * manual/startup.texi (Environment Access): Document
26248 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26249 __libc_secure_getenv.
26250 * inet/ruserpass.c (ruserpass): Likewise.
26251 * malloc/mtrace.c (mtrace): Likewise.
26252 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26253 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26254 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26255 * sysdeps/posix/tempname.c: Likewise. Evaluate
26256 HAVE_SECURE_GETENV.
26257 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26258 __secure_getenv to __libc_secure_getenv.
26259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26272 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26274 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26275 (struct La_i86_retval): Likewise.
26276 (struct La_x86_64_regs): Likewise.
26277 (struct La_x86_64_retval): Likewise.
26278 (struct La_x32_regs): Likewise.
26279 (struct La_x32_retval): Likewise.
26280 (struct La_ppc32_regs): Likewise.
26281 (struct La_ppc32_retval): Likewise.
26282 (struct La_ppc64_regs): Likewise.
26283 (struct La_ppc64_retval): Likewise.
26284 (struct La_sh_regs): Likewise.
26285 (struct La_sh_retval): Likewise.
26286 (struct La_s390_32_regs): Likewise.
26287 (struct La_s390_32_retval): Likewise.
26288 (struct La_s390_64_regs): Likewise.
26289 (struct La_s390_64_retval): Likewise.
26290 (struct La_sparc32_regs): Likewise.
26291 (struct La_sparc32_retval): Likewise.
26292 (struct La_sparc64_regs): Likewise.
26293 (struct La_sparc64_retval): Likewise.
26294 (struct audit_ifaces): Remove architecture-specific pltenter and
26296 * sysdeps/i386/ldsodefs.h: New file.
26297 * sysdeps/powerpc/ldsodefs.h: Likewise.
26298 * sysdeps/s390/ldsodefs.h: Likewise.
26299 * sysdeps/sh/ldsodefs.h: Likewise.
26300 * sysdeps/sparc/ldsodefs.h: Likewise.
26301 * sysdeps/x86_64/ldsodefs.h: Likewise.
26303 2012-07-25 Marek Polacek <polacek@redhat.com>
26306 * math/libm-test.inc (yn_test): Add another test.
26307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26308 to ERANGE when the result is +-Inf.
26309 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26310 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26311 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26312 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26314 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26316 * conform/data/time.h-data (NULL): Use macro-constant. Require
26318 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26320 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26322 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26324 * configure.in <sysdeps resolving>: Correct printing
26326 * configure: Regenerate.
26328 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26330 * math/w_ilogb.c: Include <limits.h>.
26331 * math/w_ilogbl.c: Likewise.
26333 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26335 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26336 va_copy. Document allowing for unavailable va_copy only as
26337 pre-C99 compatibility.
26338 * manual/string.texi (Copying and Concatenation): Use va_copy
26339 instead of __va_copy in concat example.
26341 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26343 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26344 (__sendto): Use create_address_port. Initialize APORT and deallocate
26347 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26348 with O_NOLINK passed to __file_name_lookup.
26350 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26351 with O_NOLINK passed to __file_name_lookup.
26353 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26354 negative N or less than NGIDS.
26356 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26357 type to string_t. Set ERANGE as errno and return it if NAME is not big
26358 enough. Use memcpy instead of strncpy.
26360 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26362 * elf/Makefile (check-data): Remove.
26363 (localplt.data): New vpath directive.
26364 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26365 instead of $(check-data).
26366 * scripts/data/localplt-generic.data: Move to ...
26367 * sysdeps/generic/localplt.data: ... here.
26368 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26369 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26370 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26373 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26376 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26379 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26382 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26385 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26389 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26391 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26392 PPC32 and PPC64 files.
26393 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26394 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26396 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26398 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26399 __makecontext_ret to ...
26400 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26401 ... here and call exit if uc_link is NULL. New file.
26402 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26403 __makecontext_ret.S.
26404 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26405 __makecontext_ret to ...
26406 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26407 ... here and call exit if uc_link is NULL. New file.
26408 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26409 __makecontext_ret.S.
26411 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26413 * elf/elf.h (R_390_IRELATIVE): New definition.
26414 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26415 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26416 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26417 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26418 (elf_machine_lazy_rel): Likewise.
26419 * sysdeps/s390/dl-irel.h: New file.
26420 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26421 * sysdeps/s390/s390-64/memset.S: New asm code.
26422 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26423 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26424 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26425 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26426 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26427 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26428 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26429 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26430 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26431 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26432 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26433 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26434 * sysdeps/s390/s390-32/memset.S: New asm code.
26435 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26437 2012-07-17 Marek Polacek <polacek@redhat.com>
26440 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26441 * sysdeps/s390/s390-64/configure.in: Likewise.
26442 * sysdeps/sparc/configure.in: Likewise.
26443 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26444 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26445 * sysdeps/i386/configure.in: Likewise.
26446 * sysdeps/x86_64/configure.in: Likewise.
26447 * sysdeps/sh/configure.in: Likewise.
26448 * sysdeps/s390/s390-32/configure: Regenerated.
26449 * sysdeps/s390/s390-64/configure: Likewise.
26450 * sysdeps/x86_64/configure: Likewise.
26451 * sysdeps/sh/configure: Likewise.
26452 * sysdeps/powerpc/powerpc64/configure: Likewise.
26453 * sysdeps/powerpc/powerpc32/configure: Likewise.
26454 * sysdeps/sparc/configure: Likwise.
26455 * sysdeps/i386/configure: Likewise.
26457 * elf/dl-open.c: Comment fixes.
26459 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26461 * Makefile [CXX] (check-data): Remove.
26462 [CXX] (c++-types.data): New vpath directive.
26463 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26464 vpath. Do not allow for C++ type data being missing.
26465 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26466 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26467 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26468 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26469 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26470 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26471 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26474 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26477 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26480 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26483 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26486 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26489 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26492 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26495 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26496 definitions to architecture-specific files.
26497 (TLS_IE): Likewise.
26498 (TLS_LD): Likewise.
26499 (TLS_GD): Likewise.
26500 * sysdeps/i386/tls-macros.h: New file.
26501 * sysdeps/powerpc/tls-macros.h: Likewise.
26502 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26503 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26504 * sysdeps/sh/tls-macros.h: Likewise.
26505 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26506 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26507 * sysdeps/x86_64/tls-macros.h: Likewise.
26509 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26511 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26512 zero value for regular exit case.
26514 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26515 (__start_context): Preserve zero value for regular exit case.
26517 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26518 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26520 * manual/setjmp.texi (setcontext): Clarify normal process
26521 termination when uc_link is the null pointer.
26522 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26525 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26527 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26528 preprocessor. Test for each exception mask separately.
26530 2012-07-16 Andreas Jaeger <aj@suse.de>
26532 * po/ru.po: Update from translation team.
26534 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26536 * conform/data/string.h-data (NULL): Use macro-constant. Require
26538 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26539 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26540 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26541 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26544 2012-07-13 Andreas Jaeger <aj@suse.de>
26546 * po/fr.po: Update from translation team.
26548 2012-07-12 Marek Polacek <polacek@redhat.com>
26551 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26552 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26555 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26559 Change to 2.4.1 where previously 2.4.0.
26560 * sysdeps/unix/sysv/linux/configure: Regenerated.
26561 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26562 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26564 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26565 (__ASSUME_AT_CLKTCK): Remove.
26566 (__ASSUME_AT_PAGESIZE): Likewise.
26567 (__ASSUME_AT_XID): Likewise.
26568 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26569 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26570 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26572 (HAVE_AUX_PAGESIZE): Likewise.
26573 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26574 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26575 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26577 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26581 the temporary buffer used to invoke __gethostbyname2_r,
26582 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26583 host_data / struct gaih_addrtuple.
26584 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26585 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26586 header file nss/nsswitch.h.
26587 * nss/nsswitch.h (global scope): Add definition of implementation
26588 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26589 resolv/nss_dns/dns-host.c).
26591 2012-07-11 Andreas Jaeger <aj@suse.de>
26593 * po/fr.po: Update from translation team.
26595 * po/sv.po: Update from translation team
26596 * po/fr.po: Another update from translation team.
26598 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26600 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26601 for subnormals or multiply small sinh result by itself.
26602 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26605 2012-07-11 David S. Miller <davem@davemloft.net>
26607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26609 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26612 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26613 (INTERNAL_MARK): Shift it here.
26615 2012-07-10 Marek Polacek <polacek@redhat.com>
26618 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26619 libc_cv_asm_global_directive with .globl.
26620 * configure: Regenerated.
26621 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26623 * sysdeps/i386/configure: Regenerated.
26624 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26626 * sysdeps/x86_64/configure: Regenerated.
26627 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26628 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26629 * elf/tst-unique2mod2.c: Likewise.
26630 * elf/tst-unique2mod1.c: Likewise.
26631 * elf/tst-unique1mod2.c: Likewise.
26632 * elf/tst-unique1mod1.c: Likewise.
26633 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26634 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26635 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26636 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26637 * sysdeps/mach/sysdep.h: Likewise.
26638 * sysdeps/i386/sysdep.h: Likewise.
26639 * sysdeps/i386/i386-mcount.S: Likewise.
26640 * sysdeps/x86_64/_mcount.S: Likewise.
26641 * sysdeps/x86_64/sysdep.h: Likewise.
26642 * sysdeps/sh/_mcount.S: Likewise.
26643 * sysdeps/sh/sysdep.h: Likewise.
26644 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26645 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26646 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26647 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26648 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26649 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26650 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26651 * locale/localeinfo.h: Likewise.
26652 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26653 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26655 2012-07-09 Roland McGrath <roland@hack.frob.com>
26658 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26660 * manual/message.texi (The Uniforum approach): Likewise.
26661 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26662 (glibc iconv Implementation): Likewise.
26664 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26667 * math/s_clog.c (__clog): Avoid scaling a value down where that
26668 could result in underflow.
26669 * math/s_clog10.c (__clog10): Likewise.
26670 * math/s_clog10f.c (__clog10f): Likewise.
26671 * math/s_clog10l.c (__clog10l): Likewise.
26672 * math/s_clogf.c (__clogf): Likewise.
26673 * math/s_clogl.c (__clogl): Likewise.
26674 * math/libm-test.inc (clog_test): Add more tests.
26675 (clog10_test): Likewise.
26676 * sysdeps/i386/fpu/libm-test-ulps: Update.
26677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26679 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26682 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26683 by 7 not 8 to examine high bit of fractional part.
26686 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26687 for call to __mcount_internal.
26688 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26689 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26690 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26692 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26695 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26696 approximation for values within 0x1p-13f of an odd multiple of
26698 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26699 exception. Add more tests.
26700 * sysdeps/i386/fpu/libm-test-ulps: Update.
26703 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26704 inputs and return -1 for them. Do not check for +Inf in case not
26705 reachable for +Inf.
26706 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26707 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26708 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26709 and return -1 for them. Do not check for +Inf in case not
26710 reachable for +Inf.
26711 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26717 spurious underflow.
26718 * sysdeps/i386/fpu/libm-test-ulps: Update.
26719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26721 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26723 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26725 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26729 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26730 could result in spurious underflow. Scale down values above
26731 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26732 * math/s_csqrtf.c (__csqrtf): Likewise.
26733 * math/s_csqrtl.c (__csqrtl): Likewise.
26734 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26735 spurious underflow.
26736 * sysdeps/i386/fpu/libm-test-ulps: Update.
26737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26739 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26741 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26743 * catgets/xopen-msg.awk: New file.
26744 * catgets/xopen-msg.sed: Removed.
26746 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26748 * intl/po2test.awk: New file.
26749 * intl/po2test.sed: Removed.
26751 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26754 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26755 or multiply small sinh result by itself.
26756 * math/s_ctanf.c (__ctanf): Likewise.
26757 * math/s_ctanh.c (__ctanh): Likewise.
26758 * math/s_ctanhf.c (__ctanhf): Likewise.
26759 * math/s_ctanhl.c (__ctanhl): Likewise.
26760 * math/s_ctanl.c (__ctanl): Likewise.
26761 * math/libm-test.inc (ctan_test_tonearest): New function.
26762 (ctan_test_towardzero): Likewise.
26763 (ctan_test_downward): Likewise.
26764 (ctan_test_upward): Likewise.
26765 (ctanh_test_tonearest): Likewise.
26766 (ctanh_test_towardzero): Likewise.
26767 (ctanh_test_downward): Likewise.
26768 (ctanh_test_upward): Likewise.
26769 (main): Call these new functions.
26770 * sysdeps/i386/fpu/libm-test-ulps: Update.
26771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26773 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26775 * .gitignore: Delete /ports entry.
26777 2012-07-03 Andreas Jaeger <aj@suse.de>
26779 * po/bg.po: Update from translation team.
26780 * po/cs.po: Likewise.
26781 * po/de.po: Likewise.
26782 * po/hr.po: Likewise.
26783 * po/nl.pl: Likewise.
26784 * po/pl.po: Likewise.
26785 * po/vi.po: Likewise.
26787 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26789 * Makeconfig [!+link] (+link-before-libc): New variable.
26790 [!+link] (+link-after-libc): Likewise.
26791 [!+link] (+link-tests): Likewise.
26792 [!+link] (+link): Define in terms of $(+link-before-libc) and
26793 $(+link-after-libc).
26794 [!+link-static] (+link-static-before-libc): New variable.
26795 [!+link-static] (+link-static-after-libc): Likewise.
26796 [!+link-static] (+link-static-tests): Likewise.
26797 [!+link-static] (+link-static): Define in terms of
26798 $(+link-static-before-libc) and $(+link-static-after-libc).
26799 [build-shared] (link-libc-before-gnulib): New variable.
26800 [build-shared] (link-libc-tests): Likewise.
26801 [build-shared] (link-libc): Define in terms of
26802 $(link-libc-before-gnulib).
26803 [!build-shared] (link-libc-tests): New variable.
26804 (link-libc-static-tests): New variable.
26805 [!gnulib] (gnulib-arch): New variable.
26806 [!gnulib] (gnulib-tests): Likewise.
26807 [!gnulib] (static-gnulib-arch): Likewise.
26808 [!gnulib] (static-gnulib-tests): Likewise.
26809 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26810 Define with "=" instead of ":=".
26811 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26812 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26813 * Rules (binaries-all-notests): New variable.
26814 (binaries-all-tests): Likewise.
26815 (binaries-static-notests): Likewise.
26816 (binaries-static-tests): Likewise.
26817 (binaries-all): Define using $(binaries-all-notests) and
26818 $(binaries-all-tests).
26819 (binaries-static): Define using $(binaries-static-notests) and
26820 $(binaries-static-tests).
26821 (binaries-shared-tests): New variable.
26822 (binaries-shared-notests): Likewise.
26823 (binaries-shared): Remove variable.
26824 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26825 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26826 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26827 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26828 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26829 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26830 * elf/Makefile (sln-modules): New variable.
26831 (extra-objs): Add $(sln-modules:=.o).
26832 (ldconfig-modules): Add static-stubs.
26833 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26834 * elf/static-stubs.c: New file.
26837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26838 by 7 not 8 to examine high bit of fractional part. Use volatile
26839 variables when splitting into final array of floats if
26840 __FLT_EVAL_METHOD__ != 0.
26841 * math/libm-test.inc (cos_test): Add another test.
26842 (sin_test): Likewise.
26843 * sysdeps/i386/fpu/libm-test-ulps: Update.
26846 * math/libm-test.inc (cosh_test): Add more tests.
26848 * version.h (RELEASE): Set to "development".
26849 (VERSION): Set to "2.16.90".
26851 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26853 * NEWS: Update copyright. Remove last-updated date.
26854 Mention math library bug fixes and timezone data changes.
26855 * README: Mention GNU/Hurd, x32, and HPPA support status.
26857 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26859 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26861 2012-06-27 Andreas Jaeger <aj@suse.de>
26863 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26865 2012-06-25 Andreas Jaeger <aj@suse.de>
26867 * sysdeps/s390/fpu/libm-test-ulps: Update.
26869 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26870 Thomas Schwinge <thomas@codesourcery.com>
26872 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26873 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26877 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26879 * sysdeps/mach/start.c: Remove file.
26880 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26881 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26882 * sysdeps/sh/init-first.c: Likewise.
26884 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26885 registers for frame unwinding purposes, add CFI directives.
26886 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26887 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26888 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26891 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26892 __fortify_fail returning.
26893 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26895 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26896 sysdeps/sh/____longjmp_chk.S.
26897 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26898 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26899 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26900 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26902 * sysdeps/sh/abort-instr.h: New file.
26903 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26904 process in case exit returns.
26906 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26907 initialize the GOT register before use.
26909 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26910 calculation of ARGC > 4.
26912 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26913 meaningful names to some local labels.
26915 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26916 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26918 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26919 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26920 (__arch_compare_and_exchange_val_16_acq): Likewise.
26921 (__arch_compare_and_exchange_val_32_acq): Likewise.
26922 (atomic_exchange_and_add): Fix gUSA sequence.
26923 (atomic_add): Likewise.
26924 (atomic_add_negative): Likewise.
26925 (atomic_add_zero): Likewise.
26926 (atomic_bit_test_set): Likewise.
26928 2012-06-22 Andreas Schwab <schwab@redhat.com>
26931 * include/link.h (struct link_map): Add l_free_initfini.
26932 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26934 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26935 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26936 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26939 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26941 * configure.in: Use AC_LANG_SOURCE.
26942 * configure: Regenerate.
26944 2012-06-22 Roland McGrath <roland@hack.frob.com>
26946 * configure.in (libc_cv_localstatedir): New substituted variable.
26947 * configure: Regenerated.
26948 * config.make.in (localstatedir): New variable, substituted from
26949 libc_cv_localstatedir.
26950 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26951 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26952 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26953 * sysdeps/gnu/configure: Regenerated.
26955 2012-06-21 Jeff Law <law@redhat.com>
26958 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26959 free. Simplify list management for _LIBC case.
26961 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26964 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26965 Clear sign bit of 64-bit integer value before comparing against
26968 * sysdeps/mach/configure: Regenerated.
26970 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26973 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26975 2012-06-21 Jeff Law <law@redhat.com>
26978 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26979 uint16_t for elements in the "seen" array to avoid char overflows.
26980 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26981 * elf/dl-open.c (dl_open_worker): Likewise.
26983 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26985 * scripts/list-sources.sh: Scan PORTS for translations.
26986 * po/libc.pot: Regenerated.
26988 2012-06-21 Andreas Jaeger <aj@suse.de>
26991 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26993 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26994 * bits/byteswap-16.h (__bswap_16): Likewise.
26995 * bits/byteswap.h (__bswap_constant_16): Likewise.
26997 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27000 * sysdeps/i386/fpu_control.h: Removed.
27001 * sysdeps/x86_64/fpu_control.h: Moved to ...
27002 * sysdeps/x86/fpu_control.h: Here.
27004 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27005 (_FPU_SETCW): Likewise.
27007 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27010 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27011 * sysdeps/x86/fpu/bits/mathinline.h: This.
27012 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27016 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27017 functions if __x86_64__ is defined.
27019 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27021 * string/endian.h: Add !__ASSEMBLER__ condition for including
27022 conversion interfaces.
27024 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27028 of ABS(x) in calculating zero to negative powers other than odd
27030 * math/libm-test.inc (pow_test): Add more tests.
27032 2012-06-15 Andreas Jaeger <aj@suse.de>
27034 * manual/contrib.texi (Contributors): Update entry of Liubov
27035 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27038 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27040 * string/string.h: Add __wur to GNU version of strerror_r.
27042 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27045 * string/Makefile (tests): Add tst-strtok_r.
27046 * string/tst-strtok_r.c: New file.
27047 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27048 RAX_LP/RDX_LP on SAVE_PTR.
27050 2012-06-14 Roland McGrath <roland@hack.frob.com>
27052 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27054 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27056 * libm_test.inc (csqrt_test): Allow more spurious underflow
27058 (j0_test): Likewise.
27059 (j1_test): Likewise.
27060 (y0_test): Likewise.
27061 (y1_test): Likewise.
27063 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27065 * po/Makefile (libc.pot): Use UTF-8 charset.
27067 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27070 Suppress sign-conversion warning from FD_SET.
27071 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27072 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27073 not unsigned long int.
27074 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27076 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27080 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27081 __extern_always_inline instead of __extern_inline.
27082 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27083 (__signbit): Likewise.
27084 (__signbitl): Support C++ namespace.
27085 (lrintf): New inline function.
27087 (llrintf): Likewise.
27088 (llrint): Likewise.
27098 (floorf): Likewise.
27099 (nearbyint): Likewise.
27100 (nearbyintf): Likewise.
27102 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27104 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27105 non-default versions.
27107 2012-06-11 Roland McGrath <roland@hack.frob.com>
27110 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27112 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27114 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27115 (FE_UPWARD, FE_DOWNWARD): Don't define.
27116 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27117 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27119 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27121 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27122 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27124 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27126 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27128 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27129 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27131 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27134 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27135 * sysdeps/i386/fpu/Implies: New file.
27136 * sysdeps/x86_64/fpu/Implies: Likewise.
27137 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27138 * sysdeps/x86/fpu/bits/fenv.h: This.
27140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27143 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27146 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27147 character 0xffff that matches the last element of the
27150 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27155 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27158 values higher than 25.6283.
27160 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27162 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27163 subnormal exponent extraction and add some __builtin_expect.
27164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27165 Fix for subnormal mantissa calculation.
27167 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27169 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27170 cpu2 is -1 and errno is not ENOSYS.
27172 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27175 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27176 * sysdeps/x86/bits/string.h: This.
27177 * sysdeps/x86_64/bits/string.h: Removed.
27179 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27180 if not compiling for x86-64, but compiling for >= i486.
27182 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27183 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27185 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27186 New macro from Linux kernel 3.4.0.
27187 (FP_XSTATE_MAGIC2): Likewise.
27188 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27189 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27190 (struct _fpx_sw_bytes): New struct.
27191 (struct _xsave_hdr): Likewise.
27192 (struct _ymmh_state): Likewise.
27193 (struct _xstate): Likewise.
27195 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27196 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27197 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27198 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27199 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27200 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27202 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27203 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27204 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27205 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27206 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27207 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27209 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27212 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27213 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27214 (sysdep_headers): Include sys/platform/ppc.h.
27215 * sysdeps/powerpc/test-gettimebase.c: Test for
27216 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27217 * manual/Makefile (appendices): Include platform.texi.
27218 * manual/contrib.texi (Contributors): Update @node pointers.
27219 * manual/maint.texi (Maintenance): Likewise.
27220 (Platform): New node.
27221 * manual/platform.texi: New file. Document the new features.
27223 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27224 Jakub Jelinek <jakub@redhat.com>
27227 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27228 where __builtin_expect is unavailable.
27230 2012-06-03 David S. Miller <davem@davemloft.net>
27232 * stdlib/longlong.h: Updated from GCC.
27234 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27237 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27238 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27241 (GLIBC_2.16): Likewise.
27243 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27245 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27247 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27250 (default-abi): New variable.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27252 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27254 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27256 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27258 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27261 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27262 definition. Document in comment.
27264 2012-06-01 David S. Miller <davem@davemloft.net>
27266 * stdlib/longlong.h: Updated from GCC.
27268 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27271 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27272 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27273 sys/debugreg.h sys/io.h here.
27274 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27275 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27277 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27278 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27279 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27280 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27281 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27282 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27284 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27285 Define only if __x86_64__ is defined.
27287 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27291 Use int64_t for variable i.
27292 * math/libm-test.inc (fmod_test): Add more tests.
27294 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27295 z computation is not scheduled after fetestexcept.
27296 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27297 Use math_force_eval instead of asm to ensure calculation scheduled
27298 before exception test.
27299 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27300 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27302 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27305 computation is not scheduled after fetestexcept.
27307 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27310 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27311 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27313 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27315 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27316 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27318 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27321 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27323 (__WCHAR_MIN): Support __WORDSIZE == 64.
27324 (__WCHAR_MAX): Likewise.
27326 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27327 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27331 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27334 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27335 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27337 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27338 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27340 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27341 Defined to 1 if __x86_64__ isn't defined.
27342 (_STAT_VER_LINUX_OLD): New.
27343 (st_atime): Remove duplicate.
27344 (st_mtime): Likewise.
27345 (st_ctime): Likewise.
27347 2012-05-31 David S. Miller <davem@davemloft.net>
27349 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27352 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27354 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27358 * elf/dl-reloc.c: Include <_itoa.h>.
27359 (_dl_reloc_bad_type): Remove use of INTUSE.
27360 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27361 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27362 * stdio-common/psiginfo.c (psiginfo): Likewise.
27363 * stdio-common/psignal.c (psignal): Likewise.
27364 * string/strsignal.c (strsignal): Likewise.
27365 * include/signal.h (_sys_siglist): Declare hidden proto.
27366 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27367 INTVARDEF with libc_hidden_data_def.
27368 * stdio-common/itoa-udigits.c: Likewise.
27369 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27370 (_itoa_lower_digits_internal): Remove declaration.
27371 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27372 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27373 (_sys_sigabbrev_internal): Remove aliases.
27374 (_sys_siglist): Define hidden alias.
27376 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27381 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27384 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27385 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27387 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27388 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27389 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27390 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27392 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27394 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27395 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27396 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27398 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27406 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27408 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27410 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27411 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27412 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27413 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27414 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27415 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27417 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27418 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27420 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27421 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27424 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27427 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27428 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27430 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27432 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27433 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27434 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27436 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27438 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27440 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27442 * math/math.h (M_El): Use two more decimal places.
27443 (M_LOG2El): Likewise.
27444 (M_LOG10El): Likewise.
27445 (M_LN2l): Likewise.
27446 (M_LN10l): Likewise.
27448 (M_PI_2l): Likewise.
27449 (M_PI_4l): Likewise.
27450 (M_1_PIl): Likewise.
27451 (M_2_PIl): Likewise.
27452 (M_2_SQRTPIl): Likewise.
27453 (M_SQRT2l): Likewise.
27454 (M_SQRT1_2l): Likewise.
27456 2012-05-31 David S. Miller <davem@davemloft.net>
27458 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27459 values between float registers.
27460 * sysdeps/sparc/sparc64/memset.S: Likewise.
27461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27463 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27465 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27466 -D_FORTIFY_SOURCE=1.
27467 (CPPFLAGS-tst-longjmp_chk.c): Define.
27468 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27469 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27470 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27471 CFLAGS-tst-wchar-h.c.
27473 2012-05-31 Marek Polacek <polacek@redhat.com>
27476 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27477 __endmntent_internal): Remove declaration.
27478 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27479 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27480 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27482 2012-05-30 David S. Miller <davem@davemloft.net>
27484 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27485 (___Q_simulate_exceptions): Use real FP ops rather than writing
27487 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27490 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27493 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27494 * sysdeps/x86/bits/xtitypes.h: This.
27496 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27497 * sysdeps/x86/bits/wordsize.h: This.
27499 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27500 * sysdeps/x86/bits/huge_vall.h: This.
27502 * sysdeps/i386/bits/select.h: Removed.
27503 * sysdeps/x86_64/bits/select.h: Renamed to ...
27504 * sysdeps/x86/bits/select.h: This.
27506 * sysdeps/i386/bits/setjmp.h: Removed.
27507 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27508 * sysdeps/x86/bits/setjmp.h: This.
27510 * sysdeps/i386/bits/mathdef.h: Removed.
27511 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27512 * sysdeps/x86/bits/mathdef.h: This.
27514 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27517 * include/sys/socket.h (__connect_internal)
27518 (__libc_sa_len_internal): Remove declaration.
27519 (__connect, __libc_sa_len): Declare hidden_proto.
27520 (SA_LEN): Remove use of INTUSE.
27521 * socket/connect.c: Add libc_hidden_def.
27522 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27523 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27524 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27526 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27527 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27528 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27529 of adding _internal alias.
27531 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27534 * sysdeps/i386/bits/link.h: Removed.
27535 * sysdeps/i386/bits/linkmap.h: Likewise.
27536 * sysdeps/x86_64/bits/link.h: Renamed to ...
27537 * sysdeps/x86/bits/link.h: This.
27538 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27539 * sysdeps/x86/bits/linkmap.h: This.
27541 * sysdeps/i386/bits/endian.h: Removed.
27542 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27543 * sysdeps/x86/bits/endian.h: This.
27545 * sysdeps/i386/bits/byteswap.h: Removed.
27546 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27547 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27548 * sysdeps/x86/bits/byteswap.h: This.
27549 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27550 * sysdeps/x86/bits/byteswap-16.h: This.
27551 * sysdeps/i386/Implies: Add x86.
27552 * sysdeps/x86_64/Implies: Likewise.
27554 2012-05-30 David S. Miller <davem@davemloft.net>
27556 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27557 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27558 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27559 (FP_TRAPPING_EXCEPTIONS): Define.
27560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27561 (FP_TRAPPING_EXCEPTIONS): Define.
27562 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27563 subnormals only when inexact has been signalled or underflow
27564 exceptions are enabled.
27565 (_FP_PACK_CANONICAL): Likewise.
27567 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27571 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27573 2012-05-30 Richard Henderson <rth@twiddle.net>
27575 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27576 with #ifndef NOT_IN_libc.
27578 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27579 marked to avoid plt entry.
27581 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27584 * Makeconfig (default-abi): New macro.
27585 (abi-includes): Likewise.
27586 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27587 $(abi-$(default-abi)-lib-soname) for soname if defined.
27588 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27590 * Makefile (installed-stubs): Likewise.
27591 * include/stubs-biarch.h: Removed.
27592 * scripts/lib-names.awk: Only handle one library at a time.
27593 * scripts/soversions.awk: Remove WORDSIZE support.
27594 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27596 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27598 (syscall-list-default-condition): Likewise.
27599 (syscall-list-default-condition): Likewise.
27600 (syscall-list-includes): Likewise.
27601 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27602 syscall-list-* with abi-*. Handle undefined abi-variants.
27603 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27604 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27605 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27606 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27607 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27608 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27610 (syscall-list-32-options): Likewise.
27611 (syscall-list-32-condition): Likewise.
27612 (syscall-list-64-options): Likewise.
27613 (syscall-list-64-condition): Likewise.
27614 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27616 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27619 (abi-64-ld-soname): New macro.
27620 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27621 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27624 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27625 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27627 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27629 * sysdeps/unix/sysv/linux/kernel-features.h
27630 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27631 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27632 include <kernel-features.h>.
27633 [!__NR_ftruncate64]: Remove conditional code.
27634 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27635 [__NR_ftruncate64]: Make code unconditional.
27636 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27637 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27638 include <kernel-features.h>.
27639 [!__NR_ftruncate64]: Remove conditional code.
27640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27641 [__NR_ftruncate64]: Make code unconditional.
27642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27644 include <kernel-features.h>.
27645 [!__NR_ftruncate64]: Remove conditional code.
27646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27647 [__NR_ftruncate64]: Make code unconditional.
27648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27650 include <kernel-features.h>.
27651 [!__NR_ftruncate64]: Remove conditional code.
27652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27653 [__NR_ftruncate64]: Make code unconditional.
27654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27656 * configure.in (libc_cv_fpie): Weaken to a compile test using
27657 LIBC_TRY_CC_OPTION.
27658 * configure: Regenerated.
27660 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27675 2012-05-27 David S. Miller <davem@davemloft.net>
27677 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27679 (__Q_simulate_exceptions): Return void. Change to simulate
27680 exceptions by writing into the %fsr.
27681 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27682 (__Qp_handle_exceptions): Likewise.
27684 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27685 __Qp_handle_exceptions.
27686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27687 __Qp_handle_exceptions.
27688 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27689 as unused and give dummy FP_RND_NEAREST initializer.
27690 (FP_INHIBIT_RESULTS): Define.
27691 (___Q_simulate_exceptions): Update declaration.
27692 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27694 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27695 as unused and give dummy FP_RND_NEAREST initializer.
27696 (__Qp_handle_exceptions): Update declaration.
27697 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27700 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27702 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27703 the temporary FPU control word.
27704 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27705 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27706 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27707 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27708 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27709 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27710 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27711 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27712 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27713 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27714 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27716 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27718 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27721 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27723 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27724 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27725 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27726 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27728 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27729 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27732 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27734 * po/h.po: Update from translation team.
27736 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27738 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27740 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27741 handling of denormals.
27742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27743 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27744 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27745 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27747 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27751 2012-05-26 Marek Polacek <polacek@redhat.com>
27754 * math/libm-test.inc (fma_test): Don't always expect underflow
27757 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27760 * elf/tst-execstack.c: Include stackinfo.h.
27761 (do_test): Adjust test case to ensure that pthread_getattr_np
27762 behaviour remains the same after marking stack executable.
27764 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27766 * sysdeps/unix/sysv/linux/kernel-features.h
27767 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27768 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27770 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27771 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27772 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27774 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27775 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27777 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27779 * configure.in: Define the default includes to being none.
27780 * configure: Regenerated.
27782 2012-05-25 Roland McGrath <roland@hack.frob.com>
27784 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27785 * sysdeps/x86_64/setjmp.S: Likewise.
27786 * sysdeps/i386/bsd-setjmp.S: Likewise.
27787 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27788 * sysdeps/i386/setjmp.S: Likewise.
27789 * sysdeps/i386/__longjmp.S: Likewise.
27790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27791 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27793 * include/stap-probe.h: New file.
27794 * configure.in: Handle --enable-systemtap.
27795 * configure: Regenerated.
27796 * config.h.in (USE_STAP_PROBE): New #undef.
27797 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27798 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27799 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27801 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27805 to 2.4.0 where earlier.
27806 * sysdeps/unix/sysv/linux/configure: Regenerated.
27807 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27808 <kernel-features.h>.
27809 [__ASSUME_32BITUIDS]: Make code unconditional.
27810 [!__ASSUME_32BITUIDS]: Remove conditional code.
27811 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27812 <kernel-features.h>.
27813 [__ASSUME_32BITUIDS]: Make code unconditional.
27814 [!__ASSUME_32BITUIDS]: Remove conditional code.
27815 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27816 [__ASSUME_32BITUIDS]: Make code unconditional.
27817 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27818 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27819 <kernel-features.h>.
27820 [__ASSUME_32BITUIDS]: Make code unconditional.
27821 [!__ASSUME_32BITUIDS]: Remove conditional code.
27822 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27823 <kernel-features.h>.
27824 [__ASSUME_32BITUIDS]: Make code unconditional.
27825 [!__ASSUME_32BITUIDS]: Remove conditional code.
27826 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27827 <kernel-features.h>.
27828 [__ASSUME_32BITUIDS]: Make code unconditional.
27829 [!__ASSUME_32BITUIDS]: Remove conditional code.
27830 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27831 <kernel-features.h>.
27832 [__ASSUME_32BITUIDS]: Make code unconditional.
27833 [!__ASSUME_32BITUIDS]: Remove conditional code.
27834 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27835 <kernel-features.h>.
27836 [__ASSUME_32BITUIDS]: Make code unconditional.
27837 [!__ASSUME_32BITUIDS]: Remove conditional code.
27838 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27839 <kernel-features.h>.
27840 [__ASSUME_32BITUIDS]: Make code unconditional.
27841 [!__ASSUME_32BITUIDS]: Remove conditional code.
27842 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27843 <kernel-features.h>.
27844 [__ASSUME_32BITUIDS]: Make code unconditional.
27845 [!__ASSUME_32BITUIDS]: Remove conditional code.
27846 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27847 <kernel-features.h>.
27848 [__ASSUME_32BITUIDS]: Make code unconditional.
27849 [!__ASSUME_32BITUIDS]: Remove conditional code.
27850 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27851 <kernel-features.h>.
27852 [__ASSUME_32BITUIDS]: Make code unconditional.
27853 [!__ASSUME_32BITUIDS]: Remove conditional code.
27854 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27855 <kernel-features.h>.
27856 [__ASSUME_32BITUIDS]: Make code unconditional.
27857 [!__ASSUME_32BITUIDS]: Remove conditional code.
27858 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27859 <kernel-features.h>.
27860 [__NR_setresgid] (__setresgid): Do not declare.
27861 [__ASSUME_32BITUIDS]: Make code unconditional.
27862 [!__ASSUME_32BITUIDS]: Remove conditional code.
27863 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27864 <kernel-features.h>.
27865 [__NR_setresuid] (__setresuid): Do not declare.
27866 [__ASSUME_32BITUIDS]: Make code unconditional.
27867 [!__ASSUME_32BITUIDS]: Remove conditional code.
27868 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27869 <kernel-features.h>.
27870 [__ASSUME_32BITUIDS]: Make code unconditional.
27871 [!__ASSUME_32BITUIDS]: Remove conditional code.
27872 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27873 <kernel-features.h>.
27874 [__ASSUME_32BITUIDS]: Make code unconditional.
27875 [!__ASSUME_32BITUIDS]: Remove conditional code.
27876 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27877 <kernel-features.h>.
27878 [__ASSUME_32BITUIDS]: Make code unconditional.
27879 [!__ASSUME_32BITUIDS]: Remove conditional code.
27880 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27881 <kernel-features.h>.
27882 [__ASSUME_32BITUIDS]: Make code unconditional.
27883 [!__ASSUME_32BITUIDS]: Remove conditional code.
27884 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27885 <kernel-features.h>.
27886 [__ASSUME_32BITUIDS]: Make code unconditional.
27887 [!__ASSUME_32BITUIDS]: Remove conditional code.
27888 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27889 <kernel-features.h>.
27890 [__ASSUME_32BITUIDS]: Make code unconditional.
27891 [!__ASSUME_32BITUIDS]: Remove conditional code.
27892 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27893 <kernel-features.h>.
27894 [__ASSUME_32BITUIDS]: Make code unconditional.
27895 [!__ASSUME_32BITUIDS]: Remove conditional code.
27896 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27897 <kernel-features.h>.
27898 [__ASSUME_32BITUIDS]: Make code unconditional.
27899 [!__ASSUME_32BITUIDS]: Remove conditional code.
27900 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27901 <kernel-features.h>.
27902 [__ASSUME_32BITUIDS]: Make code unconditional.
27903 [!__ASSUME_32BITUIDS]: Remove conditional code.
27904 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27905 <kernel-features.h>.
27906 [__ASSUME_32BITUIDS]: Make code unconditional.
27907 [!__ASSUME_32BITUIDS]: Remove conditional code.
27908 * sysdeps/unix/sysv/linux/kernel-features.h
27909 (__ASSUME_SETRESUID_SYSCALL): Remove.
27910 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27911 (__ASSUME_32BITUIDS): Likewise.
27912 (__ASSUME_LDT_WORKS): Likewise.
27913 (__ASSUME_O_DIRECTORY): Likewise.
27914 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27915 architecture but not kernel version.
27916 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27917 (__ASSUME_MMAP2_SYSCALL): Likewise.
27918 (__ASSUME_STAT64_SYSCALL): Likewise.
27919 (__ASSUME_IPC64): Likewise.
27920 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27921 <kernel-features.h>.
27922 [__ASSUME_32BITUIDS]: Make code unconditional.
27923 [!__ASSUME_32BITUIDS]: Remove conditional code.
27924 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27925 <kernel-features.h>.
27926 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27927 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27928 132096]: Remove conditional code.
27929 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27931 <kernel-features.h>.
27932 [__ASSUME_32BITUIDS]: Make code unconditional.
27933 [!__ASSUME_32BITUIDS]: Remove conditional code.
27934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27935 <kernel-features.h>.
27936 [__ASSUME_32BITUIDS]: Make code unconditional.
27937 [!__ASSUME_32BITUIDS]: Remove conditional code.
27938 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27939 <kernel-features.h>.
27940 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27942 (__setresgid): Do not declare.
27943 [__ASSUME_32BITUIDS]: Make code unconditional.
27944 [!__ASSUME_32BITUIDS]: Remove conditional code.
27945 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27946 <kernel-features.h>.
27947 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27949 (__setresuid): Do not declare.
27950 [__ASSUME_32BITUIDS]: Make code unconditional.
27951 [!__ASSUME_32BITUIDS]: Remove conditional code.
27952 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27953 <kernel-features.h>.
27954 [__ASSUME_32BITUIDS]: Make code unconditional.
27955 [!__ASSUME_32BITUIDS]: Remove conditional code.
27956 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27957 <kernel-features.h>.
27958 [__ASSUME_32BITUIDS]: Make code unconditional.
27959 [!__ASSUME_32BITUIDS]: Remove conditional code.
27961 2012-05-25 Richard Henderson <rth@twiddle.net>
27963 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27964 dl_hwcap to ifunc resolver.
27965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27967 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27968 dl_hwcap to ifunc resolver.
27969 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27971 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27974 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27975 for |x| <= 2**-26, not 2**-57.
27976 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27979 2012-05-24 Jeff Law <law@redhat.com>
27981 * stdio-common/Makefile (tests): Add bug25.
27982 * stdio-common/bug25.c: New test.
27984 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27987 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27988 multiple of MALLOC_ALIGNMENT in size.
27989 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27991 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27993 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27995 (FILENAME_MAX): Use macro-int-constant.
27996 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27997 (_IOFBF): Use macro-int-constant.
27998 (_IOLBF): Likewise.
27999 (_IONBF): Likewise.
28000 (SEEK_CUR): Likewise.
28001 (SEEK_END): Likewise.
28002 (SEEK_SET): Likewise.
28003 (TMP_MAX): Likewise.
28004 (EOF): Use macro-int-constant. Require < 0.
28005 (NULL): Use macro-constant. Require == 0.
28006 (stdin): Require type to be FILE *.
28007 (stdout): Likewise.
28008 (stderr): Likewise.
28009 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28010 macro-int-constant.
28011 (EXIT_SUCCESS): Likewise.
28012 (NULL): Use macro-constant. Require == 0.
28013 (RAND_MAX): Use macro-int-constant.
28014 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28015 [C99-based standards] (strtof): Require function.
28016 [C99-based standards] (strtold): Likewise.
28017 [C99-based standards] (strtoll): Likewise.
28018 [C99-based standards] (strtoull): Likewise.
28019 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28020 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28021 [ISO || ISO99 || ISO11] (math.h): Likewise.
28022 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28023 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28026 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28029 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28030 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28031 * intl/dgettext.c (DCGETTEXT): Likewise.
28032 * intl/gettext.c (DCGETTEXT): Likewise.
28033 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28034 * posix/regex_internal.h (gettext): Likewise.
28035 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28036 Remove declaration.
28037 * include/argz.h (__argz_count_internal)
28038 (__argz_stringify_internal): Remove declaration.
28039 (__argz_count, __argz_stringify): Declare hidden proto.
28040 * intl/dcgettext.c: Remove use of INTDEF.
28041 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28042 * string/argz-stringify.c: Likewise.
28043 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28044 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28045 Declare hidden proto.
28046 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28047 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28048 Declare hidden proto.
28049 * include/stdio.h (__asprintf_internal): Don't declare.
28050 (__asprintf): Don't define as macro. Declare hidden proto.
28051 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28052 (__fsetlocking): Declare hidden proto.
28053 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28054 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28056 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28057 (_IO_setlinebuf): Remove use of INTUSE.
28058 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28059 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28060 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28061 Remove declaration.
28062 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28063 (_IO_do_flush): Remove use of INTUSE.
28064 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28065 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28066 (_IO_adjust_column, _IO_least_wmarker)
28067 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28068 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28069 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28070 (_IO_default_doallocate, _IO_wdefault_doallocate)
28071 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28072 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28073 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28074 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28075 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28076 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28077 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28078 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28079 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28080 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28081 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28082 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28083 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28085 (_IO_flush_all_internal, _IO_adjust_column_internal)
28086 (_IO_default_uflow_internal, _IO_default_finish_internal)
28087 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28088 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28089 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28090 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28091 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28092 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28093 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28094 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28095 (_IO_file_close_internal, _IO_file_close_it_internal)
28096 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28097 (_IO_file_init_internal, _IO_file_attach_internal)
28098 (_IO_file_fopen_internal, _IO_file_read_internal)
28099 (_IO_file_sync_internal, _IO_file_seek_internal)
28100 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28101 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28102 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28103 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28104 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28105 (_IO_list_all_internal, _IO_link_in_internal)
28106 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28107 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28108 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28109 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28110 (_IO_do_write_internal, _IO_padn_internal)
28111 (_IO_getline_info_internal, _IO_getline_internal)
28112 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28113 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28114 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28115 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28116 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28117 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28118 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28119 with libc_hidden_ver, remove use of INTUSE.
28120 * libio/genops.c: Likewise.
28121 * libio/freopen.c: Likewise.
28122 * libio/freopen64.c: Likewise.
28123 * libio/iofclose.c: Likewise.
28124 * libio/iofdopen.c: Likewise.
28125 * libio/iofflush.c: Likewise.
28126 * libio/iofflush_u.c: Likewise.
28127 * libio/iofgets.c: Likewise.
28128 * libio/iofgets_u.c: Likewise.
28129 * libio/iofopen.c: Likewise.
28130 * libio/iofopncook.c: Likewise.
28131 * libio/iofread.c: Likewise.
28132 * libio/iofread_u.c: Likewise.
28133 * libio/ioftell.c: Likewise.
28134 * libio/iofwrite.c: Likewise.
28135 * libio/iogetline.c: Likewise.
28136 * libio/iogets.c: Likewise.
28137 * libio/iogetwline.c: Likewise.
28138 * libio/iopadn.c: Likewise.
28139 * libio/iopopen.c: Likewise.
28140 * libio/ioseekoff.c: Likewise.
28141 * libio/ioseekpos.c: Likewise.
28142 * libio/iosetbuffer.c: Likewise.
28143 * libio/iosetvbuf.c: Likewise.
28144 * libio/ioungetc.c: Likewise.
28145 * libio/ioungetwc.c: Likewise.
28146 * libio/iovdprintf.c: Likewise.
28147 * libio/iovsprintf.c: Likewise.
28148 * libio/iovsscanf.c: Likewise.
28149 * libio/memstream.c: Likewise.
28150 * libio/obprintf.c: Likewise.
28151 * libio/oldfileops.c: Likewise.
28152 * libio/oldiofclose.c: Likewise.
28153 * libio/oldiofdopen.c: Likewise.
28154 * libio/oldiofopen.c: Likewise.
28155 * libio/oldiopopen.c: Likewise.
28156 * libio/oldstdfiles.c: Likewise.
28157 * libio/putc.c: Likewise.
28158 * libio/setbuf.c: Likewise.
28159 * libio/setlinebuf.c: Likewise.
28160 * libio/stdfiles.c: Likewise.
28161 * libio/strops.c: Likewise.
28162 * libio/vasprintf.c: Likewise.
28163 * libio/vscanf.c: Likewise.
28164 * libio/vsnprintf.c: Likewise.
28165 * libio/vswprintf.c: Likewise.
28166 * libio/wfiledoalloc.c: Likewise.
28167 * libio/wfileops.c: Likewise.
28168 * libio/wgenops.c: Likewise.
28169 * libio/wmemstream.c: Likewise.
28170 * libio/wstrops.c: Likewise.
28171 * libio/__fpurge.c: Likewise.
28172 * libio/__fsetlocking.c: Likewise.
28173 * assert/assert.c: Likewise.
28174 * debug/fgets_chk.c: Likewise.
28175 * debug/fgets_u_chk.c: Likewise.
28176 * debug/fread_chk.c: Likewise.
28177 * debug/fread_u_chk.c: Likewise.
28178 * debug/gets_chk.c: Likewise.
28179 * debug/obprintf_chk.c: Likewise.
28180 * debug/vasprintf_chk.c: Likewise.
28181 * debug/vdprintf_chk.c: Likewise.
28182 * debug/vsnprintf_chk.c: Likewise.
28183 * debug/vsprintf_chk.c: Likewise.
28184 * malloc/mtrace.c: Likewise.
28185 * misc/error.c: Likewise.
28186 * misc/syslog.c: Likewise.
28187 * stdio-common/asprintf.c: Likewise.
28188 * stdio-common/fxprintf.c: Likewise.
28189 * stdio-common/getw.c: Likewise.
28190 * stdio-common/isoc99_fscanf.c: Likewise.
28191 * stdio-common/isoc99_scanf.c: Likewise.
28192 * stdio-common/isoc99_vfscanf.c: Likewise.
28193 * stdio-common/isoc99_vscanf.c: Likewise.
28194 * stdio-common/isoc99_vsscanf.c: Likewise.
28195 * stdio-common/printf-prs.c: Likewise.
28196 * stdio-common/printf_fp.c: Likewise.
28197 * stdio-common/printf_fphex.c: Likewise.
28198 * stdio-common/printf_size.c: Likewise.
28199 * stdio-common/putw.c: Likewise.
28200 * stdio-common/scanf.c: Likewise.
28201 * stdio-common/sprintf.c: Likewise.
28202 * stdio-common/tmpfile.c: Likewise.
28203 * stdio-common/vfprintf.c: Likewise.
28204 * stdio-common/vfscanf.c: Likewise.
28205 * stdlib/strfmon_l.c: Likewise.
28206 * sunrpc/openchild.c: Likewise.
28207 * sunrpc/xdr_stdio.c: Likewise.
28208 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28209 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28211 2012-05-24 Roland McGrath <roland@hack.frob.com>
28213 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28215 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28216 in the third column, to generate for the shared library an IFUNC
28217 that uses _dl_vdso_vsym.
28218 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28219 * Makeconfig (object-suffixes-noshared): New variable.
28221 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28222 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28223 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28224 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28227 * include/sys/time.h (__gettimeofday): Remove macro.
28228 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28229 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28231 (__gettimeofday): Add libc_hidden_def.
28232 (gettimeofday): Add libc_hidden_weak.
28233 * sysdeps/mach/gettimeofday.c: Likewise.
28234 * sysdeps/posix/gettimeofday.c: Likewise.
28235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28236 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28238 (__gettimeofday_internal): Remove strong_alias.
28239 (__gettimeofday): Add libc_hidden_def.
28240 (gettimeofday): Add libc_hidden_weak.
28241 * sysdeps/unix/syscalls.list (gettimeofday):
28242 Remove __gettimeofday_internal alias.
28244 2012-05-24 Daniel Jacobowitz <drow@false.org>
28245 H.J. Lu <hongjiu.lu@intel.com>
28248 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28249 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28250 (largebin_index_32_big): New.
28251 (largebin_index): Use it for 16-byte alignment.
28252 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28253 correction with front_misalign.
28255 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28283 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28284 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28286 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28290 * math/libm-test.inc (exp_test): Add test from bug 14036.
28291 (pow_test): Add test from bug 10846.
28293 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28295 (special_function): Do not include flags in test name.
28296 (parse_args): Likewise.
28297 * sysdeps/i386/fpu/libm-test-ulps: Update.
28298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28299 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28300 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28303 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28305 * math/libm-test.inc ("Philosophy"): Update comment about
28307 (UNDERFLOW_EXCEPTION): New macro.
28308 (UNDERFLOW_EXCEPTION_OK): Likewise.
28309 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28310 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28311 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28312 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28313 (INVALID_EXCEPTION_OK): Update value.
28314 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28315 (OVERFLOW_EXCEPTION_OK): Likewise.
28316 (IGNORE_ZERO_INF_SIGN): Likewise.
28317 (test_exceptions): Handle underflow exceptions.
28318 (acos_test): Update for underflow exception expectations.
28319 (cexp_test): Likewise.
28320 (clog_test): Likewise.
28321 (clog10_test): Likewise.
28322 (csqrt_test): Likewise.
28323 (ctan_test): Likewise.
28324 (ctanh_test): Likewise.
28325 (exp_test): Likewise.
28326 (exp10_test): Likewise.
28327 (exp2_test): Likewise.
28328 (expm1_test): Likewise.
28329 (fma_test): Likewise.
28330 (j0_test): Likewise.
28331 (jn_test): Likewise.
28332 (nexttoward_test): Likewise.
28333 (pow_test): Likewise.
28334 (scalbn_test): Likewise.
28335 (scalbln_test): Likewise.
28336 (tan_test): Likewise.
28337 (y1_test): Likewise.
28338 * sysdeps/i386/fpu/libm-test-ulps: Update.
28339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28341 2012-05-23 David S. Miller <davem@davemloft.net>
28343 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28344 (__libc_sigaction): Remove unused local variables.
28346 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28348 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28350 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28352 mktime: avoid signed integer overflow
28353 * time/mktime.c (__mktime_internal): Do not mishandle the case
28354 where diff == INT_MIN.
28356 mktime: simplify computation of average
28357 * time/mktime.c (ranged_convert): Use new time_t_avg function
28358 instead of rolling our own (probably-slower) code.
28360 mktime: do not assume signed right shift propagates sign bit
28361 * time/mktime.c (isdst_differ): New static function.
28362 (__mktime_internal): No need to normalize tm_isdst now.
28363 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28366 mktime: merge another wrapv change from gnulib
28367 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28368 from some compilers.
28370 mktime: remove incorrect attempt at unusual arithmetics
28371 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28372 The code didn't really work on such machines anyway.
28373 (TYPE_MINIMUM): Assume two's complement.
28374 (twos_complement_arithmetic): Verify that long_int and time_t
28375 are two's complement (or unsigned, in the latter case).
28377 mktime: check signed shifts on long_int and time_t, too
28378 * time/mktime.c (SHR): Check that shifts work as desired
28379 on the types long_int and time_t too, as SHR is used on
28382 mktime: do not assume 'long' is wide enough
28383 * time/mktime.c (verify): Move decl up.
28384 (long_int): New type.
28385 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28386 to remove assumption in the code that 'long' is wide enough to
28387 store year values. This assumption is not true on x32 and on
28388 some non-glibc platforms.
28390 mktime: merge wrapv change from gnulib
28391 * time/mktime.c (WRAPV): New macro.
28392 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28393 (guess_time_tm, __mktime_internal): Do not assume that signed
28394 integer overflow wraps around; modern compilers generate code
28395 where this assumption is no longer valid.
28397 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28399 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28400 Replace "jmp L(pseudo_end)" with "ret".
28401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28404 2012-05-23 Andreas Jaeger <aj@suse.de>
28406 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28407 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28409 2012-05-23 Andreas Jaeger <aj@suse.de>
28410 Maximilian Attems <max@stro.at>
28412 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28415 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28418 code so that pseudo_end is just ret and the stack pointer is
28419 correct also for static library in error case.
28421 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28423 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28424 move to syscalls.list.
28425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28430 * manual/install.texi (Running make install): Do not mention Linux
28431 kernel version for which pt_chown is not needed.
28432 (Linux): Do not mention problems with nscd with 2.0 kernels.
28433 * INSTALL: Regenerated.
28435 2012-05-23 Andreas Jaeger <aj@suse.de>
28437 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28438 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28440 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28441 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28442 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28444 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28445 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28446 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28448 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28450 * sysdeps/unix/sysv/linux/bits/in.h
28451 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28453 2012-05-22 Roland McGrath <roland@hack.frob.com>
28455 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28456 (PREPARE_VERSION): Just use assert instead, it will be elided
28457 under [NDEBUG] anyway.
28459 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28461 * sysdeps/unix/sysv/linux/Makefile: Include
28462 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28463 (sysdep_routines): Remove sysctl.
28464 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28465 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28466 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28467 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28468 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28470 2012-05-22 Andreas Jaeger <aj@suse.de>
28472 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28473 that pseudo_end is just ret and the stack pointer is correct also
28474 for static library in error case.
28476 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28479 * nss/nsswitch.c (defconfig_entries): New variable.
28480 (__nss_database_lookup): Don't leak defconfig entries.
28481 (nss_parse_service_list): Don't leak on error paths.
28482 (free_database_entries): New function.
28483 (free_defconfig): New function.
28484 (free_mem): Move common code to free_database_entries.
28486 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28488 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28490 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28492 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28493 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28496 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28497 (INTERNAL_SYSCALL_TYPES): Likewise.
28498 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28499 (LOAD_REGS_TYPES_[1-6]): Likewise.
28500 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28501 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28503 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28505 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28506 copysignl for GLIBC_2_0.
28507 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28508 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28510 logbl for GLIBC_2_0.
28511 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28512 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28514 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28517 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28519 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28522 * time/mktime.c: Update copyright years.
28524 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28526 mktime: merge comment-quoting-style change from gnulib
28527 * time/mktime.c: Quote 'like this' in comments.
28528 The GNU coding standards suggest that we no longer quote `like this',
28529 as "`" and "'" are typically rendered asymmetrically nowadays.
28530 The typical gnulib style is to quote 'like this' when quoting
28531 code, and "like this" when quoting English.
28533 * time/mktime.c (compile-command): Add "-I.".
28535 mktime: merge mktime-internal.h change from gnulib
28536 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28538 mktime: merge time_r change from gnulib
28539 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28541 mktime: merge DEBUG change from gnulib
28542 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28543 case system <time.h> has a #define.
28545 mktime: merge <sys/types.h> change from gnulib
28546 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28547 since <time.t> is now guaranteed to define time_t.
28549 mktime: merge HAVE_CONFIG_H change from gnulib
28550 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28552 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28557 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28559 (struct rusage): Use anonymous union to pad each field to
28562 2012-05-21 David S. Miller <davem@davemloft.net>
28564 * Makefules (o-iterator): Remove .s cases.
28565 (compile-command.s): Delete.
28566 (COMPILE.s): Delete.
28567 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28569 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28571 * configure.in (libc_cv_predef_stack_protector): Only consider
28572 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28573 * configure: Regenerated.
28575 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28578 New macro. Use R*LP on int and pointer.
28579 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28580 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28581 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28582 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28584 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28585 [__WORDSIZE_TIME64_COMPAT32] instead of
28586 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28587 (struct utmp): Likewise.
28588 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28589 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28591 (__WORDSIZE_TIME64_COMPAT32): This.
28592 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28593 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28594 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28595 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28596 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28597 (__WORDSIZE_TIME64_COMPAT32): New macro.
28599 2012-05-21 Andreas Jaeger <aj@suse.de>
28601 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28602 only if [SHARED]. Add prototype for __wcschr_ia32.
28604 2012-05-21 Roland McGrath <roland@hack.frob.com>
28606 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28607 of %rbp unmolested in the jmp_buf while mangling the low bits.
28608 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28609 unmolested high bits of %rbp while demangling the low bits.
28610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28612 2012-05-21 Andreas Jaeger <aj@suse.de>
28614 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28615 * sunrpc/svc_simple.c: Use it for registerrpc.
28616 * sunrpc/xcrypt.c: Use it for passwd2des.
28618 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28620 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28622 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28623 Don't define if [__SYSCALL_WORDSIZE != 32].
28624 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28627 2012-05-21 Bruno Haible <bruno@clisp.org>
28628 Andreas Jaeger <aj@suse.de>
28630 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28631 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28632 inptr and inend for must_buffer_ch.
28633 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28634 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28635 * stdio-common/Makefile (tests): Remove bug15.
28636 (bug15-ENV): Remove macro.
28637 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28640 2012-05-19 Andreas Jaeger <aj@suse.de>
28641 Roland McGrath <roland@hack.frob.com>
28643 * manual/contrib.texi: Completely rewritten. It contains now an
28644 alphabetical list of contributors and their contributions.
28646 2012-05-21 Richard Henderson <rth@twiddle.net>
28648 * misc/getauxval.c (__getauxval): Use unsigned long int.
28649 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28650 (getauxval): Use unsigned long int.
28652 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28654 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28656 2012-05-21 Roland McGrath <roland@hack.frob.com>
28658 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28659 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28660 __alignof__ (long double).
28662 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28666 2012-05-20 Richard Henderson <rth@twiddle.net>
28668 * misc/getauxval.c: New file.
28669 * misc/sys/auxv.h: New file.
28670 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28671 (routines): Add getauxval.
28672 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28673 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28674 * elf/dl-sysdep.c (_dl_auxv): Remove.
28675 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28676 * elf/dl-support.c (_dl_auxv): New variable.
28677 (_dl_aux_init): Initialize it.
28678 * manual/startup.texi (Auxiliary Vector): New node.
28679 * sysdeps/generic/bits/hwcap.h: New file.
28680 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28681 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28682 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28683 * sysdeps/sparc/sysdep.h: ... here. Include it.
28684 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28697 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28701 2012-05-19 David S. Miller <davem@davemloft.net>
28703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28705 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28708 * math/s_ccosh.c: Include <float.h>
28709 (__ccosh): Avoid internal overflow calculating sinh and cosh
28710 values before multiplying by sin and cos values.
28711 * math/s_ccoshf.c: Likewise.
28712 * math/s_ccoshl.c: Likewise.
28713 * math/s_csin.c: Likewise.
28714 * math/s_csinf.c: Likewise.
28715 * math/s_csinl.c: Likewise.
28716 * math/s_csinh.c: Likewise.
28717 * math/s_csinhf.c: Likewise.
28718 * math/s_csinhl.c: Likewise.
28719 * math/libm-test.inc (ccos_test): Add more tests.
28720 (ccosh_test): Likewise.
28721 (csin_test): Likewise.
28722 (csinh_test): Likewise.
28723 * sysdeps/i386/fpu/libm-test-ulps: Update.
28724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28726 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28728 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28729 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28731 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28733 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28735 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28736 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28737 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28738 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28739 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28740 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28741 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28742 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28743 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28744 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28745 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28746 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28747 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28748 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28749 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28750 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28751 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28752 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28753 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28754 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28755 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28756 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28757 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28758 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28759 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28760 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28761 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28762 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28763 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28764 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28765 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28767 2012-05-18 Andreas Jaeger <aj@suse.de>
28769 * csu/.gitignore: Delete.
28771 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28773 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28774 (timex): Use __syscall_slong_t.
28776 2012-05-18 Andreas Jaeger <aj@suse.de>
28777 Carlos O'Donell <carlos_odonell@mentor.com>
28779 * manual/install.texi (Configuring and compiling): Update
28780 description about files modified in the source directory.
28781 * INSTALL: Regenerated.
28783 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28785 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28786 value. Use "or" to set return value to -1.
28787 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28788 negate return value.
28790 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28792 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28793 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28794 failure if the compiler has Graphite support disabled.
28795 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28797 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28798 (CFLAGS-memmove.c): Likewise.
28799 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28802 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28804 * sysdeps/x86_64/x32/_itoa.h: New file.
28806 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28807 getdents system call only if kernel and user dirents have the
28808 same d_ino and d_off.
28810 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28811 LLONG_MAX != LONG_MAX.
28812 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28813 (_fitoa_word): Likewise.
28815 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28818 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28819 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28822 include <bits/wordsize.h>. Check __x86_64__ instead of
28824 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28825 if __x86_64__ is defined. Use anonymous union on fpstate.
28827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28830 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28832 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28833 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28834 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28835 Refer to _rtld_local_ro instead of _rtld_global_ro.
28836 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28838 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28840 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28842 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28843 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28844 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28846 * sysdeps/powerpc/powerpc32/dl-machine.c
28847 (__elf_machine_runtime_setup) [PROF]: Don't reference
28850 2012-05-18 Andreas Jaeger <aj@suse.de>
28852 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28853 function only available for GCCs before 3.4 since GCC 3.4
28854 introduced a builtin.
28856 (llrintf): Likewise.
28857 (llrint): Likewise.
28864 (nearbyint): Likewise.
28865 (nearbyintf): Likewise.
28869 (floorf): Likewise.
28871 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28873 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28874 on both fields and cast pointer to __syscall_ulong_t.
28876 * bits/types.h (__fsword_t): New type.
28877 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28878 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28880 (__FSWORD_T_TYPE): Likewise.
28881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28882 (__FSWORD_T_TYPE): Likewise.
28883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28884 (__FSWORD_T_TYPE): Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28886 (__FSWORD_T_TYPE): Likewise.
28887 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28888 __SWORD_TYPE with __fsword_t.
28889 (statfs64): Likewise.
28891 2012-05-17 David S. Miller <davem@davemloft.net>
28893 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28895 2012-05-17 Andreas Jaeger <aj@suse.de>
28897 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28900 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28902 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28904 2012-05-17 Andreas Jaeger <aj@suse.de>
28906 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28909 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28911 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28913 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28915 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28916 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28918 2012-05-17 Andreas Jaeger <aj@suse.de>
28919 Carlos O'Donell <carlos_odonell@mentor.com>
28922 * sysdeps/x86_64/multiarch/init-arch.h
28923 (bit_YMM_Usable): Rename to...
28924 (bit_AVX_Usable): ... this.
28925 (bit_FMA4_Usable): New macro.
28926 (bit_XMM_state): New macro.
28927 (bit_YMM_state): New macro.
28928 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28929 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28930 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28931 (CPUID_OSXSAVE): New macro.
28932 (CPUID_AVX): New macro.
28933 (CPUID_FMA4): New macro.
28934 (index_YMM_Usable): Rename to...
28935 (index_AVX_Usable): ... this.
28936 (HAS_AVX): Use HAS_ARCH_FEATURE.
28937 (HAS_FMA4): Likewise.
28938 (HAS_YMM_USABLE): Remove.
28939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28940 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28942 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28943 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28944 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28945 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28946 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28948 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28950 * math/libm-test.c: Support platforms without multiple rounding modes.
28951 * math/bug-nextafter.c: Support platforms without FP exceptions.
28952 * math/bug-nexttoward.c: Likewise.
28953 * math/test-fenv.c: Likewise.
28954 * math/test-misc.c: Likewise.
28955 * stdlib/bug-getcontext.c: Likewise.
28957 2012-05-17 Andreas Jaeger <aj@suse.de>
28959 * manual/examples/search.c (critter_cmp): Change signature to
28961 * manual/string.texi (Collation Functions): Likewise.
28963 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28965 * bits/types.h: Fold copyright years.
28966 * bits/typesizes.h: Likewise.
28967 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28971 * time/time.h: Likewise.
28973 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28976 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28977 in instead of returning them. Return void.
28978 (__libc_mallinfo): Accumulate over all arenas.
28979 (__malloc_stats): Adjust for change in int_mallinfo interface.
28981 2012-05-16 Roland McGrath <roland@hack.frob.com>
28984 * configure.in (NM): Add AC_CHECK_TOOL for it.
28985 (libc_extra_cflags): New substituted variable.
28986 Check for -fstack-protector being used implicitly.
28987 * configure: Regenerated.
28988 * config.make.in (config-extra-cflags): New variable,
28989 gets @libc_extra_cflags@.
28990 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28993 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28994 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28995 * configure: Regenerated.
28996 * config.make.in (CPPUNDEFS): New substituted variable.
28997 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28998 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28999 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29001 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29004 (mq_attr): Use __syscall_slong_t.
29006 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29008 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29009 Check __x86_64__ instead of __WORDSIZE.
29010 (_STAT_VER_LINUX): Likewise.
29011 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29012 __syscall_ulong_t and __syscall_slong_t.
29013 (stat64): Likewise.
29015 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29019 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29021 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29023 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29025 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29028 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29029 include <bits/wordsize.h>. Check __x86_64__ instead of
29031 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29033 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29036 include <bits/wordsize.h>. Check __x86_64__ instead of
29038 (user_regs_struct): Use "__extension__ unsigned long long"
29039 instead of "unsigned long" if __x86_64__ is defined.
29040 (user): Likewise. Pad after pointer field if __ILP32__ is
29043 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29045 * configure.in (makeinfo): Require version 4.5 or later. Allow
29047 * configure: Regenerated.
29048 * manual/install.texi (texinfo): Increase version requirement to
29050 * INSTALL: Regenerated.
29052 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29054 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29056 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29058 * sysdeps/x86_64/x32/ffs.c: New file.
29060 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29062 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29063 defined. Use __syscall_ulong_t.
29064 (shminfo): Use __syscall_ulong_t.
29065 (shm_info): Likewise.
29067 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29070 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29072 (msgqnum_t): Use __syscall_ulong_t.
29073 (msglen_t): Likewise.
29074 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29078 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29080 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29082 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29083 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29085 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29088 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29089 include <bits/wordsize.h>. Check __x86_64__ instead of
29092 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29093 "unsigned long long int" if __x86_64__ is defined.
29094 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29096 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29097 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29098 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29100 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29102 (GET_PC): Cast to uintptr_t first.
29103 (GET_FRAME): Likewise.
29104 (GET_STACK): Likewise.
29106 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29107 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29108 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29109 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29110 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29111 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29112 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29113 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29114 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29115 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29116 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29117 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29119 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29120 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29121 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29122 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29123 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29124 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29125 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29126 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29128 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29130 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29131 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29132 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29133 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29134 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29136 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29138 * Makerules (+depfiles): Also collect depfiles from .oS in
29140 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29141 .oS, $(libnldbl-routines)).
29143 * Makerules (native-compile-mkdep-flags): Define.
29144 * sunrpc/Makefile (extra-objs): Add $(addprefix
29145 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29146 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29147 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29148 calling $(make-target-directory).
29150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29152 * bits/types.h (__snseconds_t): Removed.
29153 * time/time.h (struct timespec): Replace __snseconds_t with
29155 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29156 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29159 (__SNSECONDS_T_TYPE): Likewise.
29160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29161 (__SNSECONDS_T_TYPE): Likewise.
29162 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29163 (__SNSECONDS_T_TYPE): Likewise.
29165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29167 * sysdeps/mach/hurd/bits/typesizes.h
29168 (__SYSCALL_SLONG_TYPE): New macro.
29169 (__SYSCALL_ULONG_TYPE): Likewise.
29171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29173 * bits/types.h (__syscall_slong_t): New type.
29174 (__syscall_ulong_t): Likewise.
29176 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29177 (__SYSCALL_ULONG_TYPE): Likewise.
29178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29179 (__SYSCALL_SLONG_TYPE): Likewise.
29180 (__SYSCALL_ULONG_TYPE): Likewise.
29181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29182 (__SYSCALL_SLONG_TYPE): Likewise.
29183 (__SYSCALL_ULONG_TYPE): Likewise.
29184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29185 (__SYSCALL_SLONG_TYPE): Likewise.
29186 (__SYSCALL_ULONG_TYPE): Likewise.
29188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29190 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29191 Add sigaltstack-offsets.sym.
29192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29193 <sigaltstack-offsets.h>.
29194 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29195 longjmp_msg pointer.
29196 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29197 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29199 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29201 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29203 * elf/stackguard-macros.h: Remove file.
29204 * sysdeps/generic/stackguard-macros.h: New file.
29205 * sysdeps/i386/stackguard-macros.h: Likewise.
29206 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29207 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29208 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29209 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29210 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29211 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29212 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29213 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29214 <elf/stackguard-macros.h>.
29217 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29218 __aligned__ in attribute.
29219 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29220 (gregset_t): Likewise.
29222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29224 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29225 * sysdeps/x86_64/64/Implies-after: Here. New file.
29226 * sysdeps/x86_64/x32/Implies-after: New file.
29228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29230 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29231 and access return value for _dl_profile_fixup. Use R10_LP to
29234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29236 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29240 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29241 * sysdeps/x86_64/x32/sysdep.h: New file.
29243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29245 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29246 * sysdeps/x86_64/setjmp.S: Likewise.
29248 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29250 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29251 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29252 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29253 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29254 remove unused global constant.
29256 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29258 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29259 include of <not-cancel.h>.
29261 2012-05-15 Roland McGrath <roland@hack.frob.com>
29263 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29265 2012-05-15 Jeff Law <law@redhat.com>
29266 Andreas Jaeger <aj@suse.de>
29269 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29271 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29272 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29273 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29274 code changing __hst_map_handle.map.
29276 2012-05-15 Roland McGrath <roland@hack.frob.com>
29278 * configure.in (sysnames): Look for Implies-before and Implies-after
29280 * configure: Regenerated.
29282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29284 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29285 8-byte data alignment with LP_SIZE alignment.
29287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29289 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29294 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29298 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29299 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29300 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29306 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29307 (stackinfo_sub_sp): Likewise.
29309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29311 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29326 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29330 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29331 into R11_LP and load __x86_64_shared_cache_size_half into
29334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29336 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29339 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29347 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29348 powerpc32/power7/fpu/s_logb.c via #include.
29349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29350 powerpc32/power7/fpu/s_logbf.c via #include.
29351 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29352 powerpc32/power7/fpu/s_logbl.c via #include.
29354 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29356 * README.libm: Remove file.
29358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29360 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29361 count for x32. Use R*_LP and omit operand-size suffix.
29363 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29365 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29366 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29367 * sysdeps/x86_64/x32/shlib-versions: New file.
29369 2012-05-14 Roland McGrath <roland@hack.frob.com>
29371 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29372 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29373 Use _dl_fatal_printf instead.
29375 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29377 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29378 set if not set by the user. Do not allow for being unset.
29379 * sysdeps/unix/sysv/linux/configure: Regenerated.
29381 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29383 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29384 the `q' suffix from lea and replace .quad with ASM_ADDR.
29386 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29389 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29391 (PTR_DEMANGLE): Likewise.
29393 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29395 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29397 (ASM_ADDR): Likewise.
29398 (RAX_LP): Likewise.
29399 (RBP_LP): Likewise.
29400 (RBX_LP): Likewise.
29401 (RCX_LP): Likewise.
29402 (RDI_LP): Likewise.
29403 (RSI_LP): Likewise.
29404 (RSP_LP): Likewise.
29407 (R10_LP): Likewise.
29408 (R10_LP): Likewise.
29409 (R11_LP): Likewise.
29410 (R12_LP): Likewise.
29411 (R13_LP): Likewise.
29412 (R14_LP): Likewise.
29413 (R15_LP): Likewise.
29415 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29417 * sysdeps/x86_64/x32/dl-machine.h: New file.
29419 2012-05-14 Andreas Jaeger <aj@suse.de>
29421 * manual/Makefile (subdir): Remove export of subdir.
29422 (all): Remove target.
29423 (.PHONY): Remove all from list.
29424 (mkinstalldirs): Remove.
29425 (.PHONY): Remove installdirs from list.
29426 ($(inst_infodir)/libc.info): Use make-target-directory.
29427 (installdirs): Remove.
29428 (subdir_%): Remove.
29429 (glibc-targets): Remove.
29432 ($(objpfx)stubs ../po/manual.pot): Remove.
29433 ($(objpfx)stamp%): Remove.
29434 (make-target-directory): Remove.
29435 (subdir_install): Remove.
29436 (routines): Remove.
29443 * manual/.gitignore: Remove, it's not needed anymore.
29444 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29446 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29448 (texis): Renamed to $(objpfx)texis.
29449 (texis-path): New, contains path to generated files.
29450 (chapters.%): Use texis-path for complete path, add extra argument
29452 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29453 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29454 (summary,texi, stamp-summary): Use complete path of
29455 files. Generate files in build dir.
29456 (dir-add.texi): Build in build dir.
29457 (libm-err.texi,stamp-libm-err): Likewise.
29458 (version.texi, stamp-version): Likewise.
29459 (.%c.texi): Likewise.
29460 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29461 (mostlyclean): Remove target.
29462 (realclean): Remove target.
29463 (generated): Add new variable with contents from mostlyclean and
29464 realclean, remove entries duplicated in common-mostlyclean, add
29465 stamp-libm-err and stamp-version.
29466 (generated-dirs): Add libc directory.
29467 ($(inst_infodir)/libc.info): Install files from build dir.
29469 * manual/install.texi (Configuring and compiling): Adjust since
29470 the info files are not part of the tar ball anymore.
29472 2012-05-14 Andreas Jaeger <aj@suse.de>
29474 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29477 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29481 to 2.2.0 where earlier.
29482 * sysdeps/unix/sysv/linux/configure: Regenerated.
29483 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29484 Remove conditional code.
29485 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29486 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29487 Remove conditional code.
29488 [!__NR_lchown]: Likewise.
29489 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29490 [__NR_lchown]: Likewise.
29491 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29492 comment referencing __ASSUME_LCHOWN_SYSCALL.
29493 * sysdeps/unix/sysv/linux/i386/sigaction.c
29494 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29495 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29496 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29497 Remove conditional code.
29498 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29499 (__protocol_available): Remove #if 0 code.
29500 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29502 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29503 * sysdeps/unix/sysv/linux/kernel-features.h
29504 (__ASSUME_GETCWD_SYSCALL): Don't define.
29505 (__ASSUME_REALTIME_SIGNALS): Likewise.
29506 (__ASSUME_PREAD_SYSCALL): Likewise.
29507 (__ASSUME_PWRITE_SYSCALL): Likewise.
29508 (__ASSUME_POLL_SYSCALL): Likewise.
29509 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29510 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29512 (__ASSUME_SIOCGIFNAME): Don't define.
29513 (__ASSUME_MSG_NOSIGNAL): Likewise.
29514 (__ASSUME_SENDFILE): Define unconditionally.
29515 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29516 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29518 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29519 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29520 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29521 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29522 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29523 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29524 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29526 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29529 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29535 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29538 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29541 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29547 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29549 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29550 Remove conditional code.
29551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29552 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29553 Remove conditional code.
29554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29555 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29556 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29557 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29558 Remove conditional code.
29559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29560 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29561 Remove conditional code.
29562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29563 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29564 Remove conditional code.
29565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29566 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29567 Remove conditional code.
29568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29569 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29570 Remove conditional code.
29571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29572 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29575 * sysdeps/unix/sysv/linux/sigaction.c
29576 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29577 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29578 * sysdeps/unix/sysv/linux/sigpending.c
29579 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29580 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29581 * sysdeps/unix/sysv/linux/sigprocmask.c
29582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29584 * sysdeps/unix/sysv/linux/sigsuspend.c
29585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29588 (__libc_missing_rt_sigs): Remove.
29589 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29590 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29591 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29592 Remove conditional code.
29593 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29594 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29596 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29597 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29598 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29599 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29601 2012-05-14 Andreas Jaeger <aj@suse.de>
29603 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29604 it's not used in glibc.
29605 (__coshm1): Likewise.
29606 (__acosh1p): Likewise.
29609 * manual/string.texi (Copying and Concatenation): Add missing
29610 variable in concat example.
29611 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29613 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29617 __builtin_clzl with __builtin_clzll.
29619 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29622 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29625 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29627 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29628 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29629 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29630 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29632 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29634 * NEWS: Update ia64 info.
29636 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29638 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29641 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29643 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29644 * sysdeps/unix/syscalls.list (dup3): Likewise.
29645 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29646 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29648 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29650 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29651 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29653 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29655 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29657 (TLS_IE): Use mov/add instead of movq/addq to load thread
29659 (TLS_GD_PREFIX): New.
29662 2012-05-11 David S. Miller <davem@davemloft.net>
29664 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29665 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29666 (_FPU_SETCW): Likewise.
29668 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29670 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29671 is 32-byte aligned.
29673 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29676 * iconvdata/gb18030.c: Update tables.
29677 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29678 characters specially.
29679 (BODY for TO_LOOP): Add encoding of missing ranges.
29681 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29684 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29685 * sysdeps/mach/hurd/dup3.c: Likewise.
29686 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29687 * sysdeps/powerpc/memmove.c:: Likewise.
29689 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29692 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29694 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29696 * elf/elf.h (R_X86_64_RELATIVE64): New.
29697 (R_X86_64_NUM): Updated.
29698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29699 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29700 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29701 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29702 tst-quad1pie tst-quad2pie
29703 (modules-names): Add tst-quadmod1 tst-quadmod2.
29704 ($(objpfx)tst-quad1): New dependency.
29705 ($(objpfx)tst-quad2): Likewise.
29706 ($(objpfx)tst-quad1pie): Likewise.
29707 ($(objpfx)tst-quad2pie): Likewise.
29708 * sysdeps/x86_64/tst-quad1.c: New file.
29709 * sysdeps/x86_64/tst-quad1pie.c: New file.
29710 * sysdeps/x86_64/tst-quad2.c: Likewise.
29711 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29712 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29713 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29714 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29715 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29717 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29719 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29720 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29721 * streams/stropts.h (t_scalar_t): Define type.
29723 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29724 (_PATH_PRESERVE): Set to "/var/lib".
29725 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29727 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29730 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29731 if __dir_mkfile succeeded.
29733 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29734 checking for _hurd_dtablesize. Unlock it right after having
29735 finished _hurd_dtable allocation.
29737 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29739 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29740 * sysdeps/mach/hurd/configure: Regenerated.
29741 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29742 special-casing to...
29743 * sysdeps/gnu/configure.in: ... this new file.
29744 * sysdeps/unix/sysv/linux/configure: Regenerated.
29745 * sysdeps/gnu/configure: New generated file.
29747 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29748 for Linux: use nsec instead of usec, as well as:
29749 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29750 members of type struct timespec.
29751 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29753 (struct stat64): Likewise.
29754 (_STATBUF_ST_NSEC): New macro.
29755 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29757 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29758 __strtoul_internal rather than strtoul.
29760 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29762 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29765 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29767 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29768 which preserves existing values.
29769 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29771 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29773 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29774 TIMEOUT values. Return EINVAL for NFDS values either negative or
29775 greater than FD_SETSIZE.
29777 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29779 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29780 allocated, call __vm_protect to finish enabling the existing space, and
29781 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29782 allocate the remainder.
29784 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29786 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29787 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29791 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29792 sysdeps/mach/hurd/readlink.c.
29794 * posix/tst-sysconf.c (posix_options): Only use
29795 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29796 _POSIX_SYNCHRONIZED_IO when they are defined
29797 * sysdeps/mach/hurd/bits/posix_opt.h:
29798 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29799 (_XOPEN_REALTIME): Undefine macro.
29800 (_XOPEN_REALTIME_THREADS): Undefine macro.
29801 (_XOPEN_SHM): Undefine macro.
29802 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29804 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29806 (_POSIX_ASYNC_IO): Undefine macro.
29807 (_POSIX_PRIORITIZED_IO): Undefine macro.
29808 (_POSIX_SPIN_LOCKS): Define macro to -1.
29810 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29811 SA_NODEFER, SA_RESETHAND.
29812 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29813 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29816 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29818 * elf/Makefile (pldd-modules): Define unconditionally.
29820 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29822 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29824 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29826 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29827 Return ENOENT when name is empty.
29828 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29830 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29832 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29834 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29838 Fix mlock in all cases except non-readable pages.
29839 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29840 instead of VM_PROT_ALL as parameter to __vm_wire function.
29842 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29843 (__mkdir): When path is `/', just fail with EEXIST.
29844 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29848 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29849 <sys/uio.h> (for writev).
29850 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29851 and <sys/param.h> (for MIN).
29853 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29855 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29856 REQUESTED_TIME. Properly set the remaining time and return EINTR
29859 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29861 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29862 Depend on against $(link-rpcuserlibs).
29864 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29866 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29867 (__libc_stack_end): Do not use attribute_relro.
29868 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29869 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29870 to libthread-provided value.
29871 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29874 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29877 * bits/libc-lock.h (__libc_once_get): New macro.
29878 * sysdeps/mach/bits/libc-lock.h: Likewise.
29879 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29881 instead of using implementation details.
29883 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29884 * libio/freopen.c: Likewise.
29885 * libio/freopen64.c: Likewise.
29886 * misc/syslog.c: Likewise.
29887 * nscd/connections.c: Likewise.
29888 * nscd/netgroupcache.c: Likewise.
29889 * sysdeps/posix/getcwd.c: Likewise.
29891 2012-05-10 Roland McGrath <roland@hack.frob.com>
29893 * math/w_ilogbf.c: Add #include <limits.h>.
29895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29897 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29898 path instead of returning without unlocking.
29900 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29901 immediate-write ioctls.
29902 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29904 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29906 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29907 __builtin_frame_address instead of making assumptions about the
29908 location of the return address relative to DATA. Force early load of
29909 the return address.
29910 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29911 __builtin_frame_address.
29914 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29915 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29916 implement dup3 and do some further code clean-ups.
29917 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29918 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29920 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29922 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29924 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29925 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29926 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29927 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29928 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29931 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29932 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29933 when handler == SIG_ERR, not when handler != SIG_ERR.
29935 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29937 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29938 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29941 accept4 for GNU Hurd.
29942 * include/sys/socket.h (__libc_accept4): New prototype.
29943 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29944 to implement __libc_accept4.
29945 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29947 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29949 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29950 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29951 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29952 signal-defines.sym.
29954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29956 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29958 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29960 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29961 assertion on O_CLOEXEC flag.
29962 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29963 * hurd/intern-fd.c: Likewise.
29964 * hurd/port2fd.c: Likewise.
29966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29969 * bits/in.h (IPV6_PKTINFO): Define new macro.
29970 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29972 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29977 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29978 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29979 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29980 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29982 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29983 * math/libm-test.inc (logb_test) : Additional logb tests.
29985 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29986 Andreas Jaeger <aj@suse.de>
29988 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29989 * configure: Regenerated.
29990 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29991 * config.make.in (link-obsolete-rpc): New substituted variable.
29992 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29993 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29994 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29995 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29996 so that libc.a contains the symbols.
29997 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29998 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29999 * sunrpc/auth_none.c: Likewise.
30000 * sunrpc/auth_unix.c: Likewise.
30001 * sunrpc/authdes_prot.c: Likewise.
30002 * sunrpc/authuxprot.c: Likewise.
30003 * sunrpc/clnt_gen.c: Likewise.
30004 * sunrpc/clnt_perr.c: Likewise.
30005 * sunrpc/clnt_raw.c: Likewise.
30006 * sunrpc/clnt_simp.c: Likewise.
30007 * sunrpc/clnt_tcp.c: Likewise.
30008 * sunrpc/clnt_udp.c: Likewise.
30009 * sunrpc/clnt_unix.c: Likewise.
30010 * sunrpc/des_crypt.c: Likewise.
30011 * sunrpc/des_soft.c: Likewise.
30012 * sunrpc/get_myaddr.c: Likewise.
30013 * sunrpc/key_call.c: Likewise.
30014 * sunrpc/key_prot.c: Likewise.
30015 * sunrpc/netname.c: Likewise.
30016 * sunrpc/pm_getmaps.c: Likewise.
30017 * sunrpc/pm_getport.c: Likewise.
30018 * sunrpc/pmap_clnt.c: Likewise.
30019 * sunrpc/pmap_prot.c: Likewise.
30020 * sunrpc/pmap_prot2.c: Likewise.
30021 * sunrpc/pmap_rmt.c: Likewise.
30022 * sunrpc/publickey.c: Likewise.
30023 * sunrpc/rpc_cmsg.c: Likewise.
30024 * sunrpc/rpc_common.c: Likewise.
30025 * sunrpc/rpc_dtable.c: Likewise.
30026 * sunrpc/rpc_prot.c: Likewise.
30027 * sunrpc/rpc_thread.c: Likewise.
30028 * sunrpc/rtime.c: Likewise.
30029 * sunrpc/svc.c: Likewise.
30030 * sunrpc/svc_auth.c: Likewise.
30031 * sunrpc/svc_raw.c: Likewise.
30032 * sunrpc/svc_run.c: Likewise.
30033 * sunrpc/svc_tcp.c: Likewise.
30034 * sunrpc/svc_udp.c: Likewise.
30035 * sunrpc/svc_unix.c: Likewise.
30036 * sunrpc/svcauth_des.c: Likewise.
30037 * sunrpc/xcrypt.c: Likewise.
30038 * sunrpc/xdr.c: Likewise.
30039 * sunrpc/xdr_array.c: Likewise.
30040 * sunrpc/xdr_float.c: Likewise.
30041 * sunrpc/xdr_intXX_t.c: Likewise.
30042 * sunrpc/xdr_mem.c: Likewise.
30043 * sunrpc/xdr_rec.c: Likewise.
30044 * sunrpc/xdr_ref.c: Likewise.
30045 * sunrpc/xdr_sizeof.c: Likewise.
30046 * sunrpc/xdr_stdio.c: Likewise.
30048 2012-05-10 Roland McGrath <roland@hack.frob.com>
30050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30051 change. Update copyright years.
30053 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30055 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30057 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30058 Joseph Myers <joseph@codesourcery.com>
30059 Paul Pluzhnikov <ppluzhnikov@google.com>
30062 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30064 [cross-compiling] (extra-libs): Likewise.
30065 [cross-compiling] (extra-libs-others): Likewise.
30066 [cross-compiling] (librpcsvc-routines): Likewise.
30067 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30068 [cross-compiling] (omit-deps): Likewise.
30069 (sunrpc-CPPFLAGS): New variable.
30070 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30071 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30072 (cross-rpcgen-objs): New variable.
30073 (extra-objs): Append $(cross-rpcgen-objs).
30074 ($(cross-rpcgen-objs)): New rule.
30075 ($(objpfx)cross-rpcgen): Likewise.
30076 (rpcgen-cmd): Define to use $(built-program-file). Expand
30078 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30079 ($(objpfx)x%.stmp): Likewise.
30080 * sunrpc/proto.h [IS_IN_build] (_): Define.
30081 [IS_IN_build] (_libc_intl_domainname): Likewise.
30083 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30086 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30087 and R_X86_64_TPOFF64.
30089 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30091 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30092 sysdeps/unix/sysv/syscalls.list.
30095 * sysdeps/unix/sysv/syscalls.list: Remove file.
30097 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30100 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30101 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30102 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30103 (__LC_IDENTIFICATION): Make these macros useful in #if
30104 expressions, as required by C99.
30106 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30108 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30109 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30112 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30114 * stdlib/longlong.h: Updated from GCC.
30116 2012-05-09 Andreas Jaeger <aj@suse.de>
30118 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30119 default is first entry.
30120 (run_mode): Set type.
30121 (main): Remove informal message about syslog.
30122 (options): Fix typo.
30125 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30128 (llrintf): Likewise.
30129 (llrint): Likewise.
30132 (nearbyint): Likewise.
30133 (nearbyintf): Likewise.
30135 2012-05-09 Andreas Jaeger <aj@suse.de>
30136 Pedro Alves <palves@redhat.com>
30138 * nscd/nscd.c (run_mode): Use enum.
30139 (main): Cleanup coding style issue.
30141 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30142 Andreas Jaeger <aj@suse.de>
30144 * nscd/nscd.c (go_background): Replaced with...
30145 (run_mode): ... this.
30146 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30147 (options): Add -F --foreground.
30148 (main): Implement it.
30149 (parse_opt): Parse it.
30151 2012-05-09 Andreas Jaeger <aj@suse.de>
30154 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30155 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30156 -Wconversion warning.
30157 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30160 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30162 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30164 (LC_ALL): Use macro-int-constant.
30165 (LC_COLLATE): Likewise.
30166 (LC_CTYPE): Likewise.
30167 (LC_MESSAGES): Likewise.
30168 (LC_MONETARY): Likewise.
30169 (LC_NUMERIC): Likewise.
30170 (LC_TIME): Likewise.
30171 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30172 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30174 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30176 [C99-based standards] (float_t): Expect type.
30177 [C99-based standards] (double_t): Expect type.
30178 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30180 [C99-based standards] (HUGE_VALL): Likewise.
30181 [C99-based standards] (INFINITY): Likewise.
30182 [C99-based standards] (NAN): Likewise.
30183 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30184 [C99-based standards] (FP_NAN): Likewise.
30185 [C99-based standards] (FP_NORMAL): Likewise.
30186 [C99-based standards] (FP_SUBNORMAL): Likewise.
30187 [C99-based standards] (FP_ZERO): Likewise.
30188 [C99-based standards] (FP_FAST_FMA): Use
30189 optional-macro-int-constant. Specify type. Require == 1.
30190 [C99-based standards] (FP_FAST_FMAF): Likewise.
30191 [C99-based standards] (FP_FAST_FMAL): Likewise.
30192 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30193 [C99-based standards] (FP_ILOGBNAN): Likewise.
30194 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30196 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30197 [C99-based standards] (math_errhandling): Specify type.
30198 [ISO99 || ISO11] (signgam): Do not allow.
30199 [non-C99-based standards] (copysignf): Do not allow.
30200 [non-C99-based standards] (exp2f): Likewise.
30201 [non-C99-based standards] (log2f): Likewise.
30202 [non-C99-based standards] (modff): Allow.
30203 [non-C99-based standards] (erff): Do not allow.
30204 [non-C99-based standards] (erfcf): Likewise.
30205 [non-C99-based standards] (gammaf): Likewise.
30206 [non-C99-based standards] (hypotf): Likewise.
30207 [non-C99-based standards] (j0f): Likewise.
30208 [non-C99-based standards] (j1f): Likewise.
30209 [non-C99-based standards] (jnf): Likewise.
30210 [non-C99-based standards] (lgammaf): Likewise.
30211 [non-C99-based standards] (tgammaf): Likewise.
30212 [non-C99-based standards] (y0f): Likewise.
30213 [non-C99-based standards] (y1f): Likewise.
30214 [non-C99-based standards] (ynf): Likewise.
30215 [non-C99-based standards] (isnanf): Likewise.
30216 [non-C99-based standards] (acoshf): Likewise.
30217 [non-C99-based standards] (asinhf): Likewise.
30218 [non-C99-based standards] (atanhf): Likewise.
30219 [non-C99-based standards] (cbrtf): Likewise.
30220 [non-C99-based standards] (expm1f): Likewise.
30221 [non-C99-based standards] (ilogbf): Likewise.
30222 [non-C99-based standards] (log1pf): Likewise.
30223 [non-C99-based standards] (logbf): Likewise.
30224 [non-C99-based standards] (nextafterf): Likewise.
30225 [non-C99-based standards] (remainderf): Likewise.
30226 [non-C99-based standards] (rintf): Likewise.
30227 [non-C99-based standards] (scalbf): Likewise.
30228 [non-C99-based standards] (copysignl): Likewise.
30229 [non-C99-based standards] (exp2l): Likewise.
30230 [non-C99-based standards] (log2l): Likewise.
30231 [non-C99-based standards] (modfl): Allow.
30232 [non-C99-based standards] (erfl): Do not allow.
30233 [non-C99-based standards] (erfcl): Likewise.
30234 [non-C99-based standards] (gammal): Likewise.
30235 [non-C99-based standards] (hypotl): Likewise.
30236 [non-C99-based standards] (j0l): Likewise.
30237 [non-C99-based standards] (j1l): Likewise.
30238 [non-C99-based standards] (jnl): Likewise.
30239 [non-C99-based standards] (lgammal): Likewise.
30240 [non-C99-based standards] (tgammal): Likewise.
30241 [non-C99-based standards] (y0l): Likewise.
30242 [non-C99-based standards] (y1l): Likewise.
30243 [non-C99-based standards] (ynl): Likewise.
30244 [non-C99-based standards] (isnanl): Likewise.
30245 [non-C99-based standards] (acoshl): Likewise.
30246 [non-C99-based standards] (asinhl): Likewise.
30247 [non-C99-based standards] (atanhl): Likewise.
30248 [non-C99-based standards] (cbrtl): Likewise.
30249 [non-C99-based standards] (expm1l): Likewise.
30250 [non-C99-based standards] (ilogbl): Likewise.
30251 [non-C99-based standards] (log1pl): Likewise.
30252 [non-C99-based standards] (logbl): Likewise.
30253 [non-C99-based standards] (nextafterl): Likewise.
30254 [non-C99-based standards] (remainderl): Likewise.
30255 [non-C99-based standards] (rintl): Likewise.
30256 [non-C99-based standards] (scalbl): Likewise.
30257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30258 [non-C99-based standards] (FP_*): Do not allow.
30259 [C99-based standards] (FP_*): Change to
30260 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30261 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30263 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30264 (SIG_ERR): Likewise.
30265 [X/Open-based standards] (SIG_HOLD): Likewise.
30266 (SIG_IGN): Likewise.
30267 (SIGABRT): Use macro-int-constant. Specify type. Require
30269 (SIGFPE): Likewise.
30270 (SIGILL): Likewise.
30271 (SIGINT): Likewise.
30272 (SIGSEGV): Likewise.
30273 (SIGTER): Likewise.
30274 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30275 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30276 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30277 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30278 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30279 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30280 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30281 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30282 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30283 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30284 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30285 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30286 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30287 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30288 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30289 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30290 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30291 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30292 [X/Open-based standards] (SIGTRAP): Likewise.
30293 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30294 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30295 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30296 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30297 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30300 2012-05-08 Ian Wienand <ianw@vmware.com>
30303 * time/tzset.c (__tzset_parse_tz): Update default rules for
30304 daylight time changes in the Energy Policy Act of 2005.
30306 2012-05-09 Andreas Jaeger <aj@suse.de>
30309 * elf/ldconfig.c (parse_conf): Change string to make clear that
30310 ldconfig only issued a warning if ld.so.conf does not exist.
30312 2012-05-08 David S. Miller <davem@davemloft.net>
30314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30315 movxtod instead of popping the value on the stack.
30317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30319 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30321 * config.h.in: Add HAVE_ARM_PCS_VFP.
30323 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30326 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30327 checking but the checks are disabled for any reason.
30329 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30331 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30332 and ELF64_R_TYPE with ELFW(R_TYPE).
30334 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30336 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30337 (ulimit): Likewise.
30339 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30340 (settimeofday): Likewise.
30342 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30344 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30345 a struct th_u2 inside the union, and move tu_block/tu_code into
30346 a new th_u3 union of tu_block/tu_code inside of that. Move
30347 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30348 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30349 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30350 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30351 (th_stuff): Change to th_u1.tu_stuff.
30353 (th_msg): Change to th_u1.th_u2.tu_data.
30355 2012-05-07 David S. Miller <davem@davemloft.net>
30357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30360 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30361 (SETUP_PIC_REG): Use it.
30362 (SETUP_PIC_REG_LEAF): Use it.
30364 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30368 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30370 (EXPL_FINITE): Likewise.
30371 (FLDLOG): Likewise.
30372 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30373 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30375 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30377 (EXPL_FINITE): Likewise.
30378 (FLDLOG): Likewise.
30379 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30380 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30382 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30383 test of -max_value argument for long double.
30384 * sysdeps/i386/fpu/libm-test-ulps: Update.
30385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30387 2012-05-06 David S. Miller <davem@davemloft.net>
30389 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30390 quad soft-float symbols whose references which are compiler
30392 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30394 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30398 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30400 (EXPL_FINITE): Likewise.
30401 (FLDLOG): Likewise.
30404 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30405 Adjust comments for base varying.
30406 (__expl_finite): Change alias to EXPL_FINITE.
30407 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30409 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30410 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30411 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30412 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30415 (EXPL_FINITE): Likewise.
30416 (FLDLOG): Likewise.
30419 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30420 Adjust comments for base varying.
30421 (__expl_finite): Change alias to EXPL_FINITE.
30422 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30427 * math/libm-test.inc (check_float_internal): Correct ulp
30428 calculation for subnormal expected results.
30430 2012-05-06 Andreas Jaeger <aj@suse.de>
30432 * Makeconfig (+math-flags): New, set to -frounding-math.
30433 (+cflags): Add +math-flags so that all of glibc gets compiled with
30436 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30438 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30440 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30446 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30447 (__ieee754_expl): Allow for and saturate large arguments.
30448 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30449 (u_threshold): Likewise.
30450 (__exp): Call __ieee754_exp before checking for overflow and
30452 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30453 (u_threshold): Likewise.
30454 (__expf): Call __ieee754_expf before checking for overflow and
30456 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30457 (u_threshold): Likewise.
30458 (__expl): Call __ieee754_expl before checking for overflow and
30460 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30461 (__ieee754_expl): Allow for and saturate large arguments.
30462 * math/libm-test.inc (exp_test): Add another test. Do not allow
30463 missing overflow exception on overflow.
30464 (expm1_test): Do not allow missing overflow exception on overflow.
30466 * sysdeps/i386/fpu/e_expl.c: Move to ...
30467 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30468 rather than using inline asm.
30469 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30470 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30471 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30473 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30476 (signal): Likewise.
30480 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30482 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30483 sysdeps/unix/common/syscalls.list.
30484 (fchmod): Likewise.
30485 (fchown): Likewise.
30486 (ftruncate): Likewise.
30487 (getrusage): Likewise.
30488 (gettimeofday): Likewise.
30489 (setpgid): Likewise.
30490 (setregid): Likewise.
30491 (setreuid): Likewise.
30492 (sigaction): Likewise.
30493 (truncate): Likewise.
30494 (vhangup): Likewise.
30495 * sysdeps/unix/common/syscalls.list: Remove file.
30496 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30497 * sysdeps/unix/sysv/linux/Implies: Likewise.
30499 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30501 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30503 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30507 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30510 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30513 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30516 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30519 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30522 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30525 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30529 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30533 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30536 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30540 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30544 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30546 * sysdeps/unix/common/bits/dirent.h: Remove file.
30547 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30549 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30550 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30551 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30552 * sysdeps/unix/bsd/isatty.c: Likewise.
30553 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30554 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30555 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30557 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30561 long double comparison inaccuracies.
30562 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30565 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30567 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30570 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30574 nonzero digits before rounding a hex value.
30575 * stdlib/tst-strtod.c (tests): Add another test.
30577 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30579 * sysdeps/s390/fpu/libm-test-ulps: Update.
30581 2012-05-03 Andreas Jaeger <aj@suse.de>
30583 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30584 does not get optimized out.
30585 (malloc_opt_barrier): New.
30587 2012-05-03 Andreas Jaeger <aj@suse.de>
30588 Roland McGrath <roland@hack.frob.com>
30590 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30591 intermediate file deletion.
30592 (generated): Add .symlist files.
30594 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30597 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30598 Redirect under this condition.
30599 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30600 [__USE_GNU] (__dprintf_chk): Not under this condition.
30601 [__USE_GNU] (__vdprintf_chk): Likewise.
30602 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30603 under this condition.
30604 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30605 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30606 [__USE_XOPEN2K8] (vdprintf): Likewise.
30607 [__USE_GNU] (__dprintf_chk): Not under this condition.
30608 [__USE_GNU] (__vdprintf_chk): Likewise.
30609 [__USE_GNU] (dprintf): Likewise.
30610 [__USE_GNU] (vdprintf): Likewise.
30612 2012-05-03 Roland McGrath <roland@hack.frob.com>
30614 * elf/Makefile (common-generated): Set this instead of generated for
30615 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30616 $(all-built-dso)-derived lists.
30618 2012-05-03 Andreas Jaeger <aj@suse.de>
30620 * sysdeps/i386/fpu/libm-test-ulps: Update.
30623 * FAQ.in: Likewise.
30624 * scripts/gen-FAQ.pl: Likewise.
30625 * manual/install.texi (Installation): Point to online location of
30627 * Makefile (files-for-dist): Remove FAQ.
30630 2012-05-02 Allan McRae <allan@archlinux.org>
30632 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30633 (LDFLAGS-reldepmod5.so): Likewise.
30634 (LDFLAGS-reldep6mod1.so): Likewise.
30635 (LDFLAGS-reldep6mod4.so): Likewise.
30636 (LDFLAGS-reldep8mod3.so): Likewise.
30637 (LDFLAGS-unload4mod1.so): Likewise.
30638 (LDFLAGS-unload4mod2.so): Likewise.
30639 (LDFLAGS-tst-initorder): Likewise.
30640 (LDFLAGS-tst-initordera2.so): Likewise.
30641 (LDFLAGS-tst-initordera3.so): Likewise.
30642 (LDFLAGS-tst-initordera4.so): Likewise.
30643 (LDFLAGS-tst-initorderb2.so): Likewise.
30644 (LDFLAGS-noload): Likewise.
30645 (LDFLAGS-next): Likewise.
30646 (LDFLAGS-order2mod1.so): Likewise.
30647 (LDFLAGS-order2mod2.so): Likewise.
30648 (LDFLAGS-tst-initorder2): Likewise.
30649 (LDFLAGS-tst-initorder2a.so): Likewise.
30650 (LDFLAGS-tst-initorder2b.so): Likewise.
30651 (LDFLAGS-tst-initorder2c.so): Likewise.
30652 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30654 2012-05-02 David S. Miller <davem@davemloft.net>
30656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30658 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30661 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30663 2012-05-02 Andreas Jaeger <aj@suse.de>
30665 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30666 since we manipulate rounding mode.
30667 (CPPFLAGS-test-idouble.c): Likewise.
30668 (CPPFLAGS-test-ifloat.c): Likewise.
30669 (CFLAGS-test-ldouble.c): Likewise.
30670 (CFLAGS-test-double.c): Likewise.
30671 (CFLAGS-test-float.c): Likewise.
30672 (CFLAGS-test-misc.c): Likewise.
30673 (CFLAGS-test-test-fenv.c): Likewise.
30675 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30680 comparisons to determine direction to adjust input.
30682 2012-05-01 Roland McGrath <roland@hack.frob.com>
30684 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30685 output to the target.
30687 * scripts/localplt.awk: New file.
30688 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30689 (check-localplt-CFLAGS): Variable removed.
30690 ($(all-built-dso:=.jmprel)): New static pattern rule.
30691 (generated): Add those targets.
30692 (localplt-built-dso): New variable.
30693 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30695 * elf/check-localplt.c: File removed.
30697 * scripts/check-execstack.awk: New file.
30698 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30699 (check-execstack-CFLAGS): Variable removed.
30700 ($(objpfx)check-execstack.h): Target removed.
30701 ($(objpfx)execstack-default): New target.
30702 (generated): Add that instead of check-execstack.h.
30703 ($(all-built-dso:=.phdr)): New static pattern rule.
30704 (generated): Add those targets.
30705 * elf/check-execstack.c: File removed.
30707 * scripts/check-textrel.awk: New file.
30708 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30709 (check-textrel-CFLAGS): Variable removed.
30710 (all-built-dso): Use := to define.o
30711 ($(all-built-dso:=.dyn)): New static pattern rule.
30712 (generated): Add those targets.
30713 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30714 * config.make.in (READELF): New substituted variable.
30715 * elf/check-textrel.c: File removed.
30717 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30719 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30721 * conform/data/ctype.h-data [C99-based standards] (isblank):
30723 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30724 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30726 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30727 Specify type. Require positive value.
30728 (EILSEQ): Likewise.
30729 (ERANGE): Likewise.
30730 [ISO || POSIX] (EILSEQ): Do not expect.
30731 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30732 Specify type. Require positive value.
30733 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30734 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30735 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30739 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30743 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30744 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30745 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30746 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30747 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30748 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30749 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30750 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30751 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30752 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30753 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30754 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30755 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30756 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30757 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30758 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30759 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30760 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30761 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30762 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30763 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30764 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30765 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30766 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30767 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30768 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30769 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30770 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30771 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30772 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30773 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30774 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30775 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30776 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30777 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30778 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30779 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30780 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30781 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30782 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30783 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30784 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30785 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30786 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30787 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30788 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30789 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30790 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30791 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30792 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30793 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30794 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30795 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30796 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30797 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30798 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30799 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30800 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30801 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30802 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30803 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30804 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30805 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30806 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30807 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30808 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30809 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30811 (FLT_ROUNDS): Expect as macro, not constant.
30812 (FLT_MANT_DIG): Use macro-int-constant.
30813 (DBL_MANT_DIG): Likewise.
30814 (LDBL_MANT_DIG): Likewise.
30815 (FLT_DIG): Likewise.
30816 (DBL_DIG): Likewise.
30817 (LDBL_DIG): Likewise.
30818 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30819 (DBL_MIN_EXP): Likewise.
30820 (LDBL_MIN_EXP): Likewise.
30821 (FLT_MAX_EXP): Use macro-int-constant.
30822 (DBL_MAX_EXP): Likewise.
30823 (LDBL_MAX_EXP): Likewise.
30824 (FLT_MAX_10_EXP): Likewise.
30825 (DBL_MAX_10_EXP): Likewise.
30826 (LDBL_MAX_10_EXP): Likewise.
30827 (FLT_MAX): Use macro-constant.
30828 (DBL_MAX): Likewise.
30829 (LDBL_MAX): Likewise.
30830 (FLT_EPSILON): Use macro-constant. Give upper bound.
30831 (DBL_EPSILON): Likewise.
30832 (LDBL_EPSILON): Likewise.
30833 (FLT_MIN): Likewise.
30834 (DBL_MIN): Likewise.
30835 (LDBL_MIN): Likewise.
30836 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30837 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30838 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30839 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30840 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30841 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30842 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30843 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30844 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30845 [ISO11] (FLT_TRUE_MIN): Likewise.
30846 [ISO11] (LDBL_TRUE_MIN): Likewise.
30847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30848 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30849 (SCHAR_MIN): Use macro-int-constant. Specify type.
30850 (SCHAR_MAX): Likewise.
30851 (UCHAR_MAX): Likewise.
30852 (CHAR_MIN): Likewise.
30853 (CHAR_MAX): Likewise.
30854 (MB_LEN_MAX): Use macro-int-constant.
30855 (SHRT_MIN): Use macro-int-constant. Specify type.
30856 (SHRT_MAX): Likewise.
30857 (USHRT_MAX): Likewise.
30858 (INT_MAX): Likewise.
30859 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30861 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30863 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30865 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30866 bound negative. Suffix upper bound with "L".
30867 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30869 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30871 [C99-based standards] (LLONG_MAX): Likewise.
30872 [C99-based standards] (ULLONG_MAX): Likewise.
30873 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30875 [ISO11] (max_align_t): Require type.
30876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30878 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30879 from $CFLAGS, without defining away __attribute__ calls.
30880 (checknamespace): Use $CFLAGS_namespace.
30882 * conform/conformtest.pl (@keywords): Only include C99 keywords
30883 for standards based on C99 or C11.
30885 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30887 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30890 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30891 usability of symbols in #if.
30893 * conform/conformtest.pl: If macro or constant types start
30894 "promoted:", expect the symbol to be of the following type
30895 promoted by the integer promotions.
30897 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30898 in one place. Also handle "macro-constant".
30900 * conform/conformtest.pl: Only accept expected macro values with
30901 "==". Parse all "macro" lines in one place.
30902 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30904 * conform/conformtest.pl: Handle braced types on "constant" lines
30905 instead of handling "typed-constant".
30906 * conform/data/signal.h-data: Use "constant" instead of
30909 * conform/conformtest.pl: Handle "optional-" at start of lines in
30910 one place rather than duplicating several cases. Handle each
30911 format of "macro" line with initial "optional-".
30913 * conform/conformtest.pl: Only accept expected constant or
30914 optional-constant values with "==". Parse all "constant" lines in
30915 one place. Parse all "optional-constant" lines in one place.
30916 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30917 * conform/data/fmtmsg.h-data: Likewise.
30918 * conform/data/netinet/in.h-data: Likewise.
30919 * conform/data/tar.h-data: Likewise.
30920 * conform/data/limits.h-data: Use "==" form on "constant" and
30921 "optional-constant" lines.
30923 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30924 Use -std=c99 for XOPEN2K.
30925 (@knownproblems): Remove.
30926 (newtoken): Don't check %isknown.
30928 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30929 Do not expect macro.
30930 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30942 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30943 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30960 [XPG3] (acosh): Likewise.
30961 [XPG3] (asinh): Likewise.
30962 [XPG3] (atanh): Likewise.
30963 [XPG3] (cbrt): Likewise.
30964 [XPG3] (expm1): Likewise.
30965 [XPG3] (ilogb): Likewise.
30966 [XPG3] (log1p): Likewise.
30967 [XPG3] (logb): Likewise.
30968 [XPG3] (nextafter): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30971 [XPG3] (remainder): Likewise.
30972 [XPG3] (rint): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30980 [UNIX98 || XOPEN2K] (scalb): Expect.
30981 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30982 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31059 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31060 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31061 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31066 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31119 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31120 _XOPEN_SOURCE_EXTENDED for XPG4.
31122 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31124 * Makeconfig (localtime): Remove variable.
31125 (inst_localtime-file): Likewise.
31127 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31148 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31152 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31153 comparisons to determine direction to adjust input.
31154 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31155 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31156 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31158 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31160 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31162 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31163 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31165 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31167 * math/libm-test.inc (nexttoward_test): Add more tests.
31169 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31172 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31173 in version GLIBC_2.1, not GLIBC_2.0.
31174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31177 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31180 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31182 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31183 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31184 * math/libm-test.inc (acos_test): Add more tests.
31185 (asin_test): Likewise.
31186 * sysdeps/i386/fpu/libm-test-ulps: Update.
31187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31190 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31192 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31193 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31194 * math/libm-test.inc (acos_test_tonearest): New function.
31195 (acos_test_towardzero): Likewise.
31196 (acos_test_downward): Likewise.
31197 (acos_test_upward): Likewise.
31198 (asin_test_tonearest): Likewise.
31199 (asin_test_towardzero): Likewise.
31200 (asin_test_downward): Likewise.
31201 (asin_test_upward): Likewise.
31202 (main): Call the new functions.
31203 * sysdeps/i386/fpu/libm-test-ulps: Update.
31204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31208 * math/e_exp10.c: Include <float.h>.
31209 (__ieee754_exp10): Handle underflow here rather than multiplying
31210 large negative argument by M_LN10.
31211 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31213 * math/e_exp10l.c: Include <float.h>.
31214 (__ieee754_exp10l): Handle underflow here rather than multiplying
31215 large negative argument by M_LN10l.
31216 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31217 spurious overflow exception on underflow.
31219 2012-04-29 Marek Polacek <polacek@redhat.com>
31221 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31222 (__fortify_function): New macro.
31223 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31224 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31225 __extern_always_inline.
31226 * libio/bits/stdio2.h: Likewise.
31227 * libio/bits/stdio.h: Likewise.
31228 * string/string.h: Likewise.
31229 * string/bits/string3.h: Likewise.
31230 * include/stdio.h: Likewise.
31231 * stdlib/bits/stdlib.h: Likewise.
31232 * stdlib/stdlib.h: Likewise.
31233 * rt/bits/mqueue2.h: Likewise.
31234 * rt/mqueue.h: Likewise.
31235 * posix/bits/unistd.h: Likewise.
31236 * posix/unistd.h: Likewise.
31237 * io/bits/poll2.h: Likewise.
31238 * io/bits/fcntl2.h: Likewise.
31239 * io/fcntl.h: Likewise.
31240 * io/sys/poll.h: Likewise.
31241 * misc/bits/syslog.h: Likewise.
31242 * misc/bits/syslog-ldbl.h: Likewise.
31243 * misc/sys/syslog.h: Likewise.
31244 * socket/bits/socket2.h: Likewise.
31245 * socket/sys/socket.h: Likewise.
31246 * debug/tst-chk1.c: Likewise.
31247 * wcsmbs/bits/wchar2.h: Likewise.
31248 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31249 * wcsmbs/wchar.h: Likewise.
31251 2012-04-29 Andreas Jaeger <aj@suse.de>
31253 * Makerules (tests): Remove enable-check-abi protection.
31254 (check-abi-warn): Remove.
31255 (check-abi-%): Remove check-abi-warn usage.
31257 * configure.in: Remove check-abi configure option.
31258 * configure: Regenerated.
31259 * config.make.in (enable-check-abi): Remove.
31261 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31264 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31265 double functions to double *_finite functions.
31268 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31269 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31271 * stdio-common/Makefile (tests): Add tst-sprintf3.
31272 * stdio-common/tst-sprintf3.c: New file.
31274 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31275 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31277 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31279 * conform/conformtest.pl: Remove duplicate typed-constant
31282 2012-04-28 David S. Miller <davem@davemloft.net>
31284 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31285 (check-abi-%): Remove AWK script prerequisite and explicit
31287 (check-abi): Rewrite to just diff the symlist with the abilist.
31288 (config-tls, config-abi-config): Delete, no longer used.
31289 (update-abi-%): Remove AWK script and explicit abilist directory.
31290 (update-abi): Rewrite to simply compare and conditionally copy the
31291 symlist and the sysdep abilist file. Remove update-abi-config
31293 * abilist/ld.abilist: Remove.
31294 * abilist/libBrokenLocale.abilist: Remove.
31295 * abilist/libanl.abilist: Remove.
31296 * abilist/libcrypt.abilist: Remove.
31297 * abilist/libdl.abilist: Remove.
31298 * abilist/librt.abilist: Remove.
31299 * abilist/libthread_db.abilist: Remove.
31300 * abilist/libutil.abilist: Remove.
31301 * scripts/extract-abilist.awk: Remove.
31302 * scripts/merge-abilist.awk: Remove.
31303 * sysdeps/generic/libcidn.abilist: New file.
31304 * sysdeps/generic/libnss_compat.abilist: New file.
31305 * sysdeps/generic/libnss_db.abilist: New file.
31306 * sysdeps/generic/libnss_dns.abilist: New file.
31307 * sysdeps/generic/libnss_files.abilist: New file.
31308 * sysdeps/generic/libnss_hesiod.abilist: New file.
31309 * sysdeps/generic/libnss_nis.abilist: New file.
31310 * sysdeps/generic/libnss_nisplus.abilist: New file.
31311 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31312 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31313 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31315 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31316 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31317 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31318 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31319 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31320 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31321 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31322 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31323 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31325 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31326 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31327 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31328 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31330 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31331 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31332 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31333 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31334 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31335 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31337 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31338 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31339 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31341 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31444 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31445 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31446 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31449 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31450 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31451 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31452 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31453 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31454 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31455 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31456 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31457 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31509 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31511 * conform/conformtest.pl: Fix typo in handling typed-constant from
31514 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31516 * README: Cut down references to pre-2.6 Linux kernels and
31517 Linuxthreads. Update lists of configurations in libc and ports
31518 and sort alphabetically. Say "or newer" with Linux kernel version
31521 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31523 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31526 * math/libm-test.inc (logb_test_downward): New test to expose
31527 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31530 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31533 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31535 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31536 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31538 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31540 * sysdeps/unix/i386/brk.S: Remove file.
31541 * sysdeps/unix/i386/dl-brk.S: Likewise.
31542 * sysdeps/unix/i386/pipe.S: Likewise.
31543 * sysdeps/unix/i386/sigreturn.S: Likewise.
31544 * sysdeps/unix/i386/syscall.S: Likewise.
31545 * sysdeps/unix/i386/vfork.S: Likewise.
31546 * sysdeps/unix/i386/wait.S: Likewise.
31548 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31549 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31551 * configure.in (arm*-none*): Do not allow without
31552 --enable-hacker-mode.
31553 (netbsd*): Remove case setting base_os.
31554 (386bsd*): Likewise.
31555 (freebsd*): Likewise.
31558 (sunos*): Likewise.
31559 (ultrix*): Likewise.
31560 (newsos*): Likewise.
31561 (dynix*): Likewise.
31567 (minix*): Likewise.
31568 (irix4*): Likewise.
31569 (irix6*): Likewise.
31570 (solaris[2-9]*): Likewise.
31572 * configure: Regenerated.
31574 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31577 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31578 overflow or cancellation in calculating denominator.
31579 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31581 down expression to avoid unexpected rounding in newer GCCs.
31582 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31584 2012-04-26 David S. Miller <davem@davemloft.net>
31586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31587 long-double compat symbols.
31588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31602 2012-04-25 David S. Miller <davem@davemloft.net>
31604 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31605 HWCAP_* values only after the memory barriers have been defined.
31606 (atomic_full_barrier): Define.
31607 (atomic_read_barrier): Define.
31608 (atomic_write_barrier): Define.
31610 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31612 * shlib-versions: Add libgcc_s version information.
31613 * sysdeps/generic/libgcc_s.h: Remove.
31614 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31616 * sysdeps/gnu/unwind-resume.c: Likewise.
31617 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31619 2012-04-25 David S. Miller <davem@davemloft.net>
31621 * sysdeps/unix/sparc/brk.S: Delete.
31622 * sysdeps/unix/sparc/dl-brk.S: Delete.
31623 * sysdeps/unix/sparc/pipe.S: Delete.
31624 * sysdeps/unix/sparc/sysdep.S: Delete.
31625 * sysdeps/unix/sparc/sysdep.h: Delete.
31626 * sysdeps/unix/sparc/vfork.S: Delete.
31627 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31628 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31629 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31630 (ret_ERRVAL, r0, r1, MOVE): Define.
31631 (JUMPTARGET): Remove.
31632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31633 sysdeps/unix/sparc/sysdep.h
31634 (ENTRY, END): Remove.
31635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31637 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31639 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31640 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31643 * timezone/README: Update upstream location and email address for
31645 * timezone/zdump.c: Update from tzcode 2012b.
31646 * timezone/zic.c: Likewise.
31648 * configure.in (libc_cv_as_needed): Remove test.
31649 * configure: Regenerated.
31650 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31651 conditional definition.
31652 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31653 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31654 * config.make.in (have-as-needed): Remove variable.
31656 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31657 Paul Pluzhnikov <ppluzhnikov@google.com>
31659 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31662 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31664 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31665 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31666 * sysdeps/sh/strlen.S: Likewise.
31668 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31670 * sysdeps/unix/fork.S: Remove file.
31671 * sysdeps/unix/i386/fork.S: Likewise.
31672 * sysdeps/unix/sparc/fork.S: Likewise.
31674 * sysdeps/unix/system.c: Remove file.
31675 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31677 * sysdeps/unix/getegid.S: Remove file.
31678 * sysdeps/unix/geteuid.S: Likewise.
31680 2012-04-24 Roland McGrath <roland@hack.frob.com>
31682 * scripts/check-localplt.awk: New file.
31683 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31685 * scripts/data/localplt-generic.data: Add a comment.
31687 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31688 NODE when __dir_mkfile failed.
31689 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31690 Reported by Ludovic Courtès <ludo@gnu.org>.
31692 2012-04-24 Andreas Jaeger <aj@suse.de>
31694 * Makerules (common-clean): Also remove gen-as-const-headers
31697 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31699 * Makerules (native-compile): Do not change working directory for
31700 build. Use $(OUTPUT_OPTION) in command.
31701 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31703 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31706 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31707 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31708 * math/libm-test.inc (floor_test): Add more tests.
31709 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31711 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31713 * sysdeps/unix/getdents.c: Remove file.
31714 * sysdeps/unix/sysv/getdents.c: Likewise.
31715 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31717 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31718 sysdeps/unix/mman/syscalls.list.
31720 (mprotect): Likewise.
31722 (munmap): Likewise.
31723 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31724 * sysdeps/unix/mman/syscalls.list: Remove.
31725 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31727 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31728 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31729 * configure: Regenerated.
31730 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31731 $(libgcc_s_suffix).
31732 * config.make.in (libgcc_s_suffix): Remove variable.
31734 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31736 * sysdeps/unix/sysv/gethostname.c: Move to ...
31737 * sysdeps/posix/gethostname.c: ... here.
31739 * sysdeps/unix/execve.S: Remove file.
31741 * sysdeps/unix/_exit.S: Remove file.
31743 2012-04-23 Andreas Jaeger <aj@suse.de>
31746 * manual/Makefile: Remove make dist support, there's no
31747 need for a stand-alone documentation tar ball.
31748 (TEXI2DVI): Define always, it's not in Makeconfig.
31751 (edition): Removed.
31752 (glibc-doc-$(edition).tar): Removed
31756 (ETAGS): Remove, it's in Makeconfig.
31757 (move-if-change): Remove, it's in Makeconfig.
31759 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31762 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31763 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31764 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31765 (strtod_l, strtof_l, strtold_l): Remove __wur.
31766 It is not necessarily an error to ignore strtol's return value.
31767 One can reliably look at the stored endptr to decide whether
31768 the number had valid syntax.
31770 2012-04-21 Andreas Jaeger <aj@suse.de>
31773 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31775 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31777 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31778 * sysdeps/unix/sysv/Versions: Remove file.
31780 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31785 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31788 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31789 version from __vm86.
31791 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31793 * sysdeps/unix/common/lxstat.c: Remove file.
31794 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31796 * sysdeps/unix/sysv/Makefile: Remove file.
31798 * sysdeps/unix/sysv/direct.h: Remove file.
31800 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31801 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31802 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31803 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31804 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31805 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31806 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31808 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31810 * sysdeps/unix/xmknod.c: Remove file.
31811 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31813 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31815 * sysdeps/unix/sysv/i386/time.S: Remove file.
31817 * sysdeps/unix/fxstat.c: Remove file.
31818 * sysdeps/unix/xstat.c: Likewise.
31819 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31821 * sysdeps/unix/sysv/sigaction.c: Remove file.
31823 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31824 (sysdep_headers): Remove variable.
31825 [termio.h not in sysdep_headers] (generated): Likewise.
31826 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31827 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31828 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31829 * sysdeps/unix/sysv/tcflow.c: Likewise.
31830 * sysdeps/unix/sysv/tcflush.c: Likewise.
31831 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31832 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31833 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31834 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31835 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31837 * sysdeps/unix/siglist.c: Remove file.
31839 * sysdeps/unix/getppid.S: Remove file.
31841 * sysdeps/unix/mkdir.c: Remove file.
31842 * sysdeps/unix/rmdir.c: Likewise.
31844 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31846 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31848 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31849 errlist-compat value.
31851 2012-04-18 David S. Miller <davem@davemloft.net>
31853 * sysdeps/generic/memcopy.h (reg_char): Delete.
31854 * debug/strcat_chk.c: Use char, not reg_char.
31855 * debug/strcpy_chk.c: Likewise.
31856 * debug/strncat_chk.c: Likewise.
31857 * debug/strncpy_chk.c: Likewise.
31858 * string/memchr.c: Likewise.
31859 * string/memrchr.c: Likewise.
31860 * string/rawmemchr.c: Likewise.
31861 * string/strcat.c: Likewise.
31862 * string/strchr.c: Likewise.
31863 * string/strchrnul.c: Likewise.
31864 * string/strcmp.c: Likewise.
31865 * string/strcpy.c: Likewise.
31866 * string/strncat.c: Likewise.
31867 * string/strncmp.c: Likewise.
31868 * string/strncpy.c: Likewise.
31870 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31872 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31873 __builtin_memcopy is called when src and dest ranges are known to not
31876 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31878 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31879 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31880 fwd_align_merge macro call.
31881 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31882 bwd_align_merge macro call.
31883 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31885 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31887 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31888 bwd_align_merge macros.
31889 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31890 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31891 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31893 2012-04-18 David S. Miller <davem@davemloft.net>
31895 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31897 2012-04-18 Andreas Jaeger <aj@suse.de>
31900 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31901 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31902 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31904 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31905 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31906 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31908 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31909 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31910 Adjust for changed ldbl-128 files.
31912 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31913 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31914 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31916 2012-04-17 David S. Miller <davem@davemloft.net>
31918 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31920 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31922 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31923 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31924 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31925 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31926 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31927 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31929 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31932 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31933 * math/libm-test.inc: Add ilogb errno and exception tests.
31934 * math/w_ilogb.c: New file: ilogb wrapper.
31935 * math/w_ilogbf.c: New file: ilogbf wrapper.
31936 * math/w_ilogbl.c: New file: ilogbl wrapper.
31937 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31938 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31939 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31940 exception being thrown with 0.0 as argument.
31941 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31942 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31943 exception being thrown with 0.0 as argument.
31944 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31945 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31946 exception being thrown with 0.0 as argument.
31947 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31948 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31949 exception being thrown with 0.0 as argument.
31950 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31951 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31953 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31954 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31955 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31956 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31957 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31958 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31960 2012-04-17 Petr Baudis <pasky@ucw.cz>
31962 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31965 2012-04-16 Marek Polacek <polacek@redhat.com>
31967 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31969 2012-04-16 Marek Polacek <polacek@redhat.com>
31971 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31972 operands of fdivp instruction.
31974 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31976 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31977 * elf/tst-auditmod3b.c: Likewise.
31978 * elf/tst-auditmod4b.c: Likewise.
31979 * elf/tst-auditmod5b.c: Likewise.
31980 * elf/tst-auditmod6b.c: Likewise.
31981 * elf/tst-auditmod6c.c: Likewise.
31982 * elf/tst-auditmod7b.c: Likewise.
31983 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31984 * sysdeps/x86_64/preconfigure.in: Likewise.
31985 * sysdeps/x86_64/preconfigure: Regenerated.
31987 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31989 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31992 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31995 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31997 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32000 * locale/iso-639.def: Fix gl language name. Spotted by
32003 2012-04-12 Roland McGrath <roland@hack.frob.com>
32006 * libio/libio.h (__io_write_fn): Update comment.
32008 2012-04-12 Petr Baudis <pasky@ucw.cz>
32011 * stdio.texi (Hook Functions): The user provided writer function
32012 is not allowed to return -1.
32014 2012-04-11 David S. Miller <davem@davemloft.net>
32016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32018 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32020 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32021 Add a leading slash to rtkaio.
32023 2012-04-11 Jim Meyering <meyering@redhat.com>
32026 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32027 It is not necessarily an error to ignore fwrite's return
32028 value. One can reliably use ferror to test for errors after
32031 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32033 * bits/types.h (__snseconds_t): New type.
32034 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32036 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32038 (__SNSECONDS_T_TYPE): Likewise.
32039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32040 (__SNSECONDS_T_TYPE): Likewise.
32041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32042 (__SNSECONDS_T_TYPE): Likewise.
32044 2012-04-10 Andreas Jaeger <aj@suse.de>
32047 * manual/time.texi (Processor Time): Return type of times is
32048 elapsed real time since an arbitrary point in the past.
32049 (CPU Time): Move CLK_TCK from here...
32050 (Processor Time): ...to here. Correct description.
32051 * manual/conf.texi (Constants for Sysconf): Correct description of
32054 2012-04-10 David S. Miller <davem@davemloft.net>
32057 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32058 where the is a gap between DT_REL(A) and DT_JMPREL.
32060 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32062 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32063 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32064 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32066 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32068 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32069 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32070 (dl_main): Handle --inhibit-cache.
32071 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32073 * elf/dl-load.c (_dl_map_object): Use it.
32074 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32076 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32079 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32080 (__ieee754_powl): Saturate large exponents rather than testing for
32081 overflow of y*log2(x).
32082 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32083 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32087 * math/s_ctan.c: Include <float.h>.
32088 (__ctan): Avoid internal overflow or cancellation in calculating
32090 * math/s_ctanf.c: Likewise.
32091 * math/s_ctanl.c: Likewise.
32092 * math/s_ctanh.c: Likewise.
32093 * math/s_ctanhf.c: Likewise.
32094 * math/s_ctanhl.c: Likewise.
32095 * math/libm-test.inc (ctan_test): Add more tests.
32096 (ctanh_test): Likewise.
32097 * sysdeps/i386/fpu/libm-test-ulps: Update.
32098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32100 2012-04-09 Andreas Jaeger <aj@suse.de>
32103 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32104 is an optional BSD extension.
32107 * manual/stdio.texi (Opening Streams): Document additional fopen
32110 2012-04-09 Roland McGrath <roland@hack.frob.com>
32112 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32113 %eax without telling the compiler.
32115 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32118 * manual/install.texi: Use sourceware.org.
32120 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32123 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32124 (__ieee754_pow): Generate overflow and underflow using huge*huge
32125 and tiny*tiny rather than just returning constant infinity or zero
32126 for large exponents.
32127 * math/libm-test.inc (pow_test): Require overflow exceptions for
32128 applicable cases of large exponents.
32131 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32132 (__ieee754_pow): Use iterative multiplication algorithm only for
32133 integer exponents with absolute value below 1024. Check for odd
32134 integer exponents when using algorithm for real exponents.
32135 * math/libm-test.inc (pow_test): Add more tests.
32136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32138 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32141 * math/libm-test.inc (exp_test): Do not allow overflow exception
32144 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32147 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32148 instead of __kernel_standard_f.
32150 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32152 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32153 * sysdeps/x86_64/memset_chk.S: Likewise.
32155 2012-04-08 Andreas Jaeger <aj@suse.de>
32158 * manual/startup.texi (Environment Access): Describe return value
32159 for putenv and setenv.
32162 * manual/filesys.texi (Directory Entries): Add description for
32166 * manual/filesys.texi (Directory Entries): Clarify that it's file
32167 system not operating system in the description of DT_UNKNOWN.
32170 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32172 2012-04-08 Stephen Compall <s11@member.fsf.org>
32175 * manual/llio.texi (Opening and Closing Files): Add cross
32176 reference to explain mode argument.
32178 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32180 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32181 * sysdeps/x86_64/memset_chk.S: Likewise.
32183 2012-04-07 David S. Miller <davem@davemloft.net>
32185 * elf/elf.h (R_SPARC_WDISP10): Define.
32186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32188 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32189 R_SPARC_SIZE64 and R_SPARC_H34.
32191 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32193 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32194 conditions and remove no longer applicable assertion.
32196 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32198 * bits/byteswap.h: Include <features.h>.
32199 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32200 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32202 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32204 * bits/byteswap.h (__bswap_16): Removed.
32205 Include <bits/byteswap-16.h> to get __bswap_16.
32206 * sysdeps/i386/bits/byteswap.h: Likewise.
32207 * sysdeps/s390/bits/byteswap.h: Likewise.
32208 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32209 * bits/byteswap-16.h: New file.
32210 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32211 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32212 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32213 * string/Makefile (headers): Add bits/byteswap-16.h.
32215 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32218 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32220 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32221 * nss/tst-nss-static.c: New.
32223 2012-04-06 Robert Millan <rmh@gnu.org>
32226 * manual/llio.texi (File Position Primitive): lseek
32227 refers to WHENCE when it really means OFFSET.
32229 2012-04-06 Andreas Jaeger <aj@suse.de>
32231 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32232 strncmp declarations.
32234 * abilist/libc.abilist: Add __poll and __ppoll.
32236 2012-04-05 David S. Miller <davem@davemloft.net>
32238 * scripts/check-local-headers.sh: Accept a host triplet in the
32239 path matched by the exclude regexp.
32241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32243 * sysdeps/powerpc/powerpc32/dl-machine.h
32244 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32245 * sysdeps/s390/s390-32/dl-machine.h
32246 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32247 * sysdeps/sparc/sparc32/dl-machine.h
32248 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32249 * sysdeps/sparc/sparc64/dl-machine.h
32250 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32252 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32254 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32255 undefined symbol errors.
32257 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32260 2012-04-05 Michael Matz <matz@suse.de>
32263 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32265 2012-04-05 Andreas Jaeger <aj@suse.de>
32268 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32271 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32273 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32274 which ROUND is no valid rounding mode.
32276 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32280 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32282 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32284 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32285 an exception using FPU order intentionally.
32287 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32289 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32290 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32291 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32292 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32294 2012-04-05 Simon Josefsson <simon@josefsson.org>
32297 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32298 EINVAL when BUFLEN is too smal.
32300 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32303 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32304 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32306 2012-04-03 Andreas Jaeger <aj@suse.de>
32309 * manual/setjmp.texi (System V contexts): Fix sentence.
32312 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32313 New macro for this case.
32314 [!__GNUC__] (__bswap_64): New inline function for this case.
32315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32316 * bits/byteswap.h: Likewise.
32317 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32318 ull, guard with __GLIBC_HAVE_LONG_LONG.
32320 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32321 __GLIBC_HAVE_LONG_LONG.
32323 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32324 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32326 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32329 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32330 inptr and inend, rather than using last_ch.
32332 2012-04-02 David S. Miller <davem@davemloft.net>
32334 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32335 * stdio-common/printf-parse.h (read_int): Change return type to
32336 'int', return -1 on INT_MAX overflow.
32337 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32338 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32339 overflows INT_MAX. Check for overflow of in-format-string precision
32340 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32341 SIZE_MAX not INT_MAX for integer overflow test.
32342 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32343 skip the construct in the format string but do not record anything.
32344 * stdio-common/bug22.c: Adjust to test both width/prevision
32345 INT_MAX overflow as well as total length INT_MAX overflow. Check
32346 explicitly for proper errno values.
32348 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32350 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32352 * string/test-strcmp.c [! WIDE]: Likewise.
32353 * time/tst-mktime2.c: Likewise for INT_MAX.
32354 * string/test-string.h: #include <sys/param.h> for MIN.
32356 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32357 * sysdeps/i386/init-first.c (init): Likewise.
32358 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32359 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32360 * sysdeps/sh/init-first.c (init): Likewise.
32362 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32364 * po/ru.po: Update from translation team.
32365 * po/vi.po: Likewise.
32367 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32369 * resolv/nss_dns/dns-host.c: Merge copyright years.
32371 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32373 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32374 Optimize memcpy with prefetch if
32375 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32376 src, dst pointers have unequal 16 byte alignments.
32378 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32381 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32382 from a CNAME entry and return the minimum ttl for the query.
32383 (gaih_getanswer_slice): Likewise.
32385 2012-03-30 Jeff Law <law@redhat.com>
32387 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32389 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32390 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32392 * resolv/nss_dns/dns-host.c: Update copyright year.
32394 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32396 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32397 requests to save a system call. Fix check that all bytes are sent.
32399 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32400 comments for sendmmsg.
32402 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32405 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32406 with only 1 character between 0x0041 and 0x01b0.
32407 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32408 * wcsmbs/tst-mbsnrtowcs.c: New file.
32410 2012-03-29 David S. Miller <davem@davemloft.net>
32412 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32413 small copies by hand.
32415 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32418 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32419 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32422 2012-03-28 David S. Miller <davem@davemloft.net>
32424 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32425 that branches into memcpy.
32426 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32427 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32428 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32429 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32432 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32433 implementation too.
32434 * sysdeps/sparc/mempcpy.S: New file.
32436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32437 the IFUNC routine in the libc case.
32438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32440 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32441 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32442 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32443 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32444 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32445 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32446 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32447 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32449 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32450 loop to 256 bytes instead of 64 bytes and fix test signedness.
32452 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32453 * sysdeps/sparc/sparc32/Makefile: rather than here...
32454 * sysdeps/sparc/sparc64/Makefile: and here.
32456 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32458 * malloc/mallocbug.c: Avoid warnings about unused variables.
32460 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32463 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32464 in the right place. Discard and retry query if response is
32465 larger than input buffer size.
32467 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32473 x for large integer exponent.
32474 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32475 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32476 sign of result as needed afterwards.
32477 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32478 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32479 result for underflowing pow the same as for overflow.
32480 (__kernel_standard_l): Handle powl overflow and underflow here
32481 rather than calling __kernel_standard.
32482 * math/libm-test.inc (pow_test): Add more tests.
32497 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32498 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32499 (__kernel_standard_l): New function.
32500 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32502 * math/w_acosl.c (__acosl): Likewise.
32503 * math/w_asinl.c (__asinl): Likewise.
32504 * math/w_atan2l.c (__atan2l): Likewise.
32505 * math/w_atanhl.c (__atanhl): Likewise.
32506 * math/w_coshl.c (__coshl): Likewise.
32507 * math/w_exp10l.c (__exp10l): Likewise.
32508 * math/w_exp2l.c (__exp2l): Likewise.
32509 * math/w_fmodl.c (__fmodl): Likewise.
32510 * math/w_hypotl.c (__hypotl): Likewise.
32511 * math/w_j0l.c (__j0l, __y0l): Likewise.
32512 * math/w_j1l.c (__j1l, __y1l): Likewise.
32513 * math/w_jnl.c (__jnl, __ynl): Likewise.
32514 * math/w_lgammal.c (__lgammal): Likewise.
32515 * math/w_log10l.c (__log10l): Likewise.
32516 * math/w_log2l.c (__log2l): Likewise.
32517 * math/w_logl.c (__logl): Likewise.
32518 * math/w_powl.c (__powl): Likewise.
32519 * math/w_remainderl.c (__remainderl): Likewise.
32520 * math/w_scalbl.c (sysv_scalbl): Likewise.
32521 * math/w_sinhl.c (__sinhl): Likewise.
32522 * math/w_sqrtl.c (__sqrtl): Likewise.
32523 * math/w_tgammal.c (__tgammal): Likewise.
32524 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32525 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32526 * math/libm-test.inc (acos_test): Add more tests.
32527 (acosh_test): Likewise.
32528 (asin_test): Likewise.
32529 (atanh_test): Likewise.
32530 (exp_test): Likewise.
32531 (exp10_test): Likewise.
32532 (exp2_test): Likewise.
32533 (expm1_test): Likewise.
32534 (lgamma_test): Likewise.
32535 (log_test): Likewise.
32536 (log10_test): Likewise.
32537 (log1p_test): Likewise.
32538 (log2_test): Likewise.
32539 (pow_test): Do not allow some spurious overflow exceptions.
32540 (sqrt_test): Add more tests.
32541 (tgamma_test): Likewise.
32542 (y0_test): Likewise.
32543 (y1_test): Likewise.
32544 (yn_test): Likewise.
32546 2012-03-27 Anton Blanchard <anton@samba.org>
32548 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32550 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32551 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32552 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32554 2012-03-27 David S. Miller <davem@davemloft.net>
32556 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32558 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32559 have-as-vis3 check.
32561 2012-03-27 Andreas Jaeger <aj@suse.de>
32563 * sysdeps/x86_64/elf/configure.in: Moved to ...
32564 * sysdeps/x86_64/configure.in: ... here.
32565 * sysdeps/x86_64/elf/start.S: Moved to ...
32566 * sysdeps/x86_64/start.S: ... here.
32567 * sysdeps/x86_64/elf/configure: Delete.
32569 * sysdeps/x86_64/configure.in: Merge contents from
32570 sysdeps/i386/configure.in (without i686 check).
32572 * sysdeps/i386/elf/Versions: Merge into ...
32573 * sysdeps/i386/Versions: ... this.
32574 * sysdeps/i386/elf/Versions: Delete file.
32575 * sysdeps/i386/elf/start.S: Moved to ...
32576 * sysdeps/i386/start.S: ...here.
32577 * sysdeps/i386/elf/configure.in: Merge into...
32578 * sysdeps/i386/configure.in: ...here.
32579 * sysdeps/i386/elf/configure.in: Delete file.
32580 * sysdeps/i386/elf/configure: Delete file.
32582 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32583 * debug/backtracesyms.c: ... here.
32584 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32585 * debug/backtracesymsfd.c: ... here.
32586 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32587 * sysdeps/generic/ifunc-sel.h: ... here.
32589 * sysdeps/unix/i386/start.c: Delete file.
32590 * sysdeps/unix/sparc/start.c: Delete file.
32591 * sysdeps/unix/start.c: Delete file.
32593 * sysdeps/sh/elf/configure.in: Moved to ...
32594 * sysdeps/sh/configure.in: ... here.
32595 * sysdeps/sh/elf/start.S: Moved to ...
32596 * sysdeps/sh/start.S: ... here.
32597 * sysdeps/sh/elf/configure: Delete file.
32599 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32600 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32601 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32602 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32603 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32604 * sysdeps/powerpc/powerpc64/start.S: here.
32605 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32606 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32607 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32608 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32609 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32611 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32612 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32613 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32614 * sysdeps/powerpc/powerpc32/start.S: ... here.
32615 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32616 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32617 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32619 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32620 * sysdeps/powerpc/ifunc-sel.h: ... here.
32621 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32622 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32624 * sysdeps/sparc/elf/configure.in: Moved to ...
32625 * sysdeps/sparc/configure.in: ... here.
32626 * sysdeps/sparc/elf/configure: Delete file.
32627 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32628 * sysdeps/sparc/sparc32/start.S: ... here.
32629 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32630 * sysdeps/sparc/sparc64/start.S: ... here.
32631 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32632 * sysdeps/sparc/sparc32/Makefile: ... this.
32633 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32634 * sysdeps/sparc/sparc64/Makefile: ... this.
32636 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32637 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32638 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32639 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32640 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32641 * sysdeps/s390/s390-32/setjmp.S: ... here.
32642 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32643 * sysdeps/s390/s390-32/configure.in: ... here.
32644 * sysdeps/s390/s390-32/elf/configure: Delete file.
32645 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32646 * sysdeps/s390/s390-32/start.S: ... here.
32648 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32649 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32650 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32651 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32652 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32653 * sysdeps/s390/s390-64/setjmp.S: ... here.
32654 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32655 * sysdeps/s390/s390-64/configure.in: ... here
32656 * sysdeps/s390/s390-64/elf/configure: Delete file.
32657 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32658 * sysdeps/s390/s390-64/start.S: ... here.
32659 * sysdeps/s390/s390-64/elf/configure: Delete.
32661 * configure.in: Remove support for elf directories in sysdeps.
32663 * configure: Regenerated.
32664 * sysdeps/i386/configure: Regenerated.
32665 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32666 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32667 * sysdeps/s390/s390-32/configure: Regenerated.
32668 * sysdeps/s390/s390-64/configure: Regenerated.
32669 * sysdeps/sh/configure: Regenerated.
32670 * sysdeps/sparc/configure: Regenerated.
32671 * sysdeps/x86_64/configure: Regenerated.
32673 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32678 denormal result into account.
32680 2012-03-25 Roland McGrath <roland@hack.frob.com>
32682 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32683 Reported by Allan McRae <allan@archlinux.org>.
32685 2012-03-23 Jeff Law <law@redhat.com>
32687 * nss/getnssent.c (__nss_getent): Fix typo.
32689 2012-03-23 David S. Miller <davem@davemloft.net>
32691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32693 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32695 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32696 to pad to uint64_t for each field.
32697 (dl_tls_index): Replace unsigned long with uint64_t.
32699 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32700 Paul Pluzhnikov <ppluzhnikov@google.com>
32703 * grp/Makefile (otherlibs): Don't set it.
32704 * inet/Makefile (otherlibs): Likewise.
32705 * login/Makefile (otherlibs): Likewise.
32706 * nscd/Makefile (otherlibs): Likewise.
32707 * posix/Makefile (otherlibs): Likewise.
32708 * pwd/Makefile (otherlibs): Likewise.
32709 * rt/Makefile (otherlibs): Likewise.
32710 * sunrpc/Makefile (otherlibs): Likewise.
32711 * nss/Makefile (otherlibs): Likewise.
32712 Add libnss_files to routines and static-only-routines.
32713 ($(objpfx)getent): Remove rule.
32714 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32715 static-only-routines.
32717 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32720 * math/s_cexp.c: Include <float.h>.
32721 (__cexp): Handle exp result overflowing not necessarily
32722 overflowing both real and imaginary parts of result.
32723 * math/s_cexpf.c: Likewise.
32724 * math/s_cexpl.c: Likewise.
32725 * math/libm-test.inc (cexp_test): Add more tests.
32726 * sysdeps/i386/fpu/libm-test-ulps: Update.
32727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32729 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32731 * include/link.h (ELFW): New macro.
32732 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32733 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32735 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32737 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32740 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32742 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32744 (struct La_x32_retval): Likewise.
32746 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32748 * sysdeps/x86_64/preconfigure.in: New file.
32749 * sysdeps/x86_64/preconfigure: New generated file.
32751 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32754 * math/e_exp2l.c: Include <float.h>.
32755 (__ieee754_exp2l): Handle overflow and underflow cases
32756 separately. Only pass fractional part of argument to
32758 * math/libm-test.inc (exp2_test): Add more tests.
32760 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32761 negating x to take absolute value.
32762 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32764 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32765 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32767 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32768 computing low part if x was negated.
32769 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32771 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32773 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32774 la_x32_gnu_pltexit.
32775 (pltexit): Cast int_retval to ptrdiff_t.
32776 * elf/tst-auditmod3b.c: Likewise.
32777 * elf/tst-auditmod4b.c: Likewise.
32778 * elf/tst-auditmod5b.c: Likewise.
32779 * elf/tst-auditmod6b.c: Likewise.
32780 * elf/tst-auditmod6c.c: Likewise.
32781 * elf/tst-auditmod7b.c: Likewise.
32783 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32784 and x32_gnu_pltexit.
32786 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32787 __ELF_NATIVE_CLASS.
32788 (La_x32_regs): New macro.
32789 (La_x32_retval): Likewise.
32790 (la_x32_gnu_pltenter): New function prototype.
32791 (la_x32_gnu_pltexit): Likewise.
32793 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32800 * configure.in (libc_cv_cc_nofma): Check for option to disable
32801 generation of FMA instructions.
32802 * configure: Regenerate.
32803 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32804 * sysdeps/ieee754/dbl-64/Makefile: New file.
32805 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32806 Remove brandred-fma4.
32807 (CFLAGS-brandred-fma4.c): Remove.
32808 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32809 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32811 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32814 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32816 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32817 LLONG_MAX != LONG_MAX.
32818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32819 (_fitoa_word): Likewise.
32820 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32821 LLONG_MAX != LONG_MAX.
32822 * stdio-common/_itowa.h: Include <_itoa.h>.
32823 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32824 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32825 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32826 only if not defined.
32827 (_ITOA_WORD_TYPE): Likewise.
32828 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32829 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32831 2012-03-21 David S. Miller <davem@davemloft.net>
32833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32835 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32837 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32838 of x86_64 when setting libc_cv_slibdir, libdir and
32840 * sysdeps/unix/sysv/linux/configure: Regenerated.
32842 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32844 * manual/lang.texi (Old Varargs): Remove section.
32845 (How Variadic): Update menu.
32846 (va_start): Do not mention varargs.h.
32848 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32849 Joseph Myers <joseph@codesourcery.com>
32851 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32853 * configure: Regenerated.
32855 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32857 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32858 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32861 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32864 * Makefile (files-for-dist): Remove NOTES.
32865 (NOTES): Remove rule.
32866 * README: Don't refer to NOTES.
32867 * manual/creature.texi: Don't include macros.texi.
32868 * manual/intro.texi (creature.texi): Remove comment referring to
32871 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32872 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32873 * configure: Regenerated.
32874 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32875 LIBC_TRY_CC_OPTION.
32876 (libc_cv_as_i686): Likewise.
32877 (libc_cv_cc_avx): Likewise.
32878 (libc_cv_cc_sse2avx): Likewise.
32879 (libc_cv_cc_fma4): Likewise.
32880 (libc_cv_cc_novzeroupper): Likewise.
32881 * sysdeps/i386/configure: Regenerated.
32884 * sysdeps/i386/fpu/s_cexp.S: Remove.
32885 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32886 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32887 * math/libm-test.inc (cexp_test): Add more tests.
32888 * sysdeps/i386/fpu/libm-test-ulps: Update.
32889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32891 2012-03-21 Allan McRae <allan@archlinux.org>
32893 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32895 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32898 * math/w_exp2.c: Do not include <float.h>.
32899 (o_threshold, u_threshold): Remove.
32900 (__exp2): Calculate result before checking finiteness and calling
32902 * math/w_exp2f.c: Likewise.
32903 * math/w_exp2l.c: Likewise.
32904 * math/libm-test.inc (exp2_test): Require overflow exception for
32908 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32909 range of signed 64-bit integers before using fistpll. Remove
32910 checks for whether integers fit in mantissa bits.
32911 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32912 the range of signed 32-bit integers before using fistpl. Remove
32913 checks for whether integers fit in mantissa bits.
32914 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32915 (__ieee754_powl): Test for y outside the range of signed 64-bit
32916 integers before using fistpll. Reduce 64-bit values to 63-bit
32918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32919 divide-by-zero is raised for zero to large negative powers.
32920 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32921 (__ieee754_powl): Test for y outside the range of signed 64-bit
32922 integers before using fistpll. Reduce 64-bit values to 63-bit
32924 * math/libm-test.inc (pow_test): Add more tests.
32926 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32928 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32929 <stdio-common/_itoa.h>.
32930 * debug/segfault.c: Likewise.
32931 * elf/dl-cache.c: Likewise.
32932 * elf/dl-minimal.c: Likewise.
32933 * elf/dl-misc.c: Likewise.
32934 * elf/dl-sysdep.c: Likewise.
32935 * elf/dl-version.c: Likewise.
32936 * elf/rtld.c: Likewise.
32937 * hurd/hurdsock.c: Likewise.
32938 * hurd/lookup-retry.c: Likewise.
32939 * malloc/malloc.c: Likewise.
32940 * malloc/mtrace.c: Likewise.
32941 * nscd/nscd_getgr_r.c: Likewise.
32942 * nscd/nscd_getpw_r.c: Likewise.
32943 * nscd/nscd_getserv_r.c: Likewise.
32944 * posix/getopt_init.c: Likewise.
32945 * posix/wordexp.c: Likewise.
32946 * stdio-common/_itoa.c: Likewise.
32947 * stdio-common/printf_fphex.c: Likewise.
32948 * stdio-common/vfprintf.c: Likewise.
32949 * string/_strerror.c: Likewise.
32950 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32951 * sysdeps/i386/i686/hp-timing.h: Likewise.
32952 * sysdeps/mach/_strerror.c: Likewise.
32953 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32954 * sysdeps/mach/hurd/sethostid.c: Likewise.
32955 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32956 * sysdeps/mach/xpg-strerror.c: Likewise.
32957 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32958 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32959 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32960 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32961 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32962 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32963 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32964 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32965 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32966 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32967 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32968 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32969 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32970 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32971 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32972 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32973 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32974 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32975 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32976 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32977 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32979 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32981 * stdio-common/_itoa.h: Moved to ...
32982 * sysdeps/generic/_itoa.h: Here.
32984 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32986 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32987 instead of "_itoa.h" and "_itowa.h".
32988 * stdio-common/vfprintf.: Likewise.
32990 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32992 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32994 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32995 (__signbit): Likwise.
32996 (llrintf): Likwise.
32999 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33001 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33004 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33006 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33007 OVERFLOW_EXCEPTION_OK.
33008 * math/libm-test.inc ("Philosophy"): Update comment about
33010 (OVERFLOW_EXCEPTION): Define.
33011 (OVERFLOW_EXCEPTION_OK): Likewise.
33012 (INVALID_EXCEPTION_OK): Renumber.
33013 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33014 (IGNORE_ZERO_INF_SIGN): Likewise.
33015 (test_exceptions): Handle FE_OVERFLOW.
33016 (exp10_test): Expect overflow exceptions.
33017 (exp2_test): Likewise.
33018 (expm1_test): Likewise.
33019 (nextafter_test): Likewise.
33020 (pow_test): Likewise.
33021 (scalbn_test): Likewise.
33022 (scalbln_test): Likewise.
33024 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33026 * sysdeps/x86_64/bits/atomic.h
33027 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33029 (atomic_exchange_acq): Likewise.
33030 (__arch_exchange_and_add_body): Likewise.
33031 (__arch_add_body): Likewise.
33032 (atomic_add_negative): Likewise.
33033 (atomic_add_zero): Likewise.
33035 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33037 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33038 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33040 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33042 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33043 Check __x86_64__ instead of __WORDSIZE.
33045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33047 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33049 2012-03-19 David S. Miller <davem@davemloft.net>
33051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33053 * sysdeps/sparc/fpu/fenv_private.h: New file.
33054 * sysdeps/sparc/fpu/math_private.h: Use it.
33055 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33057 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33058 (libc_feholdexcept_setroundl): Remove.
33059 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33061 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33062 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33064 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33066 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33067 int64_t instead of long int.
33068 (INSERT_WORDS64): Likwise.
33070 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33072 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33073 _Unwind_GetCFA return to _Unwind_Ptr first.
33075 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33078 * math/s_clog.c: Include <float.h>.
33079 (__clog): Scale large or subnormal inputs.
33080 * math/s_clogf.c: Likewise.
33081 * math/s_clogl.c: Likewise.
33082 * math/s_clog10.c: Include <float.h>.
33083 (M_LOG10_2): Define.
33084 (__clog10): Scale large or subnormal inputs.
33085 * math/s_clog10f.c: Likewise.
33086 * math/s_clog10l.c: Likewise.
33087 * math/libm-test.inc (clog_test): Add more tests.
33088 (clog10_test): Likewise.
33089 * sysdeps/i386/fpu/libm-test-ulps: Update.
33090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33093 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33095 * math/libm-test.inc (atan2_test): Add another test.
33097 * Makerules (common-objdir-compile): Remove.
33098 * sysdeps/unix/Makefile (config-generated): Do not add
33099 $(unix-generated) to variable.
33100 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33101 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33103 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33105 [generic bits/local_lim.h] (before-compile): Do not append to
33107 [generic bits/local_lim.h] (common-generated): Likewise.
33108 [generic sys/param.h] (before-compile): Do not append to variable.
33109 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33110 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33111 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33112 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33114 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33115 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33116 [generic sys/param.h] ($(addprefix
33117 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33118 [generic sys/param.h] (common-generated): Do not append to
33120 [generic sys/param.h] (sysdep_headers): Likewise.
33121 [generic bits/errno.h] (before-compile): Do not append to
33123 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33125 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33126 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33127 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33128 [generic bits/errno.h] (common-generated): Do not append to
33130 [generic bits/ioctls.h] (before-compile): Do not append to
33132 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33134 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33135 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33136 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33138 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33139 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33140 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33141 [generic bits/ioctls.h] (common-generated): Do not append to
33143 [generic sys/syscall.h] (syscall.h): Remove variable.
33144 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33146 [generic sys/syscall.h] (before-compile): Do not append to
33148 [generic sys/syscall.h] (common-generated): Likewise.
33149 * sysdeps/unix/errnos-tmpl.c: Remove file.
33150 * sysdeps/unix/errnos.awk: Likewise.
33151 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33152 * sysdeps/unix/ioctls.awk: Likewise.
33153 * sysdeps/unix/mk-local_lim.c: Likewise.
33154 * sysdeps/unix/snarf-ioctls: Likewise.
33156 2012-03-19 Richard Henderson <rth@twiddle.net>
33158 * sysdeps/i386/fpu/fenv_private.h: New file.
33159 * sysdeps/i386/fpu/math_private.h: Use it.
33160 (math_opt_barrier, math_force_eval): Remove.
33161 (libc_feholdexcept_setround_53bit): Remove.
33162 (libc_feupdateenv_53bit): Remove.
33163 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33164 (math_opt_barrier, math_force_eval): Remove.
33165 (libc_feholdexcept): Remove.
33166 (libc_feholdexcept_setround): Remove.
33167 (libc_fetestexcept, libc_fesetenv): Remove.
33168 (libc_feupdateenv_test): Remove.
33169 (libc_feupdateenv, libc_feholdsetround): Remove.
33170 (libc_feresetround): Remove.
33172 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33173 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33175 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33176 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33177 (libc_feupdateenv_testl): New.
33178 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33179 (libc_feupdateenv_testf): New.
33180 (libc_feupdateenv): Use libc_feupdateenv_test.
33181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33182 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33184 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33185 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33186 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33187 (libc_feresetround_noex): New.
33188 (libc_feresetround_noexf): New.
33189 (libc_feresetround_noexl): New.
33190 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33191 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33192 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33193 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33198 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33200 SET_RESTORE_ROUND_NOEX.
33201 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33202 SET_RESTORE_ROUND_NOEXF.
33203 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33204 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33205 (libc_feholdsetroundf): New.
33206 (libc_feresetround, libc_feresetroundf): New.
33208 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33209 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33210 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33212 * sysdeps/generic/math_private.h: Include <fenv.h>.
33213 (default_libc_feholdexcept): New.
33214 (default_libc_feholdexcept_setround): New.
33215 (default_libc_fesetenv, default_libc_feupdateenv): New.
33216 (libc_feholdexcept): Only define if undefined.
33217 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33218 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33219 (libc_feholdexcept_setroundl): Likewise.
33220 (libc_feholdexcept_setround_53bit): Likewise.
33221 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33222 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33223 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33224 (libc_feupdateenv_53bit): Likewise.
33225 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33226 (libc_feholdexcept): Convert from macro to inline function.
33227 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33228 (libc_fesetenv, libc_feupdateenv): Likewise.
33230 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33231 not previously defined.
33232 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33233 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33234 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33235 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33236 * sysdeps/ieee754/flt-32/math_private.h: New file.
33237 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33238 math_private.h below SET_FLOAT_WORD.
33239 (__isnan, __isinf_ns, __finite): Remove.
33240 (__isnanf, __isinf_nsf, __finitef): Remove.
33242 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33246 2012-03-17 David S. Miller <davem@davemloft.net>
33249 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33252 2012-03-16 David S. Miller <davem@davemloft.net>
33254 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33258 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33260 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33261 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33262 sysdep_routines when subdir is sysvipc.
33263 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33264 __getshmlba helper.
33266 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33268 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33270 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33273 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33275 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33276 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33277 (__lround): Renamed to ...
33278 (__llround): This. Replace long int with long long int.
33279 Define lround functions as aliases of llround functions.
33280 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33282 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33284 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33285 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33286 adresses to uintptr_t. Replace "long int" and "unsigned long
33287 int" with "greg_t" on va_arg.
33289 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33291 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33292 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33294 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33295 Move e_machine check before EI_CLASS check. Handle x32
33296 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33297 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33298 SKIP_EM_IA_64 and include
33299 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33301 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33302 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33303 (add_system_dir): New macro.
33305 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33306 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33308 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33319 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33321 * math/w_j0f.c (j0f): Likewise.
33323 * math/w_j0l.c (__j0l): Likewise.
33325 * math/w_j1.c (j1): Likewise.
33327 * math/w_j1f.c (j1f): Likewise.
33329 * math/w_j1l.c (__j1l): Likewise.
33331 * math/w_jn.c (jn): Likewise.
33333 * math/w_jnf.c (jnf): Likewise.
33335 * math/w_jnl.c (__jnl): Likewise.
33337 * math/libm-test.inc (j0_test): Add more tests.
33338 (j1_test): Likewise.
33339 (jn_test): Likewise. Add trailing semicolon to existing test.
33340 (y0_test): Likewise.
33341 (y1_test): Likewise.
33342 * sysdeps/i386/fpu/libm-test-ulps: Update.
33343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33347 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33348 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33349 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33350 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33351 (__tanl): Set errno for infinite argument.
33352 * sysdeps/i386/fpu/mptan.c: Remove.
33353 * sysdeps/i386/fpu/s_tan.S: Likewise.
33354 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33355 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33356 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33357 * math/libm-test.inc (tan_test): Add more tests and enable more
33358 tests for double and long double.
33359 * sysdeps/i386/fpu/libm-test-ulps: Update.
33360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33362 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33364 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33365 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33367 2012-03-16 Roland McGrath <roland@hack.frob.com>
33369 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33370 * configure.in: Use it for both main tree and add-ons.
33371 * configure: Regenerated.
33373 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33375 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33377 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33379 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33383 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33384 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33385 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33386 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33387 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33389 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33391 != 0 for prec == 2.
33392 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33393 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33394 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33395 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33396 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33397 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33398 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33399 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33400 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33401 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33402 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33403 * math/libm-test.inc (cos_test): Add more tests and enable more
33404 tests for long double.
33405 (sin_test): Likewise.
33406 (sincos_test): Likewise.
33407 * sysdeps/i386/fpu/libm-test-ulps: Update.
33408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33410 2012-03-16 David S. Miller <davem@davemloft.net>
33412 * sysdeps/sparc/fpu/math_private.h: New file.
33414 2012-03-15 David S. Miller <davem@davemloft.net>
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33430 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33431 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33433 * sysdeps/sparc/sparc-ifunc.h: New file.
33434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33460 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33479 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33481 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33485 2012-03-15 Andreas Jaeger <aj@suse.de>
33488 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33489 ieee754/flt-32 implementation for sin, cos and sincos.
33490 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33491 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33492 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33493 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33494 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33495 ieee754/flt-32 implementation for tan.
33497 * math/libm-test.inc (cos_test): Enable some large input tests for
33499 (sin_test): Likewise.
33500 (sincos_test): Likewise.
33501 (tan_test): Add tests for large input.
33503 * sysdeps/i386/fpu/libm-test-ulps: Update.
33505 2012-03-15 Andreas Jaeger <aj@suse.de>
33508 * math/libm-test.inc (cos_test): Add more test cases.
33509 (sin_test): Likewise.
33510 (sincos_test): Likewise.
33512 2012-03-15 Andreas Jaeger <aj@suse.de>
33515 * math/libm-test.inc (cos_test): Add a test case for large input
33517 (sin_test): Likewise.
33518 (sincos_test): Likewise.
33520 2012-03-15 Andreas Jaeger <aj@suse.de>
33521 Joseph Myers <joseph@codesourcery.com>
33524 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33525 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33526 * sysdeps/i386/fpu/branred.c: Likewise.
33527 * sysdeps/i386/fpu/dosincos.c: Likewise.
33528 * sysdeps/i386/fpu/mpa.c: Likewise.
33529 * sysdeps/i386/fpu/s_cos.S: Likewise.
33530 * sysdeps/i386/fpu/s_sin.S: Likewise.
33531 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33532 * sysdeps/i386/fpu/sincos32.c: Likewise.
33534 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33536 (libc_feupdateenv_53bit): Define.
33537 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33539 (libc_feupdateenv_53bit): Define.
33541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33542 53 bit (without extend i386 double precision).
33544 * math/libm-test.inc (sincos_test): Add tests for large input.
33548 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33550 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33554 2012-03-15 David S. Miller <davem@davemloft.net>
33556 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33557 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33558 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33559 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33584 fmin/fmax sysdep routines.
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33587 2012-03-14 David S. Miller <davem@davemloft.net>
33589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33595 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33661 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33666 * sysdeps/sparc/configure.in: New file.
33667 * sysdeps/sparc/configure: Generate.
33668 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33669 * configure: Regenerate.
33670 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33671 * config.make.in (have-as-vis3): New.
33672 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33673 available use -Av9d instead of -Av9a.
33674 * sysdeps/sparc/sparc64/Makefile: Likewise.
33675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33690 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33691 fzeros/fnegs to load 0x80000000 into a float register instead of
33693 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33695 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33699 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33700 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33701 ($(inst_includedir)/bits/syscall.h): Remove rule.
33702 ($(objpfx)bits/syscall.d): Include instead of
33703 $(objpfx)syscall-list.d.
33704 (generated): Change syscall-list.h and syscall-list.d to
33705 bits/syscall.h and bits/syscall.d.
33707 2012-03-14 Roland McGrath <roland@hack.frob.com>
33710 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33712 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33715 * math/s_csqrt.c: Include <float.h>.
33716 (__csqrt): Scale large or subnormal inputs.
33717 * math/s_csqrtf.c: Likewise.
33718 * math/s_csqrtl.c: Likewise.
33719 * math/libm-test.inc (csqrt_test): Add more tests.
33720 * sysdeps/i386/fpu/libm-test-ulps: Update.
33721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33724 * math/libm-test.inc (hypot_test): Add more tests.
33726 2012-03-13 David S. Miller <davem@davemloft.net>
33729 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33730 double-precision for the calculation instead of scaling.
33732 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33734 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33735 manipulate bits before adding and subtracting TWO52[sx].
33736 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33737 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33739 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33741 2012-03-13 David S. Miller <davem@davemloft.net>
33743 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33744 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33746 rtld-global-offsets.h
33747 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33749 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33752 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33754 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33755 'err' in the ifdef scope in which it is actually used.
33757 * nss/nss_db/db-init.c: Include string.h
33759 2012-03-12 David S. Miller <davem@davemloft.net>
33761 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33762 masking out of the most significant byte of random value used.
33763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33764 Fix coding style in previous change.
33766 * sysdeps/unix/sysv/linux/kernel-features.h
33767 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33768 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33770 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33773 2012-03-11 David S. Miller <davem@davemloft.net>
33775 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33776 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33778 for 'resultvar' otherwise things get truncated on 64-bit.
33780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33781 Fix masking out of the most significant byte of random value used.
33783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33785 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33789 2012-03-09 David S. Miller <davem@davemloft.net>
33791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33792 variables with appropriate CPP guards.
33793 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33794 from the frame pointer, not the stack pointer. Correct layout
33795 comments. Fix test on resulting framesize and the management of
33796 the outregs buffer for pltexit. Preserve floating point return
33797 values across _dl_call_pltexit call.
33798 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33799 framesize and the management of the outregs buffer for pltexit.
33800 Preserve floating point return values across _dl_call_pltexit
33802 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33803 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33804 (la_sparc64_gnu_pltexit): New functions.
33805 (print_exit): Fix format string for return register value.
33807 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33809 * sunrpc/Makefile (others): Add rpcgen.
33810 ($(objpfx)rpcgen): Remove special build rule and dependency on
33812 * sunrpc/rpcgen.c: New file.
33814 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33817 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33818 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33819 * sysdeps/i386/crti.S: Likewise.
33820 * sysdeps/i386/crtn.S: Likewise.
33821 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33822 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33823 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33824 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33825 * sysdeps/sh/crti.S: Likewise.
33826 * sysdeps/sh/crtn.S: Likewise.
33827 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33830 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33832 * locale/programs/locfile-kw.gperf: Likewise.
33833 * locale/programs/charmap-kw.h: Regenerated.
33834 * locale/programs/locfile-kw.h: Likewise.
33837 * intl/plural.y: Replace FSF snail mail address with URL.
33838 * intl/plural.c: Regenerated.
33840 2012-03-09 Richard Henderson <rth@twiddle.net>
33842 * include/math_private.h: Remove file.
33843 * math/math_private.h: Move file ...
33844 * sysdeps/generic/math_private.h: ... here.
33846 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33847 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33848 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33850 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33851 and <math_private.h>.
33852 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33853 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33854 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33855 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33856 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33868 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33869 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33874 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33878 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33882 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33884 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33885 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33886 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33887 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33888 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33889 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33890 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33892 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33893 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33895 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33896 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33897 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33898 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33899 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33900 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33901 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33902 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33903 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33906 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33908 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33911 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33913 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33915 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33916 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33917 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33918 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33919 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33920 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33921 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33924 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33926 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33932 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33934 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33937 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33939 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33940 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33941 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33942 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33943 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33944 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33945 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33946 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33947 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33948 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33949 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33950 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33951 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33952 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33953 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33954 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33955 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33956 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33957 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33958 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33959 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33960 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33962 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33963 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33964 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33965 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33966 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33968 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33969 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33970 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33971 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33972 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33973 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33974 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33975 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33976 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33977 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33978 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33979 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33980 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33981 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33982 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33983 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33984 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33985 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33986 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33987 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33988 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33989 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33990 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33991 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33992 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33993 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33994 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33995 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33996 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33997 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33998 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33999 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34000 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34001 * sysdeps/ieee754/k_standard.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34029 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34033 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34034 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34040 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34041 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34046 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34053 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34054 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34056 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34058 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34059 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34061 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34063 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34069 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34073 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34090 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34093 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34095 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34114 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34117 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34121 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34122 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34124 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34128 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34129 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34134 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34148 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34149 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34150 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34151 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34152 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34153 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34162 * sysdeps/ieee754/s_lib_version.c: Likewise.
34163 * sysdeps/ieee754/s_matherr.c: Likewise.
34164 * sysdeps/ieee754/s_signgam.c: Likewise.
34165 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34166 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34167 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34168 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34169 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34170 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34171 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34172 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34173 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34174 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34175 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34176 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34177 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34178 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34179 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34180 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34181 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34182 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34183 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34184 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34187 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34189 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34190 * sunrpc/rpc_main.c: Likewise.
34191 * sunrpc/rpc_svcout.c: Likewise.
34193 2012-03-09 David S. Miller <davem@davemloft.net>
34195 * include/math_private.h: New file.
34197 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34199 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34200 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34201 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34202 from <bits/socket_type.h>.
34203 (enum __socket_type): Don't define here.
34204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34206 bits/socket_type.h.
34209 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34210 checking __USE_GNU.
34212 * Makerules ($(inst_includedir)/%.h): New rule.
34213 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34214 (install-others): Remove variable setting.
34215 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34217 2012-03-08 Richard Henderson <rth@twiddle.net>
34219 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34220 from macro to inline function; merge with the
34221 !__LIBC_INTERNAL_MATH_INLINES version.
34222 (__ieee754_sqrtf): Likewise.
34224 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34225 to inline function.
34226 (__rintf, __floor, __floorf): Likewise.
34228 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34229 macro to inline function.
34230 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34232 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34233 not <math/math_private.h>.
34235 2012-03-08 David S. Miller <davem@davemloft.net>
34237 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34239 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34241 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34243 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34245 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34246 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34248 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34250 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34251 be defined individually, they must be defined as a block. Define
34252 S for printing a string instead of hidint the different by using a
34253 macro for adding the 'l'.
34254 * stdio-common/tst-fphex-wide.c: Adjust.
34256 2012-03-07 Marek Polacek <polacek@redhat.com>
34258 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34260 2012-03-08 Marek Polacek <polacek@redhat.com>
34263 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34264 * stdio-common/tst-fphex.c: Define a few macros to make the
34265 test reusable. Use them.
34266 * stdio-common/tst-fphex-wide.c: New file.
34268 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34271 * manual/macros.texi (gnusystems): New macro.
34272 (nongnusystems): Likewise.
34273 (gnulinuxhurdsystems): Likewise.
34274 (gnuhurdsystems): Likewise..
34275 (gnulinuxsystems): Likewise.
34276 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34277 variants of the GNU system, not "GNU system".
34278 * manual/conf.texi: Likewise.
34279 * manual/errno.texi: Likewise. Update example of errno macro
34281 * manual/filesys.texi: Likewise.
34282 (getumask): Document as specific to GNU/Hurd.
34283 * manual/install.texi: Likewise. Reword some references to
34285 * manual/intro.texi: Likewise.
34286 * manual/io.texi: Likewise.
34287 (File Name Portability): Detail which constraints are inapplicable
34288 to all GNU systems and which are only inapplicable to GNU/Hurd.
34289 * manual/job.texi: Likewise.
34290 * manual/llio.texi: Likewise.
34291 (O_NOCTTY): Document as present on GNU/Linux.
34292 * manual/maint.texi: Likewise.
34293 * manual/memory.texi: Likewise.
34294 * manual/pattern.texi: Likewise.
34295 * manual/pipe.texi: Likewise.
34296 * manual/process.texi: Likewise.
34297 * manual/resource.texi: Likewise.
34298 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34300 * manual/setjmp.texi: Likewise.
34301 * manual/signal.texi: Likewise.
34302 * manual/startup.texi: Likewise.
34303 * manual/stdio.texi: Likewise.
34304 * manual/terminal.texi: Likewise.
34305 (ONLCR): Document as POSIX.
34306 (OXTABS): Document availability on GNU/Linux as XTABS.
34307 (ONOEOT): Document availability separately from other bits.
34308 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34309 * manual/time.texi: Likewise.
34310 * manual/users.texi: Likewise.
34311 * INSTALL: Regenerated.
34312 * sysdeps/gnu/errlist.c: Regenerated.
34314 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34315 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34316 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34318 * configure: Regenerated.
34320 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34322 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34323 default includes instead of AC_HEADER_CHECK.
34324 * sysdeps/i386/configure: Regenerated.
34327 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34328 * math/s_cacoshf.c (__cacoshf): Likewise.
34329 * math/s_cacoshl.c (__cacoshl): Likewise.
34330 * math/s_casinh.c (__casinh): Set signs of result from argument.
34331 * math/s_casinhf.c (__casinhf): Likewise.
34332 * math/s_casinhl.c (__casinhl): Likewise.
34333 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34334 (casinh_test): Add more tests.
34335 * sysdeps/i386/fpu/libm-test-ulps: Update.
34336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34338 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34340 * po/zh_TW.po: Update from translation team.
34342 * login/Makefile (distribute): Remove variable.
34343 * catgets/Makefile: Likewise.
34344 * mach/Makefile: Likewise.
34345 * malloc/Makefile: Likewise.
34346 * misc/Makefile: Likewise.
34347 * iconv/Makefile: Likewise.
34348 * nscd/Makefile: Likewise.
34349 * hurd/Makefile: Likewise.
34350 * manual/Makefile: Likewise.
34351 * locale/Makefile: Likewise.
34352 * intl/Makefile: Likewise.
34353 * conform/Makefile: Likewise.
34354 * nss/Makefile: Likewise.
34355 * time/Makefile: Likewise.
34356 * soft-fp/Makefile: Likewise.
34357 * dirent/Makefile: Likewise.
34358 * gmon/Makefile: Likewise.
34359 * po/Makefile: Likewise.
34360 * rt/Makefile: Likewise.
34361 * socket/Makefile: Likewise.
34362 * math/Makefile: Likewise.
34363 * signal/Makefile: Likewise.
34364 * debug/Makefile: Likewise.
34365 * elf/Makefile: Likewise.
34366 * timezone/Makefile: Likewise.
34367 * stdlib/Makefile: Likewise.
34368 * iconvdata/Makefile: Likewise.
34369 * sunrpc/Makefile: Likewise.
34370 * io/Makefile: Likewise.
34371 * argp/Makefile: Likewise.
34372 * inet/Makefile: Likewise.
34373 * hesiod/Makefile: Likewise.
34374 * grp/Makefile: Likewise.
34375 * csu/Makefile: Likewise.
34376 * wctype/Makefile: Likewise.
34377 * crypt/Makefile: Likewise.
34378 * libio/Makefile: Likewise.
34379 * string/Makefile: Likewise.
34380 * nis/Makefile: Likewise.
34381 * resolv/Makefile: Likewise.
34382 * stdio-common/Makefile: Likewise.
34383 * wcsmbs/Makefile: Likewise.
34384 * dlfcn/Makefile: Likewise.
34385 * posix/Makefile: Likewise.
34388 * timezone/Makefile: Don't install timezone files, just the programs
34391 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34393 * nss/databases.def: Add missing gshadow entry.
34395 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34397 2012-03-06 Marek Polacek <polacek@redhat.com>
34400 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34401 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34402 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34403 * stdio-common/tst-long-dbl-fphex.c: New file.
34405 2012-03-06 David S. Miller <davem@davemloft.net>
34407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34408 (set_obp_int): New function.
34409 (get_obp_int): New function.
34410 (__get_clockfreq_via_dev_openprom): Likewise.
34411 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34412 Avoid unused variable warnings on 'val' and use builtin_expect.
34413 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34415 (INLINE_CLONE_SYSCALL): Likewise.
34417 2012-03-05 David S. Miller <davem@davemloft.net>
34419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34421 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34425 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34426 only for |x| >= 40.
34427 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34429 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34432 Replace gettimeofday with __vdso_gettimeofday.
34434 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34435 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34436 __vdso_clock_gettime and __vdso_getcpu.
34438 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34439 time with __vdso_time.
34441 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34443 * manual/lang.texi (size_t): Note types to which size_t may be
34444 equivalent with the GNU C Library, but do not describe when
34445 differences between them are significant.
34447 2012-03-05 Andreas Jaeger <aj@suse.de>
34449 * sysdeps/i386/fpu/libm-test-ulps: Update.
34451 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34454 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34455 (__ieee754_pow): Save and restore rounding mode and use
34456 round-to-nearest for main computations.
34457 * math/libm-test.inc (pow_test_tonearest): New function.
34458 (pow_test_towardzero): Likewise.
34459 (pow_test_downward): Likewise.
34460 (pow_test_upward): Likewise.
34461 (main): Call the new functions.
34462 * sysdeps/i386/fpu/libm-test-ulps: Update.
34463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34466 * math/libm-test.inc (cosh_test_tonearest): New function.
34467 (cosh_test_towardzero): Likewise.
34468 (cosh_test_downward): Likewise.
34469 (cosh_test_upward): Likewise.
34470 (sinh_test_tonearest): Likewise.
34471 (sinh_test_towardzero): Likewise.
34472 (sinh_test_downward): Likewise.
34473 (sinh_test_upward): Likewise.
34474 (main): Call the new functions.
34475 * sysdeps/i386/fpu/libm-test-ulps: Update.
34476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34478 2012-03-05 Tom de Vries <tom@codesourcery.com>
34480 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34481 default stack guard is set in last bytes.
34482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34484 2012-03-05 Kees Cook <keescook@chromium.org>
34486 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34489 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34490 possibly allocate from heap instead of stack.
34491 * stdio-common/bug-vfprintf-nargs.c: New file.
34492 * stdio-common/Makefile (tests): Add nargs overflow test.
34494 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34498 2012-03-03 Marek Polacek <polacek@redhat.com>
34500 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34501 * math/math_private.h: Likewise.
34502 * stdlib/tst-strtod.c: Likewise.
34503 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34504 * sysdeps/x86_64/bits/atomic.h: Likewise.
34506 2012-03-02 David S. Miller <davem@davemloft.net>
34508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34512 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34513 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34514 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34515 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34517 2012-03-02 Roland McGrath <roland@hack.frob.com>
34520 * manual/examples/README: New file, says the example source files
34521 can be used under GPL>=2.
34522 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34523 line containing just "*/".
34524 * manual/examples/add.c: Add copyright header (GPL>=2).
34525 * manual/examples/argp-ex1.c: Likewise.
34526 * manual/examples/argp-ex2.c: Likewise.
34527 * manual/examples/argp-ex3.c: Likewise.
34528 * manual/examples/argp-ex4.c: Likewise.
34529 * manual/examples/atexit.c: Likewise.
34530 * manual/examples/db.c: Likewise.
34531 * manual/examples/dir.c: Likewise.
34532 * manual/examples/dir2.c: Likewise.
34533 * manual/examples/execinfo.c: Likewise.
34534 * manual/examples/filecli.c: Likewise.
34535 * manual/examples/filesrv.c: Likewise.
34536 * manual/examples/fmtmsgexpl.c: Likewise.
34537 * manual/examples/genpass.c: Likewise.
34538 * manual/examples/inetcli.c: Likewise.
34539 * manual/examples/inetsrv.c: Likewise.
34540 * manual/examples/isockad.c: Likewise.
34541 * manual/examples/longopt.c: Likewise.
34542 * manual/examples/memopen.c: Likewise.
34543 * manual/examples/memstrm.c: Likewise.
34544 * manual/examples/mkfsock.c: Likewise.
34545 * manual/examples/mkisock.c: Likewise.
34546 * manual/examples/mygetpass.c: Likewise.
34547 * manual/examples/pipe.c: Likewise.
34548 * manual/examples/popen.c: Likewise.
34549 * manual/examples/rprintf.c: Likewise.
34550 * manual/examples/search.c: Likewise.
34551 * manual/examples/select.c: Likewise.
34552 * manual/examples/setjmp.c: Likewise.
34553 * manual/examples/sigh1.c: Likewise.
34554 * manual/examples/sigusr.c: Likewise.
34555 * manual/examples/stpcpy.c: Likewise.
34556 * manual/examples/strdupa.c: Likewise.
34557 * manual/examples/strftim.c: Likewise.
34558 * manual/examples/strncat.c: Likewise.
34559 * manual/examples/subopt.c: Likewise.
34560 * manual/examples/swapcontext.c: Likewise.
34561 * manual/examples/termios.c: Likewise.
34562 * manual/examples/testopt.c: Likewise.
34563 * manual/examples/testpass.c: Likewise.
34564 * manual/examples/timeval_subtract.c: Likewise.
34567 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34569 * manual/timeval_subtract.c.texi: ... here, new file.
34571 2012-03-02 David S. Miller <davem@davemloft.net>
34573 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34575 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34578 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34579 (__sin): Save and restore rounding mode and use round-to-nearest
34580 for all computations.
34581 (__cos): Save and restore rounding mode and use round-to-nearest
34582 for all computations.
34583 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34585 (tan): Save and restore rounding mode and use round-to-nearest for
34587 * math/libm-test.inc (cos_test_tonearest): New function.
34588 (cos_test_towardzero): Likewise.
34589 (cos_test_downward): Likewise.
34590 (cos_test_upward): Likewise.
34591 (sin_test_tonearest): Likewise.
34592 (sin_test_towardzero): Likewise.
34593 (sin_test_downward): Likewise.
34594 (sin_test_upward): Likewise.
34595 (tan_test_tonearest): Likewise.
34596 (tan_test_towardzero): Likewise.
34597 (tan_test_downward): Likewise.
34598 (tan_test_upward): Likewise.
34599 (main): Call the new functions.
34600 * sysdeps/i386/fpu/libm-test-ulps: Update.
34601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34604 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34605 small n, then large n, before computing and testing k+n.
34606 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34611 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34612 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34613 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34614 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34615 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34616 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34617 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34619 * math/libm-test.inc (scalbn_test): Add more tests.
34620 (scalbln_test): Likewise.
34622 * manual/filesys.texi (mode_t): Describe constraints on size and
34623 signedness, not exact equivalence to a particular type.
34625 (ino64_t): Likewise.
34627 (nlink_t): Likewise.
34628 (blkcnt_t): Likewise.
34629 (blkcnt64_t): Likewise.
34630 * manual/llio.texi (off_t): Likewise.
34633 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34634 (__ieee754_exp): Save and restore rounding mode and use
34635 round-to-nearest for all computations.
34636 * math/libm-test.inc (exp_test_tonearest): New function.
34637 (exp_test_towardzero): Likewise.
34638 (exp_test_downward): Likewise.
34639 (exp_test_upward): Likewise.
34640 (main): Call the new functions.
34641 * sysdeps/i386/fpu/libm-test-ulps: Update.
34642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34644 2012-03-01 Chris Demetriou <cgd@google.com>
34646 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34647 have predictable order.
34649 2012-03-01 David S. Miller <davem@davemloft.net>
34651 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34653 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34654 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34656 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34658 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34659 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34660 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34662 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34663 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34664 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34665 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34666 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34670 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34671 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34672 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34674 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34675 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34676 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34677 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34678 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34679 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34681 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34682 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34683 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34684 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34685 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34687 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34688 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34690 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34691 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34692 * sysdeps/sparc/elf/configure: Regenerated.
34694 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34696 * configure.in (AS, LD): Require binutils 2.20 or later.
34697 * configure: Regenerated.
34698 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34699 as required minimum version.
34700 * INSTALL: Regenerated.
34704 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34705 before squaring exponent.
34706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34707 bottom long double and 27 bits of top long double before squaring
34709 * math/libm-test.inc (erfc_test): Add more tests.
34710 * sysdeps/i386/fpu/libm-test-ulps: Update.
34711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34714 2012-03-01 Kai Tietz <ktietz@redhat.com>
34716 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34717 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34718 containing bit-fields.
34719 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34720 * soft-fp/single.h (_FP_UNION_S): Likewise.
34721 * soft-fp/double.h (_FP_UNION_D): Likewise.
34723 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34726 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34727 not include ../strcmp.S.
34728 [USE_AS_STRNCASECMP_L]: Likewise.
34729 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34730 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34731 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34732 (__strncasecmp_l_ia32): Define as alias to
34733 __strncasecmp_l_nonascii.
34736 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34737 * sysdeps/i386/fpu/libm-test-ulps: Update.
34738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34740 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34743 2012-02-29 Jeff Law <law@redhat.com>
34745 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34746 out of bounds read.
34748 2012-02-29 Marek Polacek <polacek@redhat.com>
34751 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34752 * elf/Makefile: Add rules to run tst-unused-dep.out.
34754 2012-02-28 David S. Miller <davem@davemloft.net>
34756 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34757 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34760 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34761 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34763 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34765 * math/libm-test.inc (llround_test): Move one test from
34766 lround_test. Use TEST_f_L in moved test.
34767 (lround_test): Move misplaced test to llround_test. Add testcase
34770 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34772 * sysdeps/x86_64/fpu/e_expf.S: New file.
34773 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34775 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34778 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34779 of remain_len that may cause incomplete multi-byte character and
34781 * posix/bug-regex33.c: New file.
34782 * posix/Makefile (tests): Add bug-regex33.
34784 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34786 * manual/macros.texi: New file.
34787 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34788 * manual/libc.texinfo: Include macros.texi.
34789 * manual/creatute.texi: Likewise.
34790 * manual/install.texi: Likewise.
34791 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34792 @glibcadj{} in references to the GNU C Library.
34793 * manual/charset.texi: Likewise.
34794 * manual/conf.texi: Likewise.
34795 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34796 when not using those macros.
34797 * manual/creature.texi: Likewise.
34798 * manual/crypt.texi: Likewise.
34799 * manual/errno.texi: Likewise.
34800 * manual/filesys.texi: Likewise.
34801 * manual/header.texi: Likewise.
34802 * manual/install.texi: Likewise.
34803 * manual/intro.texi: Likewise.
34804 * manual/io.texi: Likewise.
34805 * manual/job.texi: Likewise.
34806 * manual/lang.texi: Likewise.
34807 * manual/libc.texiinfo: Likewise.
34808 * manual/llio.texi: Likewise.
34809 * manual/locale.texi: Likewise.
34810 * manual/maint.texi: Likewise.
34811 * manual/math.texi: Likewise.
34812 * manual/memory.texi: Likewise.
34813 * manual/message.texi: Likewise.
34814 * manual/nss.texi: Likewise.
34815 * manual/pattern.texi: Likewise.
34816 * manual/process.texi: Likewise.
34817 * manual/resource.texi: Likewise.
34818 * manual/search.texi: Likewise.
34819 * manual/setjmp.texi: Likewise.
34820 * manual/signal.texi: Likewise.
34821 * manual/socket.texi: Likewise.
34822 * manual/startup.texi: Likewise.
34823 * manual/stdio.texi: Likewise.
34824 * manual/string.texi: Likewise.
34825 * manual/sysinfo.texi: Likewise.
34826 * manual/syslog.texi: Likewise.
34827 * manual/terminal.texi: Likewise.
34828 * manual/time.texi: Likewise.
34829 * manual/users.texi: Likewise.
34830 * INSTALL: Regenerated.
34831 * NOTES: Regenerated.
34832 * sysdeps/gnu/errlist.c: Regenerated.
34834 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34836 * include/dirent.h: Include <dirstream.h> before
34839 2012-02-28 David S. Miller <davem@davemloft.net>
34841 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34842 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34843 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34844 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34846 2012-02-27 David S. Miller <davem@davemloft.net>
34848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34850 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34851 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34854 frame pointer instead of stack pointer relative arg slot.
34855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34856 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34857 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34859 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34862 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34864 2012-02-27 David S. Miller <davem@davemloft.net>
34866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34872 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34873 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34875 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34877 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34878 later. Allow versions 5-9.
34879 * configure: Regenerated.
34880 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34881 required minimum version and 4.6 as recommended version. Do not
34882 mention bugs in GCC 2.7 and 2.8.
34883 * INSTALL: Regenerated.
34885 2012-02-27 David S. Miller <davem@davemloft.net>
34887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34891 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34892 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34893 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34894 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34897 manipulate bits before adding and subtracting TWO112[sx].
34898 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34900 2012-02-27 Roland McGrath <roland@hack.frob.com>
34903 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34904 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34905 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34906 being in POSIX, because they are in 1003.1-2008.
34908 * rt/tst-aio.c: Include <fcntl.h>.
34909 * rt/tst-aio7.c: Likewise.
34910 * rt/tst-aio64.c: Likewise.
34912 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34914 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34916 * manual/install.texi (--with-headers): Describe headers as
34917 interface headers, not private headers.
34918 (Specific advice for GNU/Linux systems): Describe use of headers
34919 from "make headers_install", not private headers from older
34921 * INSTALL: Regenerated.
34922 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34924 * sysdeps/unix/sysv/linux/configure: Regenerated.
34926 * manual/llio.texi (fclean): Remove documentation.
34928 * manual/Makefile (libc-texi-generated): New variable. Include
34930 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34931 $(libc-texi-generated), not duplicated list of files.
34932 (version.texi, stamp-version): New rules.
34933 (realclean): Remove $(libc-texi-generated), not individual files
34934 from that list. Do not remove dir-add.texinfo.
34935 * manual/libc.texinfo: Comment out uses of edition numbers and
34936 references to printed manual. Remove last-updated dates.
34937 (EDITION): Comment out.
34939 (VERSION, UPDATED): Remove.
34940 (version.texi): Include.
34942 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34944 * sysdeps/posix/spawni.c: Include <signal.h>.
34945 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34946 * sysdeps/pthread/aio_fsync.c: Likewise.
34948 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34950 * conform/Makefile (tests): Run only when not cross-compiling and
34951 when fast-check is not defined.
34953 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34954 * conform/data/limits.h-data: Fixes for POSIX2008.
34955 * conform/run-conformtest.sh: Run all tests.
34956 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34958 * include/bits/dlfcn.h: Likewise.
34959 * include/langinfo.h: Likewise.
34960 * include/monetary.h: Likewise.
34961 * include/sys/poll.h: Likewise.
34963 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34965 * posix/spawn.h: Define __need_sigset_t.
34966 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34967 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34968 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34969 to get sigevent_t only.
34970 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34971 only for __USE_GNU.
34972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34973 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34974 process_vm_writev only for __USE_GNU.
34975 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34977 * conform/Makefile: For now ignore errors from run-conformtest.
34978 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34979 POSIX to avoid namespace pollution. Don't prepend headers.
34980 * conform/data/aio.h-data: Fixes for POSIX testing.
34981 * conform/data/fcntl.h-data: Likewise.
34982 * conform/data/glob.h-data: Likewise.
34983 * conform/data/grp.h-data: Likewise.
34984 * conform/data/pthread.h-data: Likewise.
34985 * conform/data/pwd.h-data: Likewise.
34986 * conform/data/signal.h-data: Likewise.
34987 * conform/data/spawn.h-data: Likewise.
34988 * conform/data/stdio.h-data: Likewise.
34989 * conform/data/stdlib.h-data: Likewise.
34990 * conform/data/stropts.h-data: Likewise.
34991 * conform/data/sys/mman.h-data: Likewise.
34992 * conform/data/sys/stat.h-data: Likewise.
34993 * conform/data/sys/types.h-data: Likewise.
34994 * conform/data/sys/wait.h-data: Likewise.
34995 * conform/data/time.h-data: Likewise.
34996 * conform/data/unistd.h-data: Likewise.
34997 * conform/data/utime.h-data: Likewise.
34999 * io/sys/stat.h: fchmod was always in POSIX.
35000 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35001 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35002 * rt/aio.h: Define __need_timespec before including <time.h>.
35003 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35004 struct. Add forward declaration of pthread_attr_t and use it in
35006 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35007 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35008 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35009 always remove CLK_TCK definition.
35011 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35013 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35015 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35017 * conform/run-conformtest.sh: New file.
35018 * conform/Makefile: Run run-conformtest for tests.
35019 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35022 * conform/data/uchar.h-data: New file.
35023 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35024 * conform/data/arpa/inet.h-data: Likewise.
35025 * conform/data/assert.h-data: Likewise.
35026 * conform/data/complex.h-data: Likewise.
35027 * conform/data/cpio.h-data: Likewise.
35028 * conform/data/ctype.h-data: Likewise.
35029 * conform/data/dirent.h-data: Likewise.
35030 * conform/data/dlfcn.h-data: Likewise.
35031 * conform/data/errno.h-data: Likewise.
35032 * conform/data/fcntl.h-data: Likewise.
35033 * conform/data/float.h-data: Likewise.
35034 * conform/data/fmtmsg.h-data: Likewise.
35035 * conform/data/fnmatch.h-data: Likewise.
35036 * conform/data/ftw.h-data: Likewise.
35037 * conform/data/glob.h-data: Likewise.
35038 * conform/data/grp.h-data: Likewise.
35039 * conform/data/iconv.h-data: Likewise.
35040 * conform/data/inttypes.h-data: Likewise.
35041 * conform/data/langinfo.h-data: Likewise.
35042 * conform/data/libgen.h-data: Likewise.
35043 * conform/data/limits.h-data: Likewise.
35044 * conform/data/locale.h-data: Likewise.
35045 * conform/data/math.h-data: Likewise.
35046 * conform/data/monetary.h-data: Likewise.
35047 * conform/data/mqueue.h-data: Likewise.
35048 * conform/data/ndbm.h-data: Likewise.
35049 * conform/data/net/if.h-data: Likewise.
35050 * conform/data/netdb.h-data: Likewise.
35051 * conform/data/netinet/in.h-data: Likewise.
35052 * conform/data/nl_types.h-data: Likewise.
35053 * conform/data/poll.h-data: Likewise.
35054 * conform/data/pthread.h-data: Likewise.
35055 * conform/data/pwd.h-data: Likewise.
35056 * conform/data/regex.h-data: Likewise.
35057 * conform/data/sched.h-data: Likewise.
35058 * conform/data/search.h-data: Likewise.
35059 * conform/data/semaphore.h-data: Likewise.
35060 * conform/data/setjmp.h-data: Likewise.
35061 * conform/data/signal.h-data: Likewise.
35062 * conform/data/spawn.h-data: Likewise.
35063 * conform/data/stdarg.h-data: Likewise.
35064 * conform/data/stdio.h-data: Likewise.
35065 * conform/data/stdlib.h-data: Likewise.
35066 * conform/data/string.h-data: Likewise.
35067 * conform/data/strings.h-data: Likewise.
35068 * conform/data/stropts.h-data: Likewise.
35069 * conform/data/sys/ipc.h-data: Likewise.
35070 * conform/data/sys/mman.h-data: Likewise.
35071 * conform/data/sys/msg.h-data: Likewise.
35072 * conform/data/sys/resource.h-data: Likewise.
35073 * conform/data/sys/select.h-data: Likewise.
35074 * conform/data/sys/sem.h-data: Likewise.
35075 * conform/data/sys/shm.h-data: Likewise.
35076 * conform/data/sys/socket.h-data: Likewise.
35077 * conform/data/sys/stat.h-data: Likewise.
35078 * conform/data/sys/statvfs.h-data: Likewise.
35079 * conform/data/sys/time.h-data: Likewise.
35080 * conform/data/sys/timeb.h-data: Likewise.
35081 * conform/data/sys/times.h-data: Likewise.
35082 * conform/data/sys/types.h-data: Likewise.
35083 * conform/data/sys/uio.h-data: Likewise.
35084 * conform/data/sys/un.h-data: Likewise.
35085 * conform/data/sys/utsname.h-data: Likewise.
35086 * conform/data/sys/wait.h-data: Likewise.
35087 * conform/data/syslog.h-data: Likewise.
35088 * conform/data/tar.h-data: Likewise.
35089 * conform/data/termios.h-data: Likewise.
35090 * conform/data/utime.h-data: Likewise.
35091 * conform/data/utmpx.h-data: Likewise.
35092 * conform/data/varargs.h-data: Likewise.
35093 * conform/data/wchar.h-data: Likewise.
35094 * conform/data/wctype.h-data: Likewise.
35095 * conform/data/wordexp.h-data: Likewise.
35097 * include/stropts.h: New file.
35098 * include/uchar.h: New file.
35099 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35100 * include/assert.h: Likewise.
35101 * include/ctype.h: Likewise.
35102 * include/dirent.h: Likewise.
35103 * include/dlfcn.h: Likewise.
35104 * include/fcntl.h: Likewise.
35105 * include/fnmatch.h: Likewise.
35106 * include/glob.h: Likewise.
35107 * include/grp.h: Likewise.
35108 * include/libio.h: Likewise.
35109 * include/locale.h: Likewise.
35110 * include/math.h: Likewise.
35111 * include/net/if.h: Likewise.
35112 * include/netdb.h: Likewise.
35113 * include/netinet/in.h: Likewise.
35114 * include/pthread.h: Likewise.
35115 * include/pwd.h: Likewise.
35116 * include/regex.h: Likewise.
35117 * include/sched.h: Likewise.
35118 * include/search.h: Likewise.
35119 * include/setjmp.h: Likewise.
35120 * include/signal.h: Likewise.
35121 * include/stdio.h: Likewise.
35122 * include/stdlib.h: Likewise.
35123 * include/string.h: Likewise.
35124 * include/sys/cdefs.h: Likewise.
35125 * include/sys/mman.h: Likewise.
35126 * include/sys/msg.h: Likewise.
35127 * include/sys/resource.h: Likewise.
35128 * include/sys/select.h: Likewise.
35129 * include/sys/socket.h: Likewise.
35130 * include/sys/stat.h: Likewise.
35131 * include/sys/statvfs.h: Likewise.
35132 * include/sys/time.h: Likewise.
35133 * include/sys/times.h: Likewise.
35134 * include/sys/uio.h: Likewise.
35135 * include/sys/utsname.h: Likewise.
35136 * include/sys/wait.h: Likewise.
35137 * include/termios.h: Likewise.
35138 * include/time.h: Likewise.
35139 * include/ulimit.h: Likewise.
35140 * include/unistd.h: Likewise.
35141 * include/utime.h: Likewise.
35142 * include/wchar.h: Likewise.
35143 * include/wctype.h: Likewise.
35144 * include/wordexp.h: Likewise.
35146 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35148 * time/time.h: TIME_UTC must be a macro.
35149 Make timespec_get available for ISO C11 only as well.
35151 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35153 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35154 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35156 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35158 * configure.in: Use -o not -a in test for unsupported multi-arch.
35160 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35162 * manual/texinfo.tex: Update to version 2012-01-19.16.
35164 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35166 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35168 2012-02-24 Roland McGrath <roland@hack.frob.com>
35171 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35172 * manual/fdl-1.3.texi: New file.
35173 * manual/fdl-1.1.texi: File removed.
35176 * manual/libc.texinfo (FDL_VERSION): New @set.
35177 Use it for mention of FDL in cover text.
35178 (Documentation License): Use it in @include file name.
35180 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35181 Roland McGrath <roland@hack.frob.com>
35184 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35185 (not LONG_LONG_MAX and LONG_LONG_MIN.
35186 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35187 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35189 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35191 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35195 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35196 manipulate bits before adding and subtracting TWO23[sx].
35197 * math/libm-test.inc (nearbyint_test): Add more tests.
35199 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35202 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35203 bits before adding and subtracting TWO23[sx].
35204 * math/libm-test.inc (rint_test): Add more tests.
35205 (rint_test_tonearest): Likewise.
35206 (rint_test_towardzero): Likewise.
35207 (rint_test_downward): Likewise.
35208 (rint_test_upward: Likewise.
35210 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35213 * include/stdc-predef.h: New file. Extracted from features.h.
35214 * include/features.h: Include stdc-predef.h.
35215 * Makefile (headers): Add stdc-predef.h.
35216 * CONFORMANCE (Compiler limitations): Update.
35218 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35220 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35222 2012-02-21 David S. Miller <davem@davemloft.net>
35224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35225 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35227 2012-02-20 David S. Miller <davem@davemloft.net>
35229 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35230 using a normal save/restore sequence, rather than allocating a
35231 dummy stack frame just to store a frame pointer and restore.
35232 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35234 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35236 * manual/install.texi: Fix stray word in line-wrapped comment.
35238 2012-02-20 David S. Miller <davem@davemloft.net>
35240 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35241 both binutils and gcc support GOTDATA.
35243 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35244 "rd %pc" in the PIC register setup sequences.
35246 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35247 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35248 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35249 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35250 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35253 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35255 (SYSCALL_ERROR_HANDLER): Likewise.
35256 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35257 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35259 (SYSCALL_ERROR_HANDLER): Likewise.
35261 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35262 (HAVE_GCC_GOTDATA): New.
35263 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35264 relocation support in both binutils and gcc.
35265 * sysdeps/sparc/elf/configure: Regenerate.
35267 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35268 * sysdeps/sparc/sparc32/elf/configure: Delete.
35269 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35270 * sysdeps/sparc/sparc64/elf/configure: Delete.
35271 * sysdeps/sparc/elf/configure.in: New file.
35272 * sysdeps/sparc/elf/configure: Generate.
35274 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35275 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35276 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35277 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35278 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35280 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35282 * manual/install.texi: Do not mention specific glibc version
35284 * manual/libc.texinfo (VERSION, UPDATED): Update.
35285 (@copying): Use @copyright{} and range of years.
35287 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35290 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35291 [crti.S not in sysdirs] (generated): Do not append.
35292 [crti.S not in sysdirs] (omit-deps): Likewise.
35293 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35294 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35295 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35296 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35297 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35299 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35300 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35301 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35302 * csu/defs.awk: Remove file.
35303 * sysdeps/generic/initfini.c: Likewise.
35304 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35306 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35309 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35311 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35312 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35313 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35314 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35315 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35316 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35318 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35319 (__EPOLL_PACKED): Define to empty if not defined by
35321 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35325 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35327 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35328 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35329 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35330 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35332 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35336 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35338 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35341 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35345 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35350 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35352 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35353 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35355 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35357 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35360 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35362 * math/w_acos.c: Use non-signaling floating-point comparisons.
35363 * math/w_acosf.c: Likewise.
35364 * math/w_acosh.c: Likewise.
35365 * math/w_acoshf.c: Likewise.
35366 * math/w_acoshl.c: Likewise.
35367 * math/w_acosl.c: Likewise.
35368 * math/w_asin.c: Likewise.
35369 * math/w_asinf.c: Likewise.
35370 * math/w_asinl.c: Likewise.
35371 * math/w_atanh.c: Likewise.
35372 * math/w_atanhf.c: Likewise.
35373 * math/w_atanhl.c: Likewise.
35374 * math/w_exp2.c: Likewise.
35375 * math/w_exp2f.c: Likewise.
35376 * math/w_exp2l.c: Likewise.
35377 * math/w_j0.c: Likewise.
35378 * math/w_j0f.c: Likewise.
35379 * math/w_j0l.c: Likewise.
35380 * math/w_j1.c: Likewise.
35381 * math/w_j1f.c: Likewise.
35382 * math/w_j1l.c: Likewise.
35383 * math/w_jn.c: Likewise.
35384 * math/w_jnf.c: Likewise.
35385 * math/w_log.c: Likewise.
35386 * math/w_log10.c: Likewise.
35387 * math/w_log10f.c: Likewise.
35388 * math/w_log10l.c: Likewise.
35389 * math/w_log2.c: Likewise.
35390 * math/w_log2f.c: Likewise.
35391 * math/w_log2l.c: Likewise.
35392 * math/w_logf.c: Likewise.
35393 * math/w_logl.c: Likewise.
35394 * math/w_sqrt.c: Likewise.
35395 * math/w_sqrtf.c: Likewise.
35396 * math/w_sqrtl.c: Likewise.
35397 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35398 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35399 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35400 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35401 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35403 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35406 * manual/string.texi (strnlen): Use correct parameter name in
35407 equivalent expression.
35409 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35412 * manual/users.texi (seteuid): Consistently use neweuid for
35415 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35418 * manual/nss.texi (Services in the NSS configuration): Correct
35419 list of services in example configuration file.
35421 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35424 * manual/arith.texi: Remove statements about negative zero
35425 behaving identically to zero.
35427 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35430 * manual/install.texi: Do not document upgrading from libc5.
35432 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35435 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35437 2012-02-18 David S. Miller <davem@davemloft.net>
35439 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35440 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35441 %o7 across the call.
35442 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35444 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35445 SETUP_PIC_REG_LEAF.
35446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35447 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35448 * sysdeps/sparc/crtn.S: Likewise.
35450 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35452 * aout/Makefile: Remove.
35454 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35457 * manual/examples/argp-ex1.c (main): Format definition in GNU
35459 * manual/examples/argp-ex2.c (main): Likewise.
35460 * manual/examples/argp-ex3.c (main): Likewise.
35461 * manual/examples/argp-ex4.c (main): Likewise.
35462 * manual/examples/longopt.c (main): Use new-style prototype
35464 * manual/examples/strncat.c (main): Specify return type and use
35465 (void) for arguments.
35466 * manual/examples/subopt.c (main): Use char **argv argument.
35468 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35471 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35474 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35477 * manual/string.texi (strchr): Change when strchrnul is
35480 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35483 * manual/locale.texi (setlocale): Document LOCPATH.
35485 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35488 * manual/process.texi (execle): Move @dots{} before last argument.
35490 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35493 * manual/charset.texi (Generic Charset Conversion): Fix typo
35494 (LC_TYPE -> LC_CTYPE).
35496 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35499 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35500 (scalbnf): Likewise.
35501 (scalbnl): Likewise.
35502 (scalbln): Likewise.
35503 (scalblnf): Likewise.
35504 (scalblnl): Likewise.
35505 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35506 (vwarnx): Likewise.
35509 * manual/filesys.texi (telldir): Use braces around return type.
35510 * manual/llio.texi (mmap): Add space after comma.
35511 (mmap64): Likewise.
35512 * manual/math.texi (jn): Use @var{} on parameter names.
35518 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35520 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35522 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35523 (sched_get_priority_max): Likewise.
35524 * manual/signal.texi (sigvec): Add space after comma.
35525 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35527 (if_indextoname): Likewise.
35528 (if_freenameindex): Likewise.
35529 (sendto): Use ',' instead of '.' in prototype.
35530 * manual/startup.texi (syscall): Use @dots{} instead of literal
35532 * manual/stdio.texi (__fpending): Separate initial words of
35533 paragraph from @deftypefun line.
35534 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35536 (vsyslog): Use @var{} on parameter names.
35537 * manual/terminal.texi (stty): Use @var{} on parameter names.
35538 * manual/users.texi (getutmp): Use @var{} on parameter names.
35539 (getutmpx): Likewise.
35541 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35544 * manual/stdio.texi (fopen): Fix typos in description of
35547 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35550 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35551 get clock_id definition.
35553 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35556 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35557 (madvise): Cast every argument to void on its own.
35559 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35562 * manual/startup.texi (Exit Status): Fix typo.
35564 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35567 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35568 * manual/examples/argp-ex2.c: Likewise.
35569 * manual/examples/argp-ex3.c: Likewise.
35571 2012-02-16 Richard Henderson <rth@redhat.com>
35573 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35574 * sysdeps/s390/s390-32/initfini.c: Remove.
35575 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35576 * sysdeps/s390/s390-64/initfini.c: Remove.
35578 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35580 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35581 compiler output for sysdeps/generic/initfini.c.
35582 * sysdeps/sh/elf/initfini.c: Remove file.
35584 2012-02-16 David S. Miller <davem@davemloft.net>
35587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35589 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35590 * sysdeps/sparc/crti.S: New file.
35591 * sysdeps/sparc/crtn.S: New file.
35592 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35593 * sysdeps/sparc/sparc64/Makefile: Likewise.
35595 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35598 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35600 2012-02-15 Roland McGrath <roland@hack.frob.com>
35603 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35605 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35606 (write, read, close): Likewise.
35607 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35609 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35611 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35612 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35613 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35614 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35616 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35620 2012-02-14 Marek Polacek <polacek@redhat.com>
35622 * sysdeps/x86_64/crti.S: New file.
35623 * sysdeps/x86_64/crtn.S: New file.
35624 * sysdeps/x86_64/elf/initfini.c: Remove file.
35626 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35628 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35629 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35630 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35631 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35633 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35637 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35639 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35640 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35641 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35642 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35644 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35648 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35650 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35651 __feraiseexcept instead of feraiseexcept.
35653 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35654 nanosleep invocations.
35655 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35656 strings, and add error checking for a nanosleep invocations.
35658 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35660 Replace FSF snail mail address with URLs, as per GNU coding standards.
35661 Most of the snail mail addresses were wrong anyway, and omitting
35662 them makes the source code easier to maintain. Almost all of the
35663 changes are to license notices and to locale LC_IDENTIFICATION
35664 addresses, except for this one:
35665 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35666 not its snail mail address.
35668 2012-02-09 Richard Henderson <rth@twiddle.net>
35670 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35671 of kernel-features.h.
35673 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35675 2012-02-08 Marek Polacek <polacek@redhat.com>
35677 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35678 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35679 * sysdeps/gnu/_G_config.h: Likewise.
35680 * sysdeps/generic/_G_config.h: Likewise.
35682 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35684 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35688 * sysdeps/powerpc/powerpc32/crti.S: New file.
35689 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35690 * sysdeps/powerpc/powerpc64/crti.S: New file.
35691 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35693 * Makeconfig (have-initfini): Don't set.
35694 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35695 * configure.in (nopic_initfini): Don't substitute.
35696 * config.h.in (HAVE_INITFINI): Don't #undef.
35697 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35698 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35700 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35702 Support crti.S and crtn.S provided directly by architectures.
35703 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35704 [crti.S in sysdirs] (omit-deps): Likewise.
35705 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35706 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35707 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35708 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35709 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35710 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35711 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35712 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35713 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35714 compiler output for sysdeps/generic/initfini.c.
35715 * sysdeps/i386/elf/Makefile: Remove file.
35716 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35718 2012-02-07 Marek Polacek <polacek@redhat.com>
35720 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35721 * sysdeps/gnu/_G_config.h: Likewise.
35722 * sysdeps/mach/hurd/_G_config.h: Likewise.
35724 2012-02-07 Marek Polacek <polacek@redhat.com>
35726 * math/Makefile (tests): Add tst-CMPLX2.
35727 * math/tst-CMPLX2.c: New file.
35729 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35731 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35733 * math/libm-test.inc (jn_test): Add missing L suffix.
35735 2012-02-06 Marek Polacek <polacek@redhat.com>
35737 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35738 * sysdeps/i386/fpu/e_powf.S: Likewise.
35739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35740 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35741 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35742 * sysdeps/i386/fpu/e_pow.S: Likewise.
35743 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35744 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35745 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35746 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35747 * sysdeps/i386/fpu/e_log2.S: Likewise.
35748 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35749 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35750 * sysdeps/i386/fpu/e_powl.S: Likewise.
35751 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35752 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35753 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35754 * sysdeps/i386/fpu/e_logl.S: Likewise.
35755 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35756 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35757 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35758 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35759 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35761 * sysdeps/i386/fpu/e_log.S: Likewise.
35762 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35763 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35764 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35765 * sysdeps/i386/fpu/e_logf.S: Likewise.
35766 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35767 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35768 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35769 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35770 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35771 * sysdeps/i386/fpu/e_log10.S: Likewise.
35772 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35773 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35774 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35775 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35776 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35777 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35778 * sysdeps/i386/asm-syntax.h: Likewise.
35779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35781 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35782 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35783 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35784 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35785 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35786 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35787 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35788 * sysdeps/powerpc/sysdep.h: Likewise.
35789 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35790 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35792 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35795 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35797 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35799 * sysdeps/i386/sysdep.h: Include <features.h>.
35800 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35803 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35805 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35807 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35810 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35812 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35813 (SETUP_PIC_REG): Use GET_PC_THUNK.
35814 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35817 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35819 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35820 for non-PIC compilation.
35821 (SETUP_PIC_REG): Add .p2align directive.
35822 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35823 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35824 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35825 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35826 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35827 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35828 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35829 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35830 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35832 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35833 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35834 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35835 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35836 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35838 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35841 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35842 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35844 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35846 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35849 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35850 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35851 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35852 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35853 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35854 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35855 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35856 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35857 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35858 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35859 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35860 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35861 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35862 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35864 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35866 * math/tst-CMPLX.c: Include <stdio.h>.
35868 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35870 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35872 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35873 * sysdeps/sparc/bits/mathdef.h: Likewise.
35875 2012-01-31 Marek Polacek <polacek@redhat.com>
35877 * libio/libio.h: Don't define _PARAMS.
35878 * locale/programs/config.h: Don't define PARAMS.
35879 * stdlib/strtol_l.c: Likewise.
35880 (__strtol_l): Remove PARAMS from the prototype.
35882 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35884 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35885 names. Just use the correct names. Remove unnecessary wrapper
35887 * malloc/arena.c: Likewise.
35888 * malloc/hooks.c: Likewise.
35890 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35891 ARENA_TEST says not to. Simplify test for creation of a new arena.
35892 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35894 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35896 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35898 (update_get_addr): New function.
35899 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35900 GET_ADDR_MODULE parameter.
35902 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35904 * crypt/cert.c: Remove __STDC__ conditionals.
35905 * crypt/crypt-entry.c: Likewise.
35906 * crypt/crypt_util.c: Likewise.
35907 * libio/filedoalloc.c: Likewise.
35908 * libio/fileops.c: Likewise.
35909 * libio/genops.c: Likewise.
35910 * libio/iofclose.c: Likewise.
35911 * libio/iofdopen.c: Likewise.
35912 * libio/iofopen.c: Likewise.
35913 * libio/iofopen64.c: Likewise.
35914 * libio/iogetdelim.c: Likewise.
35915 * libio/iopopen.c: Likewise.
35916 * libio/obprintf.c: Likewise.
35917 * libio/oldfileops.c: Likewise.
35918 * libio/oldiofclose.c: Likewise.
35919 * libio/oldiofdopen.c: Likewise.
35920 * libio/oldiofopen.c: Likewise.
35921 * libio/oldiopopen.c: Likewise.
35922 * libio/wfiledoalloc.c: Likewise.
35923 * libio/wgenops.c: Likewise.
35924 * locale/programs/xmalloc.c: Likewise.
35925 * misc/syslog.c: Likewise.
35926 * stdio-common/xbug.c: Likewise.
35927 * string/memchr.c: Likewise.
35928 * string/memcmp.c: Likewise.
35929 * string/memrchr.c: Likewise.
35930 * string/rawmemchr.c: Likewise.
35931 * sysdeps/posix/getcwd.c: Likewise.
35932 * time/strftime_l.c: Likewise.
35934 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35936 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35937 * config.make.in (config-cflags-sse2avx): Define.
35938 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35941 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35943 * scripts/config.guess: Update from upstream config git repository.
35944 * scripts/config.sub: Likewise.
35946 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35948 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35950 (R_TILEPRO_*, R_TILEGX_*): New macros.
35952 * scripts/firstversions.awk: Fix bug in version range handling.
35954 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35956 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35958 * include/sys/epoll.h: New file.
35959 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35962 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35964 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35965 Avoid unnecessary __WORDSIZE == 64 test.
35966 (fmaxf): Use VEX format if possible.
35971 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35972 * math/math_private.h: Remove libc_fegetround* and
35974 * sysdeps/i386/configure.in: Check for -msse2avx.
35975 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35976 also if SSE2AVX is defined.
35977 Remove libc_fegetround* and libc_fesetround*.
35978 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35979 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35980 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35982 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35983 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35984 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35985 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35986 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35988 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35990 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35992 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35994 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35996 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35999 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36001 * Makeconfig (libm): Define.
36002 * elf/Makefile: Add rules to build and run tst-relsort1.
36003 * elf/tst-relsort1.c: New file.
36004 * elf/tst-relsort1mod1.c: New file.
36005 * elf/tst-relsort1mod2.c: New file.
36007 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36009 * math/s_ldexp.c: Remove __STDC__ conditionals.
36010 * math/s_ldexpf.c: Likewise.
36011 * math/s_ldexpl.c: Likewise.
36012 * math/s_nextafter.c: Likewise.
36013 * math/s_nexttowardf.c: Likewise.
36014 * math/s_significand.c: Likewise.
36015 * math/s_significandf.c: Likewise.
36016 * math/s_significandl.c: Likewise.
36017 * math/w_jnl.c: Likewise.
36018 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36019 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36020 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36021 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36022 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36024 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36025 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36027 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36028 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36030 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36031 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36032 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36033 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36034 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36035 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36037 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36038 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36039 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36040 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36041 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36042 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36043 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36044 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36045 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36046 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36047 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36048 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36049 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36050 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36051 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36052 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36053 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36054 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36055 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36056 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36057 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36058 * sysdeps/ieee754/k_standard.c: Likewise.
36059 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36063 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36068 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36072 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36081 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36082 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36083 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36088 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36091 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36092 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36097 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36098 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36108 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36109 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36112 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36113 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36114 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36115 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36116 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36117 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36118 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36119 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36120 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36121 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36122 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36123 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36124 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36125 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36127 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36128 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36129 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36130 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36132 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36133 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36134 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36138 * sysdeps/ieee754/s_matherr.c: Likewise.
36139 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36140 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36144 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36146 * crypt/md5.h: Remove __STDC__ conditionals.
36147 * libio/libioP.h: Likewise.
36148 * locale/programs/config.h: Likewise.
36149 * sysdeps/generic/sysdep.h: Likewise.
36150 * sysdeps/i386/asm-syntax.h: Likewise.
36151 * sysdeps/s390/asm-syntax.h: Likewise.
36152 * sysdeps/unix/sysdep.h: Likewise.
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36156 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36158 * libio/libio.h: Remove __STDC__ conditionals.
36159 * malloc/obstack.h: Likewise.
36160 * math/complex.h: Likewise.
36161 * math/math.h: Likewise.
36162 * sysdeps/generic/_G_config.h: Likewise.
36163 * sysdeps/gnu/_G_config.h: Likewise.
36164 * sysdeps/mach/hurd/_G_config.h: Likewise.
36165 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36166 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36167 * sysdeps/sparc/bits/mathdef.h: Likewise.
36169 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36172 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36173 Clean up HAS_* macros.
36174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36175 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36185 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36187 * elf/tst-unique3.cc (gets): Remove declaration.
36188 * elf/tst-unique3lib.cc (gets): Likewise.
36189 * elf/tst-unique3lib2.cc (gets): Likewise.
36190 * elf/tst-unique4.cc (gets): Likewise.
36192 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36194 * include/stdio.h: Add C++ protection. Add gets declarations and
36196 * debug/tst-chk1.c: Don't declare gets here.
36197 * stdio-common/tst-gets.c: Likewise.
36199 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36201 * posix/glob: Remove directory.
36203 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36205 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36207 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36209 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36210 of the non-standard EPFNOSUPPORT.
36212 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36214 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36215 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36216 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36218 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36220 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36222 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36224 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36226 * nscd/grpcache.c (cache_addgr): Likewise.
36227 * nscd/hstcache.c (cache_addhst): Likewise.
36228 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36229 * nscd/pwdcache.c (cache_addpw): Likewise.
36230 * nscd/servicescache.c (cache_addserv): Likewise.
36232 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36234 * malloc/malloc.c: Various cleanups.
36235 * malloc/hooks.c: Likewise.
36237 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36238 * stdlib/bug-fmtmsg1.c: New file.
36240 * stdlib/fmtmsg.c (init): Add missing unlock.
36241 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36243 2012-01-12 Marek Polacek <polacek@redhat.com>
36245 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36248 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36250 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36251 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36252 macro to ensure uniqueness of label name.
36253 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36254 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36256 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36258 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36260 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36261 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36265 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36267 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36269 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36270 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36271 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36273 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36275 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36276 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36278 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36280 * math/bits/math-finite.h: Add ldexp support.
36282 2012-01-10 Marek Polacek <polacek@redhat.com>
36284 * locale/programs/localedef.h (show_archive_content): Add noreturn
36287 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36289 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36291 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36293 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36295 * io/Makefile (headers): Add bits/poll2.h.
36297 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36300 typo #include statement.
36302 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36304 * include/sys/cdefs.h: Define __attribute_alloc_size.
36305 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36306 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36307 * elf/pldd.c: Likewise.
36308 * iconv/iconv_charmap.c: Likewise.
36309 * iconv/iconvconfig.c: Likewise.
36310 * iconv/strtab.c: Likewise.
36311 * locale/programs/locale.c: Likewise.
36312 * locale/programs/localedef.h: Likewise.
36313 * locale/programs/simple-hash.c: Likewise.
36314 * nscd/nscd.h: Likewise.
36315 * nss/makedb.c: Likewise.
36316 * sysdeps/generic/ldconfig.h: Likewise.
36317 * locale/programs/localedef.c: Remove xmalloc prototype.
36318 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36320 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36322 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36325 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36327 * math/Makefile (tests): Add tst-CMPLX.
36328 * math/tst-CMPLX.c: New file.
36330 * math/complex.h (CMPLXL): Fix typo.
36332 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36333 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36335 * debug/tst-chk1.c: Add poll and ppoll tests.
36336 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36337 * include/sys/poll.h: Add hidden proto for ppoll.
36338 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36339 * sysdeps/mach/hurd/ppoll.c: Likewise.
36340 * io/ppoll.c: Likewise.
36341 * debug/poll_chk.c: New file.
36342 * debug/ppoll_chk.c: New file.
36343 * include/bits/poll2.h: New file.
36344 * io/bits/poll2.h: New file.
36347 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36349 * configure.in: static is always set to yes. Remove.
36350 * config.make.in: Don't set build-static.
36351 * Makeconfig: Remove use of build-static.
36352 * dlfcn/Makefile: Likewise.
36353 * elf/Makefile: Likewise.
36354 * math/Makefile: Likewise.
36355 * misc/Makefile: Likewise.
36356 * nptl/Makefile: Likewise.
36357 * sysdeps/mach/hurd/Makefile: Likewise.
36359 * configure.in: PWD_P is not used anymore.
36360 * config.make.in: Remove PWD_P entry.
36362 * configure.in: Remove last remnants of RANLIB.
36363 No need to check for signed size_t anymore.
36364 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36366 Remove __builtin_expect test because we require at least gcc 3.4.
36367 * aclocal.m4: Likewise.
36369 * wcsmbs/mbrtoc16.c: Implement using towc function.
36370 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36371 * wcsmbs/wcsmbsload.c: Likewise.
36372 * iconv/gconv_simple.c: Likewise.
36373 * iconv/gconv_int.h: Likewise.
36374 * iconv/gconv_builtin.h: Likewise.
36375 * iconv/iconv_prog.c: Remove CHAR16 handling.
36377 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36379 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36381 * configure.in: Remove --with-elf and --enable-bounded options.
36382 Dont set base_machine for ia64. More non-ELF conditions removed.
36383 Remove testing and setting of leading underscore information.
36384 * config.make.in (build-bounded): Set to no.
36385 * config.h.in: Remove NO_UNDERSCORES entry.
36386 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36388 * csu/start.c: Remove !NO_UNDERSCORE code.
36389 * locale/localeinfo.h: Likewise.
36390 * sysdeps/generic/machine-gmon.h: Likewise.
36391 * sysdeps/generic/sysdep.h: Likewise.
36392 * sysdeps/i386/sysdep.h: Likewise.
36393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36394 * sysdeps/mach/sysdep.h: Likewise.
36395 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36396 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36397 * sysdeps/sh/sysdep.h: Likewise.
36398 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36399 * sysdeps/unix/i386/sysdep.S: Likewise.
36400 * sysdeps/unix/sparc/start.c: Likewise.
36401 * sysdeps/unix/sparc/sysdep.S: Likewise.
36402 * sysdeps/unix/sparc/sysdep.h: Likewise.
36403 * sysdeps/unix/start.c: Likewise.
36404 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36405 * sysdeps/x86_64/sysdep.h: Likewise.
36407 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36410 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36412 * argp/argp-fmtstream.h: Use const instead __const.
36413 * argp/argp.h: Likewise.
36414 * assert/assert.h: Likewise.
36415 * bits/fenv.h: Likewise.
36416 * bits/sched.h: Likewise.
36417 * bits/sigset.h: Likewise.
36418 * bits/sigthread.h: Likewise.
36419 * catgets/nl_types.h: Likewise.
36420 * conform/data/pthread.h-data: Likewise.
36421 * crypt/crypt-private.h: Likewise.
36422 * crypt/crypt.h: Likewise.
36423 * crypt/crypt_util.c: Likewise.
36424 * ctype/ctype.h: Likewise.
36425 * debug/execinfo.h: Likewise.
36426 * debug/mbsnrtowcs_chk.c: Likewise.
36427 * debug/mbsrtowcs_chk.c: Likewise.
36428 * debug/wcsnrtombs_chk.c: Likewise.
36429 * debug/wcsrtombs_chk.c: Likewise.
36430 * debug/wcstombs_chk.c: Likewise.
36431 * dirent/dirent.h: Likewise.
36432 * dlfcn/dlfcn.h: Likewise.
36433 * elf/neededtest4.c: Likewise.
36434 * grp/grp.h: Likewise.
36435 * gshadow/gshadow.h: Likewise.
36436 * iconv/gconv.h: Likewise.
36437 * iconv/gconv_int.h: Likewise.
36438 * iconv/gconv_simple.c: Likewise.
36439 * iconv/iconv.h: Likewise.
36440 * iconv/loop.c: Likewise.
36441 * iconv/skeleton.c: Likewise.
36442 * include/aio.h: Likewise.
36443 * include/aliases.h: Likewise.
36444 * include/argz.h: Likewise.
36445 * include/arpa/inet.h: Likewise.
36446 * include/assert.h: Likewise.
36447 * include/dirent.h: Likewise.
36448 * include/dlfcn.h: Likewise.
36449 * include/execinfo.h: Likewise.
36450 * include/fcntl.h: Likewise.
36451 * include/fenv.h: Likewise.
36452 * include/glob.h: Likewise.
36453 * include/grp.h: Likewise.
36454 * include/libintl.h: Likewise.
36455 * include/mntent.h: Likewise.
36456 * include/netdb.h: Likewise.
36457 * include/pwd.h: Likewise.
36458 * include/rpc/netdb.h: Likewise.
36459 * include/sched.h: Likewise.
36460 * include/search.h: Likewise.
36461 * include/shadow.h: Likewise.
36462 * include/signal.h: Likewise.
36463 * include/stdio.h: Likewise.
36464 * include/stdlib.h: Likewise.
36465 * include/string.h: Likewise.
36466 * include/sys/socket.h: Likewise.
36467 * include/sys/stat.h: Likewise.
36468 * include/sys/statfs.h: Likewise.
36469 * include/sys/statvfs.h: Likewise.
36470 * include/sys/syslog.h: Likewise.
36471 * include/sys/time.h: Likewise.
36472 * include/sys/uio.h: Likewise.
36473 * include/time.h: Likewise.
36474 * include/unistd.h: Likewise.
36475 * include/utmp.h: Likewise.
36476 * include/wchar.h: Likewise.
36477 * include/wctype.h: Likewise.
36478 * inet/aliases.h: Likewise.
36479 * inet/arpa/inet.h: Likewise.
36480 * inet/netinet/ether.h: Likewise.
36481 * inet/netinet/in.h: Likewise.
36482 * intl/libintl.h: Likewise.
36483 * io/bits/fcntl2.h: Likewise.
36484 * io/fcntl.h: Likewise.
36485 * io/ftw.h: Likewise.
36486 * io/sys/poll.h: Likewise.
36487 * io/sys/stat.h: Likewise.
36488 * io/sys/statfs.h: Likewise.
36489 * io/sys/statvfs.h: Likewise.
36490 * io/utime.h: Likewise.
36491 * libio/bits/stdio.h: Likewise.
36492 * libio/bits/stdio2.h: Likewise.
36493 * libio/libio.h: Likewise.
36494 * libio/libioP.h: Likewise.
36495 * libio/stdio.h: Likewise.
36496 * locale/lc-ctype.c: Likewise.
36497 * locale/locale.h: Likewise.
36498 * login/utmp.h: Likewise.
36499 * malloc/arena.c: Likewise.
36500 * malloc/malloc.c: Likewise.
36501 * malloc/malloc.h: Likewise.
36502 * malloc/mcheck.c: Likewise.
36503 * malloc/mtrace.c: Likewise.
36504 * math/bits/mathcalls.h: Likewise.
36505 * math/fenv.h: Likewise.
36506 * math/math_private.h: Likewise.
36507 * misc/bits/error.h: Likewise.
36508 * misc/bits/syslog.h: Likewise.
36509 * misc/err.h: Likewise.
36510 * misc/error.h: Likewise.
36511 * misc/fstab.h: Likewise.
36512 * misc/mntent.h: Likewise.
36513 * misc/regexp.h: Likewise.
36514 * misc/search.h: Likewise.
36515 * misc/sgtty.h: Likewise.
36516 * misc/sys/mman.h: Likewise.
36517 * misc/sys/syslog.h: Likewise.
36518 * misc/sys/uio.h: Likewise.
36519 * misc/sys/xattr.h: Likewise.
36520 * misc/ttyent.h: Likewise.
36521 * nis/rpcsvc/ypclnt.h: Likewise.
36522 * nss/nss.h: Likewise.
36523 * posix/bits/unistd.h: Likewise.
36524 * posix/fnmatch.h: Likewise.
36525 * posix/glob.h: Likewise.
36526 * posix/sched.h: Likewise.
36527 * posix/spawn.h: Likewise.
36528 * posix/sys/wait.h: Likewise.
36529 * posix/unistd.h: Likewise.
36530 * posix/wordexp.h: Likewise.
36531 * pwd/pwd.h: Likewise.
36532 * resolv/netdb.h: Likewise.
36533 * resource/sys/resource.h: Likewise.
36534 * rt/aio.h: Likewise.
36535 * rt/bits/mqueue2.h: Likewise.
36536 * rt/mqueue.h: Likewise.
36537 * shadow/shadow.h: Likewise.
36538 * signal/signal.h: Likewise.
36539 * socket/send.c: Likewise.
36540 * socket/sendto.c: Likewise.
36541 * socket/sys/socket.h: Likewise.
36542 * stdio-common/printf.h: Likewise.
36543 * stdlib/bits/stdlib.h: Likewise.
36544 * stdlib/fmtmsg.h: Likewise.
36545 * stdlib/monetary.h: Likewise.
36546 * stdlib/stdlib.h: Likewise.
36547 * stdlib/ucontext.h: Likewise.
36548 * streams/stropts.h: Likewise.
36549 * string/argz.h: Likewise.
36550 * string/bits/string2.h: Likewise.
36551 * string/string.h: Likewise.
36552 * string/strings.h: Likewise.
36553 * sunrpc/rpc/auth.h: Likewise.
36554 * sunrpc/rpc/auth_des.h: Likewise.
36555 * sunrpc/rpc/clnt.h: Likewise.
36556 * sunrpc/rpc/netdb.h: Likewise.
36557 * sunrpc/rpc/pmap_clnt.h: Likewise.
36558 * sunrpc/rpc/xdr.h: Likewise.
36559 * sysdeps/generic/inttypes.h: Likewise.
36560 * sysdeps/generic/net/if.h: Likewise.
36561 * sysdeps/generic/sys/swap.h: Likewise.
36562 * sysdeps/gnu/net/if.h: Likewise.
36563 * sysdeps/gnu/utmpx.h: Likewise.
36564 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36565 * sysdeps/i386/i486/bits/string.h: Likewise.
36566 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36567 * sysdeps/s390/bits/string.h: Likewise.
36568 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36569 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36570 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36571 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36572 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36573 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36574 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36575 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36576 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36577 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36578 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36579 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36580 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36581 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36582 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36583 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36584 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36586 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36588 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36589 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36590 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36591 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36592 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36593 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36594 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36596 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36597 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36598 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36599 * sysvipc/sys/ipc.h: Likewise.
36600 * sysvipc/sys/msg.h: Likewise.
36601 * sysvipc/sys/sem.h: Likewise.
36602 * sysvipc/sys/shm.h: Likewise.
36603 * termios/termios.h: Likewise.
36604 * time/sys/time.h: Likewise.
36605 * time/time.h: Likewise.
36606 * wcsmbs/bits/wchar2.h: Likewise.
36607 * wcsmbs/uchar.h: Likewise.
36608 * wcsmbs/wchar.h: Likewise.
36609 * wctype/wctype.h: Likewise.
36612 * Makeconfig: Remove all but ELF support including AIX support.
36613 * Makerules: Likewise.
36614 * config.h.in: Likewise.
36615 * config.make.in: Likewise.
36616 * configure: Likewise.
36617 * configure.in: Likewise.
36618 * csu/Makefile: Likewise.
36619 * csu/version.c: Likewise.
36620 * debug/Makefile: Likewise.
36621 * dlfcn/Makefile: Likewise.
36622 * elf/Makefile: Likewise.
36623 * extra-lib.mk: Likewise.
36624 * iconv/Makefile: Likewise.
36625 * include/libc-symbols.h: Likewise.
36626 * include/shlib-compat.h: Likewise.
36627 * resolv/Makefile: Likewise.
36628 * resolv/res_libc.c: Likewise.
36629 * rt/Makefile: Likewise.
36630 * sysdeps/i386/asm-syntax.h: Likewise.
36631 * sysdeps/i386/sysdep.h: Likewise.
36632 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36633 * sysdeps/mach/sysdep.h: Likewise.
36634 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36635 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36636 * sysdeps/s390/asm-syntax.h: Likewise.
36637 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36639 * sysdeps/sh/sysdep.h: Likewise.
36640 * sysdeps/unix/sparc/sysdep.h: Likewise.
36641 * sysdeps/wordsize-32/divdi3.c: Likewise.
36642 * sysdeps/x86_64/sysdep.h: Likewise.
36644 * argp/Versions: Remove _argp_unlock_xxx.
36647 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36648 * abilist/libBrokenLocale.abilist: Likewise.
36649 * abilist/libanl.abilist: Likewise.
36650 * abilist/libc.abilist: Likewise.
36651 * abilist/libcrypt.abilist: Likewise.
36652 * abilist/libdl.abilist: Likewise.
36653 * abilist/libm.abilist: Likewise.
36654 * abilist/libnsl.abilist: Likewise.
36655 * abilist/libpthread.abilist: Likewise.
36656 * abilist/libresolv.abilist: Likewise.
36657 * abilist/librt.abilist: Likewise.
36658 * abilist/libthread_db.abilist: Likewise.
36659 * abilist/libutil.abilist: Likewise.
36660 * abilist/libnss_db.abilist: New file.
36662 * scripts/abilist.awk: Add support for indirect functions.
36664 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36666 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36668 * shlib-versions: Remove entries for ports architectures.
36670 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36672 * elf/stackguard-macros.h: Remove support for IA-64.
36673 * elf/tst-auditmod1.c: Likewise.
36674 * sysdeps/generic/ldsodefs.h: Likewise.
36676 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36677 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36681 * configure.in: Remove --enable-omitfp support.
36683 * config.make.in: Likewise.
36684 * Makeconfig: Likewise.
36685 * manual/install.texi: Likewise.
36687 In case anyone cares, the IA-64 architecture could move to ports.
36688 * sysdeps/ia64/*: Removed.
36689 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36690 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36693 * configure.in: Remove entries for unsupported architectures.
36696 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36697 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36699 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36700 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36701 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36702 fall back to using wcrtomb.
36703 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36704 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36706 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36707 * wcsmbs/tst-c16c32-1.c: New file.
36709 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36712 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36714 * elf/tst-unique3.cc: Add explicit declaration of gets.
36715 * elf/tst-unique3lib.cc: Likewise.
36716 * elf/tst-unique3lib2.cc: Likewise.
36717 * elf/tst-unique4.cc: Likewise.
36719 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36721 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36724 * assert/assert.h (static_assert): Don't define for C++.
36725 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36726 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36728 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36730 * iconv/loop.c (single loop): Fix assertion in storing of
36733 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36735 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36737 * posix/getconf.c: Update copyright year.
36738 * nss/getent.c: Likewise.
36739 * nss/makedb.c: Likewise.
36740 * iconv/iconvconfig.c: Likewise.
36741 * iconv/iconv_prog.c: Likewise.
36742 * elf/ldconfig.c: Likewise.
36743 * elf/pldd.c: Likewise.
36744 * elf/sotruss.ksh: Likewise.
36745 * catgets/gencat.c: Likewise.
36746 * csu/version.c: Likewise.
36747 * elf/ldd.bash.in: Likewise.
36748 * elf/sprof.c (print_version): Likewise.
36749 * locale/programs/locale.c: Likewise.
36750 * locale/programs/localedef.c: Likewise.
36751 * login/programs/pt_chown.c: Likewise.
36752 * nscd/nscd.c (print_version): Likewise.
36753 * debug/xtrace.sh: Likewise.
36754 * malloc/memusage.sh: Likewise.
36755 * malloc/mtrace.pl: Likewise.
36756 * debug/catchsegv.sh: Likewise.
36758 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36760 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36763 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36766 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36767 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36769 * iconv/gconv_int.h: Likewise.
36770 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36771 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36772 from libc for GLIBC_2.16.
36773 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36774 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36775 * wcsmbs/uchar.h: Really define mbstate_t.
36776 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36777 * wcsmbs/c16rtomb.c: New file.
36778 * wcsmbs/mbrtoc16.c: New file.
36779 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36780 for C/POSIX locale.
36781 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36782 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36784 * wcsmbs/wchar.h: Add missing __restrict.
36786 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36789 * time/Makefile (routines): Add timespec_get.
36790 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36791 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36792 timespec for ISO C11.
36793 * time/timespec_get.c: New file.
36794 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36795 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36798 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36799 * stdlib/stdlib.h: Declare aligned_alloc.
36800 * Versions.def: Add GLIBC_2.16 for libc.
36801 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36804 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36807 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36811 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36814 * assert/assert.h (static_assert): Define.
36816 * version.h: Update for 2.16 development version.
36819 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36822 * version.h (RELEASE): Bump for 2.15 release.
36823 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36825 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36826 Patch by Marek Polacek <mpolacek@redhat.com>.
36828 * bits/byteswap.h: Protect long long constants with __extension__.
36829 * sysdeps/i386/bits/byteswap.h: Likewise.
36830 * sysdeps/ia64/bits/byteswap.h: Likewise.
36831 * sysdeps/s390/bits/byteswap.h: Likewise.
36832 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36834 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36837 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36838 destination buffer.
36839 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36841 2011-12-23 Marek Polacek <polacek@redhat.com>
36843 * elf/dl-addr.c (determine_info): Add inline keyword.
36844 * elf/tst-auditmod4b.c (check_avx): Likewise.
36845 * elf/tst-auditmod6b.c (check_avx): Likewise.
36846 * elf/tst-auditmod6c.c (check_avx): Likewise.
36847 * elf/tst-auditmod7b.c (check_avx): Likewise.
36849 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36851 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36854 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36857 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36858 processing for last bytes.
36860 2011-08-06 Bruno Haible <bruno@clisp.org>
36863 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36864 U+0385, not to U+1FEE.
36867 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36868 entry for U+00A5 U+0301.
36870 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36873 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36874 buffer for the output is too small.
36876 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36880 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36881 SSE flags if possible.
36883 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36886 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36887 processing for last bytes.
36889 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36891 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36892 (syscall-list-default-options, syscall-list-default-condition)
36893 (syscall-list-includes): Define.
36894 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36895 list of ABIs and options and #if conditions for each ABI. Do not
36896 handle common syscalls between ABIs specially.
36897 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36899 (syscall-list-variants, syscall-list-32bit-options)
36900 (syscall-list-32bit-condition, syscall-list-64bit-options)
36901 (syscall-list-64bit-condition): Define.
36902 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36903 (syscall-list-variants, syscall-list-32bit-options)
36904 (syscall-list-32bit-condition, syscall-list-64bit-options)
36905 (syscall-list-64bit-condition): Define.
36906 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
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/x86_64/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.
36917 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36919 * locale/iso-639.def: Add brx entry.
36922 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36923 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36925 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36926 __feraiseexcept_renamed.
36928 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36931 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36932 EPOLLET with unsigned values.
36933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36936 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36937 to large cancellation.
36938 * math/s_cacoshf.c: Likewise.
36939 * math/s_cacoshl.c: Likewise.
36941 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36945 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36946 * math/s_cacoshf.c: Likewise.
36947 * math/s_cacoshl.c: Likewise.
36949 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36952 * iconv/gconv.h: Define __GCONV_SWAP.
36953 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36954 * iconvdata/utf-16.c: Likewise.
36955 * iconvdata/utf-32.c: Likewise.
36957 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36961 numerator after shifting it by one limb.
36963 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36965 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36966 under [__USE_EXTERN_INLINES].
36968 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36971 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36973 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36975 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36976 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36978 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36979 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36980 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36981 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36982 for strncasecmp/strncasecmp_l compilation.
36983 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36984 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36986 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36989 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36992 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36995 * time/tzfile.c (__tzfile_read): Check values from file header.
36997 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36999 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37000 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37001 * powerpc/powerpc32/dl-start.S: Likewise.
37002 * powerpc/powerpc32/elf/start.S: Likewise.
37003 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37004 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37005 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37006 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37007 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37008 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37009 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37010 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37011 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37012 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37013 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37014 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37015 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37016 * powerpc/powerpc32/memset.S: Likewise.
37017 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37018 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37019 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37020 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37021 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37022 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37023 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37024 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37025 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37026 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37027 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37028 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37029 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37031 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37033 * math/libm-test.inc: Added more nearbyint tests.
37034 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37035 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37039 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37041 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37044 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37046 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37047 Add wcscpy-ssse3 wcscpy-c.
37048 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37049 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37050 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37051 * sysdeps/x86_64/wcschr.S: New file.
37052 * sysdeps/x86_64/wcsrchr.S: New file.
37053 * string/test-strcmp.c: Remove checking of wcscmp function for
37055 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37056 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37057 wcsrchr-sse2 wcsrchr-c.
37058 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37059 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37060 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37061 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37062 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37063 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37064 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37065 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37066 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37067 * wcsmbc/wcschr.c (WCSCHR): New macro.
37069 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37071 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37072 * wcsmbs/test-wcsrchr.c: New file.
37073 * string/test-strrchr.c: Add wcsrchr support.
37075 * wcsmbs/test-wcscpy.c: New file.
37076 * string/test-strcpy.c: Add wcscpy support.
37079 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37081 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37084 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37087 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37089 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37091 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37092 Minor optimizations.
37094 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37095 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37096 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37098 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37100 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37101 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37102 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37103 for gcc to avoid warnings.
37104 * inet/Makefile (tests): Add tst-checks.
37105 * inet/tst-checks.c: New file.
37107 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37110 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37113 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37114 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37116 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37118 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37120 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37123 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37125 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37127 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37128 conditional on GCC version.
37129 (__arch_compare_and_exchange_val_8_acq)
37130 (__arch_compare_and_exchange_val_16_acq)
37131 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37132 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37133 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37135 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37137 * sysdeps/sh/backtrace.c: New file.
37139 2011-12-02 Andreas Schwab <schwab@redhat.com>
37141 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37144 2011-12-01 Andreas Schwab <schwab@redhat.com>
37146 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37147 falling back to utime.
37149 2011-11-30 Andreas Schwab <schwab@redhat.com>
37151 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37152 expectations for float.
37154 2011-11-29 Andreas Schwab <schwab@redhat.com>
37156 * locale/weight.h (findidx): Add parameter len.
37157 * locale/weightwc.h (findidx): Likewise.
37158 * posix/fnmatch_loop.c (FCT): Adjust caller.
37159 * posix/regcomp.c (build_equiv_class): Likewise.
37160 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37161 * posix/regexec.c (check_node_accept_bytes): Likewise.
37162 * string/strcoll_l.c (STRCOLL): Likewise.
37163 * string/strxfrm_l.c (STRXFRM): Likewise.
37165 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37167 * Makefile.in: Remove CVSOPT handling.
37168 * configure.in: Remove use of AC_REVISION.
37169 * iconvdata/Makefile (distribute): No need to filter out CVS.
37170 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37173 2011-11-16 Andreas Schwab <schwab@redhat.com>
37175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37176 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37177 [USE_AS_STRNCASECMP_L]: Likewise.
37178 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37179 NO_TLS_DIRECT_SEG_REFS.
37180 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37181 Fix argument offsets for non-PIC.
37182 [USE_AS_STRNCASECMP_L]: Likewise.
37183 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37184 NO_TLS_DIRECT_SEG_REFS.
37186 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37188 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37190 * locale/loadlocale.c (_nl_load_locale): Likewise.
37192 2011-11-15 Andreas Schwab <schwab@redhat.com>
37194 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37195 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37196 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37197 (SYSCALL_GETTIME): Set errno on error.
37199 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37200 count references to noai6ai_cached.
37202 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37204 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37206 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37207 FD_CLOEXEC for /proc/self/maps.
37209 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37210 FD_CLOEXEC for /proc/meminfo.
37212 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37215 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37216 FD_CLOEXEC for given file.
37218 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37220 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37221 FD_CLOEXEC for /etc/hosts.
37222 (_gethtent): Likewise.
37224 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37226 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37227 cancellation and set FD_CLOEXEC for /etc/netgroup.
37229 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37230 reading /etc/publickey.
37232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37233 allow cancellation when reading /etc/group.
37235 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37237 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37239 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37240 when using data file.
37242 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37244 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37245 (write_nis_obj): Use "c" and "e" in fopen.
37247 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37249 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37251 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37253 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37255 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37258 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37260 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37262 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37264 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37265 file parsing and set FD_CLOEXEC.
37267 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37269 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37271 2011-11-14 Andreas Schwab <schwab@redhat.com>
37273 * malloc/arena.c (arena_get2): Don't call reused_arena when
37274 _int_new_arena failed.
37276 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37278 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37279 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37280 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37281 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37282 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37283 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37284 to compile strcasecmp and strncasecmp.
37285 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37286 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37290 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37292 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37293 locale-defines.sym to gen-as-const-headers.
37294 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37295 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37297 to compile strcasecmp and strncasecmp.
37298 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37299 strcasecmp_l and strncasecmp_l.
37300 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37301 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37302 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37303 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37304 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37305 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37306 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37307 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37308 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37309 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37310 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37312 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37314 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37315 result of SYSDEP_GETTIME_CPU to retval.
37316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37317 parameter list to macro. Remove trailing semicolon. Adjust users.
37319 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37322 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37324 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37326 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37327 from unused variable.
37329 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37331 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37334 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37337 * sunrpc/rpc_prot.c (rejected): Fix case value.
37339 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37340 unsigned long long int to avoid warnings in shift.
37342 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37344 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37347 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37348 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37349 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37351 * nis/nis_table.c (nis_list): Use variable of correct type for
37352 result of __follow_path call.
37354 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37356 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37357 of math functions ceil, trunc, floor, round, and sqrt, when
37358 avaliable on the platform.
37359 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37361 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37362 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37363 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37365 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37367 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37368 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37370 2011-11-11 Roland McGrath <roland@hack.frob.com>
37372 * include/unistd.h: Fix __readlink return type.
37373 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37375 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37377 * stdlib/ucontext.h: Undo last change for makecontext.
37379 2011-11-11 Andreas Schwab <schwab@redhat.com>
37381 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37383 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37384 * setjmp/setjmp.h: Mark functions as non-leaf.
37385 * setjmp/bits/setjmp2.h: Likewise.
37386 * stdlib/ucontext.h: Likewise.
37388 2011-11-10 Andreas Schwab <schwab@redhat.com>
37390 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37391 (reused_arena): Don't check arena limit.
37392 (arena_get2): Atomically check arena limit.
37394 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37396 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37397 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37402 2011-11-07 Andreas Schwab <schwab@redhat.com>
37404 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37405 handler when locking.
37407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37408 Fix size of allocated buffer.
37410 2011-11-04 Andreas Schwab <schwab@redhat.com>
37413 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37414 declarations for long double functions.
37415 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37417 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37419 2011-11-03 Andreas Schwab <schwab@redhat.com>
37421 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37424 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37427 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37429 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37431 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37433 * include/alloca.h (stackinfo_alloca_round): Define.
37434 (extend_alloca): Use it.
37435 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37436 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37439 * scripts/check-local-headers.sh: Ignore libaudit.h.
37441 * nscd/Makefile (extra-objs): Make recursively expanded.
37443 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37445 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37446 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37448 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37449 * posix/tst-rfc3484-2.c: Likewise.
37450 * posix/tst-rfc3484-3.c: Likewise.
37452 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37454 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37456 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37457 process_vm_writev from libc using GLIBC_2.15 version.
37459 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37461 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37463 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37466 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37469 * nss/getent.c (initgroups_keys): Show error message in case no group
37472 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37473 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37474 __bump_nl_timestamp.
37475 * nscd/connections (nscd_init): When host database is served open
37476 netlink socket and request notification about configuration changes.
37477 (main_loop_poll): Track netlink file descriptor and bump timestamp
37478 in case data becomes available.
37479 (main_loop_epoll): Likewise.
37480 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37481 (database_pers_head): Add extra_data fileds.
37482 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37483 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37484 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37487 in6ai data, call __free_in6ai.
37488 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37489 Add -DHAVE_NETLINK.
37490 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37491 interface information. Reuse previous data if netlink timestamp
37493 (__bump_nl_timestamp): New function.
37494 (__free_in6ai): New function.
37496 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37499 close_not_cancel_no_status here.
37500 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37502 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37505 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37508 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37509 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37510 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37512 2011-07-03 Andreas Jaeger <aj@suse.de>
37515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37516 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37517 * math/libm-test.inc (sin_test): Add test case.
37519 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37522 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37523 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37525 * elf/chroot_canon.c (chroot_canon): Cleanups.
37527 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37530 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37531 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37533 * string/test-strchr.c: Make usable for strchrnul testing.
37534 * string/test-strchrnul.c: New file.
37535 * string/Makefile (strop-tests): Add strchrnul.
37537 * po/it.po: Update from translation team.
37538 * po/es.po: Likewise.
37540 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37542 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37543 the three constants needed as parameters. Drop the others.
37544 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37545 __m128i_strloadu_tolower.
37546 Create and initialize variable zero and use it in all the places
37547 where _mm_setzero_si128 was used.
37549 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37550 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37551 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37552 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37554 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37555 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37556 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37557 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37558 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37559 __mpranred, __mptan.
37560 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37561 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37562 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37563 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37564 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37565 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37566 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37567 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37568 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37570 2011-10-28 Andreas Schwab <schwab@redhat.com>
37572 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37573 redefine if SHARED.
37574 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37577 wide char related routines to wcsmbs subdir.
37579 2011-10-27 Andreas Schwab <schwab@redhat.com>
37582 * misc/sys/cdefs.h (__THROWNL): Define.
37583 * posix/unistd.h: Use __THREADNL instead of __THREAD
37584 for memory synchronization functions.
37586 2011-10-26 Roland McGrath <roland@hack.frob.com>
37589 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37591 * manual/stdio.texi (Obstack Streams): Node removed.
37593 2011-10-26 Andreas Schwab <schwab@redhat.com>
37595 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37596 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37597 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37599 * math/math_private.h (math_force_eval): Allow non-addressable
37601 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37603 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37605 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37606 file is not needed.
37608 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37609 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37610 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37611 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37612 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37613 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37614 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37615 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37617 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37618 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37619 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37620 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37621 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37622 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37623 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37624 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37625 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37626 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37627 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37628 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37629 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37630 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37631 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37632 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37633 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37634 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37635 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37637 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37638 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37641 place. Use VEX encoding when compiling for AVX.
37643 2011-10-25 Andreas Schwab <schwab@redhat.com>
37645 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37646 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37648 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37650 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37652 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37653 useless if() expression.
37654 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37663 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37664 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37665 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37666 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37667 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37668 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37669 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37670 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37672 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37674 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37676 2011-10-25 Andreas Schwab <schwab@redhat.com>
37678 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37680 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37682 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37684 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37685 .text section. Avoid duplicate constants.
37686 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37690 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37696 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37698 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37701 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37703 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37704 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37706 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37708 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37709 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37711 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37712 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37713 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37716 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37717 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37719 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37720 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37721 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37722 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37724 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37725 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37726 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37727 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37732 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37734 * sysdeps/x86_64/dla.h: Move to ...
37735 * sysdeps/x86_64/fpu/dla.h: ...here.
37736 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37737 situations. Use __builtin_fma only for gcc 4.6 and up.
37739 * config.make.in: Add have-mfma4 entry.
37740 * configure.in: Substitute libc_cv_cc_fma4.
37741 * math/Makefile (dbl-only-routines): Add sincostab.
37742 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37743 Use __sincostab not sincos.
37744 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37751 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37752 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37753 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37754 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37756 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37757 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37759 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37760 define aliases when function name is a macro.
37761 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37762 sysdeps/ieee754/dbl-64/sincos.tbl.
37763 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37764 fma4-enabled routines.
37765 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37766 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37767 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37768 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37769 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37770 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37771 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37772 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37774 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37775 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37776 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37777 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37778 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37779 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37780 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37781 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37782 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37783 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37785 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37786 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37787 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37788 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37790 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37791 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37792 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37793 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37794 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37796 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37804 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37807 2011-10-24 Andreas Schwab <schwab@redhat.com>
37809 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37811 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37813 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37815 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37817 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37819 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37820 Remove unused variable magic_bits.
37821 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37823 * string/strnlen.c: Define and use STRNLEN macro.
37824 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37825 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37827 * wcsmbs/wcslen.c: Define and use WCSLEN.
37828 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37829 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37830 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37831 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37832 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37833 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37834 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37836 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37839 strnlen-sse2-no-bsf.
37840 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37841 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37842 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37843 Add strnlen support.
37844 (USE_AS_STRNLEN): New macro.
37845 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37846 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37847 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37848 * sysdeps/x86_64/wcslen.S: New file.
37850 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37853 XMM-moves are used for copying on small sizes.
37855 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37857 * wcsmbs/Makefile (strop-tests): Add wcschr.
37858 * wcsmbs/test-wcschr.c: New file.
37859 * string/test-strchr.c: Update.
37860 Add wcschr support.
37863 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37865 * wcsmbs/Makefile (strop-tests): Add wcslen.
37866 * wcsmbs/test-wcslen.c: New file.
37867 * string/test-strlen.c: Update.
37868 Add wcslen support.
37871 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37873 * po/it.po: Update from translation team.
37875 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37877 * sysdeps/x86_64/wcscmp.S: Update.
37878 Fix wrong comparison semantics.
37879 wcscmp shall use signed comparison not unsigned.
37880 Don't use substraction to avoid overflow bug.
37881 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37882 * wcsmbc/wcscmp.c: Likewise.
37883 * string/test-strcmp.c: Likewise.
37884 Add new tests to check cases with negative values.
37886 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37888 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37889 * sysdeps/x86_64/dla.h: ...here. New file.
37890 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37900 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37903 __ynl_finite aliases.
37905 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37909 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37911 [DLA_FMA] (EMULV): Use DLA_FMA.
37912 [DLA_FMA] (MUL12): Use EMULV.
37913 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37914 that are not needed.
37915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37923 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37925 * math/s_nan.c: Undef __nan.
37926 * math/s_nanf.c: Undef __nanf.
37927 * math/s_nanl.c: Undef __nanl.
37928 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37931 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37933 * math/s_catan.c: Add branch predictions.
37934 * math/s_catanf.c: Likewise.
37935 * math/s_catanh.c: Likewise.
37936 * math/s_catanhf.c: Likewise.
37937 * math/s_catanhl.c: Likewise.
37938 * math/s_catanl.c: Likewise.
37939 * math/s_cexp.c: Likewise.
37940 * math/s_cexpf.c: Likewise.
37941 * math/s_cexpl.c: Likewise.
37942 * math/s_clog.c: Likewise.
37943 * math/s_clog10.c: Likewise.
37944 * math/s_clog10f.c: Likewise.
37945 * math/s_clog10l.c: Likewise.
37946 * math/s_clogf.c: Likewise.
37947 * math/s_clogl.c: Likewise.
37948 * math/s_csqrt.c: Likewise.
37949 * math/s_csqrtf.c: Likewise.
37950 * math/s_csqrtl.c: Likewise.
37951 * math/s_ctanf.c: Likewise.
37952 * math/s_ctanh.c: Likewise.
37953 * math/s_ctanhf.c: Likewise.
37954 * math/s_ctanhl.c: Likewise.
37955 * math/s_ctanl.c: Likewise.
37957 * math/math_private.h: Define __nan, __nanf, __nanl.
37958 * math/s_cacosh.c: Include <math_private.h>.
37959 * math/s_cacoshl.c: Likewise.
37960 * math/s_casinh.c: Likewise.
37961 * math/s_casinhf.c: Likewise.
37962 * math/s_casinhl.c: Likewise.
37963 * math/s_ccos.c: Rely entire on ccosh.
37964 * math/s_ccosf.c: Rely entire on ccoshf.
37965 * math/s_ccosl.c: Rely entirely on ccoshl.
37966 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37967 Remove tests for FE_INVALID.
37968 * math/s_ccoshf.c: Likewise.
37969 * math/s_ccoshl.c: Likewise.
37970 * math/s_csin.c: Likewise.
37971 * math/s_csinf.c: Likewise.
37972 * math/s_csinh.c Likewise.
37973 * math/s_csinhf.c: Likewise.
37974 * math/s_csinhl.c: Likewise.
37975 * math/s_csinl.c: Likewise.
37976 * math/s_ctan.c: Likewise.
37977 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37978 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37979 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37981 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37984 compilation problems.
37986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37989 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37991 * sysdeps/i386/configure.in: Test for -mfma4 option.
37992 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37993 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37994 COMMON_CPUID_INDEX_80000001.
37995 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37996 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37997 use it if FMA3 is not supported.
37998 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38000 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38001 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38003 2011-10-20 Andreas Schwab <schwab@redhat.com>
38006 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38007 it would create a cycle with a link time dependency.
38009 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38011 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38013 * string/Makefile (strop-tests): Add rawmemchr.
38014 * string/test-rawmemchr.c: New file.
38016 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38017 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38018 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38019 when compiling str{,n}casecmp and when AVX is available. Hook up
38020 new optimized code in initializers.
38022 2011-10-19 Andreas Schwab <schwab@redhat.com>
38024 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38025 __feraiseexcept instead of feraiseexcept.
38027 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38029 * math/math_private.h: Define defaults for libc_fetestexcept and
38031 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38032 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38033 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38034 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38035 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38036 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38037 libc_fetestexcept and libc_feupdateenv.
38039 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38040 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38041 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38042 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38043 libc_feholdexcept_setround.
38045 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38046 Add s_nearbyint-c and s_nearbyintf-c.
38047 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38048 nearbyintf inlines.
38049 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38050 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38051 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38052 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38054 * math/math_private.h: Define defaults for libc_fegetround,
38055 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38056 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38057 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38058 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38059 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38060 standard functions.
38061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38062 Remove comments and hacks for old compiler versions.
38063 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38064 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38065 libc_feholdexceptl.
38067 2011-10-18 Andreas Schwab <schwab@redhat.com>
38069 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38070 (__feraiseexcept_renamed): Add __NTH.
38071 (feraiseexcept): Add __NTH. Rename local variables to fix
38072 namespace violations.
38074 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38076 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38078 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38080 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38081 recently added interfaces.
38082 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38084 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38085 about macro parameter expansion.
38087 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38088 __NO_MATH_INLINES is defined. Cleanups.
38090 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38091 and __floorf is target has SSE4.1.
38092 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38093 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38094 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38095 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38097 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38099 (floorf): Likewise.
38101 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38103 2011-10-17 Andreas Schwab <schwab@redhat.com>
38105 * misc/sys/cdefs.h: Fix last change.
38107 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38110 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38112 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38114 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38115 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38120 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38122 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38123 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38124 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38125 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38126 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38127 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38128 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38129 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38130 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38131 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38132 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38133 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38134 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38135 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38137 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38138 ceil, ceilf, floor, floorf.
38140 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38141 Perform IRELATIVE relocations last.
38143 * elf/do-rel.h: Add another parameter nrelative, replacing the
38144 local variable with the same name. Change name of the function
38145 to end in Rel or Rela (uppercase).
38146 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38147 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38148 elf_dynamic_do_##reloc function.
38150 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38152 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38153 is sufficient, at least on modern CPUs.
38155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38157 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38160 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38162 * math/bits/math-finite.h: Add entries for exp.
38163 * math/e_expl.c: Add __*_finite alias.
38164 * sysdeps/i386/fpu/e_exp.S: Likewise.
38165 * sysdeps/i386/fpu/e_expf.S: Likewise.
38166 * sysdeps/i386/fpu/e_expl.c: Likewise.
38167 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38168 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38171 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38172 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38173 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38175 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38176 is sufficient, at least on modern CPUs.
38178 * ctype/ctype-info.c (__ctype_init): Define.
38179 * include/ctype.h (__ctype_init): Declare.
38180 (__ctype_b_loc): The variable is always initialized.
38181 (__ctype_toupper_loc): Likewise.
38182 (__ctype_tolower_loc): Likewise.
38183 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38184 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38186 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38188 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38190 * configure.in: Also look in $cxxmachine/include for C++ system
38193 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38195 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38196 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38197 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38198 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38199 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38200 (USE_AS_WMEMCMP): New macro.
38202 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38203 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38204 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38205 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38207 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38208 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38209 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38210 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38211 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38212 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38213 (USE_AS_WMEMCMP): New macro.
38214 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38215 * sysdeps/string/test-memcmp.c: Update.
38216 Fix simple_wmemcmp.
38218 * wcsmbs/wmemcmp.c: Update.
38219 (WMEMCMP): New macro.
38222 2011-10-12 Andreas Jaeger <aj@suse.de>
38225 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38227 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38229 * libio/iofwide.c (do_length): Avoid warning.
38231 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38233 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38235 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38237 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38238 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38239 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38240 * sysdeps/i386/i686/fpu/e_log.S: New file.
38241 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38242 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38244 * ctype/ctype.h: Add support for inlined isXXX functions when
38245 compiling C++ code.
38247 2011-10-14 Andreas Schwab <schwab@redhat.com>
38249 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38251 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38253 2011-10-13 Roland McGrath <roland@hack.frob.com>
38256 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38258 2011-10-13 Andreas Schwab <schwab@redhat.com>
38260 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38261 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38264 * sysdeps/x86_64/memrchr.S: Check for zero size.
38266 * string/stratcliff.c: Add memrchr tests.
38268 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38271 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38272 rawmemchr-sse2 rawmemchr-sse2-bsf.
38273 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38274 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38275 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38276 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38277 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38278 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38279 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38280 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38281 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38282 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38283 * string/memrchr.c (MEMRCHR): New macro.
38285 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38287 Add integration with gcc's -ffinite-math-only and optimize wrapper
38289 * Versions.def: Define GLIBC_2.15 version for libm.
38290 * math/Makefile (headers): Add bits/math-finite.h.
38291 * math/bits/math-finite.h: New file.
38292 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38293 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38294 * math/e_acoshl.c: Add __*_finite alias.
38295 * math/e_acosl.c: Likewise.
38296 * math/e_asinl.c: Likewise.
38297 * math/e_atan2l.c: Likewise.
38298 * math/e_atanhl.c: Likewise.
38299 * math/e_coshl.c: Likewise.
38300 * math/e_exp10.c: Likewise.
38301 * math/e_exp10f.c: Likewise.
38302 * math/e_exp10l.c: Likewise.
38303 * math/e_exp2l.c: Likewise.
38304 * math/e_fmodl.c: Likewise.
38305 * math/e_gammal_r.c: Likewise.
38306 * math/e_hypotl.c: Likewise.
38307 * math/e_j0l.c: Likewise.
38308 * math/e_j1l.c: Likewise.
38309 * math/e_jnl.c: Likewise.
38310 * math/e_lgammal_r.c: Likewise.
38311 * math/e_log10l.c: Likewise.
38312 * math/e_log2l.c: Likewise.
38313 * math/e_logl.c: Likewise.
38314 * math/e_powl.c: Likewise.
38315 * math/e_sinhl.c: Likewise.
38316 * math/e_sqrtl.c: Likewise.
38317 * math/e_scalb.c: Completely rewritten and optimized.
38318 * math/e_scalbf.c: Likewise.
38319 * math/e_scalbl.c: Likewise.
38320 * math/w_acos.c: Likewise.
38321 * math/w_acosf.c: Likewise.
38322 * math/w_acosl.c: Likewise.
38323 * math/w_acosh.c: Likewise.
38324 * math/w_acoshf.c: Likewise.
38325 * math/w_acoshl.c: Likewise.
38326 * math/w_asin.c: Likewise.
38327 * math/w_asinf.c: Likewise.
38328 * math/w_asinl.c: Likewise.
38329 * math/w_atan2.c: Likewise.
38330 * math/w_atan2f.c: Likewise.
38331 * math/w_atan2l.c: Likewise.
38332 * math/w_atanh.c: Likewise.
38333 * math/w_atanhf.c: Likewise.
38334 * math/w_atanhl.c: Likewise.
38335 * math/w_exp10.c: Likewise.
38336 * math/w_exp10f.c: Likewise.
38337 * math/w_exp10l.c: Likewise.
38338 * math/w_fmod.c: Likewise.
38339 * math/w_fmodf.c: Likewise.
38340 * math/w_fmodl.c: Likewise.
38341 * math/w_j0.c: Likewise.
38342 * math/w_j0f.c: Likewise.
38343 * math/w_j0l.c: Likewise.
38344 * math/w_j1.c: Likewise.
38345 * math/w_j1f.c: Likewise.
38346 * math/w_j1l.c: Likewise.
38347 * math/w_jn.c: Likewise.
38348 * math/w_jnf.c: Likewise.
38349 * math/w_log.c: Likewise.
38350 * math/w_logf.c: Likewise.
38351 * math/w_logl.c: Likewise.
38352 * math/w_log10.c: Likewise.
38353 * math/w_log10f.c: Likewise.
38354 * math/w_log10l.c: Likewise.
38355 * math/w_log2.c: Likewise.
38356 * math/w_log2f.c: Likewise.
38357 * math/w_log2l.c: Likewise.
38358 * math/w_pow.c: Likewise.
38359 * math/w_powf.c: Likewise.
38360 * math/w_powl.c: Likewise.
38361 * math/w_remainder.c: Likewise.
38362 * math/w_remainderf.c: Likewise.
38363 * math/w_remainderl.c: Likewise.
38364 * math/w_scalb.c: Likewise.
38365 * math/w_scalbf.c: Likewise.
38366 * math/w_scalbl.c: Likewise.
38367 * math/w_sqrt.c: Likewise.
38368 * math/w_sqrtf.c: Likewise.
38369 * math/w_sqrtl.c: Likewise.
38370 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38371 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38373 * math/math_private.h: Declare __kernel_standard_f.
38374 * math/w_cosh.c: Remove cruft and optimize a bit.
38375 * math/w_coshf.c: Likewise.
38376 * math/w_coshl.c: Likewise.
38377 * math/w_exp2.c: Likewise.
38378 * math/w_exp2f.c: Likewise.
38379 * math/w_exp2l.c: Likewise.
38380 * math/w_hypot.c: Likewise.
38381 * math/w_hypotf.c: Likewise.
38382 * math/w_hypotl.c: Likewise.
38383 * math/w_lgamma.c: Likewise.
38384 * math/w_lgamma_r.c: Likewise.
38385 * math/w_lgammaf.c: Likewise.
38386 * math/w_lgammaf_r.c: Likewise.
38387 * math/w_lgammal.c: Likewise.
38388 * math/w_lgammal_r.c: Likewise.
38389 * math/w_sinh.c: Likewise.
38390 * math/w_sinhf.c: Likewise.
38391 * math/w_sinhl.c: Likewise.
38392 * math/w_tgamma.c: Likewise.
38393 * math/w_tgammaf.c: Likewise.
38394 * math/w_tgammal.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38397 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38398 Minor optimizations. Pretty printing. Remove cruft.
38399 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38400 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38401 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38403 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38404 * sysdeps/i386/fpu/e_asin.S: Likewise.
38405 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38406 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38407 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38408 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38410 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38411 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38412 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38413 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38414 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38415 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38416 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38417 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38418 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38419 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38420 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38421 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38422 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38423 * sysdeps/i386/fpu/e_log.S: Likewise.
38424 * sysdeps/i386/fpu/e_log10.S: Likewise.
38425 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38427 * sysdeps/i386/fpu/e_log2.S: Likewise.
38428 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38429 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38430 * sysdeps/i386/fpu/e_logf.S: Likewise.
38431 * sysdeps/i386/fpu/e_logl.S: Likewise.
38432 * sysdeps/i386/fpu/e_pow.S: Likewise.
38433 * sysdeps/i386/fpu/e_powf.S: Likewise.
38434 * sysdeps/i386/fpu/e_powl.S: Likewise.
38435 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38436 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38437 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38440 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38441 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38442 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38443 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38444 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38445 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38447 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38448 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38449 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38450 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38451 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38452 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38453 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38454 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38460 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38461 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38462 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38465 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38466 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38467 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38468 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38469 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38470 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38471 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38472 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38473 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38474 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38475 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38476 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38477 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38478 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38479 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38480 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38481 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38482 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38483 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38484 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38485 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38486 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38515 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38516 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38518 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38523 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38524 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38527 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38529 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38530 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38532 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38535 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38536 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38537 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38538 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38539 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38540 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38541 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38542 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38543 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38544 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38545 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38546 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38547 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38548 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38549 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38550 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38551 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38552 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38553 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38554 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38555 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38556 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38557 (__isnanf): Likewise.
38558 (__isinf_ns): Likewise.
38559 (__isinf_nsf): Likewise.
38560 (__finite): Likewise.
38561 (__finitef): Likewise.
38562 (__ieee754_sqrt): Define as macro.
38563 (__ieee754_sqrtf): Define as macro.
38564 (__ieee754_sqrtl): Define as macro.
38565 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38567 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38568 __FINITE_MATH_ONLY__ consistent.
38569 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38571 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38573 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38576 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38578 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38580 * po/ja.po: Update from translation team.
38582 2011-10-08 Roland McGrath <roland@hack.frob.com>
38584 * locale/programs/locarchive.c (prepare_address_space): New function.
38585 (create_archive, enlarge_archive, open_archive): Use it.
38587 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38588 inside [SHARED], where it is used.
38590 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38592 * nss/getent.c (netgroup_keys): Remove unused variable.
38593 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38595 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38597 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38598 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38600 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38601 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38602 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38603 * math/Makefile (libm-calls): Add s_isinf_ns.
38604 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38605 * math/multc3.c: Likewise.
38606 * math/s_casin.c: Likewise.
38607 * math/s_casinf.c: Likewise.
38608 * math/s_casinl.c: Likewise.
38609 * math/s_ccos.c: Likewise.
38610 * math/s_ccosf.c: Likewise.
38611 * math/s_ccosl.c: Likewise.
38612 * math/s_ctan.c: Likewise.
38613 * math/s_ctanf.c: Likewise.
38614 * math/s_ctanh.c: Likewise.
38615 * math/s_ctanhf.c: Likewise.
38616 * math/s_ctanhl.c: Likewise.
38617 * math/s_ctanl.c: Likewise.
38618 * math/w_fmod.c: Likewise.
38619 * math/w_fmodf.c: Likewise.
38620 * math/w_fmodl.c: Likewise.
38621 * math/w_remainder.c: Likewise.
38622 * math/w_remainderf.c: Likewise.
38623 * math/w_remainderl.c: Likewise.
38624 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38625 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38626 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38627 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38628 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38629 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38630 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38631 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38633 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38635 * stdio-common/printf_fphex.c: Likewise.
38636 * stdio-common/printf_size.c: Likewise.
38638 * math/e_exp10.c: Include math_private.h using <...> not "...".
38639 * math/e_exp10f.c: Likewise.
38640 * math/e_exp10l.c: Likewise.
38641 * math/e_exp2l.c: Likewise.
38642 * math/e_j0l.c: Likewise.
38643 * math/e_j1l.c: Likewise.
38644 * math/e_jnl.c: Likewise.
38645 * math/e_lgammal_r.c: Likewise.
38646 * math/e_rem_pio2l.c: Likewise.
38647 * math/e_scalb.c: Likewise.
38648 * math/e_scalbf.c: Likewise.
38649 * math/e_scalbl.c: Likewise.
38650 * math/k_cosl.c: Likewise.
38651 * math/k_sinl.c: Likewise.
38652 * math/k_tanl.c: Likewise.
38653 * math/s_cacoshf.c: Likewise.
38654 * math/s_catan.c: Likewise.
38655 * math/s_catanf.c: Likewise.
38656 * math/s_catanh.c: Likewise.
38657 * math/s_catanhf.c: Likewise.
38658 * math/s_catanhl.c: Likewise.
38659 * math/s_catanl.c: Likewise.
38660 * math/s_ccosh.c: Likewise.
38661 * math/s_ccoshf.c: Likewise.
38662 * math/s_ccoshl.c: Likewise.
38663 * math/s_cexp.c: Likewise.
38664 * math/s_cexpf.c: Likewise.
38665 * math/s_cexpl.c: Likewise.
38666 * math/s_clog.c: Likewise.
38667 * math/s_clog10.c: Likewise.
38668 * math/s_clog10f.c: Likewise.
38669 * math/s_clog10l.c: Likewise.
38670 * math/s_clogf.c: Likewise.
38671 * math/s_clogl.c: Likewise.
38672 * math/s_csin.c: Likewise.
38673 * math/s_csinf.c: Likewise.
38674 * math/s_csinh.c: Likewise.
38675 * math/s_csinhf.c: Likewise.
38676 * math/s_csinhl.c: Likewise.
38677 * math/s_csinl.c: Likewise.
38678 * math/s_csqrt.c: Likewise.
38679 * math/s_csqrtf.c: Likewise.
38680 * math/s_csqrtl.c: Likewise.
38681 * math/s_ctan.c: Likewise.
38682 * math/s_ctanf.c: Likewise.
38683 * math/s_ctanh.c: Likewise.
38684 * math/s_ctanhf.c: Likewise.
38685 * math/s_ctanhl.c: Likewise.
38686 * math/s_ctanl.c: Likewise.
38687 * math/s_ldexp.c: Likewise.
38688 * math/s_ldexpf.c: Likewise.
38689 * math/s_ldexpl.c: Likewise.
38690 * math/s_significand.c: Likewise.
38691 * math/s_significandf.c: Likewise.
38692 * math/s_significandl.c: Likewise.
38693 * math/w_acos.c: Likewise.
38694 * math/w_acosf.c: Likewise.
38695 * math/w_acosh.c: Likewise.
38696 * math/w_acoshf.c: Likewise.
38697 * math/w_acoshl.c: Likewise.
38698 * math/w_acosl.c: Likewise.
38699 * math/w_asin.c: Likewise.
38700 * math/w_asinf.c: Likewise.
38701 * math/w_asinl.c: Likewise.
38702 * math/w_atan2.c: Likewise.
38703 * math/w_atan2f.c: Likewise.
38704 * math/w_atan2l.c: Likewise.
38705 * math/w_atanh.c: Likewise.
38706 * math/w_atanhf.c: Likewise.
38707 * math/w_atanhl.c: Likewise.
38708 * math/w_cosh.c: Likewise.
38709 * math/w_coshf.c: Likewise.
38710 * math/w_coshl.c: Likewise.
38711 * math/w_dremf.c: Likewise.
38712 * math/w_exp10.c: Likewise.
38713 * math/w_exp10f.c: Likewise.
38714 * math/w_exp10l.c: Likewise.
38715 * math/w_exp2.c: Likewise.
38716 * math/w_exp2f.c: Likewise.
38717 * math/w_fmod.c: Likewise.
38718 * math/w_fmodf.c: Likewise.
38719 * math/w_fmodl.c: Likewise.
38720 * math/w_hypot.c: Likewise.
38721 * math/w_hypotf.c: Likewise.
38722 * math/w_hypotl.c: Likewise.
38723 * math/w_j0.c: Likewise.
38724 * math/w_j0f.c: Likewise.
38725 * math/w_j0l.c: Likewise.
38726 * math/w_j1.c: Likewise.
38727 * math/w_j1f.c: Likewise.
38728 * math/w_j1l.c: Likewise.
38729 * math/w_jn.c: Likewise.
38730 * math/w_jnf.c: Likewise.
38731 * math/w_jnl.c: Likewise.
38732 * math/w_lgamma.c: Likewise.
38733 * math/w_lgamma_r.c: Likewise.
38734 * math/w_lgammaf.c: Likewise.
38735 * math/w_lgammaf_r.c: Likewise.
38736 * math/w_lgammal.c: Likewise.
38737 * math/w_lgammal_r.c: Likewise.
38738 * math/w_log.c: Likewise.
38739 * math/w_log10.c: Likewise.
38740 * math/w_log10f.c: Likewise.
38741 * math/w_log10l.c: Likewise.
38742 * math/w_log2.c: Likewise.
38743 * math/w_log2f.c: Likewise.
38744 * math/w_log2l.c: Likewise.
38745 * math/w_logf.c: Likewise.
38746 * math/w_logl.c: Likewise.
38747 * math/w_pow.c: Likewise.
38748 * math/w_powf.c: Likewise.
38749 * math/w_powl.c: Likewise.
38750 * math/w_remainder.c: Likewise.
38751 * math/w_remainderf.c: Likewise.
38752 * math/w_remainderl.c: Likewise.
38753 * math/w_scalb.c: Likewise.
38754 * math/w_scalbf.c: Likewise.
38755 * math/w_scalbl.c: Likewise.
38756 * math/w_sinh.c: Likewise.
38757 * math/w_sinhf.c: Likewise.
38758 * math/w_sinhl.c: Likewise.
38759 * math/w_sqrt.c: Likewise.
38760 * math/w_sqrtf.c: Likewise.
38761 * math/w_sqrtl.c: Likewise.
38762 * math/w_tgamma.c: Likewise.
38763 * math/w_tgammaf.c: Likewise.
38764 * math/w_tgammal.c: Likewise.
38766 * po/ja.po: Update from translation team.
38768 2011-09-29 Andreas Jaeger <aj@suse.de>
38771 * sunrpc/netname.c (netname2host): Fix logic.
38775 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38777 * math/w_remainder.c (__remainder): Likewise.
38778 * math/w_remainderf.c (__remainderf): Likewise.
38779 * math/libm-test.inc (remainder_test): Add test cases.
38781 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38783 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38786 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38788 * string/test-memcmp.c: Avoid unncessary #defines.
38789 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38791 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38793 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38794 Use new sse2 version for core i3 - i7 as it's faster
38795 than sse42 version.
38796 (bit_Prefer_PMINUB_for_stringop): New.
38797 * sysdeps/x86_64/rawmemchr.S: Update.
38798 Replace with faster SSE2 version.
38799 * sysdeps/x86_64/memrchr.S: New file.
38800 * sysdeps/x86_64/memchr.S: Update.
38801 Replace with faster SSE2 version.
38803 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38805 * elf/dl-load.c (lose): Add cast to avoid warning.
38807 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38809 * po/ca.po: Update from translation team.
38811 * inet/getnetgrent_r.c: Hook up nscd.
38812 * nscd/Makefile (routines): Add nscd_netgroup.
38813 (nscd-modules): Add netgroupcache.
38814 (CFLAGS-netgroupcache.c): Define.
38815 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38816 (cache_search): Add const to second parameter.
38817 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38819 (dbs): Add netgrdb entry.
38820 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38821 (verify_persistent_db): Handle netgrdb.
38822 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38823 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38825 (netgroup_response_header): Define.
38826 (innetgroup_response_header): Define.
38827 (datahead): Add netgroup_response_header and innetgroup_response_header
38829 * nscd/nscd.conf: Add entries for netgroup cache.
38830 * nscd/nscd.h (dbtype): Add netgrdb.
38831 (_PATH_NSCD_NETGROUP_DB): Define.
38832 (netgroup_iov_disabled): Declare.
38833 (xmalloc, xcalloc, xrealloc): Move declarations here.
38834 (cache_search): Adjust prototype.
38835 Add netgroup-related prototypes.
38836 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38837 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38838 (__nscd_innetgr): Declare.
38839 * nscd/selinux.c (perms): Use access_vector_t as element type and
38840 add netgroup-related initializers.
38841 * nscd/netgroupcache.c: New file.
38842 * nscd/nscd_netgroup.c: New file.
38843 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38844 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38845 For four parameters use innetgr.
38846 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38847 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38848 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38849 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38851 * nscd/connections.c (register_traced_file): Don't register file
38852 for disabled databases.
38854 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38856 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38858 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38859 from tree and freeing node.
38861 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38863 * nss/nsswitch.c (__nss_database_lookup): Handle
38864 nss_parse_service_list out of memory case.
38866 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38868 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38869 out of memory case.
38871 2011-10-04 Andreas Schwab <schwab@redhat.com>
38873 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38874 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38876 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38877 elf_machine_rela, elf_machine_lazy_rel.
38878 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38879 (ELF_DYNAMIC_DO_REL): Likewise.
38880 (ELF_DYNAMIC_DO_RELA): Likewise.
38881 (ELF_DYNAMIC_RELOCATE): Likewise.
38882 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38883 to ELF_DYNAMIC_DO_REL.
38884 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38885 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38886 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38888 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38889 skip_ifunc, don't call ifunc function if non-zero.
38890 (elf_machine_rela): Likewise.
38891 (elf_machine_lazy_rel): Likewise.
38892 (elf_machine_lazy_rela): Likewise.
38893 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38894 (elf_machine_lazy_rel): Likewise.
38895 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38897 (elf_machine_lazy_rel): Likewise.
38898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38900 (elf_machine_lazy_rel): Likewise.
38901 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38902 (elf_machine_lazy_rel): Likewise.
38903 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38904 (elf_machine_lazy_rel): Likewise.
38905 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38906 (elf_machine_lazy_rel): Likewise.
38907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38908 (elf_machine_lazy_rel): Likewise.
38909 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38910 (elf_machine_lazy_rel): Likewise.
38911 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38912 (elf_machine_lazy_rel): Likewise.
38914 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38916 * nss/nss_files/files-init.c (_nss_files_init): Use static
38917 initialization for all the *_traced_file variables.
38919 2011-09-28 Andreas Schwab <schwab@redhat.com>
38921 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38923 2011-09-27 Roland McGrath <roland@hack.frob.com>
38926 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38928 2011-09-27 Andreas Schwab <schwab@redhat.com>
38930 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38931 Reread the line before reparsing it.
38933 2011-09-26 Andreas Schwab <schwab@redhat.com>
38935 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38937 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38938 Maxim Kuvyrkov <maxim@codesourcery.com>
38939 Joseph Myers <joseph@codesourcery.com>
38941 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38942 if needed for __stack_chk_guard.
38944 2011-09-19 Roland McGrath <roland@hack.frob.com>
38946 * sysdeps/posix/spawni.c (script_execute): Always define it.
38947 It will be optimized away if unused.
38948 (maybe_script_execute): New function.
38949 (__spawni): Call it.
38951 * Makerules: Don't include tls.make.
38952 (config-tls): Always set to thread.
38953 * tls.make.c: File removed.
38955 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38957 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38958 * config.make.in (CPPFLAGS-config): New substituted variable.
38960 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38965 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38966 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38968 2011-09-15 Roland McGrath <roland@hack.frob.com>
38970 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38971 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38972 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38973 (CALL_FAIL): Likewise.
38974 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38975 (CALL_FAIL): Macro removed.
38976 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38978 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38980 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38981 for __FINITE_MATH_ONLY__ == 1.
38983 2011-09-15 Andreas Schwab <schwab@redhat.com>
38985 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38986 __ieee754_sqrt instead of sqrt.
38987 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38988 __ieee754_sqrtf instead of sqrtf.
38989 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38990 __floorf instead of floorf.
38991 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38992 __floorf, __truncf instead of floorf, truncf.
38994 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38996 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38998 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38999 __extern_always_inline.
39000 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39003 2011-09-14 Andreas Schwab <schwab@redhat.com>
39005 * elf/rtld.c (dl_main): Also relocate in dependency order when
39006 doing symbol dependency testing.
39008 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39010 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39011 Always define `refsym'.
39013 2011-09-13 Andreas Schwab <schwab@redhat.com>
39015 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39016 (__FD_ELT): Renamed from __FDELT.
39017 * misc/bits/select2.h (__FD_ELT): Likewise.
39018 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39019 __FD_MASK instead of __FDELT, __FDMASK.
39020 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39022 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39025 * elf/Makefile (gen-ldd): Fix pattern.
39027 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39028 (init_tls): Likewise.
39030 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39032 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39034 2011-09-12 Andreas Schwab <schwab@redhat.com>
39036 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39037 `struct cmsghdr *' instead of `void *'.
39038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39041 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39043 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39045 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39046 ldd_rewrite_script.
39048 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39050 * configure.in: Remove --with-tls option.
39051 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39052 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39053 out in case it is missing.
39054 * sysdeps/ia64/elf/configure.in: Likewise.
39055 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39056 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39057 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39058 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39059 * sysdeps/sh/elf/configure.in: Likewise.
39060 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39061 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39062 * sysdeps/x86_64/elf/configure.in: Likewise.
39063 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39064 * sysdeps/mach/hurd/tls.h: Likewise.
39067 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39070 * configure.in: Fix use of AC_INIT.
39072 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39074 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39076 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39078 * malloc/hooks.c: Likewise.
39081 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39082 variables statically.
39083 (narenas): Initialize.
39084 (list_lock): Initialize.
39085 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39086 initializtion of main_arena and list_lock. Small cleanups.
39087 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39088 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39089 Add initializers to main_arena and mp_.
39090 (malloc_state): Remove pagesize member. Change all users to use
39093 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39094 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39095 is always initialized.
39097 * malloc/malloc.c: Removed unused configurations and dead code.
39098 * malloc/arena.c: Likewise.
39099 * malloc/hooks.c: Likewise.
39100 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39102 * include/tls.h: Removed. USE___THREAD must always be defined.
39103 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39104 * elf/dl-libc.c: Likewise.
39105 * elf/dl-tsd.c: Likewise.
39106 * include/errno.h: Likewise.
39107 * include/netdb.h: Likewise.
39108 * include/resolv.h: Likewise.
39109 * inet/herrno-loc.c: Likewise.
39110 * inet/herrno.c: Likewise.
39111 * malloc/arena.c: Likewise.
39112 * malloc/hooks.c: Likewise.
39113 * malloc/malloc.c: Likewise.
39114 * resolv/res-state.c: Likewise.
39115 * resolv/res_libc.c: Likewise.
39116 * sysdeps/i386/dl-machine.h: Likewise.
39117 * sysdeps/ia64/dl-machine.h: Likewise.
39118 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39119 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39120 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39121 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39122 * sysdeps/sh/dl-machine.h: Likewise.
39123 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39124 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39125 * sysdeps/unix/i386/sysdep.S: Likewise.
39126 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39127 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39132 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39136 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39137 * sysdeps/x86_64/dl-machine.h: Likewise.
39138 * tls.make.c: Likewise.
39140 * configure.in: Remove --with-__thread option. Make tests for
39141 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39142 tls_model attribute fail if no support is available. Remove
39144 * Makeconfig: Adjust for dropped configure option. All features are
39146 * Makerules: Likewise.
39147 * Versions.def: Likewise.
39148 * argp/argp-fmtstream.c: Likewise.
39149 * argp/argp-fmtstream.h: Likewise.
39150 * argp/argp-help.c: Likewise.
39151 * assert/assert.c: Likewise.
39152 * config.h.in: Likewise.
39153 * config.make.in: Likewise.
39154 * configure: Likewise.
39155 * configure.in: Likewise.
39156 * csu/Versions: Likewise.
39157 * csu/init.c: Likewise.
39158 * elf/tst-audit2.c: Likewise.
39159 * elf/tst-tls10.c: Likewise.
39160 * elf/tst-tls10.h: Likewise.
39161 * elf/tst-tls11.c: Likewise.
39162 * elf/tst-tls12.c: Likewise.
39163 * elf/tst-tls14.c: Likewise.
39164 * elf/tst-tlsmod11.c: Likewise.
39165 * elf/tst-tlsmod12.c: Likewise.
39166 * elf/tst-tlsmod13.c: Likewise.
39167 * elf/tst-tlsmod13a.c: Likewise.
39168 * elf/tst-tlsmod14a.c: Likewise.
39169 * elf/tst-tlsmod15b.c: Likewise.
39170 * elf/tst-tlsmod16a.c: Likewise.
39171 * elf/tst-tlsmod16b.c: Likewise.
39172 * elf/tst-tlsmod7.c: Likewise.
39173 * elf/tst-tlsmod8.c: Likewise.
39174 * elf/tst-tlsmod9.c: Likewise.
39175 * gmon/gmon.c: Likewise.
39176 * grp/fgetgrent_r.c: Likewise.
39177 * grp/putgrent.c: Likewise.
39178 * hurd/fopenport.c: Likewise.
39179 * include/libc-symbols.h: Likewise.
39180 * include/tls.h: Likewise.
39181 * intl/gettextP.h: Likewise.
39182 * intl/loadinfo.h: Likewise.
39183 * locale/global-locale.c: Likewise.
39184 * locale/localeinfo.h: Likewise.
39185 * mach/devstream.c: Likewise.
39186 * malloc/arena.c: Likewise.
39187 * malloc/set-freeres.c: Likewise.
39188 * misc/err.c: Likewise.
39189 * misc/getttyent.c: Likewise.
39190 * misc/mntent_r.c: Likewise.
39191 * posix/getopt.c: Likewise.
39192 * posix/wordexp.c: Likewise.
39193 * pwd/fgetpwent_r.c: Likewise.
39194 * resolv/Versions: Likewise.
39195 * resolv/res_hconf.c: Likewise.
39196 * shadow/fgetspent_r.c: Likewise.
39197 * shadow/putspent.c: Likewise.
39198 * stdio-common/printf_fphex.c: Likewise.
39199 * stdio-common/tmpfile.c: Likewise.
39200 * stdlib/abort.c: Likewise.
39201 * stdlib/fmtmsg.c: Likewise.
39202 * sunrpc/auth_unix.c: Likewise.
39203 * sunrpc/clnt_perr.c: Likewise.
39204 * sunrpc/clnt_tcp.c: Likewise.
39205 * sunrpc/clnt_udp.c: Likewise.
39206 * sunrpc/clnt_unix.c: Likewise.
39207 * sunrpc/openchild.c: Likewise.
39208 * sunrpc/svc_simple.c: Likewise.
39209 * sunrpc/svc_tcp.c: Likewise.
39210 * sunrpc/svc_udp.c: Likewise.
39211 * sunrpc/svc_unix.c: Likewise.
39212 * sunrpc/xdr.c: Likewise.
39213 * sunrpc/xdr_array.c: Likewise.
39214 * sunrpc/xdr_rec.c: Likewise.
39215 * sunrpc/xdr_ref.c: Likewise.
39216 * sunrpc/xdr_stdio.c: Likewise.
39218 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39220 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39222 2011-07-03 Andreas Jaeger <aj@suse.de>
39224 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39225 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39226 regenerate with gen-libm-tests.pl.
39228 2010-05-12 Petr Baudis <pasky@suse.cz>
39231 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39232 around j0() zero points by switching to j1().
39233 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39238 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39240 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39242 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39245 Patch in part by Pavel Roskin <proski@gnu.org>.
39248 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39250 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39251 Free memory block if necessary.
39254 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39255 be NULL. Don't lock in this case.
39257 2011-09-09 Roland McGrath <roland@hack.frob.com>
39259 * elf/elf.h (ELFOSABI_GNU): New macro.
39260 (ELFOSABI_LINUX): Define to that.
39262 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39264 * string/strncat.c (strncat): Undef the symbol in case it has been
39265 defined in bits/string.h.
39267 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39269 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39271 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39274 2011-08-17 Andreas Jaeger <aj@suse.de>
39276 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39278 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39279 Ian Lance Taylor <iant@google.com>
39281 * math/libm-test.inc (lround_test): New testcase.
39282 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39284 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39286 * Makefile: Remove support for automatic cvs check-ins.
39287 * Makerules: Likewise.
39288 * config.make.in: Likewise.
39289 * configure.in: Likewise.
39290 * intl/Makefile: Likewise.
39291 * locale/Makefile: Likewise.
39292 * po/Makefile: Likewise.
39293 * posix/Makefile: Likewise.
39294 * sysdeps/gnu/Makefile: Likewise.
39295 * sysdeps/mach/hurd/Makefile: Likewise.
39296 * sysdeps/sparc/sparc32/Makefile: Likewise.
39299 * posix/Makefile (bug-regex32-ENV): Define.
39300 Patch by John Stanley <jpsinthemix@verizon.net>.
39302 * misc/Makefile (headers): Add bits/select2.h.
39303 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39304 * misc/bits/select2.h: New file.
39305 * include/bits/select2.h: New file.
39306 * debug/Makefile (routines): Add fdelt_chk.
39307 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39308 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39310 * debug/fdelt_chk.c: New file.
39312 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39313 * wcsmbs/test-wmemcmp.c: Likewise.
39314 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39315 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39317 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39319 * string/Makefile (strop-tests): Add memcmp.
39320 * string/test-wmemcmp.c: New file.
39321 * string/test-memcmp.c: Add wmemcmp support.
39323 2011-09-08 Roland McGrath <roland@hack.frob.com>
39326 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39329 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39330 garbage value in a __mach_port_mod_refs call in the cases of the
39331 task-self and thread-self ports.
39333 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39335 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39337 2011-09-08 Andreas Schwab <schwab@redhat.com>
39339 * elf/dl-load.c (lose): Check for non-null L.
39341 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39343 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39345 * elf/dl-libc.c (dlerror_run): Pass back error code from
39349 * elf/dl-load.c (lose): Free l_origin if it is valid.
39351 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39353 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39354 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39355 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39356 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39357 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39358 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39360 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39362 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39363 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39364 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39365 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39366 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39367 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39368 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39369 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39370 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39371 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39373 2011-08-15 Alan Modra <amodra@gmail.com>
39376 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39377 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39378 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39379 ppc_mcount to static-only-routines.
39380 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39382 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39383 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39385 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39387 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39388 for finite and infinity parameters.
39390 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39392 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39393 and add nop instructions for throughput optimization.
39394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39396 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39398 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39399 aligned copy for power7 with vector-scalar instructions.
39400 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39402 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39407 2011-09-07 Andreas Schwab <schwab@redhat.com>
39410 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39413 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39415 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39416 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39417 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39418 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39421 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39424 Forgot to demangle the pointer.
39426 * sysdeps/i386/sysdep.h: Define atom_text_section.
39427 * sysdeps/x86_64/sysdep.h: Likewise.
39428 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39429 section with atom_text_section.
39430 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39431 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39432 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39433 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39434 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39436 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39437 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39438 already be defined. Change to take two parameters and don't assign
39439 result to variable. Adjust all users.
39440 Define INTERNAL_GETTIME if not already defined.
39441 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39444 HAVE_CLOCK_GETTIME_VSYSCALL.
39445 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39447 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39448 gettimeofday vsyscall, just use time.
39450 2011-09-06 Andreas Schwab <schwab@redhat.com>
39452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39455 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39457 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39461 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39462 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39463 syscall if possible.
39465 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39467 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39468 e_ident. Don't pass to find_mapsXX.
39469 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39471 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39474 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39475 * sysdeps/x86_64/multiarch/strchr.S: Update.
39476 Check bit_slow_BSF bit.
39477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39478 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39479 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39481 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39484 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39486 (tryshell): Define.
39487 (__spawni): Change last parameter to be flag. Test
39488 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39489 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39490 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39491 * posix/spawni.c: Likewise.
39492 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39493 * posix/spawnp.c: Likewise. Change normal version to use
39494 SPAWN_XFLAGS_USE_PATH.
39495 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39496 SPAWN_XFLAGS_TRY_SHELL.
39499 * posix/glob.h: Remove gcc 1.x support.
39502 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39504 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39507 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39509 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39510 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39511 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39512 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39513 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39514 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39516 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39518 * sysdeps/x86_64/wcscmp.S: New file.
39520 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39521 wcscmp-c wcscmp-sse2
39522 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39523 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39524 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39525 * wcsmbs/wcscmp.c: Allow renaming.
39527 2011-09-05 David S. Miller <davem@davemloft.net>
39529 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39530 stack slot, rather than the struct return pointer slot.
39531 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39532 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39534 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39536 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39538 * po/ja.po: Update from translation team.
39541 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39542 kernel in 64-bit binaries.
39544 2011-09-01 David S. Miller <davem@davemloft.net>
39546 * elf/elf.h (HWCAP_SPARC_*): Move to..
39547 * sysdeps/sparc/sysdep.h: this new file and add new values.
39548 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39549 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39550 _DL_HWCAP_COUNT to 24.
39551 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39553 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39554 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39555 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39557 instead of magic constants.
39558 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39560 2011-08-31 David S. Miller <davem@davemloft.net>
39562 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39564 Reimplement to do errno handling inline.
39565 (SYSCALL_ERROR_HANDLER): New macro.
39566 (__SYSCALL_STRING): Do not do errno handling in asm.
39567 (__CLONE_SYSCALL_STRING): Delete.
39568 (__INTERNAL_SYSCALL_STRING): Delete.
39569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39570 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39571 (PSEUDO): Reimplement to do errno handling inline.
39572 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39573 (SYSCALL_ERROR_HANDLER): New macro.
39574 (__SYSCALL_STRING): Do not do errno handling in asm.
39575 (__CLONE_SYSCALL_STRING): Delete.
39576 (__INTERNAL_SYSCALL_STRING): Delete.
39577 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39578 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39580 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39581 (inline_syscall*): Add 'err' argument.
39582 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39583 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39584 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39585 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39587 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39588 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39590 2011-08-30 Andreas Schwab <schwab@redhat.com>
39592 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39594 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39596 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39599 2011-08-24 David S. Miller <davem@davemloft.net>
39601 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39603 2011-08-24 Andreas Schwab <schwab@redhat.com>
39605 * elf/Makefile: Add rules to build and run unload8 test.
39606 * elf/unload8.c: New file.
39607 * elf/unload8mod1.c: New file.
39608 * elf/unload8mod1x.c: New file.
39609 * elf/unload8mod2.c: New file.
39610 * elf/unload8mod3.c: New file.
39612 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39615 2011-08-23 David S. Miller <davem@davemloft.net>
39617 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39618 subtract stack bias.
39619 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39620 %sp not %fp in calculations.
39621 (_JMPBUF_UNWINDS_ADJ): Likewise.
39623 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39624 (aio_suspend): Call it to force an exception region around the
39625 AIO_MISC_WAIT() invocation.
39627 2011-08-23 Andreas Schwab <schwab@redhat.com>
39629 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39632 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39634 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39636 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39637 and <dl-machine.h>.
39638 (Elf64_FuncDesc): Remove.
39640 2011-08-22 David S. Miller <davem@davemloft.net>
39642 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39643 sigaltstack check, add missing cfi directives.
39644 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39645 missing cfi directives, and sigaltstack handling.
39647 2011-08-16 Andreas Schwab <schwab@redhat.com>
39650 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39651 object is seen twice.
39652 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39654 * elf/Makefile (distribute): Add tst-initorder2.c.
39655 (tests): Add tst-initorder2.
39656 (modules-names): Add tst-initorder2a tst-initorder2b
39657 tst-initorder2c tst-initorder2d. Add rules to build them.
39658 ($(objpfx)tst-initorder2.out): New rule.
39659 * elf/tst-initorder2.c: New file.
39660 * elf/tst-initorder2.exp: New file.
39662 2011-08-22 Andreas Schwab <schwab@redhat.com>
39664 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39666 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39667 dependencies back to end of function.
39669 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39670 $(elfobjdir)/ld.so.
39672 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39675 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39677 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39678 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39679 of __vdso_gettimeofday.
39680 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39681 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39683 (_libc_vdso_platform_setup): Remove initialization of
39684 __vdso_gettimeofday and __vdso_time.
39686 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39688 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39689 and fgetc_unlocked.
39690 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39693 * elf/dl-open.c (add_to_global): Report additions to the global scope
39694 for LD_DEBUG=scopes.
39695 (dl_open_worker): Also print scope of newly loaded dependencies.
39696 (_dl_show_scope): Indicate if there is no scope.
39699 * stdio-common/Makefile (tests): Add bug24.
39700 * stdio-common/bug24.c: New file.
39702 2011-08-19 Andreas Jaeger <aj@suse.de>
39705 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39706 non-existant file when using close-on-exec mode.
39708 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39711 the very first instruction.
39713 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39714 the CFI state in the end.
39715 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39716 inclusion of dl-trampoline.h.
39717 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39719 2011-08-19 Andreas Schwab <schwab@redhat.com>
39721 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39722 expectations for long double.
39724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39725 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39727 2011-08-14 David S. Miller <davem@davemloft.net>
39729 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39730 artificual limit depends upon the system page size.
39732 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39734 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39735 * resolv/Makefile: Define CFLAGS-libresolv.
39737 2011-08-17 Andreas Schwab <schwab@redhat.com>
39739 * nss/makedb.c (compute_tables): Make variables used in nested
39742 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39744 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39745 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39746 if buffer was too small.
39748 * elf/pldd.c (main): Attach to all threads in the process.
39749 Rewrite /proc handling to use *at functions.
39751 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39753 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39754 specifies first scope to show.
39755 (dl_open_worker): Update callers. Move printing scope of new
39756 object to before the relocation.
39757 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39758 * sysdeps/generic/ldsodefs.h: Update declaration.
39760 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39761 string for the scope number.
39763 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39765 * nscd/servicescache.c (cache_addserv): Make sure written is always
39768 2011-08-14 Roland McGrath <roland@hack.frob.com>
39770 * sysdeps/i386/i486/bits/atomic.h
39771 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39772 statement expression, so as to suppress "set but not used" warning.
39773 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39775 * string/strncat.c (STRNCAT): Use prototype definition.
39777 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39778 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39780 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39781 (localedef-modules): Add localedef.
39782 (locale-modules): Add locale.
39784 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39785 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39786 to avoid a warning.
39788 2011-08-14 David S. Miller <davem@davemloft.net>
39790 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39791 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39793 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39795 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39796 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39797 * elf/rtld.c (dl_main): Set l_name of vDSO.
39798 Call _dl_show_scope when DL_DEBUG_SCOPES.
39799 (process_dl_debug): Recognize scopes flag and also set it for all.
39800 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39801 Declare _dl_show_scope.
39803 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39804 (do_dlopen): Pass caller_dlopen to dl_open.
39805 (__libc_dlopen_mode): Initialize caller_dlopen.
39807 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39808 of libc. Make tolower call locale-independent. Optimize a bit by
39809 using isdigit instead of isalnum.
39810 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39812 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39814 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39815 was a dependency or dynamically loaded.
39817 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39819 * intl/l10nflist.c: Allow architecture-specific pop function.
39820 * sysdeps/x86_64/l10nflist.c: New file.
39822 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39825 2011-08-10 Andreas Schwab <schwab@redhat.com>
39827 * include/dirent.h: Add libc_hidden_proto for scandirat and
39828 scandirat64. Don't declare __scandirat64.
39829 * dirent/scandirat.c: Add libc_hidden_def.
39830 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39831 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39833 2011-08-10 David S. Miller <davem@davemloft.net>
39835 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39838 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39841 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39843 * Versions.def [libc]: Add GLIBC_2.15.
39844 * dirent/Makefile (routines): Add scandirat and scandirat64.
39845 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39847 * dirent/dirent.h: Declare scandirat and scandirat64.
39848 * dirent/scandirat.c: New file.
39849 * dirent/scandirat64.c: New file.
39850 * sysdeps/wordsize-64/scandirat.c: New file.
39851 * sysdeps/wordsize-64/scandirat64.c: New file.
39852 * dirent/opendir.c: Define opendirat.
39853 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39855 * dirent/scandir64.c: Adjust for scandir.c change.
39856 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39857 __scandirat64, and __scandir_cancel_handler.
39858 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39859 additional parameter and use openat instead of open (outside of ld.so).
39860 Add new __opendir as wrapper around __opendirat.
39861 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39862 here without requiring old scandirat implementation.
39864 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39866 * dirent/scandir.c (cancel_handler): Renamed to
39867 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39868 defined. Adjust users.
39869 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39870 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39872 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39874 * string/test-string.h (IMPL): Use __STRING to expand name and then
39877 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39880 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39882 * string/Makefile: Update.
39883 (strop-tests): Append strncat.
39884 * string/test-wcscmp.c: New file.
39885 New comprehensive test for wcscmp.
39886 * string/test-strcmp.c: Update.
39887 (WIDE): New define.
39889 2011-07-22 Andreas Schwab <schwab@redhat.com>
39891 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39894 2011-07-26 Andreas Schwab <schwab@redhat.com>
39896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39897 encoding to ACE if AI_IDN.
39899 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39902 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39904 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39907 Fix overflow bug in strncat.
39908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39910 * string/test-strncat.c: Update.
39911 Add new tests for checking overflow bugs.
39913 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39916 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39917 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39918 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39919 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39920 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39921 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39922 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39923 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39926 (USE_AS_STRCAT): Define.
39927 Add strcat and strncat support.
39928 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39930 2011-07-25 Andreas Schwab <schwab@redhat.com>
39932 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39933 __n bigger than INT_MAX+1.
39934 (__strncmp_g): Likewise.
39936 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39938 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39939 * libio/stido.h: Likewise.
39941 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39946 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39953 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39958 (_dl_x86_64_save_sse): Likewise.
39960 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39964 (_dl_x86_64_save_sse): Likewise.
39966 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39968 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39970 2011-07-21 Andreas Schwab <schwab@redhat.com>
39972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39974 (_dl_x86_64_save_sse): Use correct AVX check.
39976 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39979 bug in strncpy/strncat.
39980 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39982 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39984 * string/tester.c (test_strcat): Add tests for different alignments
39985 of source and destination.
39986 (test_strncat): Likewise.
39988 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39991 * posix/glob.c (glob): Check passed in values before using them in
39992 expressions to avoid some overflows.
39993 (glob_in_dir): Likewise.
39996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39997 check for AVX enablement so that we don't crash with old kernels and
39999 * elf/tst-audit4.c: Add same checks here.
40000 * elf/tst-audit6.c: Likewise.
40002 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40004 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40006 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40008 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40010 * po/cs.po: Update from translation team.
40011 * po/bg.po: Likewise.
40013 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40015 * misc/sys/cdefs.h: Add support for const attribute.
40016 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40017 to gnu_dev_{major,minor,makedev} functions.
40019 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40021 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40023 2011-07-20 Andreas Schwab <schwab@redhat.com>
40025 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40028 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40030 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40031 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40032 register in order to avoid conflicts with the soft frame pointer
40033 being held in r11 when necessary.
40034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40035 (INTERNAL_VSYSCALL_NCS): Likewise.
40037 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40039 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40040 * elf/dl-fini.c (_dl_fini): Adjust caller.
40041 * elf/dl-close.c (_dl_close_worker): Likewise.
40042 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40044 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40046 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40047 "aux_cache->nlibs < 0".
40049 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40050 in the reload-count case.
40052 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40055 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40056 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40057 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40058 * sysdeps/x86_64/multiarch/strcat.S: New file.
40059 * sysdeps/x86_64/multiarch/strncat.S: New file.
40060 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40061 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40062 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40063 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40064 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40065 (USE_AS_STRCAT): Define.
40066 Add strcat and strncat support.
40067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40068 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40069 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40070 * string/strncat.c: Update.
40071 (USE_AS_STRNCAT): Define.
40072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40073 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40075 * sysdeps/x86_64/multiarch/init-arch.h
40076 (bit_Prefer_PMINUB_for_stringop): New.
40077 (index_Prefer_PMINUB_for_stringop): Likewise.
40078 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40079 bit_Prefer_PMINUB_for_stringop.
40081 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40083 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40085 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40086 of casting of buffer.
40087 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40088 buffer32 and buffer64.
40089 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40090 writes instead of casting of buffer.
40091 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40093 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40096 2011-07-19 Andreas Schwab <schwab@redhat.com>
40098 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40100 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40102 * nscd/nscd.c (termination_handler): Don't do anything for a database
40103 if it has not yet been initialized.
40105 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40107 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40109 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40111 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40113 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40115 * po/nl.po: Update from translation team.
40116 * po/sv.po: Likewise.
40118 2011-07-16 Roland McGrath <roland@hack.frob.com>
40120 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40121 now disallowed by GCC.
40123 * configure.in (use-default-link): Default to yes if a test -shared
40124 link meets our qualifications.
40125 * configure: Regenerated.
40127 * config.make.in (output-format): New variable.
40128 * configure.in: Check for ld --print-output-format support.
40129 * configure: Regenerated.
40130 * Makerules ($(common-objpfx)format.lds)
40131 [$(output-format) != unknown]: Just use $(output-format),
40132 instead of the linker-script munging.
40134 2011-07-14 Roland McGrath <roland@hack.frob.com>
40136 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40137 of $(common-objpfx)shlib.lds.
40138 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40140 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40141 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40143 * configure.in (-z relro check): Adjust test code to add a large
40144 writable data section after it.
40145 * configure: Regenerated.
40147 2011-07-11 Roland McGrath <roland@hack.frob.com>
40149 * configure.in (-z relro check): Fix test code to make the variable
40151 * configure: Regenerated.
40153 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40155 * nscd/nscd.h (struct traced_file): Define.
40156 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40157 elements. Add traced_files.
40158 (inotify_fd): Declare.
40159 (register_traced_file): Declare.
40160 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40161 (inotify_fd): Export.
40162 (resolv_conf_descr): Remove.
40163 (nscd_init): Move inotify descriptor creation to main.
40164 Don't register files for notification here.
40165 (register_traced_file): New function.
40166 (invalidate_cache): Don't use reset_res to determine whether to call
40167 res_init, go through the list of registered files.
40168 (main_loop_poll): The inotify descriptors are now stored in the
40169 structures for the traced files.
40170 (main_loop_epoll): Likewise
40171 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40172 to __nss_disable_nscd.
40173 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40174 for a database anymore. Check the records for all the registered
40176 * nss/Makefile (libnss_files-routines): Add files-init.
40177 (libnss_db-routines): Add db-init.
40178 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40179 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40180 * nss/nss_db/db-init.c: New file.
40181 * nss/nss_files/files-init.c: New file.
40182 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40183 __nss_lookup_function.
40184 (__nss_lookup_function): Call nss_load_library.
40185 (nss_load_all_libraries): New function.
40186 (__nss_disable_nscd): Take parameter with callback function for files
40187 to register. Set is_nscd. Load all the DSOs for the NSS modules
40188 used for the cached services.
40189 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40190 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40191 options for features to all the files in nscd.
40193 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40195 2011-07-10 Roland McGrath <roland@hack.frob.com>
40197 * csu/elf-init.c (__libc_csu_init): Comment typo.
40199 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40201 * po/pl.po: Update from translation team.
40202 * po/ja.po: Likewise.
40203 * po/ru.po: Likewise.
40204 * po/ko.po: Likewise.
40205 * po/fr.po: Likewise.
40207 2011-07-09 Roland McGrath <roland@hack.frob.com>
40209 * configure.in (.ctors/.dtors header and trailer check):
40210 Use an empirical test on a built program.
40211 * configure: Regenerated.
40213 * configure.in (-z relro check): Use an empirical test on a built DSO.
40214 Detect, but do not require, on ia64.
40215 * configure: Regenerated.
40217 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40218 Update tests that use readelf to use $READELF instead.
40219 * configure: Regenerated.
40221 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40223 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40224 if the result is not used.
40226 2011-07-05 Andreas Jaeger <aj@suse.de>
40229 * stdlib/tst-strtod.c: Add testcase.
40231 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40233 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40234 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40235 The latter has a higher limit. Take additional parameter to pass to
40237 (__pathconf): Pass file to __statfs_link_max.
40238 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40240 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40244 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40245 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40247 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40248 (__statfs_filesize_max): Likewise.
40249 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40251 2011-07-05 Andreas Jaeger <aj@suse.de>
40253 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40255 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40257 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40259 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40262 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40264 * Makefile (strop-tests): Add strncat.
40265 * string/test-strncat.c: New file.
40267 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40269 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40271 2011-06-21 Andreas Jaeger <aj@suse.de>
40273 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40274 Copy rule from iconvdata/Makefile.
40276 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40279 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40280 but no long options are defined, just return 'W'.
40282 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40285 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40287 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40289 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40291 (innetgr): Likewise.
40293 2011-07-05 Roland McGrath <roland@hack.frob.com>
40295 * config.make.in (install_root): Default to $(DESTDIR).
40297 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40299 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40301 2011-07-02 Roland McGrath <roland@hack.frob.com>
40303 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40305 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40306 containing directory rather than embedding absolute directory names.
40308 * scripts/check-local-headers.sh: Rewritten using awk.
40309 Match by word, not by line. Print error messages for matches.
40310 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40312 * Makerules [shlib-lds-flags empty]:
40313 ($(common-objpfx)libc_pic.opts): New target.
40314 ($(common-objpfx)libc_pic.os.clean): New target.
40315 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40317 * config.make.in (OBJCOPY): New variable.
40318 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40319 * configure: Regenerated.
40321 * config.make.in (use-default-link): New variable.
40322 * configure.in (use_default_link): Grok --with-default-link to set it.
40323 * configure: Regenerated.
40324 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40325 (shlib-lds, shlib-lds-flags): Define to empty.
40327 * Makerules (shlib-lds): New variable.
40328 (shlib-lds-flags): New variable.
40329 (build-shlib, build-moduile, build-module-asneeded): Use it.
40330 ($(common-objpfx)libc.so): Use $(shlib-lds).
40331 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40332 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40334 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40335 DT_FLAGS/DT_FLAGS_1 with zero flags.
40337 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40338 linker script munging.
40340 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40342 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40344 * crypt/sha512.c (sha512_process_block): Perform total addition using
40345 128-bit if possible.
40346 (__sha512_finish_ctx): Likewise.
40347 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40349 * crypt/sha256.c (SWAP64): Define.
40350 (sha256_process_block): Perform total addition using 64-bit if
40352 (__sha256_finish_ctx): Likewise.
40354 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40356 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40358 * nscd/hstcache.c (cache_addhst): Likewise.
40359 * nscd/grpcache.c (cache_addgr): Likewise.
40360 * nscd/aicache.c (addhstaiX): Likewise
40361 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40363 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40365 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40367 * nscd/hstcache.c (cache_addhst): Likewise.
40368 * nscd/grpcache.c (cache_addgr): Likewise.
40369 * nscd/aicache.c (addhstaiX): Likewise
40371 2011-07-01 Andreas Schwab <schwab@redhat.com>
40373 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40374 domain only when needed.
40376 2011-06-30 Andreas Schwab <schwab@redhat.com>
40378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40379 is always restored.
40381 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40383 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40384 are re-adding the entry.
40385 * nscd/servicescache.c (cache_addserv): Likewise.
40387 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40389 * sysdeps/generic/dl-irel.h: fix protection against multiple
40391 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40393 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40396 * malloc/memusage.sh: Fix quoting in message.
40397 * debug/xtrace.sh: Likewise.
40399 * configure.in: Remove support for --experimental-malloc option, make
40401 * config.make.in: Likewise.
40402 * malloc/Makefile: Likewise.
40404 2011-06-27 Andreas Schwab <schwab@redhat.com>
40406 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40407 two-byte characters.
40409 2011-06-27 Roland McGrath <roland@hack.frob.com>
40411 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40412 AC_CACHE_CHECK invocation.
40413 * configure: Regenerated.
40415 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40417 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40420 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40421 bit from old_res_options.
40423 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40425 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40426 value type for setfct.
40428 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40430 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40431 __gettimeofday instead of gettimeofday.
40433 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40435 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40437 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40439 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40444 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40447 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40448 strcpy-sse2-unaligned strncpy-sse2-unaligned
40449 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40450 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40451 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40452 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40453 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40454 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40456 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40457 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40458 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40459 (STRCPY): Support SSE2 and SSSE3 versions.
40461 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40464 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40465 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40466 kernels which artificially limit size of requests.
40468 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40471 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40472 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40473 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40474 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40475 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40476 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40477 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40478 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40479 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40480 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40481 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40482 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40483 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40484 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40486 Enable unaligned load optimization for Intel Core i3, i5 and i7
40488 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40490 (index_Fast_Unaligned_Load): Define.
40491 (HAS_FAST_UNALIGNED_LOAD): Define.
40493 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40495 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40497 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40501 until it is clear that the information is realy needed.
40502 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40504 2011-06-22 Andreas Schwab <schwab@redhat.com>
40506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40508 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40511 /sys/devices/system/cpu/online if it is usable.
40513 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40514 reading the information from the /proc filesystem to once a second.
40516 2011-06-21 Andreas Jaeger <aj@suse.de>
40518 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40519 NULL after inclusion of kernel headers.
40521 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40523 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40524 calls to internal_setent.
40527 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40528 addresses using gethostbyname4_r ignore IPv4 addresses.
40530 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40531 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40533 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40535 2011-06-20 David S. Miller <davem@davemloft.net>
40537 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40539 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40541 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40542 (elf_irel): Use it.
40543 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40544 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40545 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40546 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40547 * sysdeps/x86_64/dl-irel.h: Likewise.
40549 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40550 * elf/dl-sym.c: Likewise.
40552 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40554 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40555 need to dereference resplen2.
40557 2011-06-14 Andreas Schwab <schwab@redhat.com>
40559 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40561 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40563 * Makeconfig: Define vardbdir and inst_vardbdir.
40564 * nss/Makefile: Add rules to install db-Makefile.
40566 * nss/nss_db/db-XXX.c: Cleanup.
40568 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40569 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40571 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40572 * nss/makedb.c: Implement -g option to specify that value strings
40573 are generated and should not be added to table iterated over for
40575 * nss/nss_db/db-initgroups.c: New file.
40577 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40580 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40581 (internal_getgrouplist): Adjust to name change.
40582 Update use_initgroups_entry if this is not the first call.
40583 * nss/databases.def: Add initgroups entry.
40585 * nss/makedb.c (compute_tables): Check result of multiple hash table
40586 sizes to minimize maximum chain length.
40588 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40590 * Versions.def: Add entry for libnss_db.
40591 * shlib-versions: Likewise.
40592 * nss/Makefile: Add rules to build libnss_db.
40593 * nss/Versions: Add libnss_db information. Organize libnss_files
40595 * nss/db-Makefile: Add gshadow support. Change rules for the new
40596 makedb progra. Some minor improvements to generate smaller files.
40597 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40599 * nss/makedb.c: ...here.
40600 Improve database format to be smaller and require less memory at
40602 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40604 * nss/nss_db/db-netgrp.c: Likewise.
40605 * nss/nss_db/db-open.c: Likewise.
40606 * nss/nss_files/flies-XXX.x: Adjust comments.
40607 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40608 * nss/nss_files/files-grp.c: Likewise.
40609 * nss/nss_files/files-hosts.c: Likewise.
40610 * nss/nss_files/files-network.c: Likewise.
40611 * nss/nss_files/files-proto.c: Likewise.
40612 * nss/nss_files/files-pwd.c: Likewise.
40613 * nss/nss_files/files-rpc.c: Likewise.
40614 * nss/nss_files/files-service.c: Likewise.
40615 * nss/nss_files/files-sgrp.c: Likewise.
40616 * nss/nss_files/files-spwd.c: Likewise.
40617 * nss/nss_db/db-alias.c: Removed.
40618 * nss/nss_db/dummy-db.h: Removed.
40620 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40622 * nss/makedb.c: Rewritten to not use database library.
40623 * nss/Makefile: Update to build new makedb program.
40625 2011-06-14 Andreas Jaeger <aj@suse.de>
40627 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40628 memset declaration.
40630 2011-06-10 Andreas Schwab <schwab@redhat.com>
40632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40635 2011-06-10 Roland McGrath <roland@hack.frob.com>
40637 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40638 * elf/Makefile ($(objpfx)ld.so): Likewise.
40640 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40641 Don't list ld.so twice in dependencies.
40643 * posix/bug-regex31.c: Include <stdlib.h>.
40645 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40647 * nis/nss_compat/compat-spwd.c
40648 (getspent_next_nss_netgr): Remove unused variable.
40649 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40651 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40652 nonmembers" output to use the right array.
40654 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40656 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40658 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40659 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40660 * catgets/gencat.c (read_input_file): Likewise.
40661 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40663 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40664 variable definition inside #if's controlling its use.
40666 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40668 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40670 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40672 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40675 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40677 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40678 * configure: Regenerated.
40680 * Makerules: Revert last change.
40681 * elf/Makefile: Likewise.
40683 2011-06-09 Roland McGrath <roland@hack.frob.com>
40685 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40686 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40687 (reloc-link): Likewise.
40689 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40691 * elf/Makefile: Add rules to build pldd.
40692 * elf/pldd.c: New file.
40693 * elf/pldd-xx.c: New file.
40695 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40697 * version.h: Update for 2.15 development version.
40699 2011-06-07 David S. Miller <davem@davemloft.net>
40701 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40704 elf_machine_lazy_rel): Likewise.
40705 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40707 elf_machine_lazy_rel): Likewise.
40708 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40709 dl_hwcap via passed in argument.
40710 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40713 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40715 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40717 2011-06-06 Roland McGrath <roland@hack.frob.com>
40720 * manual/fdl-1.1.texi: New file, verbatim from:
40721 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40722 * manual/lgpl-2.1.texi: New file, verbatim from:
40723 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40724 * manual/Makefile (licenses): New variable, list those new file names.
40726 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40728 * manual/fdl.texi: File removed.
40729 * manual/lesser.texi: File removed.
40730 * manual/libc.texinfo (Copying, Documentation License):
40731 Use new @include file names, put @appendix directive before @include.
40733 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40736 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40737 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40738 (mq_open): Add __NTH.
40740 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40743 Assume Intel Core i3/i5/i7 processor if AVX is available.
40745 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40750 2011-05-31 Andreas Schwab <schwab@redhat.com>
40752 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40753 memory. Use alloca_account. Fix memory leak when retrying.
40755 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40757 * version.h (RELEASE): Bump for 2.14 release.
40758 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40760 * config.make.in (RANLIB): Remove entry.
40762 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40764 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40765 (libc.pot): Work around missing support for .ksh extension in xgettext.
40768 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40769 if both request failed.
40770 (send_dg): In case of server errors clear resplen or *resplen2.
40773 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40774 when there are multiple maps.
40775 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40776 (_dl_fini): Remove test here.
40778 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40780 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40783 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40784 bit from old_res_options.
40785 (gaih_inet): Likewise.
40788 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40791 * resolv/res_init.c (res_setoptions): Make the code more compact.
40794 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40798 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40800 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40803 * malloc/malloc.h: Declare malloc hook variables as volatile.
40805 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40809 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40810 raise in the comment.
40811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40812 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40813 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40815 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40818 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40819 grow the buffers more if it already has to be sufficient.
40820 (build_wcs_upper_buffer): Likewise.
40821 * posix/regexec.c (check_matching): Likewise.
40822 (clean_state_log_if_needed): Likewise.
40823 (extend_buffers): Don't enlarge buffers beyond size of the input
40825 Patches mostly by Emil Wojak <emil@wojak.eu>.
40826 * posix/bug-regex32.c: New file.
40827 * posix/Makefile (tests): Add bug-regex32.
40829 * locale/findlocale.c (_nl_find_locale): Return right away if
40830 _nl_explode_name failed.
40831 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40833 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40835 * debug/xtrace.sh: Unify messages.
40836 * malloc/memusage.sh: Likewise.
40839 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40840 time symbol from vDSO. Substitute with vsyscall if not available.
40841 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40844 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40845 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40846 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40847 Add sendmmsg and internal_sendmmsg.
40848 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40849 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40850 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40852 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40853 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40856 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40859 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40860 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40866 * iconvdata/Makefile (tests): Add bug-iconv9.
40867 * iconvdata/bug-iconv9.c: New file.
40869 2011-05-27 Andreas Schwab <schwab@redhat.com>
40872 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40874 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40877 (struct user_regs_struct): Change intcs field back to cs.
40879 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40881 * po/ja.po: Update from translation team.
40883 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40886 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40887 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40889 2011-05-20 Andreas Schwab <schwab@redhat.com>
40891 * stdlib/longlong.h: Update from GCC.
40893 2011-05-23 Andreas Schwab <schwab@redhat.com>
40895 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40897 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40898 Add parameter name.
40899 (__sysconf): Pass it down.
40901 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40904 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40906 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40907 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40908 add in in __libc_use_alloca calls. Adjust callers.
40909 (glob): Use malloc in some situations.
40911 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40912 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40915 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40917 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40918 and CLOCK_BOOTTIME_ALARM.
40921 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40924 * string/_strerror.c (__strerror_r): Print negative errors as signed
40928 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40929 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40930 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40932 * configure.in: Fix typo in redirection and correct removal of test
40933 files in two cases.
40936 * locale/setlocale.c (new_composite_name): Fix test to check for
40937 identical name of all categories.
40940 * libio/filedoalloc.c (local_isatty): New function.
40941 (_IO_file_doallocate): Use local_isatty.
40942 * stdio-common/perror.c (perror): In case a new stream is used
40943 forward the stream error.
40944 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40947 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40952 * include/alloca.h (extend_alloca_account): Define.
40955 * posix/regex.h: Fix comments with documentation of user-accessible
40956 fields after compilation and describe correct free'ing of pattern
40957 after re_compile_pattern.
40958 Patch by Reuben Thomas <rrt@sc3d.org>.
40960 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40962 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40963 and -mno-altivec to prevent the compiler from using Altivec and/or
40964 VSX instructions when the corresponding registers are not available.
40966 2011-05-19 Andreas Schwab <schwab@redhat.com>
40968 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40970 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40972 * libio/freopen.c (freopen): Use __dup2, not dup2.
40973 * libio/freopen64.c (freopen64): Likewise.
40975 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40978 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40979 * math/Makefile (tests): Add test-powl.
40980 (CFLAGS-test-powl.c): Define.
40981 * math/test-powl.c: New file.
40983 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40985 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40987 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40990 * iconvdata/gb18030.c: Update to GB18020-2005.
40992 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40994 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40995 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40996 Patch by Aharon Robbins <arnold@skeeve.com>.
40999 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41003 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41004 through underflows.
41007 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41008 point to strings before performing equality test for error_one_per_line
41012 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41015 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41016 (struct user_fpregs_struct): Avoid __uint*_t types.
41019 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41020 symbol info. Use it instead of calling _dl_addr locally.
41021 (lock_and_info): New function.
41022 (tr_freehook): Call lock_and_info and pass symbol info as additional
41023 parameter to tr_where.
41024 (tr_mallochook): Likewise.
41025 (tr_reallochook): Likewise.
41026 (tr_memalignhook): Likewise.
41028 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41029 used and couldn't be at all thread-safe.
41031 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41033 * libio/freopen.c (freopen): Don't close old file descriptor
41034 before the new one is opened. Instead dup the new file descriptor
41035 to the old one after the new stream is created.
41036 * libio/freopen64.c (freopen64): Likewise.
41037 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41038 * libio/fileops.c (_IO_new_file_close_it): Handle new
41039 _IO_FLAGS2_NOCLOSE flag.
41040 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41041 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41042 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41043 _IO_FLAGS2_NOCLOSE flag.
41044 * include/unistd.h: Add hidden_proto for dup3.
41045 Define __have_dup3.
41046 * io/dup3.c: Define hidden symbol.
41047 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41050 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41051 when an incomplete long option is used.
41052 * posix/tst-getopt_long1.c: New file.
41053 * posix/Makefile (tests): Add tst-getopt_long1.
41056 * scripts/config.guess: Update from autoconf-2.68.
41057 * scripts/config.sub: Likewise.
41060 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41062 (has_cpuclock): ...this. New function.
41063 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41064 macro here based on has_cpuclock code.
41067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41068 First byte (not low byte) is now always NUL.
41069 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41072 Use non-cancelable interfaces.
41075 * locale/iso-639.def: Add entry for Sorani.
41078 * include/stdlib.h: Move include protection to the right place.
41079 Define abort_msg_s. Declare __abort_msg with it.
41080 * stdlib/abort.c (__abort_msg): Adjust type.
41081 * assert/assert.c (__assert_fail_base): New function. Majority
41082 of code from __assert_fail. Allocate memory for __abort_msg with
41084 (__assert_fail): Now call __assert_fail_base.
41085 * assert/assert-perr.c: Remove bulk of implementation. Use
41086 __assert_fail_base.
41087 * include/assert.hL Declare __assert_fail_base.
41088 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41090 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41092 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41096 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41097 until all modules are registered in the DTV.
41098 * elf/Makefile: Add rules to build and run tst-tls19.
41099 * elf/tst-tls19.c: New file.
41100 * elf/tst-tls19mod1.c: New file.
41101 * elf/tst-tls19mod2.c: New file.
41102 * elf/tst-tls19mod3.c: New file.
41103 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41106 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41110 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41111 two-byte sequence errors.
41112 * iconvdata/Makefile (tests): Add bug-iconv8.
41113 * iconvdata/bug-iconv8.c: New file.
41116 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41119 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41122 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41123 (dummy_getcfa): New function.
41124 (init): Get _Unwind_GetCFA address, use dummy if not found.
41125 (backtrace_helper): In recursion check, also check whether CFA changes.
41126 (__backtrace): Completely initialize arg.
41128 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41129 storing incomplete byte sequence in state object. Avoid testing for
41130 guaranteed too small input if we know there is enough data available.
41132 2011-05-11 Andreas Schwab <schwab@redhat.com>
41134 * Makeconfig (+link-pie): Indent.
41135 * Rules (binaries-pie): Define if $(have-fpie) and
41137 (binaries-shared): Also filter out $(binaries-pie).
41138 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41139 * nscd/Makefile (others-pie): Add nscd.
41140 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41141 ($(objpfx)nscd): Remove command override.
41142 * login/Makefile (others-pie): Add pt_chown.
41143 ($(objpfx)pt_chown): Remove command override.
41144 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41145 remove command overrides.
41147 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41149 * libio/tst_putwc.c: Fix error messages.
41152 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41153 currently writing and seek to current position when not.
41154 * libio/Makefile (tests): Add bug-fclose1.
41155 * libio/bug-fclose1.c: New file.
41157 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41160 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41161 don't set DF_1_NODELETE here.
41162 (do_lookup_x): When entering new entry test for copy relocation
41163 and if necessary set DF_1_NODELETE flag.
41164 * elf/tst-unique4.cc: New file.
41165 * elf/tst-unique4.h: New file.
41166 * elf/tst-unique4lib.cc: New file.
41167 * elf/Makefile: Add rules to build and run tst-unique4.
41168 Patch by Piotr Bury <pbury@goahead.com>.
41170 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41173 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41176 * misc/mntent_r.c (addmntent): Flush the stream after the output
41179 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41180 (is_trusted_path_normalize): Skip initial colon. Append slash
41181 to empty buffer. Duplicate is_trusted_path code but allow
41182 constructed patch to be prefix.
41183 (is_dst): Allow $ORIGIN followed by /.
41184 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41185 Correct testing of result of is_trusted_path_normalize
41186 (decompose_rpath): Fix warning.
41188 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41191 * grp/initgroups.c (internal_getgrouplist): When we found the service
41192 list through the initgroups entry in nsswitch.conf do not always
41193 continue on a successful lookup. Don't always use the
41194 __nss_group_database value if it is set.
41195 * nss/nsswitch.conf (initgroups): Change action for successful db
41196 lookup to continue for compatibility.
41198 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41201 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41203 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41205 * iconvdata/tst-tables.sh: Likewise.
41206 * iconvdata/cp770.c: New file.
41207 * iconvdata/cp771.c: New file.
41208 * iconvdata/cp772.c: New file.
41209 * iconvdata/cp773.c: New file.
41210 * iconvdata/cp774.c: New file.
41211 * iconvdata/testdata/CP770: New file.
41212 * iconvdata/testdata/CP770..UTF8: New file.
41213 * iconvdata/testdata/CP771: New file.
41214 * iconvdata/testdata/CP771..UTF8: New file.
41215 * iconvdata/testdata/CP772: New file.
41216 * iconvdata/testdata/CP772..UTF8: New file.
41217 * iconvdata/testdata/CP773: New file.
41218 * iconvdata/testdata/CP773..UTF8: New file.
41219 * iconvdata/testdata/CP774: New file.
41220 * iconvdata/testdata/CP774..UTF8: New file.
41222 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41224 * iconvdata/gen-8bit-gap.sh: Likewise.
41225 * iconvdata/gen-8bit.sh: Likewise.
41227 * locale/iso-639.def: Add ary entry.
41230 * locale/C-translit.h.in: Add U20A1 transliteration.
41233 * locale/iso-639.def: Add wae entry.
41234 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41237 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41241 * locale/C-translit.h.in: Add entry for U20B9.
41242 Patch by pravin.d.s@gmail.com.
41244 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41247 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41248 ENAMETOOLONG use generic getcwd.
41249 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41250 in rtld. Use *stat64.
41251 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41252 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41253 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41254 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41255 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41256 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41257 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41258 __fstatat64 macros.
41259 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41260 * dirent/rewinddir.c: Add libc_hidden_def.
41261 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41262 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41264 * include/dirent.h (__alloc_dir): Add flags parameter.
41265 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41266 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41268 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41269 from fdopendir if O_CLOEXEC is already set.
41271 2011-03-15 Alan Modra <amodra@gmail.com>
41273 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41274 l_tls_firstbyte_offset non-zero. Save padding offset in
41275 l_tls_firstbyte_offset for later use.
41276 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41277 freeing static tls block.
41279 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41281 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41282 where #ifdef was intended. The intent is to prevent ARG_MAX from
41283 being defined by the kernel headers.
41285 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41288 * resolv/resolv.h: Define RES_NOTLDQUERY.
41289 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41290 no-tld-query and set RES_NOTLDQUERY.
41291 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41292 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41293 modern BIND to search name as TLD unless forbidden.
41295 2011-05-07 Petr Baudis <pasky@suse.cz>
41296 Ulrich Drepper <drepper@gmail.com>
41299 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41300 (is_trusted_path): ...to here.
41301 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41302 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41303 using is_trusted_path_normalize() in setuid scripts.
41305 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41307 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41308 __BEGIN/__END_DECLS.
41310 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41312 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41313 NSS_STATUS_NOTFOUND if no record was found.
41315 2011-05-05 Andreas Schwab <schwab@redhat.com>
41317 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41318 (headers-not-in-tirpc): Remove rpc/netdb.h
41319 * resolv/netdb.h: Revert last change.
41321 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41323 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41324 circular dependency between libgcc.a and libc.a.
41326 2011-05-05 Andreas Schwab <schwab@redhat.com>
41328 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41329 * nis/Makefile: Don't install rpcsvc/*.
41330 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41331 instead of <rpc/types.h>.
41332 (MAXHOSTNAMELEN): Define.
41334 2011-05-03 Andreas Schwab <schwab@redhat.com>
41336 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41338 2011-04-28 Maciej Babinski <mbabinski@google.com>
41341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41342 gethostbyname4_r when IPv6 results are possible.
41344 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41347 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41348 _PC_PIPE_BUF handling.
41350 2011-04-30 Bruno Haible <bruno@clisp.org>
41353 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41354 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41356 * inet/getnameinfo.c (getnameinfo): Likewise.
41358 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41360 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41361 to groups setting in database lookup.
41362 * nss/nsswitch.conf: Add initgroups entry.
41364 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41367 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41369 Patch by Eric Blake <eblake@redhat.com>.
41371 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41373 * sunrpc/Makefile (need-export-routines): Add svc_run.
41374 (routines): Remove svc_run.
41375 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41376 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41377 * sunrpc/svc_run.c (svc_run): Likewise.
41378 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41380 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41383 problem in reallocation in last patch.
41385 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41387 * sunrpc/Makefile: Move inclusion of Rules.
41389 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41391 * nss/nss_files/files-initgroups.c: New file.
41392 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41393 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41394 _nss_files_initgroups_dyn.
41396 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41398 * elf/elf.h (R_ARM_IRELATIVE): Define.
41400 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41402 * po/ru.po: Update from translation team.
41404 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41406 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41409 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41412 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41413 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41414 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41415 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41416 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41418 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41420 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41422 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41423 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41426 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41429 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41431 * stdlib/bug-getcontext.c: New file.
41432 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41434 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41436 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41437 instructions into .machine "z9-109".
41438 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41439 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41441 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41443 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41444 between environment variables and auxiliary vector.
41446 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41448 * Makefile: Add rules to build linkobj/libc.so.
41449 * include/libc-symbols.h: Define libc_hidden_nolink.
41450 * include/rpc/auth.h: Mark functions which are to be hidden.
41451 * include/rpc/auth_des.h: Likewise.
41452 * include/rpc/auth_unix.h: Likewise.
41453 * include/rpc/clnt.h: Likewise.
41454 * include/rpc/des_crypt.h: Likewise.
41455 * include/rpc/key_prot.h: Likewise.
41456 * include/rpc/pmap_clnt.h: Likewise.
41457 * include/rpc/pmap_prot.h: Likewise.
41458 * include/rpc/pmap_rmt.h: Likewise.
41459 * include/rpc/rpc_msg.h: Likewise.
41460 * include/rpc/svc.h: Likewise.
41461 * include/rpc/svc_auth.h: Likewise.
41462 * include/rpc/xdr.h: Likewise.
41463 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41464 * nss/Makefile: Likewise.
41465 * sunrpc/Makefile: Don't install headers. Build library with normal
41466 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41467 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41468 for the compat linking library. Remove use of INTDEF/INTUSE.
41469 * sunrpc/auth_none.c: Likewise.
41470 * sunrpc/auth_unix.c: Likewise.
41471 * sunrpc/authdes_prot.c: Likewise.
41472 * sunrpc/authuxprot.c: Likewise.
41473 * sunrpc/clnt_gen.c: Likewise.
41474 * sunrpc/clnt_perr.c: Likewise.
41475 * sunrpc/clnt_raw.c: Likewise.
41476 * sunrpc/clnt_simp.c: Likewise.
41477 * sunrpc/clnt_tcp.c: Likewise.
41478 * sunrpc/clnt_udp.c: Likewise.
41479 * sunrpc/clnt_unix.c: Likewise.
41480 * sunrpc/des_crypt.c: Likewise.
41481 * sunrpc/des_soft.c: Likewise.
41482 * sunrpc/get_myaddr.c: Likewise.
41483 * sunrpc/key_call.c: Likewise.
41484 * sunrpc/key_prot.c: Likewise.
41485 * sunrpc/netname.c: Likewise.
41486 * sunrpc/pm_getmaps.c: Likewise.
41487 * sunrpc/pm_getport.c: Likewise.
41488 * sunrpc/pmap_clnt.c: Likewise.
41489 * sunrpc/pmap_prot.c: Likewise.
41490 * sunrpc/pmap_prot2.c: Likewise.
41491 * sunrpc/pmap_rmt.c: Likewise.
41492 * sunrpc/publickey.c: Likewise.
41493 * sunrpc/rpc_cmsg.c: Likewise.
41494 * sunrpc/rpc_common.c: Likewise.
41495 * sunrpc/rpc_dtable.c: Likewise.
41496 * sunrpc/rpc_prot.c: Likewise.
41497 * sunrpc/rpc_thread.c: Likewise.
41498 * sunrpc/rtime.c: Likewise.
41499 * sunrpc/svc.c: Likewise.
41500 * sunrpc/svc_auth.c: Likewise.
41501 * sunrpc/svc_authux.c: Likewise.
41502 * sunrpc/svc_raw.c: Likewise.
41503 * sunrpc/svc_run.c: Likewise.
41504 * sunrpc/svc_simple.c: Likewise.
41505 * sunrpc/svc_tcp.c: Likewise.
41506 * sunrpc/svc_udp.c: Likewise.
41507 * sunrpc/svc_unix.c: Likewise.
41508 * sunrpc/svcauth_des.c: Likewise.
41509 * sunrpc/xcrypt.c: Likewise.
41510 * sunrpc/xdr.c: Likewise.
41511 * sunrpc/xdr_array.c: Likewise.
41512 * sunrpc/xdr_float.c: Likewise.
41513 * sunrpc/xdr_intXX_t.c: Likewise.
41514 * sunrpc/xdr_mem.c: Likewise.
41515 * sunrpc/xdr_rec.c: Likewise.
41516 * sunrpc/xdr_ref.c: Likewise.
41517 * sunrpc/xdr_sizeof.c: Likewise.
41518 * sunrpc/xdr_stdio.c: Likewise.
41520 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41523 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41524 * sysdeps/ia64/dl-tls.h: Likewise.
41525 * sysdeps/powerpc/dl-tls.h: Likewise.
41526 * sysdeps/s390/dl-tls.h: Likewise.
41527 * sysdeps/sh/dl-tls.h: Likewise.
41528 * sysdeps/sparc/dl-tls.h: Likewise.
41529 * sysdeps/x86_64/dl-tls.h: Likewise.
41530 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41532 2011-03-14 Andreas Schwab <schwab@redhat.com>
41534 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41535 rpath element also skip the following colon.
41536 (expand_dynamic_string_token): Add is_path parameter and pass
41537 down to DL_DST_REQUIRED and _dl_dst_substitute.
41538 (decompose_rpath): Call expand_dynamic_string_token with
41539 non-zero is_path. Ignore empty rpaths.
41540 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41543 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41548 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41551 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41552 Patch by Filipe David Manana <fdmanana@apache.org>.
41554 2011-04-07 Andreas Schwab <schwab@redhat.com>
41556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41557 Maintain aligned stack.
41558 (CHECK_RSP): Remove unused macro.
41560 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41562 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41563 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41565 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41567 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41569 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41571 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41574 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41575 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41576 * sysdeps/x86_64/memmove.c: New file.
41577 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41578 (memcpy): Renamed to ...
41579 (__new_memcpy): This.
41580 (memcpy): Provide GLIBC_2_14 memcpy.
41581 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41582 (memcpy): Provide GLIBC_2_2_5 memcpy.
41584 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41587 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41589 2011-03-30 Andreas Schwab <schwab@redhat.com>
41591 * misc/syncfs.c: New file.
41592 * misc/Makefile (routines): Add syncfs.
41593 * posix/unistd.h: Declare syncfs.
41594 * sysdeps/unix/syscalls.list: Add syncfs.
41596 2011-04-01 Andreas Schwab <schwab@redhat.com>
41598 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41603 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41605 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41608 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41610 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41612 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41614 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41618 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41619 sync_file_range.c with -fexceptions.
41620 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41621 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41622 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41623 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41624 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41625 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41627 sync_file_range as cancellation point
41628 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41629 now a wrapper around __call_sync_file_range with cancellation handling.
41630 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41631 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41632 function name to __call_sync_file_range.
41633 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41634 Add call_sync_file_range.
41636 2011-04-01 Andreas Schwab <schwab@redhat.com>
41638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41641 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41643 * iconv/iconv.h: Fix typo in comment.
41644 * io/fcntl.h: Likewise.
41645 * libio/stdio.h: Likewise.
41646 * posix/spawn.h: Likewise.
41647 * posix/unistd.h: Likewise.
41648 * stdlib/stdlib.h: Likewise.
41649 * time/time.h: Likewise.
41650 * wcsmbs/wchar.h: Likewise.
41652 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41653 open_by_handle): Add.
41654 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41655 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41656 Augment a few comments.
41657 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41662 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41665 * io/fcntl.h (AT_EMPTY_PATH): Define.
41667 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41669 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41670 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41671 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41673 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41674 * Versions.def: Add GLIBC_2.14.
41675 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41678 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41680 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41682 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41684 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41687 * string/test-strncmp.c (do_page_test): New function.
41688 (check2): Likewise.
41689 (test_main): Call check2.
41690 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41692 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41695 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41696 Handle cache information in CPU leaf 4.
41697 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41699 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41702 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41703 character representation.
41704 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41706 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41708 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41709 END(__isnan) to END(__isnanf) to match function entry point/label
41710 EALIGN(__isnanf,...).
41712 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41714 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41716 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41719 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41720 copy from the symbol referenced in the relocation to initialize the
41722 Patch by Piotr Bury <pbury@goahead.com>.
41723 * elf/Makefile: Add rules to build and tst-unique3.
41724 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41725 * elf/tst-unique3.cc: New file.
41726 * elf/tst-unique3.h: New file.
41727 * elf/tst-unique3lib.cc: New file.
41728 * elf/tst-unique3lib2.cc: New file.
41730 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41732 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41734 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41735 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41738 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41740 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41741 to-be-loaded object along a path to loader is ld.so.
41743 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41744 Ulrich Drepper <drepper@gmail.com>
41746 * sysdeps/x86_64/memset.S: After aligning destination, code
41747 branches to different locations depending on the value of
41748 misalignment, when multiarch is enabled. Fix this.
41750 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41752 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41753 Set _x86_64_preferred_memory_instruction for AMD processsors.
41754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41755 Set bit_Prefer_SSE_for_memop for AMD processors.
41757 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41759 * libio/fmemopen.c (fmemopen): Optimize a bit.
41761 2011-03-03 Andreas Schwab <schwab@redhat.com>
41763 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41765 2011-03-03 Roland McGrath <roland@redhat.com>
41767 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41769 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41771 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41772 __bzero_ultra1 instead of __memset_ultra1.
41774 2011-02-23 Andreas Schwab <schwab@redhat.com>
41775 Ulrich Drepper <drepper@gmail.com>
41778 * include/link.h (struct link_map): Add l_orig_initfini.
41779 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41780 returning unsuccessfully.
41781 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41782 close of a file loaded at startup, restore the original l_initfini
41784 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41785 list, store the pointer.
41786 * elf/Makefile ($(objpfx)noload-mem): New rule.
41787 (noload-ENV): Define.
41788 (tests): Add $(objpfx)noload-mem.
41789 * elf/noload.c: Include <memcheck.h>.
41790 (main): Call mtrace. Close all opened handles.
41792 2011-02-17 Andreas Schwab <schwab@redhat.com>
41795 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41796 dependencies are missing.
41798 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41800 Fix __if_freereq crash: Unlike the generic version which uses free,
41802 * sysdeps/mach/hurd/ifreq.h: New file.
41804 2011-01-27 Petr Baudis <pasky@suse.cz>
41805 Ulrich Drepper <drepper@gmail.com>
41808 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41809 to extend_alloca().
41810 * stdio-common/bug23.c: New file.
41811 * stdio-common/Makefile (tests): Add bug23.
41813 2010-09-28 Andreas Schwab <schwab@redhat.com>
41814 Ulrich Drepper <drepper@gmail.com>
41817 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41818 before performing relro protection. At old place add assertion
41819 to make sure nothing changed.
41821 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41822 Glauber de Oliveira Costa <glommer@gmail.com>
41824 * elf/elf.h: Add new ARM TLS relocs.
41826 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41829 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41831 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41833 * sysdeps/wordsize-64/tst-writev.c: New file.
41835 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41837 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41838 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41839 insns in _dl_start to prevent a TOC reference before relocs are
41842 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41845 * Makeconfig: Remove RANLIB definition.
41846 * Makerules: Don't use RANLIB.
41847 * aclocal.m4: Remove ranlib test.
41848 * configure.in: No need to check for ranlib.
41849 * elf/rtld-Rules: Don't use RANLIB.
41851 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41853 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41855 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41856 inclusion protection macro.
41858 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41859 SIGRTMIN and SIGRTMAX and print information in that case only when
41860 SIGRTMIN is defined.
41862 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41864 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41865 arginfo fn returning -1.
41867 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41868 and thousands string is zero terminated.
41870 2011-02-03 Andreas Schwab <schwab@redhat.com>
41872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41873 sysdeps/unix/sysv/linux/bits/socket.h.
41875 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41877 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41878 (__CPU_COUNT): Remove old macros.
41879 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41880 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41881 (__CPU_ALLOC, __CPU_FREE): Add macros.
41882 (__sched_cpualloc, __sched_cpufree): Add declarations.
41884 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41886 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41887 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41888 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41889 (readdhstai): Return value of addhstaiX call.
41890 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41891 (addgrbyX): Return value returned by cache_addgr.
41892 (readdgrbyname): Return value returned by addgrbyX.
41893 (readdgrbygid): Likewise.
41894 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41895 (addpwbyX): Return value returned by cache_addpw.
41896 (readdpwbyname): Return value returned by addhstbyX.
41897 (readdpwbyuid): Likewise.
41898 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41899 (addservbyX): Return value returned by cache_addserv.
41900 (readdservbyname): Return value returned by addservbyX:
41901 (readdservbyport): Likewise.
41902 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41903 (addhstbyX): Return value returned by cache_addhst.
41904 (readdhstbyname): Return value returned by addhstbyX.
41905 (readdhstbyaddr): Likewise.
41906 (readdhstbynamev6): Likewise.
41907 (readdhstbyaddrv6): Likewise.
41908 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41909 (readdinitgroups): Return value returned by addinitgroupsX.
41910 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41911 (prune_cache): Keep track of timeout value of re-added entries.
41912 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41913 * nscd/nscd.h: Adjust prototypes of readd* functions.
41915 2011-02-04 Roland McGrath <roland@redhat.com>
41917 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41918 (nis_stats): Likewise.
41919 * nis/nis_modify.c (nis_modify): Likewise.
41920 * nis/nis_remove.c (nis_remove): Likewise.
41921 * nis/nis_add.c (nis_add): Likewise.
41923 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41925 * posix/fnmatch_loop.c: Add some consts.
41927 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41929 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41932 * config.make.in (config-cflags-novzeroupper): Define.
41933 * configure.in: Substitute libc_cv_cc_novzeroupper.
41934 * elf/Makefile (AVX-CFLAGS): Define.
41935 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41936 (CFLAGS-tst-auditmod4a.c): Likewise.
41937 (CFLAGS-tst-auditmod4b.c): Likewise.
41938 (CFLAGS-tst-auditmod6b.c): Likewise.
41939 (CFLAGS-tst-auditmod6c.c): Likewise.
41940 (CFLAGS-tst-auditmod7b.c): Likewise.
41941 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41943 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41945 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41946 function to the callback.
41947 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41949 2011-02-02 Andreas Schwab <schwab@redhat.com>
41951 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41954 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41957 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41959 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41961 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41964 * elf/Makefile: Add rules to build and run new test.
41965 * elf/tst-initorder.c: New file.
41966 * elf/tst-initorder.exp: New file.
41967 * elf/tst-initordera1.c: New file.
41968 * elf/tst-initordera2.c: New file.
41969 * elf/tst-initordera3.c: New file.
41970 * elf/tst-initordera4.c: New file.
41971 * elf/tst-initorderb1.c: New file.
41972 * elf/tst-initorderb2.c: New file.
41973 * elf/tst-order-a1.c: New file.
41974 * elf/tst-order-a2.c: New file.
41975 * elf/tst-order-a3.c: New file.
41976 * elf/tst-order-a4.c: New file.
41977 * elf/tst-order-b1.c: New file.
41978 * elf/tst-order-b2.c: New file.
41979 * elf/tst-order-main.c: New file.
41980 New test case by George Gensure <werkt0@gmail.com>.
41982 2010-10-01 Andreas Schwab <schwab@redhat.com>
41984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41985 decoding ACE if AI_CANONIDN.
41987 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41989 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41991 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41993 * version.h (RELEASE): Bump for 2.13 release.
41994 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41996 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41998 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42000 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42002 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42007 * posix/getconf.c: Update copyright year.
42008 * catgets/gencat.c: Likewise.
42009 * csu/version.c: Likewise.
42010 * debug/catchsegv.sh: Likewise.
42011 * debug/xtrace.sh: Likewise.
42012 * elf/ldconfig.c: Likewise.
42013 * elf/ldd.bash.in: Likewise.
42014 * elf/sprof.c (print_version): Likewise.
42015 * iconv/iconv_prog.c: Likewise.
42016 * iconv/iconvconfig.c: Likewise.
42017 * locale/programs/locale.c: Likewise.
42018 * locale/programs/localedef.c: Likewise.
42019 * malloc/memusage.sh: Likewise.
42020 * malloc/mtrace.pl: Likewise.
42021 * nscd/nscd.c (print_version): Likewise.
42022 * nss/getent.c: Likewise.
42024 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42025 PF_CAIF, and PF_ALG.
42026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42028 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42030 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42031 (modules-names): Use them.
42032 (ifunc-test-modules, ifunc-pie-tests): Define.
42033 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42034 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42035 (test-extras): Likewise.
42036 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42037 $(compile-command.c).
42038 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42039 (all-built-dso): Define.
42040 (check-textrel.out, check-execstack.out): Depend on it.
42042 * configure.in: Don't override --enable-multi-arch.
42044 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42047 * nscd/hstcache.c (tryagain): Define.
42048 (cache_addhst): Return tryagain not notfound for temporary errors.
42049 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42052 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42055 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42056 to make the syscall.
42057 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42060 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42061 and fall back to matching as normal character if the string ends before
42062 the matching ']' is found. This is what POSIX requires.
42063 * posix/testfnm.c: Adjust test result.
42064 * posix/globtest.sh: Adjust test result. Add new test.
42065 * posix/tst-fnmatch.input: Likewise.
42066 * posix/tst-fnmatch2.c: Add new test.
42068 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42070 * elf/Makefile (check-execstack): Revert last change. Depend on
42072 (check-execstack.h): New target.
42073 (generated): Add check-execstack.h.
42074 * elf/check-execstack.c: Include "check-execstack.h".
42075 (main): Revert last change.
42076 (handle_file): Return zero if GNU_STACK is absent and
42077 DEFAULT_STACK_PERMS doesn't include PF_X.
42079 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42081 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42082 in child fails because the descriptor is already closed.
42083 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42084 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42085 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42088 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42092 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42093 temporary buffer used to handle multi lookups locally.
42094 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42096 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42098 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42101 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42103 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42104 alignment for SSE2.
42106 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42109 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42110 characters. When rounding increased number of integer digits recompute
42112 * stdio-common/tst-grouping.c: New file.
42113 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42115 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42117 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42118 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42120 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42122 * bits/select.h: Likewise.
42124 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42126 * po/ja.po: Update from translation team.
42128 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42131 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42132 implementation just like for lxstat, fxstatat, et al.
42134 2010-12-27 Jim Meyering <meyering@redhat.com>
42137 * posix/regexec.c (build_trtable): Return failure indication upon
42138 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42140 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42143 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42144 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42145 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42146 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42149 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42152 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42153 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42155 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42157 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42158 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42159 script has SORT_BY_INIT_PRIORITY.
42160 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42161 NO_CTORS_DTORS_SECTIONS is defined.
42162 * elf/soinit.c: Likewise.
42163 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42164 NO_CTORS_DTORS_SECTIONS is defined.
42165 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42166 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42167 * sysdeps/sh/init-first.c: Likewise.
42168 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42170 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42172 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42173 always use the slow path.
42175 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42177 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42178 similar rule which adds the sysdep directories to the header search in
42179 order to pick up the correct platform stackinfo.h.
42180 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42181 perform test if it is, otherwise return successfully without testing.
42182 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42183 DEFAULT_STACK_PERMS define in stackinfo.h.
42184 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42185 defined in stackinfo.h.
42186 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42187 DEFAULT_STACK_PERMS defined in stackinfo.h.
42188 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42189 * sysdeps/ia64/stackinfo.h: Likewise.
42190 * sysdeps/s390/stackinfo.h: Likewise.
42191 * sysdeps/sh/stackinfo.h: Likewise.
42192 * sysdeps/sparc/stackinfo.h: Likewise.
42193 * sysdeps/x86_64/stackinfo.h: Likewise.
42194 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42195 PF_X for powerpc64. Retain PF_X for powerpc32.
42197 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42199 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42201 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42202 GETDENTS_64BIT_ALIGNED.
42204 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42206 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42208 2010-12-10 Andreas Schwab <schwab@redhat.com>
42210 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42213 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42214 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42216 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42217 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42219 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42222 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42225 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42227 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42229 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42231 * po/it.po: Update from translation team.
42233 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42238 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42240 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42242 2010-11-24 Andreas Schwab <schwab@redhat.com>
42244 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42246 (gaih_getanswer_slice): Likewise.
42248 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42252 2010-05-31 Petr Baudis <pasky@suse.cz>
42255 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42256 silently even in the chroot mode.
42258 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42260 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42261 last patch a bit. Pretty printing
42263 2010-05-31 Petr Baudis <pasky@suse.cz>
42266 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42267 initialization of skip_initgroups_dyn.
42269 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42271 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42272 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42274 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42276 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42278 2010-11-11 Andreas Schwab <schwab@redhat.com>
42280 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42281 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42282 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42283 ($(objpfx)tst-fnmatch-mem): New rule.
42284 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42285 * posix/tst-fnmatch.c (main): Call mtrace.
42287 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42290 Support Intel processor model 6 and model 0x2c.
42292 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42294 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42297 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42300 * string/test-strncasecmp.c (check_result): New function.
42301 (do_one_test): Use it.
42302 (check1): New function.
42303 (test_main): Use it.
42304 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42305 Support strcasecmp and strncasecmp.
42307 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42310 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42313 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42315 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42319 * sysdeps/x86_64/multiarch/bzero.S: New file.
42320 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42321 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42322 * sysdeps/x86_64/multiarch/memset.S: New file.
42323 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42325 Set bit_Prefer_SSE_for_memop for Intel processors.
42326 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42328 (index_Prefer_SSE_for_memop): Define.
42329 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42331 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42333 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42334 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42336 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42339 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42340 (__x86_64_raw_data_cache_size_half): Likewise.
42341 (__x86_64_raw_shared_cache_size): Likewise.
42342 (__x86_64_raw_shared_cache_size_half): Likewise.
42344 * sysdeps/x86_64/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.
42348 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42349 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42350 and __x86_64_raw_shared_cache_size_half. Round
42351 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42352 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42353 to multiple of 256 bytes.
42355 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42358 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42359 of inacessible symlinks. Verify result of symlink before returning it.
42360 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42361 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42363 2010-10-28 Erich Ritz <erichritz@gmail.com>
42365 * math/math.h (isinf): Fix typo in comment.
42367 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42369 * po/da.po: Update from translation team.
42371 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42373 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42374 is added to the list.
42376 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42377 Ulrich Drepper <drepper@gmail.com>
42379 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42380 the global list here. Move code to...
42381 (_dl_add_to_namespace_list): ...here. New function.
42382 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42383 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42384 * elf/dl-load.c (lose): Don't remove the element from the list.
42385 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42386 (_dl_map_object): Likewise.
42388 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42391 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42392 into all bytes of SSE register.
42393 Patch by Richard Li <richardpku@gmail.com>.
42395 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42398 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42401 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42403 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42404 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42405 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42406 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42411 2010-10-22 Andreas Schwab <schwab@redhat.com>
42413 * include/dlfcn.h (__RTLD_SECURE): Define.
42414 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42415 mode & __RTLD_SECURE instead.
42416 (open_path): Rename preloaded parameter to secure.
42417 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42418 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42419 * elf/dl-deps.c (openaux): Likewise.
42420 * elf/rtld.c (struct map_args): Remove is_preloaded.
42421 (map_doit): Don't use it.
42422 (dl_main): Likewise.
42423 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42424 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42426 2010-09-09 Andreas Schwab <schwab@redhat.com>
42428 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42429 (sysd-rules-targets): Remove duplicates.
42430 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42431 rtld-%.$o dependency.
42433 2010-10-18 Andreas Schwab <schwab@redhat.com>
42435 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42436 _dl_map_object do it.
42438 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42440 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42441 fast fma builtins, define the macros in the C99 standard.
42442 (FP_FAST_FMAF): Likewise.
42443 (FP_FAST_FMAL): Likewise.
42444 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42446 * bits/mathdef.h: Update copyright year.
42447 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42449 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42451 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42452 builtins, define the macros in the C99 standard.
42453 (FP_FAST_FMAF): Likewise.
42454 (FP_FAST_FMAL): Likewise.
42455 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42457 (FP_FAST_FMAF): Likewise.
42459 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42462 * math/libm-test.inc (fma_test): Some new testcases.
42463 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42464 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42465 y and infinite z. Do multiplication by C already in long double.
42466 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42468 y and infinite z. Do bitwise or of inexact bit into u.d.
42469 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42470 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42471 * sysdeps/i386/fpu/s_fma.S: Removed.
42472 * sysdeps/i386/fpu/s_fmal.S: Removed.
42474 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42477 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42479 computation is not scheduled after fetestexcept. Fix value
42480 of minimum denormal long double.
42482 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42485 * math/libm-test.inc (fma_test): Add some more tests.
42486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42489 2010-10-15 Andreas Schwab <schwab@redhat.com>
42491 * scripts/data/localplt-s390-linux-gnu.data: New file.
42492 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42494 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42497 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42498 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42500 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42502 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42504 if one of x and y is very large and the other is subnormal.
42505 * sysdeps/s390/fpu/s_fmaf.c: New file.
42506 * sysdeps/s390/fpu/s_fma.c: New file.
42507 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42508 * sysdeps/powerpc/fpu/s_fma.S: New file.
42509 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42510 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42511 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42513 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42516 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42519 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42520 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42521 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42522 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42523 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42526 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42529 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42530 * posix/bug-regex31.input: Add test case.
42532 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42534 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42535 * posix/bug-regex31.input: New file.
42538 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42539 (parse_sub_exp): Fix last change, use postorder.
42541 * posix/bug-regex31.c: New file.
42542 * posix/Makefile: Add rules to build and run bug-regex31.
42544 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42547 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42550 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42551 to have entries in sys_siglist.
42554 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42557 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42560 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42561 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42562 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42563 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42564 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42565 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42566 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42567 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42568 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42569 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42570 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42571 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42572 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42573 * math/ftestexcept.c (fetestexcept): Likewise.
42574 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42575 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42576 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42577 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42578 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42579 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42580 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42582 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42585 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42588 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42590 * string/bug-strstr1.c: New file.
42591 * string/Makefile: Add rules to build and run bug-strstr1.
42593 2010-10-05 Eric Blake <eblake@redhat.com>
42596 * string/str-two-way.h (two_way_long_needle): Always clear memory
42597 when skipping input due to the shift table.
42599 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42602 * malloc/mcheck.c: Handle large requests.
42605 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42606 for strncmp and strncasecmp.
42607 * string/stratcliff.c: Add tests for strcmp and strncmp.
42608 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42610 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42612 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42615 2010-09-30 Andreas Jaeger <aj@suse.de>
42617 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42618 (CGROUP_SUPER_MAGIC): Define.
42619 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42620 Handle btrfs and cgroup file systems.
42621 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42624 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42626 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42627 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42629 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42632 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42633 trying to locate the ELF header.
42635 2010-09-27 Andreas Schwab <schwab@redhat.com>
42638 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42639 Mask out sign-bit copies when constructing f_fsid.
42641 2010-09-24 Petr Baudis <pasky@suse.cz>
42643 * debug/stack_chk_fail_local.c: Add missing licence exception.
42644 * debug/warning-nop.c: Likewise.
42646 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42648 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42649 implementing getdents64 using getdents syscall, set d_type if
42650 __ASSUME_GETDENTS32_D_TYPE.
42652 2010-09-16 Andreas Schwab <schwab@redhat.com>
42654 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42655 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42657 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42660 * posix/unistd.h: Undo change of feature selection for ftruncate from
42663 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42665 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42668 2010-09-20 Andreas Schwab <schwab@redhat.com>
42670 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42672 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42674 2010-09-14 Andreas Schwab <schwab@redhat.com>
42676 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42677 variables after CHECK_SP call.
42678 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42680 2010-09-13 Andreas Schwab <schwab@redhat.com>
42681 Ulrich Drepper <drepper@redhat.com>
42683 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42684 re-relocationg ld.so.
42685 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42686 _dl_init_paths call.
42687 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42690 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42692 * resolv/res_init.c (__res_vinit): Count the default server we added.
42694 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42695 Ulrich Drepper <drepper@redhat.com>
42698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42699 (____longjmp_chk): Use %ebx for saving value across system call.
42702 2010-09-06 Andreas Schwab <schwab@redhat.com>
42704 * manual/Makefile: Don't mix pattern rules with normal rules.
42706 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42708 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42710 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42711 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42712 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42713 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42717 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42720 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42721 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42723 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42725 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42726 * sysdeps/x86_64/addmul_1.S: Likewise.
42727 * sysdeps/x86_64/lshift.S: Likewise.
42728 * sysdeps/x86_64/mul_1.S: Likewise.
42729 * sysdeps/x86_64/rshift.S: Likewise.
42730 * sysdeps/x86_64/sub_n.S: Likewise.
42731 * sysdeps/x86_64/submul_1.S: Likewise.
42733 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42735 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42736 Define __sched_param instead of SCHED_* and sched_param when
42737 <bits/sched.h> is included with __need_schedparam defined.
42738 * bits/sched.h [__need_schedparam]
42739 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42740 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42741 (__defined_schedparam): Define to 1.
42742 (__sched_param): New structure, identical to sched_param.
42743 (__need_schedparam): Undefine.
42745 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42748 (epoll_create1): Declare.
42750 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42752 2010-08-31 Andreas Schwab <schwab@redhat.com>
42755 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42756 shifting retval into place.
42758 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42760 * nis/rpcsvc/nis.h: Update copyright notice.
42761 * nis/rpcsvc/nis.x: Likewise.
42762 * nis/rpcsvc/nis_callback.h: Likewise.
42763 * nis/rpcsvc/nis_callback.x: Likewise.
42764 * nis/rpcsvc/nis_object.x: Likewise.
42765 * nis/rpcsvc/nis_tags.h: Likewise.
42766 * nis/rpcsvc/yp.h: Likewise.
42767 * nis/rpcsvc/yp.x: Likewise.
42768 * nis/rpcsvc/ypupd.h: Likewise.
42769 * nis/yp_xdr.c: Likewise.
42770 * nis/ypupdate_xdr.c: Likewise.
42772 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42773 mainly the body of pmap_getport. Add parameters to specify timeouts.
42774 (pmap_getport): Use __libc_rpc_getport.
42775 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42776 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42777 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42779 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42784 2010-08-27 Roland McGrath <roland@redhat.com>
42786 * sysdeps/i386/i686/multiarch/Makefile
42787 (CFLAGS-varshift.c): New variable.
42789 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42791 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42792 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42794 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42796 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42798 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42800 * sysdeps/x86_64/strlen.S: Unroll the loop.
42801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42802 strlen-sse2 strlen-sse2-bsf.
42803 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42804 __strlen_no_bsf if bit_Slow_BSF is set.
42805 (__strlen_sse42): Removed.
42806 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42807 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42809 2010-08-25 Roland McGrath <roland@redhat.com>
42811 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42812 * sysdeps/x86_64/multiarch/varshift.c: New file.
42813 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42814 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42815 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42816 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42818 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42821 strlen-sse2 strlen-sse2-bsf.
42822 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42823 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42824 (__strlen_sse2): Removed.
42825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42828 bit_Slow_BSF for Atom.
42829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42830 (index_Slow_BSF): Define.
42831 (HAS_SLOW_BSF): Define.
42833 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42836 * resolv/res_init.c (__res_vinit): When no server address at all
42837 is given default to loopback.
42839 2010-08-24 Roland McGrath <roland@redhat.com>
42841 * configure.in: Remove config-name.h generation.
42842 * configure: Regenerated.
42843 * config-name.in: File removed.
42844 * scripts/config-uname.sh: New file.
42845 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42846 ($(objdir)config-name.h): New target.
42848 * sunrpc/rpc_parse.h: Avoid nested comment.
42850 2010-08-24 Richard Henderson <rth@redhat.com>
42851 Ulrich Drepper <drepper@redhat.com>
42852 H.J. Lu <hongjiu.lu@intel.com>
42854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42856 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42857 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42858 _mm_alignr_epi8 with _mm_loadu_si128.
42859 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42860 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42861 (__m128i_shift_right): Removed.
42862 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42863 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42864 * sysdeps/x86_64/multiarch/varshift.h: New file.
42865 * sysdeps/x86_64/multiarch/varshift.S: New file.
42867 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42869 * configure.in: Move assembler checks to before sysdep dir checking.
42871 2010-08-20 Petr Baudis <pasky@suse.cz>
42873 * LICENSES: Sync the sunrpc license.
42875 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42877 * sunrpc/auth_des.c: Update copyright notice once again.
42878 * sunrpc/auth_none.c: Likewise.
42879 * sunrpc/auth_unix.c: Likewise.
42880 * sunrpc/authdes_prot.c: Likewise.
42881 * sunrpc/authuxprot.c: Likewise.
42882 * sunrpc/bindrsvprt.c: Likewise.
42883 * sunrpc/clnt_gen.c: Likewise.
42884 * sunrpc/clnt_perr.c: Likewise.
42885 * sunrpc/clnt_raw.c: Likewise.
42886 * sunrpc/clnt_simp.c: Likewise.
42887 * sunrpc/clnt_tcp.c: Likewise.
42888 * sunrpc/clnt_udp.c: Likewise.
42889 * sunrpc/clnt_unix.c: Likewise.
42890 * sunrpc/des_crypt.c: Likewise.
42891 * sunrpc/des_soft.c: Likewise.
42892 * sunrpc/get_myaddr.c: Likewise.
42893 * sunrpc/getrpcport.c: Likewise.
42894 * sunrpc/key_call.c: Likewise.
42895 * sunrpc/key_prot.c: Likewise.
42896 * sunrpc/openchild.c: Likewise.
42897 * sunrpc/pm_getmaps.c: Likewise.
42898 * sunrpc/pm_getport.c: Likewise.
42899 * sunrpc/pmap_clnt.c: Likewise.
42900 * sunrpc/pmap_prot.c: Likewise.
42901 * sunrpc/pmap_prot2.c: Likewise.
42902 * sunrpc/pmap_rmt.c: Likewise.
42903 * sunrpc/rpc/auth.h: Likewise.
42904 * sunrpc/rpc/auth_unix.h: Likewise.
42905 * sunrpc/rpc/clnt.h: Likewise.
42906 * sunrpc/rpc/des_crypt.h: Likewise.
42907 * sunrpc/rpc/key_prot.h: Likewise.
42908 * sunrpc/rpc/netdb.h: Likewise.
42909 * sunrpc/rpc/pmap_clnt.h: Likewise.
42910 * sunrpc/rpc/pmap_prot.h: Likewise.
42911 * sunrpc/rpc/pmap_rmt.h: Likewise.
42912 * sunrpc/rpc/rpc.h: Likewise.
42913 * sunrpc/rpc/rpc_des.h: Likewise.
42914 * sunrpc/rpc/rpc_msg.h: Likewise.
42915 * sunrpc/rpc/svc.h: Likewise.
42916 * sunrpc/rpc/svc_auth.h: Likewise.
42917 * sunrpc/rpc/types.h: Likewise.
42918 * sunrpc/rpc/xdr.h: Likewise.
42919 * sunrpc/rpc_clntout.c: Likewise.
42920 * sunrpc/rpc_cmsg.c: Likewise.
42921 * sunrpc/rpc_common.c: Likewise.
42922 * sunrpc/rpc_cout.c: Likewise.
42923 * sunrpc/rpc_dtable.c: Likewise.
42924 * sunrpc/rpc_hout.c: Likewise.
42925 * sunrpc/rpc_main.c: Likewise.
42926 * sunrpc/rpc_parse.c: Likewise.
42927 * sunrpc/rpc_parse.h: Likewise.
42928 * sunrpc/rpc_prot.c: Likewise.
42929 * sunrpc/rpc_sample.c: Likewise.
42930 * sunrpc/rpc_scan.c: Likewise.
42931 * sunrpc/rpc_scan.h: Likewise.
42932 * sunrpc/rpc_svcout.c: Likewise.
42933 * sunrpc/rpc_tblout.c: Likewise.
42934 * sunrpc/rpc_util.c: Likewise.
42935 * sunrpc/rpc_util.h: Likewise.
42936 * sunrpc/rpcinfo.c: Likewise.
42937 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42938 * sunrpc/rpcsvc/key_prot.x: Likewise.
42939 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42940 * sunrpc/rpcsvc/mount.x: Likewise.
42941 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42942 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42943 * sunrpc/rpcsvc/rex.x: Likewise.
42944 * sunrpc/rpcsvc/rstat.x: Likewise.
42945 * sunrpc/rpcsvc/rusers.x: Likewise.
42946 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42947 * sunrpc/rpcsvc/spray.x: Likewise.
42948 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42949 * sunrpc/rtime.c: Likewise.
42950 * sunrpc/svc.c: Likewise.
42951 * sunrpc/svc_auth.c: Likewise.
42952 * sunrpc/svc_authux.c: Likewise.
42953 * sunrpc/svc_raw.c: Likewise.
42954 * sunrpc/svc_run.c: Likewise.
42955 * sunrpc/svc_simple.c: Likewise.
42956 * sunrpc/svc_tcp.c: Likewise.
42957 * sunrpc/svc_udp.c: Likewise.
42958 * sunrpc/svc_unix.c: Likewise.
42959 * sunrpc/svcauth_des.c: Likewise.
42960 * sunrpc/xcrypt.c: Likewise.
42961 * sunrpc/xdr.c: Likewise.
42962 * sunrpc/xdr_array.c: Likewise.
42963 * sunrpc/xdr_float.c: Likewise.
42964 * sunrpc/xdr_mem.c: Likewise.
42965 * sunrpc/xdr_rec.c: Likewise.
42966 * sunrpc/xdr_ref.c: Likewise.
42967 * sunrpc/xdr_sizeof.c: Likewise.
42968 * sunrpc/xdr_stdio.c: Likewise.
42970 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42973 2010-08-19 Andreas Schwab <schwab@redhat.com>
42975 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42977 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42979 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42980 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42981 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42982 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42983 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42984 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42985 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42986 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42987 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42988 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42989 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42990 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42991 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42992 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42994 2010-07-26 Anton Blanchard <anton@samba.org>
42996 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42997 * malloc/arena.c (heap_trim): Likewise.
42999 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43001 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43004 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43006 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43008 * sysdeps/i386/elf/Makefile: New file.
43010 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43012 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43013 from fanotify_init.
43014 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43015 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43017 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43019 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43021 * sysdeps/multiarch/strcmp.S: Likewise.
43023 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43025 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43026 strncase_l-nonascii.
43027 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43028 Add strncase_l-ssse3.
43029 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43030 * sysdeps/x86_64/strcmp.S: Likewise.
43031 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43032 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43033 * sysdeps/x86_64/strncase.S: New file.
43034 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43035 * sysdeps/x86_64/strncase_l.S: New file.
43036 * string/Makefile (strop-tests): Add strncasecmp.
43037 * string/test-strncasecmp.c: New file.
43039 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43042 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43043 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43045 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43047 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43049 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43051 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43052 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43053 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43055 2010-05-01 Alan Modra <amodra@gmail.com>
43057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43058 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43059 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43060 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43061 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43062 tidying. Don't tail-call __sigjmp_save for static lib.
43063 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43065 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43066 (CALL_MCOUNT): Add eh info, and nop after bl.
43067 (TAIL_CALL_SYSCALL_ERROR): New macro.
43068 (PSEUDO_RET): Use it.
43069 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43070 Correct save location of integer regs and cr.
43071 (_dl_profile_resolve): Correct cr save location. Delete nops
43072 after bl when SHARED. Reduce cfi size a little by better
43073 placement of cfi directives.
43074 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43075 make a stack frame. Instead use parm save area as a temp.
43076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43077 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43079 Don't make a stack frame for parent, use parm save area.
43080 Increase child stack frame to 112 bytes. Don't save unused reg,
43081 and adjust reg usage. Set up cfi on error recovery and
43082 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43084 (__makecontext): Add dummy nop after jump to exit.
43085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43086 Use correct parm save area and cr save, reduce stack frame.
43087 Correct cfi for possible PSEUDO_RET frame setup.
43088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43089 Branch to local label emitted by PSEUDO_RET rather than
43092 2010-08-12 Andreas Schwab <schwab@redhat.com>
43095 * locale/programs/locale.c (print_assignment): New function.
43096 (show_locale_vars): Use it.
43098 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43100 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43102 (struct statfs64): Likewise.
43103 (_STATFS_F_FLAGS): Define.
43104 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43105 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43106 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43107 (ST_VALID): Define locally.
43108 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43109 __statvfs_getflags, use the provided value.
43110 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43111 __ASSUME_STATFS_F_FLAGS.
43113 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43115 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43116 Add sys/fanotify.h.
43117 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43118 fanotify_mask for GLIBC_2.13.
43119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43120 fanotify_init and fanotify_mark.
43121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43122 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43124 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43126 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43127 prlimit64 for GLIBC_2.13.
43128 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43130 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43133 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43134 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43136 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43138 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43141 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43142 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43144 * nss/Makefile: Add rules to build and run tst-nss-test1.
43145 * shlib-versions: Add entry for libnss_test1.
43146 * nss/nss_test1.c: New file.
43147 * nss/tst-nss-test1.c: New file.
43149 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43150 (__nss_configure_lookup): Set appropriate entry in
43151 __nss_configure_lookup to true.
43152 * nss/nsswitch.h: Define enum with indeces of databases in
43153 databases and __nss_database_custom arrays. Declare
43154 __nss_database_custom.
43155 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43156 to avoid using nscd when custom rules are installed.
43157 * nss/getXXbyYY_r.c: Likewise.
43158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43160 * nss/nss_files/files-parse.c: Whitespace fixes.
43162 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43165 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43166 * posix/fnmatch_loop.c: Likewise.
43168 2010-07-17 Andi Kleen <ak@linux.intel.com>
43170 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43171 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43172 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43173 * Versions.def [GLIBC_2.13]: Add.
43175 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43177 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43178 Also fail if tpwd after pwuid call is NULL.
43180 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43182 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43183 when converting to ms.
43185 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43187 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43188 EOPNOTSUPP errors with ENOTTY.
43189 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43190 EOPNOTSUPP errors with ENOTTY.
43192 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43194 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43195 Add strcasecmp_l-ssse3.
43196 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43198 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43199 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43200 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43202 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43204 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43206 * string/Makefile (strop-tests): Add strcasecmp.
43207 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43208 strcasecmp_l-nonascii.
43209 (gen-as-const-headers): Add locale-defines.sym.
43210 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43211 * sysdeps/x86_64/strcasecmp.S: New file.
43212 * sysdeps/x86_64/strcasecmp_l.S: New file.
43213 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43214 * sysdeps/x86_64/locale-defines.sym: New file.
43215 * string/test-strcasecmp.c: New file.
43217 * string/test-strcasestr.c: Test both ends of the range of characters.
43218 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43220 2010-07-29 Roland McGrath <roland@redhat.com>
43223 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43225 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43227 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43230 2010-07-27 Andreas Schwab <schwab@redhat.com>
43232 * manual/memory.texi (Malloc Tunable Parameters): Document
43235 2010-07-26 Roland McGrath <roland@redhat.com>
43238 * configure.in (-fgnu89-inline check): Set and substitute
43239 gnu89_inline, not libc_cv_gnu89_inline.
43240 * configure: Regenerated.
43241 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43243 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43245 * string/test-strnlen.c: New file.
43246 * string/Makefile (strop-tests): Add strnlen.
43247 * string/tester.c (test_strnlen): Add a few more test cases.
43248 * string/tst-strlen.c: Better error reporting.
43250 * sysdeps/x86_64/strnlen.S: New file.
43252 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43255 lower-latency instructions.
43257 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43259 * string/test-strcasestr.c: New file.
43260 * string/test-strstr.c: New file.
43261 * string/Makefile (strop-tests): Add strstr and strcasestr.
43262 * string/str-two-way.h: Don't undefine MAX.
43263 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43265 2010-07-21 Andreas Schwab <schwab@redhat.com>
43267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43268 strcasestr-nonascii.
43269 (CFLAGS-strcasestr-nonascii.c): Define.
43270 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43271 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43272 Remove unused attribute.
43274 2010-07-20 Roland McGrath <roland@redhat.com>
43276 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43277 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43278 ld.so.cache was broken. With it, there is no way to disable dsocaps
43279 like LD_HWCAP_MASK can disable hwcaps.
43281 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43283 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43285 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43287 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43288 call in strcasestr.
43289 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43290 __strcasestr_sse42_nonascii.
43291 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43292 strcasestr-nonascii.c.
43293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43295 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43297 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43298 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43299 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43300 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43302 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43304 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43307 2010-07-06 Andreas Schwab <schwab@redhat.com>
43310 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43313 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43315 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43316 _PC_PIPE_BUF using F_GETPIPE_SZ.
43318 2010-07-05 Roland McGrath <roland@redhat.com>
43320 * manual/arith.texi (Rounding Functions): Fix rint description
43321 implicit in round description.
43323 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43325 * elf/Makefile: Fix linking for a few tests to make recent linker
43328 2010-06-30 Andreas Schwab <schwab@redhat.com>
43330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43331 $(common-objpfx)libc_nonshared.a.
43333 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43335 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43336 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43337 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43338 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43339 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43340 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43341 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43342 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43357 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43358 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43359 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43360 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43361 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43362 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43363 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43364 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43365 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43366 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43367 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43368 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43384 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43386 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43387 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43388 * string/memmove.c (memmove): Renamed to ...
43389 (MEMMOVE): ...this. Default to memmove.
43390 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43391 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43394 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43395 mempcpy-ssse3-back memmove-ssse3-back.
43396 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43397 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43398 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43399 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43400 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43401 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43402 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43403 * sysdeps/x86_64/multiarch/memmove.c: New file.
43404 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43405 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43406 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43407 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43408 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43409 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43411 (index_Fast_Copy_Backward): Define.
43412 (HAS_ARCH_FEATURE): Define.
43413 (HAS_FAST_REP_STRING): Define.
43414 (HAS_FAST_COPY_BACKWARD): Define.
43416 2010-06-21 Andreas Schwab <schwab@redhat.com>
43418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43419 Restore proper fallback handling.
43421 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43424 * posix/group_member.c (__group_member): Correct checking loop.
43426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43427 OOM in getpwuid_r correctly. Return error number when the caller
43428 should return, otherwise -1.
43429 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43430 call returning > 0 value.
43431 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43433 2010-06-07 Andreas Schwab <schwab@redhat.com>
43435 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43436 libc_nonshared.a from targets in modules-names.
43438 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43440 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43443 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43445 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43446 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43450 2010-06-02 Andreas Schwab <schwab@redhat.com>
43452 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43454 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43456 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43462 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43463 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43465 2010-06-14 Roland McGrath <roland@redhat.com>
43467 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43469 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43471 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43472 __REDIRECT followed by __THROW.
43473 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43474 * posix/getopt.h (getopt): Likewise.
43476 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43478 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43479 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43480 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43482 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43483 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43485 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43487 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43489 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43493 Properly check family and model.
43495 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43497 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43499 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43501 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43503 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43505 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43508 2010-05-19 Andreas Schwab <schwab@redhat.com>
43510 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43513 2010-05-21 Andreas Schwab <schwab@redhat.com>
43515 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43516 and internal_recvmmsg.
43517 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43518 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43519 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43520 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43522 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43523 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43524 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43526 2010-05-20 Andreas Schwab <schwab@redhat.com>
43528 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43530 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43532 POWER7 optimizations.
43533 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43534 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43536 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43538 * version.h: Update for 2.13 development version.
43540 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43542 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43543 exceptions. Return 0.
43545 2010-05-07 Roland McGrath <roland@redhat.com>
43547 * elf/ldconfig.c (main): Add a const.
43549 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43551 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43552 (args_options): Add no-idn option.
43553 (ahosts_keys_int): Add idn_flags to ai_flags.
43554 (parse_option): Handle 'i' option to clear idn_flags.
43556 * malloc/malloc.c (_int_free): Possible race in the most recently
43557 added check. Only act on the data if no current modification
43560 See ChangeLog.17 for earlier changes.