1 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2 Atsushi Onoe <atsushi@onoe.org>
7 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9 * resolv/res_send.c (send_dg): Check for validity of other
10 response if the current response is a referral.
12 2014-04-29 Steve Ellcey <sellcey@mips.com>
14 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20 Always divide by positive zero when computing -Inf result.
21 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27 FPSCR if value do not change.
28 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
38 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39 * sysdeps/unix/sysv/linux/hppa: Move directory from
40 ports/systeps/unix/sysv/linux/hppa.
41 * README: Update listing for hppa-*-linux-gnu.
43 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
46 * manual/stdio.texi (Hook functions): Fix types of stream hook
49 * socket/sys/socket.h: Fix typo in comment.
51 2014-04-28 Wilco <wdijkstr@arm.com>
53 * sysdeps/arm/fenv_private.h: New file.
54 * sysdeps/arm/math_private.h: New file.
55 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
57 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
59 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
61 (La_x86_64_retval): Likewise.
63 2014-04-24 Ian Bolton <ian.bolton@arm.com>
65 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
66 fpsr if value didn't change.
67 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
68 to fpcr if value didn't change.
69 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
70 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
71 fpsr or fpcr if value didn't change.
72 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
73 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
74 fpcr if value didn't change.
75 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
76 to fpsr if value didn't change.
78 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
80 * nptl/tst-sem3.c: Use test-skeleton.c
81 (main): Rename to do_test. Use return instead of
83 * nptl/tst-sem4.c: Use test-skeleton.c
84 (main): Rename to do_test.
86 2014-04-22 David S. Miller <davem@davemloft.net>
88 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
89 (struct sigaction): New struct member __glibc_reserved0, change
90 type of sa_flags to int.
92 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
94 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
95 (COUNT_LEADING_ZEROS_0): Define for AArch64.
97 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
99 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
100 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
102 2014-04-22 Will Newton <will.newton@linaro.org>
103 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
105 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
106 (__longjmp): Add longjmp and longjmp_target SystemTap
108 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
109 (__sigsetjmp): Add setjmp SystemTap probe.
111 2014-04-17 Carlos O'Donell <carlos@redhat.com>
113 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
116 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
118 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
120 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122 * sysdeps/powerpc/fpu/fenv_private.h
123 (libc_feholdexcept_setroundl_ctx): Define to
124 libc_feholdexcept_setround_ppc_ctx.
125 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
126 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
127 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
128 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
130 2014-04-17 Ian Bolton <ian.bolton@arm.com>
132 * sysdeps/aarch64/math-tests.h: New file.
134 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
136 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
139 Check and set bit_AVX2_Usable.
140 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
142 (bit_AVX2): Likewise.
143 (index_AVX2_Usable): Likewise.
144 (CPUID_AVX2): Likewise.
145 (HAS_AVX2): Likewise.
147 2014-04-17 Will Newton <will.newton@linaro.org>
149 * manual/setjmp.texi (System V contexts): Add note that
150 calling setcontext on a context created by a call to a
151 signal handler is undefined. Update text to note that
152 setcontext from a signal handler is possible but not
156 * stdlib/tst-setcontext.c: Include signal.h.
157 (main): Check that the signal stack before and
158 after swapcontext is the same.
160 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
161 Re-implement to restore registers in user code and avoid
162 rt_sigreturn system call.
164 2014-04-17 Wilco <wdijkstr@arm.com>
166 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
167 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
168 * math/test-fenv.c: Skip exception trap tests on targets which only
169 support non-stop mode.
171 2014-04-17 Ian Bolton <ian.bolton@arm.com>
172 Wilco Dijkstra <wilco.dijkstra@arm.com>
174 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
175 (libc_feholdsetround_aarch64_ctx)
176 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
177 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
178 (libc_feresetround_ctx, libc_feresetroundf_ctx)
179 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
180 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
181 (libc_feresetround_noexl_ctx): Define.
183 2014-04-16 Richard Henderson <rth@redhat.com>
185 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
187 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
190 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
191 const from the non-libc, non-ldso copy.
193 * sysdeps/alpha/libm-test-ulps: Regenerate.
195 2014-04-16 Ian Bolton <ian.bolton@arm.com>
196 Wilco Dijkstra <wilco.dijkstra@arm.com>
198 * sysdeps/aarch64/fpu/math_private.h: New file.
200 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
202 * sysdeps/aarch64/libm-test-ulps: Regenerate.
204 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
206 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
207 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
209 Intel MPX bound registers before _dl_profile_fixup.
210 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
211 registers after _dl_profile_fixup. Save and restore bound
212 registers bnd0/bnd1 when calling _dl_call_pltexit.
213 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
214 (LR_BND_OFFSET): Likewise.
215 (LRV_BND0_OFFSET): Likewise.
216 (LRV_BND1_OFFSET): Likewise.
218 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
220 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
222 * sysdeps/mach/hurd/i386/tls.h: ... here.
223 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
224 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
227 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
229 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
231 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
233 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
235 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
238 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
239 * sysdeps/s390/configure: Regenerate.
241 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
244 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
245 Set round-to-nearest internally to reduce error accumulation.
247 2014-04-16 Alan Modra <amodra@gmail.com>
251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
252 * math/libm-test.inc (frexp_test_data): Add tests.
253 * NEWS: Update fixed bug list.
255 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
257 * benchtests/Makefile: Depend on libraries in build directory.
258 (bench-math): Separate out math tests.
259 (bench-pthread): Separate out pthread tests.
260 (bench): Include math and pthread tests.
262 2014-04-14 Carlos O'Donell <carlos@redhat.com>
265 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
266 _dl_debug_initialize.
268 2014-04-14 Carlos O'Donell <carlos@redhat.com>
270 * configure.ac: Remove SELinux header check.
271 * configure: Regenerate.
272 * nscd/selinux.c (perms): Array of const char* to permission names.
273 (nscd_request_avc_has_perm): Call security_deny_unknown to find
274 default policy. Call string_to_security_class and string_to_av_perm to
275 translate strings. Enforce default policy and call avs_has_perm with
276 results of translated strings.
278 2014-04-13 David S. Miller <davem@davemloft.net>
280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
282 2014-04-12 Allan McRae <allan@archlinux.org>
285 * manual/string.texi (Collation Functions): Fix qsort argument
287 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
289 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
291 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
292 Make the test a no-op if there are no exceptions defined.
294 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
296 * elf/Makefile (tests): make tst-dlopen-aout conditional on
297 enable-hardcoded-path-in-tests
299 2014-04-11 Will Newton <will.newton@linaro.org>
301 * benchtests/Makefile (extra-objs): Add json-lib.o.
302 (bench-func): Tidy up JSON output.
303 * benchtests/bench-skeleton.c: Include json-lib.h.
304 (main): Use JSON library functions to do output of
306 * benchtests/bench-timing-type.c (main): Output the
307 timing type simply, leaving formatting to the user.
308 * benchtests/json-lib.c: New file.
309 * benchtests/json-lib.h: Likewise.
311 2014-04-11 Torvald Riegel <triegel@redhat.com>
314 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
315 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
316 memory barriers. Add comments.
317 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
318 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
319 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
320 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
321 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
322 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
324 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
326 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
327 * sysdeps/s390/s390-64/configure.ac: ... this ...
328 * sysdeps/s390/configure.ac: ... to here.
329 * sysdeps/s390/s390-32/configure: Delete file.
330 * sysdeps/s390/s390-64/configure: Delete file.
331 * sysdeps/s390/configure: Regenerate.
333 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
335 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
337 2014-04-11 Will Newton <will.newton@linaro.org>
339 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
340 to zero if it is not defined elsewhere. (mtrim): Test
341 the value of MALLOC_DEBUG with #if rather than #ifdef.
343 2014-04-10 Torvald Riegel <triegel@redhat.com>
345 * benchtests/pthread_once-inputs: New file.
346 * benchtests/pthread_once-source.c: New file.
347 * benchtests/README: Update documentation.
349 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
350 H.J. Lu <hongjiu.lu@intel.com>
352 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
353 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
354 * sysdeps/x86_64/configure: Regenerated.
355 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
357 (REGISTER_SAVE_RAX): Likewise.
358 (REGISTER_SAVE_RCX): Likewise.
359 (REGISTER_SAVE_RDX): Likewise.
360 (REGISTER_SAVE_RSI): Likewise.
361 (REGISTER_SAVE_RDI): Likewise.
362 (REGISTER_SAVE_R8): Likewise.
363 (REGISTER_SAVE_R9): Likewise.
364 (REGISTER_SAVE_BND0): Likewise.
365 (REGISTER_SAVE_BND1): Likewise.
366 (REGISTER_SAVE_BND2): Likewise.
367 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
368 bound registers when calling _dl_fixup.
370 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
372 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
373 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
375 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
376 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
377 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
378 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
379 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
380 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
381 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
383 2014-04-09 Peter Brett <peter@peter-b.co.uk>
386 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
387 pathconf(_PC_NAME_MAX).
389 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
393 (__PTHREAD_SPINS): Move definition to ...
394 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
395 (__PTHREAD_SPINS): ... here.
396 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
397 (__PTHREAD_SPIN): Likewise.
398 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
399 (__PTHREAD_SPIN): Likewise.
400 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
401 (__PTHREAD_SPIN): Likewise.
402 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
403 (__PTHREAD_SPIN): Likewise.
404 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
405 (__PTHREAD_SPIN): Likewise.
406 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
407 (__PTHREAD_SPIN): Likewise.
408 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
409 (__PTHREAD_SPIN): Likewise.
410 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
411 (__PTHREAD_SPIN): Likewise.
412 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
413 (__PTHREAD_SPIN): Likewise.
414 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
415 (__PTHREAD_SPIN): Likewise.
416 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
417 (__PTHREAD_SPIN): Likewise.
418 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
419 (__PTHREAD_SPIN): Likewise.
421 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
423 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
424 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
425 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
426 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
428 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
429 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
430 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
431 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
433 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
434 strlen symbol for non multi-arch builds.
435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
436 missing hidden_def and weak_alias.
438 2014-04-08 Carlos O'Donell <carlos@redhat.com>
440 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
442 2014-04-07 Will Newton <will.newton@linaro.org>
444 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
445 and contents. [!_LIBC] Remove #ifndef and contents.
446 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
447 * string/memccpy.c (__memccpy): Use ANSI prototype.
448 * string/memfrob.c (memfrob): Likewise.
449 * string/strcoll.c (STRCOLL): Likewise.
450 * string/strlen.c (strlen): Likewise.
451 * string/strtok.c (STRTOK): Likewise.
452 * string/strcat.c: Remove unused #include of memcopy.h.
453 (strcat): Use ANSI prototype.
454 * string/strchr.c: Remove unused #include of memcopy.h.
455 (strchr): Use ANSI prototype.
456 * string/strcmp.c: Remove unused #include of memcopy.h.
457 (strcmp): Use ANSI prototype.
458 * string/strcpy.c: Remove unused #include of memcopy.h.
459 (strcpy): Use ANSI prototype.
461 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
464 * config.make.in (config-extra-cppflags): Set it from
466 * configure.ac (libc_extra_cflags): Make it accumulate over
468 (libc_extra_cppflags): New flag.
469 * configure. Regenerate.
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
471 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
472 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
475 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
479 result for FE_DOWNWARD rounding mode.
480 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
484 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
486 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
487 in function argument name.
489 2014-04-03 David Svoboda <svoboda@cert.org>
492 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
495 2014-04-03 Roland McGrath <roland@hack.frob.com>
497 * elf/dl-unmap-segments.h: New file.
498 * sysdeps/generic/ldsodefs.h
499 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
500 * elf/dl-close.c: Include <dl-unmap-segments.h>.
501 * elf/dl-fptr.c: Likewise.
502 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
503 * sysdeps/aarch64/tlsdesc.c: Likewise.
504 * sysdeps/arm/tlsdesc.c: Likewise.
505 * sysdeps/i386/tlsdesc.c: Likewise.
506 * sysdeps/tile/dl-runtime.c: Likewise.
507 * sysdeps/x86_64/tlsdesc.c: Likewise.
508 * elf/dl-load.h: New file.
509 * elf/dl-load.c: Include it.
510 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
511 Macros moved to dl-load.h.
512 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
513 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
514 Use _dl_unmap_segments in place of __munmap.
515 Break out segment-mapping loop into ...
516 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
518 2014-04-03 Will Newton <will.newton@linaro.org>
520 * elf/dl-lookup.c (do_lookup_x): Remove comment
521 referring to nested function and move variable
522 declarations down to before first use.
524 2014-04-02 Joseph Myers <joseph@codesourcery.com>
528 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
530 * math/s_catanf.c (__catanf): Likewise.
531 * math/s_catanh.c (__catanh): Likewise.
532 * math/s_catanhf.c (__catanhf): Likewise.
533 * math/s_catanhl.c (__catanhl): Likewise.
534 * math/s_catanl.c (__catanl): Likewise.
535 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
536 by positive zero when computing -Inf result.
537 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
538 (catanh_test): Likewise.
539 * sysdeps/i386/fpu/libm-test-ulps: Update.
540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
543 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
544 instead of using underflowing value in computing result.
545 * math/s_clog10.c (__clog10): Likewise.
546 * math/s_clog10f.c (__clog10f): Likewise.
547 * math/s_clog10l.c (__clog10l): Likewise.
548 * math/s_clogf.c (__clogf): Likewise.
549 * math/s_clogl.c (__clogl): Likewise.
550 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
551 (clog10_test): Likewise.
552 * sysdeps/i386/fpu/libm-test-ulps: Update.
553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
555 2014-04-02 Alan Modra <amodra@gmail.com>
558 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
559 output when value is near a power of two. Use int64_t for lx and
560 remove casts. Use decimal rather than hex exponent constants.
561 Don't use long double multiplication when double will suffice.
562 * math/libm-test.inc (nextafter_test_data): Add tests.
563 * NEWS: Add 16739 and 16786 to bug list.
565 2014-04-02 Alan Modra <amodra@gmail.com>
567 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
569 2014-04-02 Alan Modra <amodra@gmail.com>
571 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
573 2014-04-01 Will Newton <will.newton@linaro.org>
575 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
576 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
578 2014-04-01 Florian Weimer <fweimer@redhat.com>
581 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
582 * nptl/tst-setuid2.c: New file.
583 * nptl/Makefile (xtests): Add tst-setuid2.
585 2014-04-01 Alan Modra <amodra@gmail.com>
588 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
590 2014-03-31 Joseph Myers <joseph@codesourcery.com>
594 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
595 set errno as appropriate.
596 * math/w_scalbf.c (__scalbf): Likewise.
597 * math/w_scalbl.c (__scalbl): Likewise.
598 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
599 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
600 * math/libm-test.inc (scalb_test_data): Add errno expectations.
604 * math/w_atan2.c: Include <errno.h>.
605 (__atan2): Set errno for result underflowing to zero.
606 * math/w_atan2f.c: Include <errno.h>.
607 (__atan2f): Set errno for result underflowing to zero.
608 * math/w_atan2l.c: Include <errno.h>.
609 (__atan2l): Set errno for result underflowing to zero.
610 * math/auto-libm-test-in: Don't allow missing errno for some atan2
612 * math/auto-libm-test-out: Regenerated.
614 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
616 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
617 Encode instruction correctly in little endian.
618 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
620 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
622 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
624 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
627 2014-03-31 Joseph Myers <joseph@codesourcery.com>
630 * sysdeps/unix/sysv/linux/kernel-features.h
631 [__sparc__ && !__arch64__ && !__sparc_v9__]
632 (__ASSUME_SET_ROBUST_LIST): Do not define.
633 [__sparc__ && !__arch64__ && !__sparc_v9__]
634 (__ASSUME_FUTEX_LOCK_PI): Likewise.
635 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
637 * sysdeps/unix/sysv/linux/arm/kernel-features.h
638 (__ASSUME_FUTEX_LOCK_PI): Undefine.
639 (__ASSUME_REQUEUE_PI): Likewise.
640 (__ASSUME_SET_ROBUST_LIST): Likewise.
641 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
642 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
644 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
645 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
647 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
649 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
651 * sysdeps/unix/sysv/linux/mips/kernel-features.h
652 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
654 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
655 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
659 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
660 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
661 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
663 2014-03-31 Will Newton <will.newton@linaro.org>
665 * benchtests/Makefile (bench): Add ffs and ffsll to list
667 * benchtests/ffs-inputs: New file.
668 * benchtests/ffsll-inputs: Likewise.
670 2014-03-29 Joseph Myers <joseph@codesourcery.com>
673 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
674 too large before casting to int.
675 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
676 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
677 * math/libm-test.inc (scalb_test_data): Add more tests.
679 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
681 * benchtests/Makefile (DETAILED_OPT): New make option.
682 (bench-func): Run benchmark program with -d if DETAILED_OPT is
684 * benchtests/bench-skeleton.c: Include stdbool.h.
685 (main): Store and print timings per input.
686 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
687 member to each argument value.
688 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
689 (_print_arg_data): Initialize per-input timing to 0.
691 * benchtests/Makefile (timing-type): New binary.
692 (bench-clean): Also remove bench-timing-type.
693 (bench): New target for timing-type.
694 (bench-func): Print output in JSON format.
695 * benchtests/bench-skeleton.c (main): Print output in JSON
697 * benchtests/bench-timing-type.c: New file.
698 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
699 (TIMING_PRINT_STATS): Remove.
700 * benchtests/scripts/bench.py (_print_arg_data): Store variant
703 * benchtests/bench-modf.c: Remove.
704 * benchtests/modf-inputs: New inputs file.
706 2014-03-28 Joseph Myers <joseph@codesourcery.com>
709 * math/s_clog10.c (M_PI_LOG10E): New macro.
710 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
711 imaginary parts are 0.
712 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
713 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
714 imaginary parts are 0.
715 * math/s_clog10l.c (M_PI_LOG10El): New macro.
716 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
717 imaginary parts are 0.
718 * math/libm-test.inc (clog10_test_data): Update expected results
719 for when real and imaginary parts are 0.
721 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
723 * elf/dl-load.c: Finish conversion of __builtin_expect into
726 2014-03-27 Joseph Myers <joseph@codesourcery.com>
729 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
730 1+x for argument with exponent below -67.
731 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
733 * math/auto-libm-test-in: Add more tests of exp.
734 * math/auto-libm-test-out: Regenerated.
736 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
739 * inet/getnetgrent_r.c (get_nonempty_val): New function.
740 (nscd_getnetgrent): Use it.
743 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
746 2014-03-27 Andi Kleen <ak@linux.intel.com>
748 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
749 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
750 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
751 Remove out of line section. Use cfi intrinsics.
752 (LLL_STUB_UNWIND_INFO*): Remove.
753 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
754 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
755 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
756 Remove out of line section. Use cfi intrinsics.
757 (LLL_STUB_UNWIND_INFO*): Remove.
759 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
762 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
765 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
767 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
769 2014-03-26 Joseph Myers <joseph@codesourcery.com>
772 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
774 * math/test-fenv-preserve.c: New file.
775 * math/Makefile (tests): Add test-fenv-preserve.
777 2014-03-26 Will Newton <will.newton@linaro.org>
779 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
781 2014-03-25 Roland McGrath <roland@hack.frob.com>
783 * scripts/versionlist.awk: Partition the version sets and emit all
784 GLIBC_* (sorted) before all others (sorted).
786 2014-03-25 Joseph Myers <joseph@codesourcery.com>
788 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
791 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
793 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
796 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
801 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
805 2014-03-25 Andreas Schwab <schwab@suse.de>
807 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
808 label to be used after in6ailist is initialized.
810 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
812 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
813 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
815 2014-03-25 Joseph Myers <joseph@codesourcery.com>
819 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
821 (fp_formats): Update initializers.
822 (init_fp_formats): Initialize new field.
823 (output_for_one_input_case): Allow underflow for results up to
825 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
826 * math/auto-libm-test-in: Don't mark some underflows from asin and
828 * math/auto-libm-test-out: Regenerated.
829 * sysdeps/i386/fpu/libm-test-ulps: Update.
830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
832 2014-03-25 Andreas Schwab <schwab@suse.de>
834 * libio/Makefile (tst-ftell-partial-wide-ENV)
835 (tst-ftell-active-handler-ENV): Define.
837 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
839 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
841 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
843 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
845 2014-03-24 Joseph Myers <joseph@codesourcery.com>
847 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
848 * sysdeps/x86_64/fpu/multiarch/e_exp.c
849 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
851 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
854 * elf/dl-load.c (open_verify): Add mode parameter.
855 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
856 (open_path): Change from boolean 'secure' to complete flag 'mode'
857 (_dl_map_object): Adjust.
858 * elf/Makefile (tests): Add tst-dlopen-aout.
859 * elf/tst-dlopen-aout.c: New test.
861 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
864 * sysdeps/unix/sysv/linux/s390/bits/stat.h
865 (struct stat): Rename member pad0 to __glibc_reserved0.
867 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
870 * sysdeps/s390/s390-32/bits/wordsize.h
871 (__WORDSIZE32_SIZE_ULONG): New define.
872 * sysdeps/s390/s390-64/bits/wordsize.h
873 (__WORDSIZE32_SIZE_ULONG): Likewise.
874 * sysdeps/generic/stdint.h (SIZE_MAX):
875 Define as UL if __WORDSIZE32_SIZE_ULONG.
877 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
880 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
881 (__glibc_reserved0): New variable.
882 (sa_flags): Change type to int.
884 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
886 * posix/Makefile (before-compile): Use += before-compile instead
889 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
891 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
892 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
894 2014-03-20 Andreas Schwab <schwab@suse.de>
897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
898 non-matching result from nscd.
900 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
902 * scripts/bench.py: Moved to ...
903 * benchtests/scripts/bench.py: ... here.
904 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
906 2014-03-24 Andreas Schwab <schwab@suse.de>
909 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
910 alloca_account and account alloca use for struct in6ailist.
912 2014-03-24 Joseph Myers <joseph@codesourcery.com>
915 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
916 rounding mode to recompute results that overflow to infinity or
918 * math/auto-libm-test-in: Don't mark tests as expected to fail for
920 * math/auto-libm-test-out: Regenerated.
921 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
922 (ccosh_test): Likewise.
923 (csin_test_data): Use plus_oflow.
924 (csin_test): Use ALL_RM_TEST.
925 (csinh_test_data): Use plus_oflow.
926 (csinh_test): Use ALL_RM_TEST.
927 * sysdeps/i386/fpu/libm-test-ulps: Update.
928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
930 2014-03-21 Joseph Myers <joseph@codesourcery.com>
932 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
933 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
934 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
937 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
939 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
940 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
941 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
942 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
944 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
945 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
947 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
948 * sysdeps/i386/fpu/libm-test-ulps: Update.
949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
951 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
953 * scripts/bench.pl: Remove file.
954 * scripts/bench.py: New benchmark script.
955 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
956 * benchtests/README: Mention python dependency.
957 * scripts/pylintrc: New file.
958 * scripts/pylint: New file.
960 * bits/mathdef.h: Use #ifdef instead of #if.
961 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
962 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
963 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
964 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
965 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
966 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
968 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
969 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
971 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
973 and strpbrk-ppc64 objects.
974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
975 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
976 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
977 multiarch strpbrk for POWER7.
978 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
979 multiarch strpbrk for PPC64.
980 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
982 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
985 2014-03-20 Joseph Myers <joseph@codesourcery.com>
987 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
988 (atan_test): Likewise.
989 (atanh_test_data): Use NO_TEST_INLINE for two tests.
990 (atanh_test): Use ALL_RM_TEST.
991 (atan2_test_data): Likewise.
992 (cabs_test): Likewise.
993 (cacosh_test): Likewise.
994 (carg_test): Likewise.
995 (casin_test): Likewise.
996 (casinh_test): Likewise.
997 (cbrt_test): Likewise.
998 (csqrt_test): Likewise.
999 (erf_test): Likewise.
1000 (erfc_test): Likewise.
1001 (pow10_test): Likewise.
1002 (exp2_test): Likewise.
1003 (hypot_test): Likewise.
1004 (j0_test): Likewise.
1005 (j1_test): Likewise.
1006 (lgamma_test): Likewise.
1007 (gamma_test): Likewise.
1008 (sincos_test): Likewise.
1009 (tanh_test): Likewise.
1010 (y0_test): Likewise.
1011 (y1_test): Likewise.
1012 * sysdeps/i386/fpu/libm-test-ulps: Update.
1013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1015 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1017 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1019 and strcspn-ppc64 objects.
1020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1021 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1022 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1023 multiarch strcspn for POWER7.
1024 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1025 multiarch strcspn for PPC64.
1026 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1028 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1031 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1033 * math/gen-libm-test.pl (generate_testfile): Expect only function
1034 name as argument to AUTO_TESTS_* and pass results for all rounding
1035 modes to parse_args.
1036 (parse_auto_input): Separate inputs of automatic tests from
1037 outputs before storing in %auto_tests.
1038 * math/libm-test.inc (acos_test_data): Update call to
1040 (acos_test): Use ALL_RM_TEST.
1041 (acos_tonearest_test_data): Remove.
1042 (acos_test_tonearest): Likewise.
1043 (acos_towardzero_test_data): Likewise.
1044 (acos_test_towardzero): Likewise.
1045 (acos_downward_test_data): Likewise.
1046 (acos_test_downward): Likewise.
1047 (acos_upward_test_data): Likewise.
1048 (acos_test_upward): Likewise.
1049 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1050 (asin_test_data): Likewise.
1051 (asin_test): Use ALL_RM_TEST.
1052 (asin_tonearest_test_data): Remove.
1053 (asin_test_tonearest): Likewise.
1054 (asin_towardzero_test_data): Likewise.
1055 (asin_test_towardzero): Likewise.
1056 (asin_downward_test_data): Likewise.
1057 (asin_test_downward): Likewise.
1058 (asin_upward_test_data): Likewise.
1059 (asin_test_upward): Likewise.
1060 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1061 (atan_test_data): Likewise.
1062 (atanh_test_data): Likewise.
1063 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1064 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1065 (carg_test_data): Likewise.
1066 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1067 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1068 (ccosh_test_data): Likewise.
1069 (cexp_test_data): Likewise.
1070 (clog_test_data): Likewise.
1071 (clog10_test_data): Likewise.
1072 (cos_test_data): Update call to AUTO_TESTS_f_f.
1073 (cos_test): Use ALL_RM_TEST.
1074 (cos_tonearest_test_data): Remove.
1075 (cos_test_tonearest): Likewise.
1076 (cos_towardzero_test_data): Likewise.
1077 (cos_test_towardzero): Likewise.
1078 (cos_downward_test_data): Likewise.
1079 (cos_test_downward): Likewise.
1080 (cos_upward_test_data): Likewise.
1081 (cos_test_upward): Likewise.
1082 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1083 (cosh_test): Use ALL_RM_TEST.
1084 (cosh_tonearest_test_data): Remove.
1085 (cosh_test_tonearest): Likewise.
1086 (cosh_towardzero_test_data): Likewise.
1087 (cosh_test_towardzero): Likewise.
1088 (cosh_downward_test_data): Likewise.
1089 (cosh_test_downward): Likewise.
1090 (cosh_upward_test_data): Likewise.
1091 (cosh_test_upward): Likewise.
1092 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1093 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1094 (ctan_test_data): Likewise.
1095 (ctan_test): Use ALL_RM_TEST.
1096 (ctan_tonearest_test_data): Remove.
1097 (ctan_test_tonearest): Likewise.
1098 (ctan_towardzero_test_data): Likewise.
1099 (ctan_test_towardzero): Likewise.
1100 (ctan_downward_test_data): Likewise.
1101 (ctan_test_downward): Likewise.
1102 (ctan_upward_test_data): Likewise.
1103 (ctan_test_upward): Likewise.
1104 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1105 (ctanh_test): Use ALL_RM_TEST.
1106 (ctanh_tonearest_test_data): Remove.
1107 (ctanh_test_tonearest): Likewise.
1108 (ctanh_towardzero_test_data): Likewise.
1109 (ctanh_test_towardzero): Likewise.
1110 (ctanh_downward_test_data): Likewise.
1111 (ctanh_test_downward): Likewise.
1112 (ctanh_upward_test_data): Likewise.
1113 (ctanh_test_upward): Likewise.
1114 (erf_test_data): Update call to AUTO_TESTS_f_f.
1115 (erfc_test_data): Likewise.
1116 (exp_test_data): Likewise.
1117 (exp_test): Use ALL_RM_TEST.
1118 (exp_tonearest_test_data): Remove.
1119 (exp_test_tonearest): Likewise.
1120 (exp_towardzero_test_data): Likewise.
1121 (exp_test_towardzero): Likewise.
1122 (exp_downward_test_data): Likewise.
1123 (exp_test_downward): Likewise.
1124 (exp_upward_test_data): Likewise.
1125 (exp_test_upward): Likewise.
1126 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1127 (exp10_test): Use ALL_RM_TEST.
1128 (exp10_tonearest_test_data): Remove.
1129 (exp10_test_tonearest): Likewise.
1130 (exp10_towardzero_test_data): Likewise.
1131 (exp10_test_towardzero): Likewise.
1132 (exp10_downward_test_data): Likewise.
1133 (exp10_test_downward): Likewise.
1134 (exp10_upward_test_data): Likewise.
1135 (exp10_test_upward): Likewise.
1136 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1137 (expm1_test_data): Likewise.
1138 (expm1_test): Use ALL_RM_TEST.
1139 (expm1_tonearest_test_data): Remove.
1140 (expm1_test_tonearest): Likewise.
1141 (expm1_towardzero_test_data): Likewise.
1142 (expm1_test_towardzero): Likewise.
1143 (expm1_downward_test_data): Likewise.
1144 (expm1_test_downward): Likewise.
1145 (expm1_upward_test_data): Likewise.
1146 (expm1_test_upward): Likewise.
1147 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1148 (fma_test): Use ALL_RM_TEST.
1149 (fma_towardzero_test_data): Remove.
1150 (fma_test_towardzero): Likewise.
1151 (fma_downward_test_data): Likewise.
1152 (fma_test_downward): Likewise.
1153 (fma_upward_test_data): Likewise.
1154 (fma_test_upward): Likewise.
1155 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1156 (j0_test_data): Update call to AUTO_TESTS_f_f.
1157 (j1_test_data): Likewise.
1158 (jn_test_data): Update call to AUTO_TESTS_if_f.
1159 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1160 (log_test_data): Update call to AUTO_TESTS_f_f.
1161 (log10_test_data): Likewise.
1162 (log1p_test_data): Likewise.
1163 (log2_test_data): Likewise.
1164 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1165 (pow_tonearest_test_data): Likewise.
1166 (sin_test_data): Update call to AUTO_TESTS_f_f.
1167 (sin_test): Use ALL_RM_TEST.
1168 (sin_tonearest_test_data): Remove.
1169 (sin_test_tonearest): Likewise.
1170 (sin_towardzero_test_data): Likewise.
1171 (sin_test_towardzero): Likewise.
1172 (sin_downward_test_data): Likewise.
1173 (sin_test_downward): Likewise.
1174 (sin_upward_test_data): Likewise.
1175 (sin_test_upward): Likewise.
1176 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1177 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1178 (sinh_test): Use ALL_RM_TEST.
1179 (sinh_tonearest_test_data): Remove.
1180 (sinh_test_tonearest): Likewise.
1181 (sinh_towardzero_test_data): Likewise.
1182 (sinh_test_towardzero): Likewise.
1183 (sinh_downward_test_data): Likewise.
1184 (sinh_test_downward): Likewise.
1185 (sinh_upward_test_data): Likewise.
1186 (sinh_test_upward): Likewise.
1187 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1188 (sqrt_test): Use ALL_RM_TEST.
1189 (sqrt_tonearest_test_data): Remove.
1190 (sqrt_test_tonearest): Likewise.
1191 (sqrt_towardzero_test_data): Likewise.
1192 (sqrt_test_towardzero): Likewise.
1193 (sqrt_downward_test_data): Likewise.
1194 (sqrt_test_downward): Likewise.
1195 (sqrt_upward_test_data): Likewise.
1196 (sqrt_test_upward): Likewise.
1197 (tan_test_data): Update call to AUTO_TESTS_f_f.
1198 (tan_test): Use ALL_RM_TEST.
1199 (tan_tonearest_test_data): Remove.
1200 (tan_test_tonearest): Likewise.
1201 (tan_towardzero_test_data): Likewise.
1202 (tan_test_towardzero): Likewise.
1203 (tan_downward_test_data): Likewise.
1204 (tan_test_downward): Likewise.
1205 (tan_upward_test_data): Likewise.
1206 (tan_test_upward): Likewise.
1207 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1208 (tgamma_test_data): Likewise.
1209 (y0_test_data): Likewise.
1210 (y1_test_data): Likewise.
1211 (yn_test_data): Update call to AUTO_TESTS_if_f.
1212 (main): Do not call removed functions.
1214 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1216 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1217 (ldexp_test_data): Remove.
1218 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1220 (scalb_test): Use ALL_RM_TEST.
1222 2014-03-19 Andreas Schwab <schwab@suse.de>
1224 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1226 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1229 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1230 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1231 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1232 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1233 (__ASSUME_PREADV): Undefine.
1234 (__ASSUME_PWRITEV): Likewise.
1236 2014-03-18 Roland McGrath <roland@hack.frob.com>
1238 * bits/mman-linux.h: Add comment about non-Linux use.
1239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1240 bits/mman-linux.h resting place.
1242 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1243 * bits/mman-linux.h: ... here.
1245 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1247 * conform/conformtest.pl: Add standard definition when calling C
1248 preprocessor on data files.
1249 (checknamespace): Remove unused variable.
1251 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1253 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1254 minus_oflow, plus_uflow and minus_uflow in expected results.
1255 * math/libm-test.inc (scalbn_test_data): Add more tests of
1256 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1258 (scalbn_test): Use ALL_RM_TEST.
1259 (scalbln_test_data): Add more tests of negative arguments. Use
1260 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1261 (scalbln_test): Use ALL_RM_TEST.
1263 2014-03-18 Roland McGrath <roland@hack.frob.com>
1265 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1267 2014-03-18 Will Newton <will.newton@linaro.org>
1269 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1272 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1274 * Makerules [!subdir] (check-abi): Exit with error status if a
1277 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1279 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1280 for rint. Include results for all rounding modes.
1281 (nearbyint_test): Use ALL_RM_TEST.
1282 (rint_test_data): Include all tests used for nearbyint.
1284 2014-03-17 Will Newton <will.newton@linaro.org>
1286 * nptl/sysdeps/pthread/pthread.h: Revert previous
1289 * sysdeps/generic/ldsodefs.h: Revert previous
1292 * libio/genops.c: Revert previous change.
1293 * libio/libioP.h: Likewise.
1294 * stdio-common/vfprintf.c: Likewise.
1296 * sysdeps/generic/math_private.h: Revert previous
1299 * sysdeps/generic/math_private.h: Check whether
1300 HAVE_RM_CTX is defined with #ifdef rather
1303 * argp/argp-fmtstream.h: Check whether
1304 __STRICT_ANSI__ is defined with #ifdef rather
1306 * argp/argp.h: Likewise.
1308 * libio/genops.c: Check whether
1309 _IO_JUMPS_OFFSET is defined with #ifdef rather
1311 * libio/libioP.h: Likewise.
1312 * stdio-common/vfprintf.c: Likewise.
1314 * sysdeps/generic/ldsodefs.h: Check whether
1315 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1318 * nptl/sysdeps/pthread/pthread.h: Check
1319 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1322 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1324 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1326 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1330 * libio/fileops.c (_IO_file_open): Seek to end of file but
1331 don't cache the offset.
1332 (get_file_offset): Remove function.
1333 (do_ftell): Use cached offset when available.
1334 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1335 don't cache the offset.
1336 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1338 (do_one_test): Call it.
1339 (do_ftell_test): Fix up expected old offset for a+ mode.
1340 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1343 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1344 up test status with function return status.
1345 (do_write_test): Likewise.
1346 (do_append_test): Likewise.
1348 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1349 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1352 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1354 * math/gen-libm-test.pl (parse_args): Handle results specified for
1355 each rounding mode separately.
1356 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1357 tests and results from lrint_tonearest_test_data,
1358 lrint_towardzero_test_data, lrint_downward_test_data and
1359 lrint_upward_test_data.
1360 (lrint_test): Use ALL_RM_TEST.
1361 (lrint_tonearest_test_data): Remove.
1362 (lrint_test_tonearest): Likewise.
1363 (lrint_towardzero_test_data): Likewise.
1364 (lrint_test_towardzero): Likewise.
1365 (lrint_downward_test_data): Likewise.
1366 (lrint_test_downward): Likewise.
1367 (lrint_upward_test_data): Likewise.
1368 (lrint_test_upward): Likewise.
1369 (llrint_test_data): Merge in per-rounding-mode tests and results
1370 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1371 llrint_downward_test_data and llrint_upward_test_data.
1372 (llrint_test): Use ALL_RM_TEST.
1373 (llrint_tonearest_test_data): Remove.
1374 (llrint_test_tonearest): Likewise.
1375 (llrint_towardzero_test_data): Likewise.
1376 (llrint_test_towardzero): Likewise.
1377 (llrint_downward_test_data): Likewise.
1378 (llrint_test_downward): Likewise.
1379 (llrint_upward_test_data): Likewise.
1380 (llrint_test_upward): Likewise.
1381 (rint_test_data): Merge in per-rounding-mode tests and results
1382 from rint_tonearest_test_data, rint_towardzero_test_data,
1383 rint_downward_test_data and rint_upward_test_data. Add
1384 per-rounding-mode results for tests not in those arrays.
1385 (rint_test): Use ALL_RM_TEST.
1386 (rint_tonearest_test_data): Remove.
1387 (rint_test_tonearest): Likewise.
1388 (rint_towardzero_test_data): Likewise.
1389 (rint_test_towardzero): Likewise.
1390 (rint_downward_test_data): Likewise.
1391 (rint_test_downward): Likewise.
1392 (rint_upward_test_data): Likewise.
1393 (rint_test_upward): Likewise.
1394 (main): Don't call removed functions.
1396 2014-03-14 Roland McGrath <roland@hack.frob.com>
1398 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1399 "Compiled on ..." crapola. It is anti-useful.
1401 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1403 * scripts/evaluate-test.sh: Handle fourth argument to determine
1404 whether test run should stop on failure.
1405 * Makeconfig (stop-on-test-failure): New variable.
1406 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1407 $(stop-on-test-failure).
1408 * Makefile (tests): Give a summary of results from testing and
1409 exit with failure status if they include an ERROR or FAIL.
1411 * manual/install.texi (Configuring and compiling): Mention
1412 stop-on-test-failure=y.
1413 * INSTALL: Regenerated.
1415 2014-03-14 Roland McGrath <roland@hack.frob.com>
1417 * scripts/versionlist.awk: New file.
1418 * Makerules [$(build-shared) = yes]
1419 (postclean-generated): Add Versions.def, not Versions.def.v and
1421 ($(common-objpfx)Versions.def.v.i): Target removed.
1422 ($(common-objpfx)Versions.def): New target.
1423 ($(common-objpfx)Versions.all): Depend on that rather that
1424 $(common-objpfx)Versions.def.v.
1425 * Versions.def: File removed.
1427 * Makeconfig (+gccwarn): Add -Wundef.
1428 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1429 a dl-sysdep.h breaking its contract.
1430 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1431 * include/stackinfo.h: New file.
1432 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1433 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1434 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1435 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1436 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1437 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1438 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1439 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1440 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1441 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1442 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1443 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1444 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1445 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1446 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1448 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1451 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1453 * math/libm-test.inc (round_test_data): Add more tests.
1455 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1460 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1462 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1467 * math/libm-test.inc (ceil_test_data): Add more tests.
1469 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471 * math/libm-test.inc (trunc_test_data): Add more tests related to
1474 2014-03-14 Roland McGrath <roland@hack.frob.com>
1476 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1477 with #if rather than #ifdef.
1478 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1480 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1482 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1483 first. Disable AVX-512 GCC support if assembler doesn't support
1485 * sysdeps/x86_64/configure: Regenerated.
1487 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1489 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1490 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1491 (__old_pthread_attr_setstack): Likewise.
1492 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1493 [!_STACK_GROWS_DOWN]: Likewise.
1495 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1497 * config.make.in (have-bash2): Delete.
1498 * configure.ac (libc_cv_have_bash2): Delete.
1499 * configure: Regenerate.
1500 * elf/Makefile (common-ldd-rewrite): Rename to ...
1501 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1502 (sh-ldd-rewrite): Delete.
1503 (bash-ldd-rewrite): Delete.
1504 (have-bash2): Delete checks.
1505 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1507 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1509 * config.make.in (have-ksh): Delete.
1511 * configure.ac (libc_cv_have_ksh): Delete.
1512 * configure: Regenerate.
1514 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1516 * elf/Makefile: Delete $(have-ksh) check.
1517 ($(objpfx)sotruss): Change KSH to BASH.
1518 * elf/sotruss.ksh: Rename to ...
1519 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1520 function style to match POSIX. Drop ksh vim mode setting.
1522 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1524 * manual/time.texi (Specifying the Time Zone with TZ): Change
1525 Tuesday to Thursday.
1527 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1529 * debug/tst-longjmp_chk2.c: Update header comment.
1530 (stackoverflow_handler): Add comment. Call assert on pass value.
1532 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1534 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1535 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1536 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1537 (La_x86_64_vector): Add zmm.
1538 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1539 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1540 ($(objpfx)tst-audit10): New target.
1541 ($(objpfx)tst-audit10.out): Likewise.
1542 (tst-audit10-ENV): New.
1543 (AVX512-CFLAGS): Likewise.
1544 (CFLAGS-tst-audit10.c): Likewise.
1545 (CFLAGS-tst-auditmod10a.c): Likewise.
1546 (CFLAGS-tst-auditmod10b.c): Likewise.
1547 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1548 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1549 * sysdeps/x86_64/configure: Regenerated.
1550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1551 AVX-512 zmm register support.
1552 (_dl_x86_64_save_sse): Likewise.
1553 (_dl_x86_64_restore_sse): Likewise.
1554 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1555 size vector registers.
1556 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1557 (ZMM_SIZE): Likewise.
1558 * sysdeps/x86_64/tst-audit10.c: New file.
1559 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1560 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1562 2014-03-13 Roland McGrath <roland@hack.frob.com>
1564 * configure.ac (HAVE_EHDR_START): New check.
1565 * configure: Regenerated.
1566 * config.h.in (HAVE_EHDR_START): New #undef.
1567 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1568 assuming the lowest-addressed segment maps the start of the file.
1570 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1572 * INSTALL: Regenerated.
1574 2014-03-13 Will Newton <will.newton@linaro.org>
1576 * manual/setjmp.texi (System V contexts): Improve
1577 clarity and grammar of documentation.
1579 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1582 * elf/Makefile (tests): Add tst-pie2.
1583 (tests-pie): Add tst-pie2.
1584 * elf/tst-pie2.c: New file.
1585 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1587 * elf/rtld.c (map_doit): Load executable as lt_executable.
1588 (dl_main): Likewise.
1590 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1593 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1594 (__ASSUME_PSELECT): Undefine.
1596 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1599 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1600 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1602 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1603 selector for static builds.
1605 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1608 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1611 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1613 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1614 selector for static builds.
1616 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/mips/math_private.h [__mips_hard_float]
1619 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1620 libc_feresetround_mips_ctx.
1621 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1622 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1623 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1626 * math/s_nextafter.c (__nextafter): Do not return value from
1627 overflowing computation.
1628 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1629 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1630 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1632 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1634 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1635 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1637 2014-03-11 Roland McGrath <roland@hack.frob.com>
1639 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1640 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1641 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1642 the new mov targetting sp.
1644 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1647 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1648 Define it for static builds as well.
1649 (NO_BZERO_IMPL): Likewise.
1651 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1653 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1654 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1655 multiarch strspn for PPC64.
1656 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1657 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1659 (__libc_ifunc_impl_list): Likewise.
1660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1661 multiarch optimizations
1662 * string/strspn.c (strspn): Using macro to redefine symbol name.
1664 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1665 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1668 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1669 multiarch strncat for PPC64.
1670 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1671 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1673 (__libc_ifunc_impl_list): Likewise.
1674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1675 multiarch optimizations
1677 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1680 * nscd/nscd.service: Make service type forking.
1682 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1685 sign in non default rounding modes.
1686 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1688 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1690 * math/libm-test.inc (ALL_RM_TEST): New macro.
1691 (ceil_test): Use ALL_RM_TEST.
1692 (cimag_test): Likewise.
1693 (conj_test): Likewise.
1694 (copysign_test): Likewise.
1695 (cproj_test): Likewise.
1696 (creal_test): Likewise.
1697 (fabs_test): Likewise.
1698 (floor_test): Likewise.
1699 (fmax_test): Likewise.
1700 (fmin_test): Likewise.
1701 (fmod_test): Likewise.
1702 (fpclassify_test): Likewise.
1703 (frexp_test): Likewise.
1704 (ilogb_test): Likewise.
1705 (isfinite_test): Likewise.
1706 (finite_test): Likewise.
1707 (isgreater_test): Likewise.
1708 (isgreaterequal_test): Likewise.
1709 (isinf_test): Likewise.
1710 (isless_test): Likewise.
1711 (islessequal_test): Likewise.
1712 (islessgreater_test): Likewise.
1713 (isnan_test): Likewise.
1714 (isnormal_test): Likewise.
1715 (issignaling_test): Likewise.
1716 (isunordered_test): Likewise.
1717 (logb_test): Likewise.
1718 (logb_downward_test_data): Remove.
1719 (logb_test_downward): Likewise.
1720 (lround_test): Use ALL_RM_TEST.
1721 (llround_test): Likewise.
1722 (modf_test): Likewise.
1723 (nexttoward_test): Likewise.
1724 (remainder_test): Likewise.
1725 (drem_test): Likewise.
1726 (remainder_tonearest_test_data): Likewise.
1727 (remainder_test_tonearest): Likewise.
1728 (drem_test_tonearest): Likewise.
1729 (remainder_towardzero_test_data): Likewise.
1730 (remainder_test_towardzero): Likewise.
1731 (drem_test_towardzero): Likewise.
1732 (remainder_downward_test_data): Likewise.
1733 (remainder_test_downward): Likewise.
1734 (drem_test_downward): Likewise.
1735 (remainder_upward_test_data): Likewise.
1736 (remainder_test_upward): Likewise.
1737 (drem_test_upward): Likewise.
1738 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1739 (round_test): Use ALL_RM_TEST.
1740 (signbit_test): Likewise.
1741 (trunc_test): Likewise.
1742 (significand_test): Likewise.
1743 (main): Don't call removed functions.
1745 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1748 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1750 (ILL_ILLOPN): Likewise.
1751 (ILL_ILLADR): Likewise.
1752 (ILL_ILLTRP): Likewise.
1753 (ILL_PRVOPC): Likewise.
1754 (ILL_PRVREG): Likewise.
1755 (ILL_COPROC): Likewise.
1756 (ILL_BADSTK): Likewise.
1757 (FPE_INTDIV): Likewise.
1758 (FPE_INTOVF): Likewise.
1759 (FPE_FLTDIV): Likewise.
1760 (FPE_FLTOVF): Likewise.
1761 (FPE_FLTUND): Likewise.
1762 (FPE_FLTRES): Likewise.
1763 (FPE_FLTINV): Likewise.
1764 (FPE_FLTSUB): Likewise.
1765 (SEGV_MAPERR): Likewise.
1766 (SEGV_ACCERR): Likewise.
1767 (BUS_ADRALN): Likewise.
1768 (BUS_ADRERR): Likewise.
1769 (BUS_OBJERR): Likewise.
1770 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1771 (TRAP_TRACE): Likewise.
1772 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1774 (CLD_KILLED): Likewise.
1775 (CLD_DUMPED): Likewise.
1776 (CLD_TRAPPED): Likewise.
1777 (CLD_STOPPED): Likewise.
1778 (CLD_CONTINUED): Likewise.
1779 (POLL_IN): Likewise.
1780 (POLL_OUT): Likewise.
1781 (POLL_MSG): Likewise.
1782 (POLL_ERR): Likewise.
1783 (POLL_PRI): Likewise.
1784 (POLL_HUP): Likewise.
1785 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1787 (ILL_ILLOPN): Likewise.
1788 (ILL_ILLADR): Likewise.
1789 (ILL_ILLTRP): Likewise.
1790 (ILL_PRVOPC): Likewise.
1791 (ILL_PRVREG): Likewise.
1792 (ILL_COPROC): Likewise.
1793 (ILL_BADSTK): Likewise.
1794 (FPE_INTDIV): Likewise.
1795 (FPE_INTOVF): Likewise.
1796 (FPE_FLTDIV): Likewise.
1797 (FPE_FLTOVF): Likewise.
1798 (FPE_FLTUND): Likewise.
1799 (FPE_FLTRES): Likewise.
1800 (FPE_FLTINV): Likewise.
1801 (FPE_FLTSUB): Likewise.
1802 (SEGV_MAPERR): Likewise.
1803 (SEGV_ACCERR): Likewise.
1804 (BUS_ADRALN): Likewise.
1805 (BUS_ADRERR): Likewise.
1806 (BUS_OBJERR): Likewise.
1807 (BUS_MCEERR_AR): Likewise.
1808 (BUS_MCEERR_AO): Likewise.
1809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1810 (TRAP_TRACE): Likewise.
1811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1813 (CLD_KILLED): Likewise.
1814 (CLD_DUMPED): Likewise.
1815 (CLD_TRAPPED): Likewise.
1816 (CLD_STOPPED): Likewise.
1817 (CLD_CONTINUED): Likewise.
1818 (POLL_IN): Likewise.
1819 (POLL_OUT): Likewise.
1820 (POLL_MSG): Likewise.
1821 (POLL_ERR): Likewise.
1822 (POLL_PRI): Likewise.
1823 (POLL_HUP): Likewise.
1824 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1825 (ILL_ILLOPN): Likewise.
1826 (ILL_ILLADR): Likewise.
1827 (ILL_ILLTRP): Likewise.
1828 (ILL_PRVOPC): Likewise.
1829 (ILL_PRVREG): Likewise.
1830 (ILL_COPROC): Likewise.
1831 (ILL_BADSTK): Likewise.
1832 (FPE_INTDIV): Likewise.
1833 (FPE_INTOVF): Likewise.
1834 (FPE_FLTDIV): Likewise.
1835 (FPE_FLTOVF): Likewise.
1836 (FPE_FLTUND): Likewise.
1837 (FPE_FLTRES): Likewise.
1838 (FPE_FLTINV): Likewise.
1839 (FPE_FLTSUB): Likewise.
1840 (SEGV_MAPERR): Likewise.
1841 (SEGV_ACCERR): Likewise.
1842 (BUS_ADRALN): Likewise.
1843 (BUS_ADRERR): Likewise.
1844 (BUS_OBJERR): Likewise.
1845 (BUS_MCEERR_AR): Likewise.
1846 (BUS_MCEERR_AO): Likewise.
1847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1848 (TRAP_TRACE): Likewise.
1849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1851 (CLD_KILLED): Likewise.
1852 (CLD_DUMPED): Likewise.
1853 (CLD_TRAPPED): Likewise.
1854 (CLD_STOPPED): Likewise.
1855 (CLD_CONTINUED): Likewise.
1856 (POLL_IN): Likewise.
1857 (POLL_OUT): Likewise.
1858 (POLL_MSG): Likewise.
1859 (POLL_ERR): Likewise.
1860 (POLL_PRI): Likewise.
1861 (POLL_HUP): Likewise.
1862 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1864 (ILL_ILLOPN): Likewise.
1865 (ILL_ILLADR): Likewise.
1866 (ILL_ILLTRP): Likewise.
1867 (ILL_PRVOPC): Likewise.
1868 (ILL_PRVREG): Likewise.
1869 (ILL_COPROC): Likewise.
1870 (ILL_BADSTK): Likewise.
1871 (ILL_BADIADDR): Likewise.
1872 (ILL_BREAK): Likewise.
1873 (FPE_INTDIV): Likewise.
1874 (FPE_INTOVF): Likewise.
1875 (FPE_FLTDIV): Likewise.
1876 (FPE_FLTOVF): Likewise.
1877 (FPE_FLTUND): Likewise.
1878 (FPE_FLTRES): Likewise.
1879 (FPE_FLTINV): Likewise.
1880 (FPE_FLTSUB): Likewise.
1881 (FPE_DECOVF): Likewise.
1882 (FPE_DECDIV): Likewise.
1883 (FPE_DECERR): Likewise.
1884 (FPE_INVASC): Likewise.
1885 (FPE_INVDEC): Likewise.
1886 (SEGV_MAPERR): Likewise.
1887 (SEGV_ACCERR): Likewise.
1888 (SEGV_PSTKOVF): Likewise.
1889 (BUS_ADRALN): Likewise.
1890 (BUS_ADRERR): Likewise.
1891 (BUS_OBJERR): Likewise.
1892 (BUS_MCEERR_AR): Likewise.
1893 (BUS_MCEERR_AO): Likewise.
1894 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1895 (TRAP_TRACE): Likewise.
1896 (TRAP_BRANCH): Likewise.
1897 (TRAP_HWBKPT): Likewise.
1898 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1900 (CLD_KILLED): Likewise.
1901 (CLD_DUMPED): Likewise.
1902 (CLD_TRAPPED): Likewise.
1903 (CLD_STOPPED): Likewise.
1904 (CLD_CONTINUED): Likewise.
1905 (POLL_IN): Likewise.
1906 (POLL_OUT): Likewise.
1907 (POLL_MSG): Likewise.
1908 (POLL_ERR): Likewise.
1909 (POLL_PRI): Likewise.
1910 (POLL_HUP): Likewise.
1911 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1912 (ILL_ILLOPN): Likewise.
1913 (ILL_ILLADR): Likewise.
1914 (ILL_ILLTRP): Likewise.
1915 (ILL_PRVOPC): Likewise.
1916 (ILL_PRVREG): Likewise.
1917 (ILL_COPROC): Likewise.
1918 (ILL_BADSTK): Likewise.
1919 (FPE_INTDIV): Likewise.
1920 (FPE_INTOVF): Likewise.
1921 (FPE_FLTDIV): Likewise.
1922 (FPE_FLTOVF): Likewise.
1923 (FPE_FLTUND): Likewise.
1924 (FPE_FLTRES): Likewise.
1925 (FPE_FLTINV): Likewise.
1926 (FPE_FLTSUB): Likewise.
1927 (SEGV_MAPERR): Likewise.
1928 (SEGV_ACCERR): Likewise.
1929 (BUS_ADRALN): Likewise.
1930 (BUS_ADRERR): Likewise.
1931 (BUS_OBJERR): Likewise.
1932 (BUS_MCEERR_AR): Likewise.
1933 (BUS_MCEERR_AO): Likewise.
1934 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1935 (TRAP_TRACE): Likewise.
1936 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1938 (CLD_KILLED): Likewise.
1939 (CLD_DUMPED): Likewise.
1940 (CLD_TRAPPED): Likewise.
1941 (CLD_STOPPED): Likewise.
1942 (CLD_CONTINUED): Likewise.
1943 (POLL_IN): Likewise.
1944 (POLL_OUT): Likewise.
1945 (POLL_MSG): Likewise.
1946 (POLL_ERR): Likewise.
1947 (POLL_PRI): Likewise.
1948 (POLL_HUP): Likewise.
1949 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1950 (ILL_ILLOPN): Likewise.
1951 (ILL_ILLADR): Likewise.
1952 (ILL_ILLTRP): Likewise.
1953 (ILL_PRVOPC): Likewise.
1954 (ILL_PRVREG): Likewise.
1955 (ILL_COPROC): Likewise.
1956 (ILL_BADSTK): Likewise.
1957 (FPE_INTDIV): Likewise.
1958 (FPE_INTOVF): Likewise.
1959 (FPE_FLTDIV): Likewise.
1960 (FPE_FLTOVF): Likewise.
1961 (FPE_FLTUND): Likewise.
1962 (FPE_FLTRES): Likewise.
1963 (FPE_FLTINV): Likewise.
1964 (FPE_FLTSUB): Likewise.
1965 (SEGV_MAPERR): Likewise.
1966 (SEGV_ACCERR): Likewise.
1967 (BUS_ADRALN): Likewise.
1968 (BUS_ADRERR): Likewise.
1969 (BUS_OBJERR): Likewise.
1970 (BUS_MCEERR_AR): Likewise.
1971 (BUS_MCEERR_AO): Likewise.
1972 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1973 (TRAP_TRACE): Likewise.
1974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1976 (CLD_KILLED): Likewise.
1977 (CLD_DUMPED): Likewise.
1978 (CLD_TRAPPED): Likewise.
1979 (CLD_STOPPED): Likewise.
1980 (CLD_CONTINUED): Likewise.
1981 (POLL_IN): Likewise.
1982 (POLL_OUT): Likewise.
1983 (POLL_MSG): Likewise.
1984 (POLL_ERR): Likewise.
1985 (POLL_PRI): Likewise.
1986 (POLL_HUP): Likewise.
1987 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1988 (ILL_ILLOPN): Likewise.
1989 (ILL_ILLADR): Likewise.
1990 (ILL_ILLTRP): Likewise.
1991 (ILL_PRVOPC): Likewise.
1992 (ILL_PRVREG): Likewise.
1993 (ILL_COPROC): Likewise.
1994 (ILL_BADSTK): Likewise.
1995 (FPE_INTDIV): Likewise.
1996 (FPE_INTOVF): Likewise.
1997 (FPE_FLTDIV): Likewise.
1998 (FPE_FLTOVF): Likewise.
1999 (FPE_FLTUND): Likewise.
2000 (FPE_FLTRES): Likewise.
2001 (FPE_FLTINV): Likewise.
2002 (FPE_FLTSUB): Likewise.
2003 (SEGV_MAPERR): Likewise.
2004 (SEGV_ACCERR): Likewise.
2005 (BUS_ADRALN): Likewise.
2006 (BUS_ADRERR): Likewise.
2007 (BUS_OBJERR): Likewise.
2008 (BUS_MCEERR_AR): Likewise.
2009 (BUS_MCEERR_AO): Likewise.
2010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2011 (TRAP_TRACE): Likewise.
2012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2014 (CLD_KILLED): Likewise.
2015 (CLD_DUMPED): Likewise.
2016 (CLD_TRAPPED): Likewise.
2017 (CLD_STOPPED): Likewise.
2018 (CLD_CONTINUED): Likewise.
2019 (POLL_IN): Likewise.
2020 (POLL_OUT): Likewise.
2021 (POLL_MSG): Likewise.
2022 (POLL_ERR): Likewise.
2023 (POLL_PRI): Likewise.
2024 (POLL_HUP): Likewise.
2025 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2026 (ILL_ILLOPN): Likewise.
2027 (ILL_ILLADR): Likewise.
2028 (ILL_ILLTRP): Likewise.
2029 (ILL_PRVOPC): Likewise.
2030 (ILL_PRVREG): Likewise.
2031 (ILL_COPROC): Likewise.
2032 (ILL_BADSTK): Likewise.
2033 (ILL_DBLFLT): Likewise.
2034 (ILL_HARDWALL): Likewise.
2035 (FPE_INTDIV): Likewise.
2036 (FPE_INTOVF): Likewise.
2037 (FPE_FLTDIV): Likewise.
2038 (FPE_FLTOVF): Likewise.
2039 (FPE_FLTUND): Likewise.
2040 (FPE_FLTRES): Likewise.
2041 (FPE_FLTINV): Likewise.
2042 (FPE_FLTSUB): Likewise.
2043 (SEGV_MAPERR): Likewise.
2044 (SEGV_ACCERR): Likewise.
2045 (BUS_ADRALN): Likewise.
2046 (BUS_ADRERR): Likewise.
2047 (BUS_OBJERR): Likewise.
2048 (BUS_MCEERR_AR): Likewise.
2049 (BUS_MCEERR_AO): Likewise.
2050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2051 (TRAP_TRACE): Likewise.
2052 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2054 (CLD_KILLED): Likewise.
2055 (CLD_DUMPED): Likewise.
2056 (CLD_TRAPPED): Likewise.
2057 (CLD_STOPPED): Likewise.
2058 (CLD_CONTINUED): Likewise.
2059 (POLL_IN): Likewise.
2060 (POLL_OUT): Likewise.
2061 (POLL_MSG): Likewise.
2062 (POLL_ERR): Likewise.
2063 (POLL_PRI): Likewise.
2064 (POLL_HUP): Likewise.
2065 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2066 (ILL_ILLOPN): Likewise.
2067 (ILL_ILLADR): Likewise.
2068 (ILL_ILLTRP): Likewise.
2069 (ILL_PRVOPC): Likewise.
2070 (ILL_PRVREG): Likewise.
2071 (ILL_COPROC): Likewise.
2072 (ILL_BADSTK): Likewise.
2073 (FPE_INTDIV): Likewise.
2074 (FPE_INTOVF): Likewise.
2075 (FPE_FLTDIV): Likewise.
2076 (FPE_FLTOVF): Likewise.
2077 (FPE_FLTUND): Likewise.
2078 (FPE_FLTRES): Likewise.
2079 (FPE_FLTINV): Likewise.
2080 (FPE_FLTSUB): Likewise.
2081 (SEGV_MAPERR): Likewise.
2082 (SEGV_ACCERR): Likewise.
2083 (BUS_ADRALN): Likewise.
2084 (BUS_ADRERR): Likewise.
2085 (BUS_OBJERR): Likewise.
2086 (BUS_MCEERR_AR): Likewise.
2087 (BUS_MCEERR_AO): Likewise.
2088 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2089 (TRAP_TRACE): Likewise.
2090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2092 (CLD_KILLED): Likewise.
2093 (CLD_DUMPED): Likewise.
2094 (CLD_TRAPPED): Likewise.
2095 (CLD_STOPPED): Likewise.
2096 (CLD_CONTINUED): Likewise.
2097 (POLL_IN): Likewise.
2098 (POLL_OUT): Likewise.
2099 (POLL_MSG): Likewise.
2100 (POLL_ERR): Likewise.
2101 (POLL_PRI): Likewise.
2102 (POLL_HUP): Likewise.
2103 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2104 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2107 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2108 before #include of <time.h>.
2109 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2110 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2111 (test-xfail-UNIX98/sched.h/conform): Likewise.
2113 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2115 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2116 error absence of trapping exception support.
2117 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2119 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2121 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2122 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2123 * timezone/Makefile (testdata): Move definition above include of
2125 (test-zones): New variable.
2126 (tests-special): Add zone files.
2127 (build-testdata): Use $(evaluate-test).
2129 * elf/Makefile (tests-special): Rename tests to end with .out.
2130 ($(objpfx)noload-mem): Likewise.
2131 ($(objpfx)tst-leaks1-mem): Likewise.
2132 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2133 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2134 $(objpfx)test-iconvconfig.out.
2135 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2136 set -e inside subshell and redirect output to file.
2137 * iconvdata/Makefile (generated): Rename tests to end with .out.
2139 (tests-special): Rename tests to end with .out.
2140 ($(objpfx)mtrace-tst-loading): Likewise.
2141 * intl/Makefile (generated): Likewise.
2142 (tests-special): Likewise.
2143 ($(objpfx)mtrace-tst-gettext): Likewise.
2144 * misc/Makefile (generated): Likewise.
2145 (tests-special): Likewise.
2146 ($(objpfx)tst-error1-mem): Likewise.
2147 * nptl/Makefile (tests-special): Likewise.
2148 ($(objpfx)tst-stack3-mem): Likewise.
2149 (generated): Likewise.
2150 * posix/Makefile (generated): Likewise.
2151 (tests-special): Likewise.
2152 (xtests-special): Likewise.
2153 ($(objpfx)tst-fnmatch-mem): Likewise.
2154 ($(objpfx)bug-regex2-mem): Likewise.
2155 ($(objpfx)bug-regex14-mem): Likewise.
2156 ($(objpfx)bug-regex21-mem): Likewise.
2157 ($(objpfx)bug-regex31-mem): Likewise.
2158 ($(objpfx)tst-vfork3-mem): Likewise.
2159 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2160 ($(objpfx)tst-pcre-mem): Likewise.
2161 ($(objpfx)tst-boost-mem): Likewise.
2162 ($(objpfx)bug-ga2-mem): Likewise.
2163 ($(objpfx)bug-glob2-mem): Likewise.
2164 * resolv/Makefile (generate): Likewise.
2165 (tests-special): Likewise.
2166 (xtests-special): Likewise.
2167 (generated): Likewise.
2168 ($(objpfx)mtrace-tst-leaks): Likewise.
2169 ($(objpfx)mtrace-tst-leaks2): Likewise.
2171 * scripts/merge-test-results.sh: New file.
2172 * Makefile (tests-special-notdir): New variable.
2173 (tests): Run merge-test-results.sh.
2175 * Rules (tests-special-notdir): New variable.
2176 (xtests-special-notdir): Likewise.
2177 (tests): Run merge-test-results.sh
2180 * Makeconfig (test-xfail-name): New variable.
2181 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2182 compute variable name for expected failures.
2183 * conform/Makefile (conformtest-headers-data): New variable.
2184 (conformtest-standards): Likewise.
2185 (conformtest-headers-ISO): Likewise.
2186 (conformtest-headers-ISO99): Likewise.
2187 (conformtest-headers-ISO11): Likewise.
2188 (conformtest-headers-POSIX): Likewise.
2189 (conformtest-headers-XPG3): Likewise.
2190 (conformtest-headers-XPG4): Likewise.
2191 (conformtest-headers-UNIX98): Likewise.
2192 (conformtest-headers-XOPEN2K): Likewise.
2193 (conformtest-headers-POSIX2008): Likewise.
2194 (conformtest-headers-XOPEN2K8): Likewise.
2195 (conformtest-header-list-base): Likewise.
2196 (conformtest-header-list-tests): Likewise.
2197 (conformtest-header-base): Likewise.
2198 (conformtest-header-tests): Likewise.
2199 (tests-special): Add $(conformtest-header-list-tests). If
2200 [$(fast-check) && !$(cross-compiling)], add
2201 $(conformtest-header-tests) instead of
2202 $(objpfx)run-conformtest.out.
2203 (generated): Add $(conformtest-header-list-base). If
2204 [$(fast-check) && !$(cross-compiling)], add
2205 $(conformtest-header-base). Remove previous setting.
2206 ($(conformtest-header-list-tests)): New target.
2207 (test-xfail-run-conformtest): Remove variable.
2208 ($(objpfx)run-conformtest.out): Remove target.
2209 (test-xfail-ISO11/complex.h/conform): New variable.
2210 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2211 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2212 (test-xfail-XPG3/varargs.h/conform): Likewise.
2213 (test-xfail-XPG4/varargs.h/conform): Likewise.
2214 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2215 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2216 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2217 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2218 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2219 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2220 (test-xfail-XPG3/ftw.h/conform): Likewise.
2221 (test-xfail-XPG3/grp.h/conform): Likewise.
2222 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2223 (test-xfail-XPG3/limits.h/conform): Likewise.
2224 (test-xfail-XPG3/pwd.h/conform): Likewise.
2225 (test-xfail-XPG3/search.h/conform): Likewise.
2226 (test-xfail-XPG3/signal.h/conform): Likewise.
2227 (test-xfail-XPG3/stdio.h/conform): Likewise.
2228 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2229 (test-xfail-XPG3/string.h/conform): Likewise.
2230 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2231 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2232 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2233 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2234 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2235 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2236 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2237 (test-xfail-XPG3/termios.h/conform): Likewise.
2238 (test-xfail-XPG3/time.h/conform): Likewise.
2239 (test-xfail-XPG3/unistd.h/conform): Likewise.
2240 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2241 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2242 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2243 (test-xfail-XPG4/netdb.h/conform): Likewise.
2244 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2245 (test-xfail-XPG4/signal.h/conform): Likewise.
2246 (test-xfail-XPG4/stdio.h/conform): Likewise.
2247 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2248 (test-xfail-XPG4/stropts.h/conform): Likewise.
2249 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2250 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2251 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2252 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2253 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2254 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2255 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2256 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2257 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2258 (test-xfail-XPG4/termios.h/conform): Likewise.
2259 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2260 (test-xfail-XPG4/unistd.h/conform): Likewise.
2261 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2262 (test-xfail-POSIX/sched.h/conform): Likewise.
2263 (test-xfail-POSIX/signal.h/conform): Likewise.
2264 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2265 (test-xfail-POSIX/tar.h/conform): Likewise.
2266 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2267 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2268 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2269 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2270 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2271 (test-xfail-UNIX98/sched.h/conform): Likewise.
2272 (test-xfail-UNIX98/signal.h/conform): Likewise.
2273 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2274 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2275 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2276 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2277 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2278 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2279 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2280 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2281 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2282 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2283 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2284 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2285 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2286 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2287 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2288 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2289 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2290 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2291 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2292 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2293 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2294 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2295 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2296 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2297 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2298 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2299 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2300 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2301 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2302 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2303 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2304 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2305 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2306 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2307 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2308 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2309 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2310 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2311 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2312 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2313 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2314 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2315 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2316 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2317 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2318 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2319 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2320 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2321 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2322 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2323 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2324 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2325 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2326 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2327 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2328 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2329 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2330 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2331 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2332 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2333 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2334 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2335 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2336 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2337 (conformtest-cc-flags): Likewise.
2338 ($(conformtest-header-tests): New target.
2339 * conform/check-header-lists.sh: New file.
2340 * conform/run-conformtest.sh: Remove.
2342 * conform/conformtest.pl: Allow ' and \ in values given for
2344 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2346 [POSIX] (sys/types.h): Likewise.
2347 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2349 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2351 * conform/data/signal.h-data (SIGIO): Remove expectation.
2352 [XPG3] (SIGBUS): Do not expect.
2353 [POSIX || XPG3] (SIGPOLL): Likewise.
2354 [POSIX || XPG3] (SIGPROF): Likewise.
2355 [POSIX || XPG3] (SIGSYS): Likewise.
2356 [XPG3] (SIGTRAP): Likewise.
2357 [POSIX || XPG3] (SIGURG): Likewise.
2358 [POSIX || XPG3] (SIGVTALRM): Likewise.
2359 [POSIX || XPG3] (SIGXCPU): Likewise.
2360 [POSIX || XPG3] (SIGXFSZ): Likewise.
2361 [POSIX] (SA_SIGINFO): Expect.
2362 [XPG3] (siginfo_t): Do not expect type or contents.
2363 [POSIX] (si_pid): Do not expect element.
2364 [POSIX] (si_uid): Likewise.
2365 [POSIX] (si_addr): Likewise.
2366 [POSIX] (si_status): Likewise.
2367 [POSIX] (si_band): Likewise.
2368 [XPG4] (si_value): Likewise.
2369 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2370 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2371 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2372 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2373 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2374 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2375 [POSIX || XPG3] (ILL_COPROC): Likewise.
2376 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2377 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2378 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2379 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2380 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2381 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2382 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2383 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2384 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2385 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2386 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2387 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2388 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2389 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2390 [POSIX || XPG3] (CLD_EXITED): Likewise.
2391 [POSIX || XPG3] (CLD_KILLED): Likewise.
2392 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2393 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2394 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2395 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2396 [POSIX || XPG3] (POLL_IN): Likewise.
2397 [POSIX || XPG3] (POLL_OUT): Likewise.
2398 [POSIX || XPG3] (POLL_MSG): Likewise.
2399 [POSIX || XPG3] (POLL_ERR): Likewise.
2400 [POSIX || XPG3] (POLL_PRI): Likewise.
2401 [POSIX || XPG3] (POLL_HUP): Likewise.
2402 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2403 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2404 (SIG*): Do not allow.
2405 [XPG3] (si_*): Likewise.
2406 [XPG3] (SI_*): Likewise.
2407 [XPG3 || XPG4] (sigev_*): Likewise.
2408 [XPG3 || XPG4] (SIGEV_*): Likewise.
2409 [XPG3 || XPG4] (sival_*): Likewise.
2410 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2411 [POSIX || XPG3] (BUS_*): Likewise.
2412 [POSIX || XPG3] (CLD_*): Likewise.
2413 [POSIX || XPG3] (FPE_*): Likewise.
2414 [POSIX || XPG3] (ILL_*): Likewise.
2415 [POSIX || XPG3] (POLL_*): Likewise.
2416 [POSIX || XPG3] (SEGV_*): Likewise.
2417 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2418 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2419 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2420 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2421 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2422 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2423 Specify type and value.
2424 (TVERSLEN): Likewise.
2425 (REGTYPE): Likewise.
2426 (AREGTYPE): Likewise.
2427 (LNKTYPE): Likewise.
2428 (SYMTYPE): Likewise.
2429 (CHRTYPE): Likewise.
2430 (BLKTYPE): Likewise.
2431 (DIRTYPE): Likewise.
2432 (FIFOTYPE): Likewise.
2433 (CONTTYPE): Likewise.
2438 (TUWRITE): Likewise.
2441 (TGWRITE): Likewise.
2444 (TOWRITE): Likewise.
2446 [POSIX] (TSVTX): Expect constant.
2448 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2450 * Makefile (tests): Change dependencies to ....
2451 (tests-special): ... additions to this variable.
2452 (tests): Depend on $(tests-special).
2453 * Makerules (check-abi-list): New variable.
2454 (check-abi): Depend on $(check-abi-list).
2455 [$(subdir) = elf] (tests-special): Add
2456 $(objpfx)check-abi-libc.out.
2457 [$(build-shared) = yes && subdir] (tests-special): Add
2459 [$(build-shared) = yes && subdir] (tests): Do not depend on
2461 * Rules (tests): Depend on $(tests-special).
2462 (xtests): Depend on $(xtests-special).
2463 * catgets/Makefile (tests): Change dependencies to ....
2464 (tests-special): ... additions to this variable.
2465 * conform/Makefile (tests): Change dependencies to ....
2466 (tests-special): ... additions to this variable.
2467 * elf/Makefile (tests): Change dependencies to ....
2468 (tests-special): ... additions to this variable.
2469 * grp/Makefile (tests): Change dependencies to ....
2470 (tests-special): ... additions to this variable.
2471 * iconv/Makefile (xtests): Change dependencies to ....
2472 (xtests-special): ... additions to this variable.
2473 * iconvdata/Makefile (tests): Change dependencies to ....
2474 (tests-special): ... additions to this variable.
2475 * intl/Makefile (tests): Change dependencies to ....
2476 (tests-special): ... additions to this variable. Also add
2477 $(objpfx)tst-gettext.out.
2478 * io/Makefile (tests): Change dependencies to ....
2479 (tests-special): ... additions to this variable.
2480 * libio/Makefile (tests): Change dependencies to ....
2481 (tests-special): ... additions to this variable.
2482 * malloc/Makefile (tests): Change dependencies to ....
2483 (tests-special): ... additions to this variable.
2484 * misc/Makefile (tests): Change dependencies to ....
2485 (tests-special): ... additions to this variable.
2486 * nptl/Makefile (tests): Change dependencies to ....
2487 (tests-special): ... additions to this variable.
2488 * nptl_db/Makefile (tests): Change dependencies to ....
2489 (tests-special): ... additions to this variable.
2490 * posix/Makefile (tests): Change dependencies to ....
2491 (tests-special): ... additions to this variable.
2492 (xtests): Change dependencies to ....
2493 (xtests-special): ... additions to this variable.
2494 * resolv/Makefile (tests): Change dependencies to ....
2495 (tests-special): ... additions to this variable.
2496 (xtests): Change dependencies to ....
2497 (xtests-special): ... additions to this variable.
2498 * stdio-common/Makefile (tests): Change dependencies to ....
2499 (tests-special): ... additions to this variable.
2500 (do-tst-unbputc): Remove target.
2501 (do-tst-printf): Likewise.
2502 * stdlib/Makefile (tests): Change dependencies to ....
2503 (tests-special): ... additions to this variable.
2504 * string/Makefile (tests): Change dependencies to ....
2505 (tests-special): ... additions to this variable.
2506 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2507 (tests-special): ... additions to this variable.
2509 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2511 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2513 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2514 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2516 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2517 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2518 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2519 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2520 * conform/data/libgen.h-data [XPG3]: Likewise.
2521 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2522 * conform/data/ndbm.h-data [XPG3]: Likewise.
2523 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2524 * conform/data/netdb.h-data [XPG3]: Likewise.
2525 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2526 * conform/data/poll.h-data [XPG3]: Likewise.
2527 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2528 * conform/data/strings.h-data [XPG3]: Likewise.
2529 * conform/data/stropts.h-data [XPG3]: Likewise.
2530 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2531 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2532 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2534 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2535 * conform/data/sys/time.h-data [XPG3]: Likewise.
2536 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2537 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2538 * conform/data/sys/un.h-data [XPG3]: Likewise.
2539 * conform/data/syslog.h-data [XPG3]: Likewise.
2540 * conform/data/ucontext.h-data [XPG3]: Likewise.
2541 * conform/data/utmpx.h-data [XPG3]: Likewise.
2542 * conform/data/varargs.h-data [UNIX98]: Enable file.
2544 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2546 * math/libm-test.inc (struct test_f_f_data): Move expected results
2547 into structure for each rounding mode.
2548 (struct test_ff_f_data): Likewise.
2549 (struct test_ff_f_data_nexttoward): Likewise.
2550 (struct test_fi_f_data): Likewise.
2551 (struct test_fl_f_data): Likewise.
2552 (struct test_if_f_data): Likewise.
2553 (struct test_fff_f_data): Likewise.
2554 (struct test_c_f_data): Likewise.
2555 (struct test_f_f1_data): Likewise.
2556 (struct test_fF_f1_data): Likewise.
2557 (struct test_ffI_f1_data): Likewise.
2558 (struct test_c_c_data): Likewise.
2559 (struct test_cc_c_data): Likewise.
2560 (struct test_f_i_data): Likewise.
2561 (struct test_ff_i_data): Likewise.
2562 (struct test_f_l_data): Likewise.
2563 (struct test_f_L_data): Likewise.
2564 (struct test_fFF_11_data): Likewise.
2566 (RM_FE_DOWNWARD): Likewise.
2567 (RM_FE_TONEAREST): Likewise.
2568 (RM_FE_TOWARDZERO): Likewise.
2569 (RM_FE_UPWARD): Likewise.
2570 (RUN_TEST_LOOP_f_f): Update references to expected results.
2571 (RUN_TEST_LOOP_2_f): Likewise.
2572 (RUN_TEST_LOOP_fff_f): Likewise.
2573 (RUN_TEST_LOOP_c_f): Likewise.
2574 (RUN_TEST_LOOP_f_f1): Likewise.
2575 (RUN_TEST_LOOP_fF_f1): Likewise.
2576 (RUN_TEST_LOOP_fI_f1): Likewise.
2577 (RUN_TEST_LOOP_ffI_f1): Likewise.
2578 (RUN_TEST_LOOP_c_c): Likewise.
2579 (RUN_TEST_LOOP_cc_c): Likewise.
2580 (RUN_TEST_LOOP_f_i): Likewise.
2581 (RUN_TEST_LOOP_f_i_tg): Likewise.
2582 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2583 (RUN_TEST_LOOP_f_b): Likewise.
2584 (RUN_TEST_LOOP_f_b_tg): Likewise.
2585 (RUN_TEST_LOOP_f_l): Likewise.
2586 (RUN_TEST_LOOP_f_L): Likewise.
2587 (RUN_TEST_LOOP_fFF_11): Likewise.
2588 * math/gen-libm-test.pl (parse_args): Output four copies of
2589 expected results for each test.
2591 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2592 (__ASSUME_UTIMES): Remove.
2593 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2594 (__ASSUME_UTIMES): Likewise.
2596 * math/gen-auto-libm-tests.c: Update comment on output format.
2597 (output_for_one_input_case): Generate before-rounding and
2598 after-rounding information as conditions on output flags not
2599 floating-point format.
2600 * math/auto-libm-test-out: Regenerated.
2601 * math/gen-libm-test.pl (cond_value): New function.
2602 (or_cond_value): Use cond_value.
2603 (generate_testfile): Handle conditional exceptions.
2605 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2607 * math/libm-test.inc (max_valid_error): New variable.
2608 (init_max_error): Take new argument specifying whether function
2609 results are exactly determined. Set max_valid_error and bound
2610 other variables for errors based on this argument.
2611 (set_max_error): Do not record results above max_valid_error.
2612 (check_float_internal): Only accept errors of up to 0.5ulps if
2613 also at most max_valid_error.
2614 (START): Take new argument EXACT and pass it to init_max_error.
2615 (acos_test): Update call to START.
2616 (acos_test_tonearest): Likewise.
2617 (acos_test_towardzero): Likewise.
2618 (acos_test_downward): Likewise.
2619 (acos_test_upward): Likewise.
2620 (acosh_test): Likewise.
2621 (asin_test): Likewise.
2622 (asin_test_tonearest): Likewise.
2623 (asin_test_towardzero): Likewise.
2624 (asin_test_downward): Likewise.
2625 (asin_test_upward): Likewise.
2626 (asinh_test): Likewise.
2627 (atan_test): Likewise.
2628 (atanh_test): Likewise.
2629 (atan2_test): Likewise.
2630 (cabs_test): Likewise.
2631 (cacos_test): Likewise.
2632 (cacosh_test): Likewise.
2633 (carg_test): Likewise.
2634 (casin_test): Likewise.
2635 (casinh_test): Likewise.
2636 (catan_test): Likewise.
2637 (catanh_test): Likewise.
2638 (cbrt_test): Likewise.
2639 (ccos_test): Likewise.
2640 (ccosh_test): Likewise.
2641 (ceil_test): Likewise.
2642 (cexp_test): Likewise.
2643 (cimag_test): Likewise.
2644 (clog_test): Likewise.
2645 (clog10_test): Likewise.
2646 (conj_test): Likewise.
2647 (copysign_test): Likewise.
2648 (cos_test): Likewise.
2649 (cos_test_tonearest): Likewise.
2650 (cos_test_towardzero): Likewise.
2651 (cos_test_downward): Likewise.
2652 (cos_test_upward): Likewise.
2653 (cosh_test): Likewise.
2654 (cosh_test_tonearest): Likewise.
2655 (cosh_test_towardzero): Likewise.
2656 (cosh_test_downward): Likewise.
2657 (cosh_test_upward): Likewise.
2658 (cpow_test): Likewise.
2659 (cproj_test): Likewise.
2660 (creal_test): Likewise.
2661 (csin_test): Likewise.
2662 (csinh_test): Likewise.
2663 (csqrt_test): Likewise.
2664 (ctan_test): Likewise.
2665 (ctan_test_tonearest): Likewise.
2666 (ctan_test_towardzero): Likewise.
2667 (ctan_test_downward): Likewise.
2668 (ctan_test_upward): Likewise.
2669 (ctanh_test): Likewise.
2670 (ctanh_test_tonearest): Likewise.
2671 (ctanh_test_towardzero): Likewise.
2672 (ctanh_test_downward): Likewise.
2673 (ctanh_test_upward): Likewise.
2674 (erf_test): Likewise.
2675 (erfc_test): Likewise.
2676 (exp_test): Likewise.
2677 (exp_test_tonearest): Likewise.
2678 (exp_test_towardzero): Likewise.
2679 (exp_test_downward): Likewise.
2680 (exp_test_upward): Likewise.
2681 (exp10_test): Likewise.
2682 (exp10_test_tonearest): Likewise.
2683 (exp10_test_towardzero): Likewise.
2684 (exp10_test_downward): Likewise.
2685 (exp10_test_upward): Likewise.
2686 (pow10_test): Likewise.
2687 (exp2_test): Likewise.
2688 (expm1_test): Likewise.
2689 (expm1_test_tonearest): Likewise.
2690 (expm1_test_towardzero): Likewise.
2691 (expm1_test_downward): Likewise.
2692 (expm1_test_upward): Likewise.
2693 (fabs_test): Likewise.
2694 (fdim_test): Likewise.
2695 (floor_test): Likewise.
2696 (fma_test): Likewise.
2697 (fma_test_towardzero): Likewise.
2698 (fma_test_downward): Likewise.
2699 (fma_test_upward): Likewise.
2700 (fmax_test): Likewise.
2701 (fmin_test): Likewise.
2702 (fmod_test): Likewise.
2703 (fpclassify_test): Likewise.
2704 (frexp_test): Likewise.
2705 (hypot_test): Likewise.
2706 (ilogb_test): Likewise.
2707 (isfinite_test): Likewise.
2708 (finite_test): Likewise.
2709 (isgreater_test): Likewise.
2710 (isgreaterequal_test): Likewise.
2711 (isinf_test): Likewise.
2712 (isless_test): Likewise.
2713 (islessequal_test): Likewise.
2714 (islessgreater_test): Likewise.
2715 (isnan_test): Likewise.
2716 (isnormal_test): Likewise.
2717 (issignaling_test): Likewise.
2718 (isunordered_test): Likewise.
2719 (j0_test): Likewise.
2720 (j1_test): Likewise.
2721 (jn_test): Likewise.
2722 (ldexp_test): Likewise.
2723 (lgamma_test): Likewise.
2724 (gamma_test): Likewise.
2725 (lrint_test): Likewise.
2726 (lrint_test_tonearest): Likewise.
2727 (lrint_test_towardzero): Likewise.
2728 (lrint_test_downward): Likewise.
2729 (lrint_test_upward): Likewise.
2730 (llrint_test): Likewise.
2731 (llrint_test_tonearest): Likewise.
2732 (llrint_test_towardzero): Likewise.
2733 (llrint_test_downward): Likewise.
2734 (llrint_test_upward): Likewise.
2735 (log_test): Likewise.
2736 (log10_test): Likewise.
2737 (log1p_test): Likewise.
2738 (log2_test): Likewise.
2739 (logb_test): Likewise.
2740 (logb_test_downward): Likewise.
2741 (lround_test): Likewise.
2742 (llround_test): Likewise.
2743 (modf_test): Likewise.
2744 (nearbyint_test): Likewise.
2745 (nextafter_test): Likewise.
2746 (nexttoward_test): Likewise.
2747 (pow_test): Likewise.
2748 (pow_test_tonearest): Likewise.
2749 (pow_test_towardzero): Likewise.
2750 (pow_test_downward): Likewise.
2751 (pow_test_upward): Likewise.
2752 (remainder_test): Likewise.
2753 (drem_test): Likewise.
2754 (remainder_test_tonearest): Likewise.
2755 (drem_test_tonearest): Likewise.
2756 (remainder_test_towardzero): Likewise.
2757 (drem_test_towardzero): Likewise.
2758 (remainder_test_downward): Likewise.
2759 (drem_test_downward): Likewise.
2760 (remainder_test_upward): Likewise.
2761 (drem_test_upward): Likewise.
2762 (remquo_test): Likewise.
2763 (rint_test): Likewise.
2764 (rint_test_tonearest): Likewise.
2765 (rint_test_towardzero): Likewise.
2766 (rint_test_downward): Likewise.
2767 (rint_test_upward): Likewise.
2768 (round_test): Likewise.
2769 (scalb_test): Likewise.
2770 (scalbn_test): Likewise.
2771 (scalbln_test): Likewise.
2772 (signbit_test): Likewise.
2773 (sin_test): Likewise.
2774 (sin_test_tonearest): Likewise.
2775 (sin_test_towardzero): Likewise.
2776 (sin_test_downward): Likewise.
2777 (sin_test_upward): Likewise.
2778 (sincos_test): Likewise.
2779 (sinh_test): Likewise.
2780 (sinh_test_tonearest): Likewise.
2781 (sinh_test_towardzero): Likewise.
2782 (sinh_test_downward): Likewise.
2783 (sinh_test_upward): Likewise.
2784 (sqrt_test): Likewise.
2785 (sqrt_test_tonearest): Likewise.
2786 (sqrt_test_towardzero): Likewise.
2787 (sqrt_test_downward): Likewise.
2788 (sqrt_test_upward): Likewise.
2789 (tan_test): Likewise.
2790 (tan_test_tonearest): Likewise.
2791 (tan_test_towardzero): Likewise.
2792 (tan_test_downward): Likewise.
2793 (tan_test_upward): Likewise.
2794 (tanh_test): Likewise.
2795 (tgamma_test): Likewise.
2796 (trunc_test): Likewise.
2797 (y0_test): Likewise.
2798 (y1_test): Likewise.
2799 (yn_test): Likewise.
2800 (significand_test): Likewise.
2802 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2803 individual tests in comment.
2804 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2805 (prev_max_error): New variable.
2806 (prev_real_max_error): Likewise.
2807 (prev_imag_max_error): Likewise.
2808 (compare_ulp_data): Don't refer to test names in comment.
2809 (find_test_ulps): Remove function.
2810 (find_function_ulps): Likewise.
2811 (find_complex_function_ulps): Likewise.
2812 (init_max_error): Take function name as argument. Look up ulps
2814 (print_ulps): Remove function.
2815 (print_max_error): Use prev_max_error instead of calling
2817 (print_complex_max_error): Use prev_real_max_error and
2818 prev_imag_max_error instead of calling find_complex_function_ulps.
2819 (check_float_internal): Take max_ulp parameter instead of calling
2820 find_test_ulps. Don't call print_ulps.
2821 (check_float): Update call to check_float_internal.
2822 (check_complex): Update calls to check_float_internal.
2823 (START): Pass argument to init_max_error.
2824 * math/gen-libm-test.pl (%results): Don't include "kind"
2826 (parse_ulps): Don't handle ulps of individual tests.
2827 (print_ulps_file): Likewise.
2828 (output_ulps): Likewise.
2829 * math/README.libm-test: Update.
2830 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2832 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2833 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2834 * sysdeps/arm/libm-test-ulps: Likewise.
2835 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2836 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2837 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2838 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2839 * sysdeps/microblaze/libm-test-ulps: Likewise.
2840 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2841 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2843 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2844 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2845 * sysdeps/sh/libm-test-ulps: Likewise.
2846 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2847 * sysdeps/tile/libm-test-ulps: Likewise.
2848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2850 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2852 * math/libm-test.inc (print_complex_max_error): Check separately
2853 whether real and imaginary errors are within allowed range and
2854 pass 0 to print_complex_function_ulps instead of value within
2857 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2859 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2861 (get_handles_fopen): Likewise.
2862 (do_write_test): Likewise.
2864 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2866 * libio/fileops.c (do_ftell): Use cached offset when
2868 * libio/iofwide.c (do_ftell_wide): Likewise.
2869 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2871 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2874 * libio/libioP.h (get_file_offset): New function.
2875 * libio/fileops.c (get_file_offset): Likewise.
2876 (do_ftell): Likewise.
2877 (_IO_new_file_seekoff): Split out ftell logic.
2878 * libio/wfileops.c (do_ftell_wide): Likewise.
2879 (_IO_wfile_seekoff): Split out ftell logic.
2880 * libio/tst-ftell-active-handler.c: New test case.
2881 * libio/Makefile (tests): Add it.
2883 2014-03-03 Roland McGrath <roland@hack.frob.com>
2885 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2886 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2888 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2891 * nscd/connections.c (nscd_init): Call do_exit.
2892 (start_threads): Call do_exit and notify_parent.
2893 (begin_drop_privileges): Call do_exit.
2894 (finish_drop_privileges): Likewise.
2895 * nscd/selinux.c (preserve_capabilities): Likewise.
2896 (install_real_capabilities): Likewise.
2897 (nscd_selinux_enabled): Likewise.
2898 (avc_create_thread): Likewise.
2899 (avc_alloc_lock): Likewise.
2900 (nscd_avc_init): Likewise.
2901 * nscd/nscd.c (parent_fd): New static variable.
2902 (main): Create a pipe between parent and child processes.
2903 Skip closing parent_fd.
2904 (monitor_child): New function.
2905 (do_exit): Likewise.
2906 (notify_parent): Likewise.
2907 * nscd/nscd.h (notify_parent): Likewise.
2908 (do_exit): Likewise.
2910 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2912 * malloc/malloc.c (__libc_calloc): Revert last change.
2914 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2918 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2920 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2924 (__libc_ifunc_impl_list): Likewise.
2925 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2926 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2927 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2928 * string/strrchr.c: Define STRRCHR.
2930 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2932 * benchtest/bench-strtok.c (simple_strtok): Delete.
2933 (strtok_string): Use as benchmark.
2934 * string/strtok (STRTOK): New macro.
2936 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2938 * manual/threads.texi: Add header and standard comments to all
2941 * elf/dl-lookup.c (check_match): New function.
2942 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2943 (do_lookup_x): Remove nested function check_match. Use non-nested
2944 function check_match.
2946 2014-02-28 Roland McGrath <roland@hack.frob.com>
2948 * csu/Makefile (generated, before-compile): Use += rather than =.
2949 * catgets/Makefile (generated, generated-dirs): Likewise.
2950 * debug/Makefile (generated): Likewise.
2951 * dlfcn/Makefile (generated): Likewise.
2952 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2953 * iconvdata/Makefile (before-compile, generated): Likewise.
2954 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2955 * libio/Makefile (generated): Likewise.
2956 * malloc/Makefile (generated): Likewise.
2957 * manual/Makefile (generated, generated-dirs): Likewise.
2958 * misc/Makefile (generated): Likewise.
2959 * posix/Makefile (generated): Likewise.
2960 * resolv/Makefile (generated): Likewise.
2961 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2962 * timezone/Makefile (generated, generated-dirs): Likewise.
2964 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2966 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2971 POWER8 llround ifunc implementation.
2972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2973 POWER8 implementation.
2974 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2975 POWER8 llround implementation.
2977 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2982 POWER8 llrint ifunc implementation.
2983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2984 POWER8 implementation.
2985 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2986 POWER8 llrint implementation.
2988 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2993 POWER8 finite ifunc implementation.
2994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2995 POWER8 implementation.
2996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2998 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2999 POWER8 finite implementation.
3000 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3002 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
3006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
3007 POWER8 isinf ifunc implementation.
3008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3009 POWER8 implementation.
3010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3012 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
3013 POWER8 isinf implementation.
3014 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3016 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3018 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
3019 Add hwcap2 initialization.
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
3022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
3023 POWER8 isnan ifunc implementation.
3024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3025 POWER8 implementation.
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
3029 POWER8 isnan implementation.
3030 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3032 2014-02-27 Joey Ye <joey.ye@arm.com>
3034 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3035 (_FP_NANFRAC_Q): Set to zero.
3037 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3040 * math/auto-libm-test-in: New test inputs.
3041 * math/auto-libm-test-out: Regenerate.
3042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3045 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3047 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3049 * scripts/evaluate-test.sh: Take new argument indicating whether
3050 failure is expected.
3051 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3052 indicating whether failure is expected.
3053 * conform/Makefile (test-xfail-run-conformtest): New variable.
3054 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3056 * posix/Makefile (test-xfail-annexc): New variable.
3057 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3059 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3061 * argp/Makefile: Include Makeconfig immediately after defining
3063 * assert/Makefile: Likewise.
3064 * benchtests/Makefile: Likewise.
3065 * catgets/Makefile: Likewise.
3066 * conform/Makefile: Likewise.
3067 * crypt/Makefile: Likewise.
3068 * csu/Makefile: Likewise.
3069 (all): Remove target.
3070 * ctype/Makefile: Include Makeconfig immediately after defining
3072 * debug/Makefile: Likewise.
3073 * dirent/Makefile: Likewise.
3074 * dlfcn/Makefile: Likewise.
3075 * gmon/Makefile: Likewise.
3076 * gnulib/Makefile: Likewise.
3077 * grp/Makefile: Likewise.
3078 * gshadow/Makefile: Likewise.
3079 * hesiod/Makefile: Likewise.
3080 * hurd/Makefile: Likewise.
3081 (all): Remove target.
3082 * iconvdata/Makefile: Include Makeconfig immediately after
3084 * inet/Makefile: Likewise.
3085 * intl/Makefile: Likewise.
3086 * io/Makefile: Likewise.
3087 * libio/Makefile: Likewise.
3088 (all): Remove target.
3089 * locale/Makefile: Include Makeconfig immediately after defining
3091 * login/Makefile: Likewise.
3092 * mach/Makefile: Likewise.
3093 (all): Remove target.
3094 * malloc/Makefile: Include Makeconfig immediately after defining
3096 (all): Remove target.
3097 * manual/Makefile: Include Makeconfig immediately after defining
3099 * math/Makefile: Likewise.
3100 * misc/Makefile: Likewise.
3101 * nis/Makefile: Likewise.
3102 * nss/Makefile: Likewise.
3103 * po/Makefile: Likewise.
3104 (all): Remove target.
3105 * posix/Makefile: Include Makeconfig immediately after defining
3107 * pwd/Makefile: Likewise.
3108 * resolv/Makefile: Likewise.
3109 * resource/Makefile: Likewise.
3110 * rt/Makefile: Likewise.
3111 * setjmp/Makefile: Likewise.
3112 * shadow/Makefile: Likewise.
3113 * signal/Makefile: Likewise.
3114 * socket/Makefile: Likewise.
3115 * soft-fp/Makefile: Likewise.
3116 * stdio-common/Makefile: Likewise.
3117 * stdlib/Makefile: Likewise.
3118 * streams/Makefile: Likewise.
3119 * string/Makefile: Likewise.
3120 * sunrpc/Makefile: Likewise.
3121 (all): Remove target.
3122 * sysvipc/Makefile: Include Makeconfig immediately after defining
3124 * termios/Makefile: Likewise.
3125 * time/Makefile: Likewise.
3126 * timezone/Makefile: Likewise.
3127 (all): Remove target.
3128 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3130 * wctype/Makefile: Likewise.
3132 2014-02-26 Steve Ellcey <sellcey@mips.com>
3134 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3135 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3136 (libc_feholdexcept_setround_mips): Ditto.
3137 (libc_feholdsetround): New.
3138 (libc_feholdsetroundf): New.
3139 (libc_feholdsetroundl): New.
3140 (libc_feupdateenv_test_mips): New.
3141 (libc_feupdateenv_test): New.
3142 (libc_feupdateenv_testf): New.
3143 (libc_feupdateenv_testl): New.
3144 (libc_feresetround): New.
3145 (libc_feresetroundf): New.
3146 (libc_feresetroundl): New.
3147 (libc_fetestexcept_mips): New.
3148 (libc_fetestexcept): New.
3149 (libc_fetestexceptf): New.
3150 (libc_fetestexceptl): New.
3152 (libc_feholdexcept_setround_mips_ctx): New.
3153 (libc_feholdexcept_setround_ctx): New.
3154 (libc_feholdexcept_setroundf_ctx): New.
3155 (libc_feholdexcept_setroundl_ctx): New.
3156 (libc_fesetenv_mips_ctx): New.
3157 (libc_fesetenv_ctx): New.
3158 (libc_fesetenv_ctxf): New.
3159 (libc_fesetenv_ctxl): New.
3160 (libc_feupdateenv_mips_ctx): New.
3161 (libc_feupdateenv_ctx): New.
3162 (libc_feupdateenvf_ctx): New.
3163 (libc_feupdateenvl_ctx): New.
3164 (libc_feholdsetround_mips_ctx): New.
3165 (libc_feholdsetround_ctx): New.
3166 (libc_feholdsetroundf_ctx): New.
3167 (libc_feholdsetroundl_ctx): New.
3168 (libc_feresetround_mips_ctx): New.
3169 (libc_feresetround_ctx): New.
3170 (libc_feresetroundf_ctx): New.
3171 (libc_feresetroundl_ctx): New.
3173 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3175 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3177 * manual/ipc.texi: New file.
3178 * manual/Makefile (chapters): Add ipc.
3179 * manual/job.texi: Add "Inter-Process Communication" to next.
3180 * manual/process.texi: Add "Inter-Process Communication" to prev.
3182 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3186 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3188 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3190 * manual/arith.texi: Fix spaces after sentences.
3191 * manual/charset.texi: Likewise.
3192 * manual/errno.texi: Likewise.
3193 * manual/install.texi: Likewise.
3194 * manual/llio.texi: Likewise.
3195 * manual/locale.texi: Likewise.
3196 * manual/maint.texi: Likewise.
3197 * manual/math.texi: Likewise.
3198 * manual/memory.texi: Likewise.
3199 * manual/message.texi: Likewise.
3200 * manual/probes.texi: Likewise.
3201 * manual/resource.texi: Likewise.
3202 * manual/signal.texi: Likewise.
3203 * manual/socket.texi: Likewise.
3204 * manual/stdio.texi: Likewise.
3205 * manual/string.texi: Likewise.
3206 * manual/time.texi: Likewise.
3207 * manual/users.texi: Likewise.
3209 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3212 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3213 _DEFAULT_SOURCE is defined.
3215 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3216 Carlos O'Donell <carlos@redhat.com>
3219 * elf/dl-tls.c (_dl_count_modids): New function.
3220 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3221 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3222 audit library and increment generation counter.
3223 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3224 * elf/tst-audit9.c: New file.
3225 * elf/tst-auditmod9a.c: New file.
3226 * elf/tst-auditmod9b.c: New file.
3227 * elf/Makefile: Add rules to build and run tst-audit9.
3229 2014-02-25 Florian Weimer <fweimer@redhat.com>
3232 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3234 2014-02-25 Will Newton <will.newton@linaro.org>
3236 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3237 (__longjmp): Restore sp and lr before restoring callee
3238 saved registers. Add longjmp and longjmp_target
3239 SystemTap probe point.
3240 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3241 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3242 Define to zero to match jmpbuf layout.
3243 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3244 (__sigsetjmp): Save sp and lr before saving callee
3245 saved registers. Add setjmp SystemTap probe point.
3247 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3249 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3251 2014-02-24 Andreas Schwab <schwab@suse.de>
3254 * elf/pldd.c (wait_for_ptrace_stop): New function.
3255 (main): Call it after attaching.
3257 2014-02-22 Roland McGrath <roland@hack.frob.com>
3259 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3260 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3261 Versions files is now verboten.
3262 * hurd/Versions (libc: GLIBC_2.0):
3263 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3264 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3265 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3266 * mach/Versions: Likewise.
3268 * csu/Versions: Remove unused %include.
3269 * resolv/Versions: Likewise.
3271 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3273 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3274 ($(objpfx)check-local-headers.out): Likewise.
3275 ($(objpfx)begin-end-check.out): Likewise.
3276 * Makerules (check-abi-%.out): Likewise.
3277 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3278 ($(objpfx)test2.cat): Likewise.
3279 ($(objpfx)de/libc.cat): Likewise.
3280 ($(objpfx)test-gencat.out): Likewise.
3281 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3282 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3283 ($(objpfx)noload-mem): Likewise.
3284 ($(objpfx)tst-pathopt.out): Likewise.
3285 ($(objpfx)tst-rtld-load-self.out): Likewise.
3286 ($(objpfx)tst-array1-cmp.out): Likewise.
3287 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3288 ($(objpfx)tst-array2-cmp.out): Likewise.
3289 ($(objpfx)tst-array3-cmp.out): Likewise.
3290 ($(objpfx)tst-array4-cmp.out): Likewise.
3291 ($(objpfx)tst-array5-cmp.out): Likewise.
3292 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3293 ($(objpfx)check-textrel.out): Likewise.
3294 ($(objpfx)check-execstack.out): Likewise.
3295 ($(objpfx)check-localplt.out): Likewise.
3296 ($(objpfx)order2-cmp.out): Likewise.
3297 ($(objpfx)tst-leaks1-mem): Likewise.
3298 ($(objpfx)tst-leaks1-static-mem): Likewise.
3299 ($(objpfx)tst-initorder-cmp.out): Likewise.
3300 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3301 ($(objpfx)tst-unused-dep.out): Likewise.
3302 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3303 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3304 * iconv/Makefile (test-iconvconfig): Likewise.
3305 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3306 ($(objpfx)iconv-test.out): Likewise.
3307 ($(objpfx)tst-tables.out): Likewise.
3308 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3309 ($(objpfx)tst-gettext.out): Likewise.
3310 ($(objpfx)tst-translit.out): Likewise.
3311 ($(objpfx)tst-gettext2.out): Likewise.
3312 ($(objpfx)tst-gettext4.out): Likewise.
3313 ($(objpfx)tst-gettext6.out): Likewise.
3314 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3315 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3316 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3317 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3318 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3319 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3320 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3321 ($(objpfx)wordexp-tst.out): Likewise.
3322 ($(objpfx)annexc.out): Likewise.
3323 ($(objpfx)tst-fnmatch-mem): Likewise.
3324 ($(objpfx)bug-regex2-mem): Likewise.
3325 ($(objpfx)bug-regex14-mem): Likewise.
3326 ($(objpfx)bug-regex21-mem): Likewise.
3327 ($(objpfx)bug-regex31-mem): Likewise.
3328 ($(objpfx)tst-vfork3-mem): Likewise.
3329 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3330 ($(objpfx)tst-pcre-mem): Likewise.
3331 ($(objpfx)tst-boost-mem): Likewise.
3332 ($(objpfx)tst-getconf.out): Likewise.
3333 ($(objpfx)bug-ga2-mem): Likewise.
3334 ($(objpfx)bug-glob2-mem): Likewise.
3335 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3336 ($(objpfx)mtrace-tst-leaks2): Likewise.
3337 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3338 ($(objpfx)tst-printf.out): Likewise.
3339 ($(objpfx)tst-setvbuf1.out): Likewise.
3340 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3341 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3342 ($(objpfx)tst-fmtmsg.out): Likewise.
3343 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3344 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3346 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3347 * bits/sigaction.h [__USE_MISC]: Likewise.
3348 * bits/waitstatus.h: Update #endif comments.
3349 * ctype/ctype.h: Likewise.
3350 * dirent/dirent.h: Likewise.
3351 [__USE_MISC]: Remove redundant conditionals.
3352 * grp/grp.h: Update #endif comments.
3353 [__USE_GNU]: Remove redundant conditionals.
3354 [__USE_MISC]: Likewise.
3355 * inet/netinet/in.h [__USE_GNU]: Likewise.
3356 * io/sys/stat.h [__USE_MISC]: Likewise.
3357 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3358 * libio/bits/stdio.h: Update #endif comments.
3359 [__USE_MISC]: Remove redundant conditionals.
3360 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3361 * libio/stdio.h: Update #endif comments.
3362 [__USE_MISC]: Remove redundant conditionals.
3363 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3364 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3365 * math/math.h: Update #else and #endif comments.
3366 [__USE_MISC]: Remove redundant conditionals.
3367 * misc/sys/uio.h: Update #endif comments.
3368 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3369 * posix/glob.h [__USE_MISC]: Likewise.
3370 * posix/sys/types.h: Update #endif comments.
3371 [__USE_MISC]: Remove redundant conditionals.
3372 * posix/sys/wait.h: Update #endif comments.
3373 [__USE_MISC]: Remove redundant conditionals.
3374 * posix/unistd.h: Update #endif comments.
3375 [__USE_MISC]: Remove redundant conditionals.
3376 * pwd/pwd.h [__USE_GNU]: Likewise.
3377 [__USE_MISC]: Likewise.
3378 * resolv/netdb.h [__USE_GNU]: Likewise.
3379 * signal/signal.h: Update #endif comments.
3380 [__USE_MISC]: Remove redundant conditionals.
3381 * stdlib/stdlib.h: Update #else and #endif comments.
3382 [__USE_MISC]: Remove redundant conditionals.
3383 [__USE_GNU]: Likewise.
3384 * string/bits/string2.h [__USE_MISC]: Likewise.
3385 * string/string.h: Update #endif comments.
3386 [__USE_MISC]: Remove redundant conditionals.
3387 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3389 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3390 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3391 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3393 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3397 [__USE_MISC]: Remove redundant conditionals.
3398 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3399 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3400 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3401 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3402 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3404 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3405 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3407 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3408 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3410 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3412 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3413 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3415 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3417 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3418 * sysdeps/x86/bits/string.h: Update #endif comments.
3419 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3421 * time/sys/time.h: Update #endif comments.
3422 * time/time.h: Likewise.
3423 [__USE_MISC]: Remove redundant conditionals.
3425 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3428 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3430 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3432 * Versions.def (librt): Add GLIBC_2.17.
3434 2014-02-21 Adam Conrad <adconrad@0c3.net>
3436 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3437 synonym for _SYS_AUXV_H to allow direct inclusion.
3438 * sysdeps/sparc/bits/hwcap.h: Likewise.
3439 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3440 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3441 * sysdeps/sparc/sysdep.h: Likewise.
3443 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3445 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3447 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3449 * benchtests/bench-strrchr.c: Print length instead of position.
3451 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3454 * sysdeps/unix/sysv/linux/kernel-features.h
3455 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3456 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3457 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3458 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3460 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3461 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3462 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3463 (__ASSUME_SENDMMSG): Define instead of using previous
3464 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3465 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3466 (__ASSUME_SENDMMSG_SYSCALL): Define.
3467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3468 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3470 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3471 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3473 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3474 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3476 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3477 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3478 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3479 [__ASSUME_SENDMMSG]: Change conditionals to
3480 [__ASSUME_SENDMMSG_SOCKETCALL].
3481 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3482 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3484 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3485 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3487 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3488 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3489 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3490 [!__ASSUME_SENDMMSG]: Change conditional to
3491 [!__ASSUME_SENDMMSG_SOCKETCALL].
3492 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3493 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3497 * sysdeps/unix/sysv/linux/kernel-features.h
3498 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3499 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3500 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3501 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3502 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3503 [__i386__ || __sparc__]
3504 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3505 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3506 (__ASSUME_RECVMMSG): Define instead of using previous
3507 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3508 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3509 (__ASSUME_RECVMMSG_SYSCALL): Define.
3510 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3511 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3513 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3514 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3516 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3517 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3519 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3520 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3521 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3522 [__ASSUME_RECVMMSG]: Change condition to
3523 [__ASSUME_RECVMMSG_SOCKETCALL].
3524 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3525 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3527 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3528 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3529 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3531 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3532 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3533 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3534 [!__ASSUME_RECVMMSG]: Change condition to
3535 [!__ASSUME_RECVMMSG_SOCKETCALL].
3536 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3537 (__ASSUME_RECVMMSG_SYSCALL): Define.
3540 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3541 __powerpc__ || __s390__ || __sh__ || __sparc__]
3542 (__ASSUME_SOCKETCALL): Define.
3543 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3544 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3545 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3546 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3547 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3548 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3549 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3550 (__ASSUME_ACCEPT4): Define instead of using previous
3551 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3552 __powerpc__ || __sparc__ || __s390__)] condition.
3553 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3554 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3555 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3556 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3557 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3558 [!__ASSUME_ACCEPT4]: Change condition to
3559 [!__ASSUME_ACCEPT4_SOCKETCALL].
3560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3561 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3562 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3564 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3565 __ASSUME_ACCEPT4_SYSCALL.
3566 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3567 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3568 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3569 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3570 __ASSUME_ACCEPT4_SYSCALL.
3571 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3572 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3573 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3574 [__ASSUME_ACCEPT4]: Change condition to
3575 [__ASSUME_ACCEPT4_SOCKETCALL].
3576 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3577 (__ASSUME_SOCKETCALL): Define.
3578 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3580 (__ASSUME_SOCKETCALL): Define.
3581 (__ASSUME_ACCEPT4): Remove.
3582 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3584 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3585 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3587 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3588 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3590 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3592 (HWCAP_ARM_LPAE): Likewise.
3593 (HWCAP_ARM_EVTSTRM): Likewise.
3594 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3595 Add vpfd32, lpae and evtstrm.
3596 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3599 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3601 * math/auto-libm-test-in: Add tests of clog10.
3602 * math/auto-libm-test-out: Regenerated.
3603 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3604 * sysdeps/i386/fpu/libm-test-ulps: Update.
3605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3607 2014-02-18 Andreas Schwab <schwab@suse.de>
3610 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3611 Store non-zero if the second buffer was newly allocated.
3612 (send_dg): Likewise.
3613 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3614 to send_vc and send_dg.
3615 (res_nsend): Pass NULL for ansp2_malloced.
3616 * resolv/res_query.c (__libc_res_nquery): Add parameter
3617 answerp2_malloced and pass it down to __libc_res_nsend.
3618 (res_nquery): Pass additional NULL to __libc_res_nquery.
3619 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3620 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3621 second answer buffer if answerp2_malloced was set.
3622 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3623 (__libc_res_nquerydomain): Add parameter
3624 answerp2_malloced and pass it down to __libc_res_nquery.
3625 (res_nquerydomain): Pass additional NULL to
3626 __libc_res_nquerydomain.
3627 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3628 additional NULL to __libc_res_nsend and __libc_res_nquery.
3629 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3630 additional NULL to __libc_res_nsearch.
3631 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3632 parameter of __libc_res_nsearch to check for separately allocated
3634 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3636 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3637 additional NULL to __libc_res_nquery.
3638 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3640 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3641 * include/resolv.h: Update prototypes of __libc_res_nquery,
3642 __libc_res_nsearch, __libc_res_nsend.
3644 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3646 * math/auto-libm-test-in: Add tests of fma.
3647 * math/auto-libm-test-out: Regenerated.
3648 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3649 (fma_towardzero_test_data): Likewise.
3650 (fma_downward_test_data): Likewise.
3651 (fma_upward_test_data): Likewise.
3652 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3654 (rounding_modes): Add values for new field.
3655 (func_calc_method): Add value mpfr_fff_f.
3656 (func_calc_desc): Add mpfr_fff_f union field.
3657 (test_function): Add field exact_args.
3658 (FUNC): Add macro argument EXACT_ARGS.
3659 (FUNC_mpfr_f_f): Update call to FUNC.
3660 (FUNC_mpfr_f_f): Likewise.
3661 (FUNC_mpfr_ff_f): Likewise.
3662 (FUNC_mpfr_if_f): Likewise.
3663 (FUNC_mpc_c_f): Likewise.
3664 (FUNC_mpc_c_c): Likewise.
3665 (test_functions): Add fma. Update calls to FUNC.
3666 (handle_input_arg): Add argument exact_args.
3667 (add_test): Update call to handle_input_arg.
3668 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3669 (output_for_one_input_case): Update call to calc_generic_results.
3670 Recalculate exact zero results in each rounding mode.
3672 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3673 non-negative before setting low bit.
3674 * math/auto-libm-test-in: Mark one asin test possibly having
3676 * math/auto-libm-test-out: Regenerated.
3677 * sysdeps/i386/fpu/libm-test-ulps: Update.
3678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3680 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3682 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3683 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3684 ports/sysdeps/unix/sysv/linux/microblaze.
3685 * README: Add missing listing for microblaze*-*-linux-gnu.
3687 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3689 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3690 * sysdeps/unix/sysv/linux/ia64: Move directory from
3691 ports/sysdeps/unix/sysv/linux/ia64.
3692 * README: Update listing for ia64-*-linux-gnu.
3694 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3695 Joseph Myers <joseph@codesourcery.com>
3697 * Makeconfig (test-name): New variable.
3698 (evaluate-test): Likewise.
3699 * Makerules (do-test-clean): Remove .test-result files.
3700 (common-mostlyclean): Likewise.
3701 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3702 * scripts/evaluate-test.sh: New file.
3704 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3706 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3707 separate $(objpfx)tst-fopenloc-cmp.out and
3708 $(objpfx)tst-fopenloc-mem.out targets.
3709 (tests): Update dependencies.
3710 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3711 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3712 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3713 (tst-rxspencer-no-utf8-ARGS): New variable.
3714 (tst-rxspencer-no-utf8-ENV): Likewise.
3715 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3716 instead of $(objpfx)tst-rxspencer-mem.
3717 ($(objpfx)tst-rxspencer-mem): Change target to
3718 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3719 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3720 * posix/tst-rxspencer-no-utf8.c: New file.
3722 * elf/Makefile ($(objpfx)order.out): Remove rule.
3723 [$(run-built-tests) = yes] (tests): Depend on
3724 $(objpfx)order-cmp.out.
3725 ($(objpfx)order-cmp.out): New rule.
3726 [$(run-built-tests) = yes] (tests): Depend on
3727 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3728 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3729 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3730 $(objpfx)tst-array5-static-cmp.out.
3731 ($(objpfx)tst-array1.out): Remove rule.
3732 ($(objpfx)tst-array1-cmp.out): New rule.
3733 ($(objpfx)tst-array1-static.out): Remove rule.
3734 ($(objpfx)tst-array1-static-cmp.out): New rule.
3735 ($(objpfx)tst-array2.out): Remove rule.
3736 ($(objpfx)tst-array2-cmp.out): New rule.
3737 ($(objpfx)tst-array3.out): Remove rule.
3738 ($(objpfx)tst-array3-cmp.out): New rule.
3739 ($(objpfx)tst-array4.out): Remove rule.
3740 ($(objpfx)tst-array4-cmp.out): New rule.
3741 ($(objpfx)tst-array5.out): Remove rule.
3742 ($(objpfx)tst-array5-cmp.out): New rule.
3743 ($(objpfx)tst-array5-static.out): Remove rule.
3744 ($(objpfx)tst-array5-static-cmp.out): New rule.
3745 [$(run-built-tests) = yes] (tests): Depend on
3746 $(objpfx)order2-cmp.out.
3747 ($(objpfx)order2.out): Remove rule.
3748 ($(objpfx)order2-cmp.out): New rule.
3749 ($(objpfx)tst-initorder.out): Remove rule.
3750 [$(run-built-tests) = yes] (tests): Depend on
3751 $(objpfx)tst-initorder-cmp.out.
3752 ($(objpfx)tst-initorder-cmp.out): New rule.
3753 ($(objpfx)tst-initorder2.out): Remove rule.
3754 [$(run-built-tests) = yes] (tests): Depend on
3755 $(objpfx)tst-initorder2-cmp.out.
3756 ($(objpfx)tst-initorder2-cmp.out): New rule.
3757 [$(run-built-tests) = yes] (tests): Depend on
3758 $(objpfx)tst-unused-dep-cmp.out.
3759 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3760 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3761 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3762 on $(objpfx)tst-setvbuf1-cmp.out.
3763 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3764 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3765 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3766 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3767 ($(objpfx)tst-svc.out): Remove rule.
3768 ($(objpfx)tst-svc-cmp.out): New rule.
3770 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3772 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3773 * ctype/ctype.h [__USE_MISC]: Likewise.
3774 * dirent/dirent.h [__USE_MISC]: Likewise.
3775 * grp/grp.h [__USE_MISC]: Likewise.
3776 * io/fcntl.h [__USE_MISC]: Likewise.
3777 * io/sys/stat.h [__USE_MISC]: Likewise.
3778 * libio/stdio.h [__USE_MISC]: Likewise.
3779 * posix/unistd.h [__USE_MISC]: Likewise.
3780 * pwd/pwd.h [__USE_MISC]: Likewise.
3781 * stdlib.h [__USE_MISC]: Likewise.
3782 * string/bits/string2.h [__USE_MISC]: Likewise.
3783 * string/string.h [__USE_MISC]: Likewise.
3784 * time/time.h [__USE_MISC]: Likewise.
3786 2014-02-13 Andreas Schwab <schwab@suse.de>
3789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3790 second answer buffer if it was separately allocated.
3792 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3794 * sysdeps/mips/math-tests.h: Include <features.h>.
3795 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3796 (ROUNDING_TESTS_long_double): Do not define.
3797 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3798 (EXCEPTION_TESTS_long_double): Likewise.
3799 * sysdeps/mips/mips64/libm-test-ulps: Update.
3801 * include/features.h (__USE_BSD): Remove macro definitions.
3802 (__USE_SVID): Likewise.
3803 (_BSD_SOURCE): Likewise.
3804 (_SVID_SOURCE): Likewise.
3805 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3806 from definition of _DEFAULT_SOURCE.
3807 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3809 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3810 * bits/mman.h [__USE_BSD]: Likewise.
3811 * bits/termios.h [__USE_BSD]: Likewise.
3812 * bits/waitstatus.h [__USE_BSD]: Likewise.
3813 * ctype/ctype.h [__USE_SVID]: Likewise.
3814 * dirent/dirent.h [__USE_BSD]: Likewise.
3815 * grp/grp.h [__USE_SVID]: Likewise.
3816 [__USE_BSD]: Likewise.
3817 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3818 * io/fcntl.h [__USE_BSD]: Likewise.
3819 * io/ftw.h [__USE_BSD]: Likewise.
3820 * io/sys/stat.h [__USE_BSD]: Likewise.
3821 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3822 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3823 * libio/stdio.h [__USE_SVID]: Likewise.
3824 [__USE_BSD]: Likewise.
3825 * math/math.h [__USE_SVID]: Likewise.
3826 [__USE_BSD]: Likewise.
3827 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3828 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3829 * misc/search.h [__USE_SVID]: Likewise.
3830 * misc/sys/mman.h [__USE_BSD]: Likewise.
3831 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3832 * misc/sys/uio.h [__USE_BSD]: Likewise.
3833 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3834 * posix/glob.h [__USE_BSD]: Likewise.
3835 * posix/regex.h [__USE_BSD]: Likewise.
3836 * posix/sys/types.h [__USE_BSD]: Likewise.
3837 [__USE_SVID]: Likewise.
3838 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3839 * posix/sys/wait.h [__USE_BSD]: Likewise.
3840 [__USE_SVID]: Likewise.
3841 * posix/unistd.h [__USE_BSD]: Likewise.
3842 [__USE_SVID]: Likewise.
3843 * pwd/pwd.h [__USE_SVID]: Likewise.
3844 * resolv/netdb.h [__USE_BSD]: Likewise.
3845 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3846 * signal/signal.h [__USE_BSD]: Likewise.
3847 [__USE_SVID]: Likewise.
3848 * socket/sys/socket.h [__USE_BSD]: Likewise.
3849 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3850 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3851 [__USE_SVID]: Likewise.
3852 * string/bits/string2.h [__USE_BSD]: Likewise.
3853 [__USE_SVID]: Likewise.
3854 * string/bits/string3.h [__USE_BSD]: Likewise.
3855 * string/endian.h [__USE_BSD]: Likewise.
3856 * string/string.h [__USE_SVID]: Likewise.
3857 [__USE_BSD]: Likewise.
3858 * string/strings.h [__USE_BSD]: Likewise.
3859 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3860 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3861 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3862 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3863 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3864 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3868 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3869 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3871 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3872 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3874 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3876 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3877 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3878 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3880 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3882 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3883 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3884 * termios/termios.h [__USE_BSD]: Likewise.
3885 * time/sys/time.h [__USE_BSD]: Likewise.
3886 * time/time.h [__USE_BSD]: Likewise.
3887 [__USE_SVID]: Likewise.
3889 * Makefile (subdir_targets): Remove subdir_lint.out.
3891 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3892 (do-tst-printf): Likewise.
3893 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3894 $(objpfx)tst-printf.out.
3896 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3898 * Makerules (check-abi-%): Change target to
3899 $(objpfx)check-abi-%.out.
3900 (check-abi target): Update dependencies.
3901 (check-abi-pattern variable): Redirect output of diff to $@.
3902 (check-abi variable): Likewise.
3903 * elf/Makefile (check-abi): Update dependencies.
3905 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3907 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3908 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3910 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3911 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3912 value has largest subnormal exponent.
3913 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3914 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3915 * sysdeps/aarch64/soft-fp/sfp-machine.h
3916 (_FP_TININESS_AFTER_ROUNDING): New macro.
3917 * sysdeps/alpha/soft-fp/sfp-machine.h
3918 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3919 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3921 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3922 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3923 * sysdeps/mips/soft-fp/sfp-machine.h
3924 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3925 * sysdeps/powerpc/soft-fp/sfp-machine.h
3926 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3927 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3933 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3936 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3939 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3942 2014-02-12 Richard Henderson <rth@redhat.com>
3944 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3945 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3946 * sysdeps/unix/sysv/linux/alpha: Move directory from
3947 ports/sysdeps/unix/sysv/linux/alpha.
3948 * README: Update listing for alpha-*-linux-gnu.
3950 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3952 * include/features.h: Update comment documenting feature test
3954 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3956 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3957 (_SVID_SOURCE): Likewise.
3958 (_DEFAULT_SOURCE): Update description of default features.
3959 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3961 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3962 (S_ISVTX): Likewise.
3963 * manual/math.texi (Mathematical Constants): Likewise.
3964 * manual/signal.texi (Interrupted Primitives): Likewise.
3965 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3966 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3967 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3968 Don't refer to _SVID_SOURCE in warning text.
3970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3972 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3974 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3975 * sysdeps/mips/dl-lookup.c: Remove.
3976 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3978 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3981 * math/auto-libm-test-in: Add testcase for expl.
3982 * math/auto-libm-test-out: Regenerate.
3983 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3984 calculation of unsafe.
3985 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3987 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3989 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3990 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3991 ports/sysdeps/unix/sysv/linux/aarch64.
3992 * README: Update listing for aarch64*-*-linux-gnu.
3994 2014-02-11 Will Newton <will.newton@linaro.org>
3996 * manual/probes.texi (Mathematical Function Probes): Use
3997 "triggered" instead of "hit".
3999 2014-02-11 Will Newton <will.newton@linaro.org>
4001 * manual/probes.texi (Internal Probes): Add documentation
4002 of setjmp, longjmp and longjmp_target probes.
4004 2014-02-11 Will Newton <will.newton@linaro.org>
4006 * include/stap-probe.h: Add comment about probe argument
4009 2014-02-11 Will Newton <will.newton@linaro.org>
4011 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4012 definition. (tr_where, tr_freehook, tr_mallochook,
4013 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4015 2014-02-11 David S. Miller <davem@davemloft.net>
4017 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4018 processing int_tests.
4020 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4022 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4023 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4024 * sysdeps/unix/sysv/linux/mips: Move directory from
4025 ports/sysdeps/unix/sysv/linux/mips.
4026 * README: Update listing for mips-*-linux-gnu and
4029 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4031 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4032 * sysdeps/unix/sysv/linux/m68k: Move directory from
4033 ports/sysdeps/unix/sysv/linux/m68k.
4034 * README: Update listing for m68k-*-linux-gnu.
4036 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4038 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4039 * sysdeps/unix/sysv/linux/generic: Move directory from
4040 ports/sysdeps/unix/sysv/linux/generic.
4041 * sysdeps/unix/sysv/linux/tile: Move directory from
4042 ports/sysdeps/unix/sysv/linux/tile.
4043 * README: Update listing for tile*-*-linux-gnu.
4045 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4047 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
4048 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4049 * catgets/open_catalog.c (__open_catalog): Likewise.
4050 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4051 * debug/confstr_chk.c: Likewise.
4052 * debug/fread_chk.c (__fread_chk): Likewise.
4053 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4054 * debug/getgroups_chk.c: Likewise.
4055 * debug/mbsnrtowcs_chk.c: Likewise.
4056 * debug/mbsrtowcs_chk.c: Likewise.
4057 * debug/mbstowcs_chk.c: Likewise.
4058 * debug/memcpy_chk.c: Likewise.
4059 * debug/memmove_chk.c: Likewise.
4060 * debug/mempcpy_chk.c: Likewise.
4061 * debug/memset_chk.c: Likewise.
4062 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4063 * debug/strcat_chk.c (__strcat_chk): Likewise.
4064 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4065 * debug/strncat_chk.c (__strncat_chk): Likewise.
4066 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4067 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4068 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4069 * debug/wcpncpy_chk.c: Likewise.
4070 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4071 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4072 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4073 * debug/wcsncpy_chk.c: Likewise.
4074 * debug/wcsnrtombs_chk.c: Likewise.
4075 * debug/wcsrtombs_chk.c: Likewise.
4076 * debug/wcstombs_chk.c: Likewise.
4077 * debug/wmemcpy_chk.c: Likewise.
4078 * debug/wmemmove_chk.c: Likewise.
4079 * debug/wmempcpy_chk.c: Likewise.
4080 * debug/wmemset_chk.c: Likewise.
4081 * dirent/scandirat.c (SCANDIRAT): Likewise.
4082 * dlfcn/dladdr1.c (dladdr1): Likewise.
4083 * dlfcn/dladdr.c (dladdr): Likewise.
4084 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4085 * dlfcn/dlerror.c (__dlerror): Likewise.
4086 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4087 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4088 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4089 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4090 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4091 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4092 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4093 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4095 * elf/dl-conflict.c: Likewise.
4096 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4097 * elf/dl-dst.h: Likewise.
4098 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4099 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4101 * elf/dl-init.c (call_init, _dl_init): Likewise.
4102 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4103 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
4104 _dl_map_object_from_fd, open_verify, open_path,
4105 _dl_map_object): Likewise.
4106 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4108 * elf/dl-minimal.c (__libc_memalign): Likewise.
4109 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4110 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4111 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4112 * elf/dl-sym.c (do_sym): Likewise.
4113 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4114 _dl_tls_get_addr_soft): Likewise.
4115 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4116 * elf/dl-writev.h (_dl_writev): Likewise.
4117 * elf/ldconfig.c (search_dir): Likewise.
4118 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4120 * elf/setup-vdso.h (setup_vdso): Likewise.
4121 * grp/compat-initgroups.c (compat_call): Likewise.
4122 * grp/fgetgrent.c (fgetgrent): Likewise.
4123 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4124 * grp/putgrent.c (putgrent): Likewise.
4125 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4127 * hurd/hurdinit.c: Likewise.
4128 * iconvdata/8bit-gap.c (struct): Likewise.
4129 * iconvdata/ansi_x3.110.c : Likewise.
4130 * iconvdata/big5.c : Likewise.
4131 * iconvdata/big5hkscs.c : Likewise.
4132 * iconvdata/cp1255.c: Likewise.
4133 * iconvdata/cp1258.c : Likewise.
4134 * iconvdata/cp932.c : Likewise.
4135 * iconvdata/euc-cn.c: Likewise.
4136 * iconvdata/euc-jisx0213.c : Likewise.
4137 * iconvdata/euc-jp.c: Likewise.
4138 * iconvdata/euc-jp-ms.c : Likewise.
4139 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4140 * iconvdata/gb18030.c : Likewise.
4141 * iconvdata/gbbig5.c (const): Likewise.
4142 * iconvdata/gbgbk.c: Likewise.
4143 * iconvdata/gbk.c : Likewise.
4144 * iconvdata/ibm1364.c : Likewise.
4145 * iconvdata/ibm930.c : Likewise.
4146 * iconvdata/ibm932.c: Likewise.
4147 * iconvdata/ibm933.c : Likewise.
4148 * iconvdata/ibm935.c : Likewise.
4149 * iconvdata/ibm937.c : Likewise.
4150 * iconvdata/ibm939.c : Likewise.
4151 * iconvdata/ibm943.c: Likewise.
4152 * iconvdata/iso_11548-1.c: Likewise.
4153 * iconvdata/iso-2022-cn.c : Likewise.
4154 * iconvdata/iso-2022-cn-ext.c : Likewise.
4155 * iconvdata/iso-2022-jp-3.c: Likewise.
4156 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4157 * iconvdata/iso-2022-kr.c : Likewise.
4158 * iconvdata/iso646.c (gconv_end): Likewise.
4159 * iconvdata/iso_6937-2.c : Likewise.
4160 * iconvdata/iso_6937.c : Likewise.
4161 * iconvdata/iso8859-1.c: Likewise.
4162 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4163 * iconvdata/shift_jisx0213.c : Likewise.
4164 * iconvdata/sjis.c : Likewise.
4165 * iconvdata/t.61.c : Likewise.
4166 * iconvdata/tcvn5712-1.c : Likewise.
4167 * iconvdata/tscii.c: Likewise.
4168 * iconvdata/uhc.c : Likewise.
4169 * iconvdata/unicode.c (gconv_end): Likewise.
4170 * iconvdata/utf-16.c (gconv_end): Likewise.
4171 * iconvdata/utf-32.c (gconv_end): Likewise.
4172 * iconvdata/utf-7.c (base64): Likewise.
4173 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4174 * iconv/gconv_close.c (__gconv_close): Likewise.
4175 * iconv/gconv_open.c (__gconv_open): Likewise.
4176 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4177 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4178 internal_ucs4le_loop_single, ucs4le_internal_loop,
4179 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4180 * iconv/iconv.c (iconv): Likewise.
4181 * iconv/iconv_close.c: Likewise.
4182 * iconv/loop.c (SINGLE): Likewise.
4183 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4184 * include/atomic.h: Likewise.
4185 * inet/inet6_option.c (option_alloc): Likewise.
4186 * intl/bindtextdom.c (set_binding_values): Likewise.
4187 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4188 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4189 * intl/localealias.c (read_alias_file): Likewise.
4190 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4191 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4192 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4193 * libio/fmemopen.c (fmemopen): Likewise.
4194 * libio/iofgets.c (_IO_fgets): Likewise.
4195 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4196 * libio/iofgetws.c (fgetws): Likewise.
4197 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4198 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4199 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4200 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4201 * locale/findlocale.c (_nl_find_locale): Likewise.
4202 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4203 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4205 * locale/setlocale.c (setlocale): Likewise.
4206 * login/programs/pt_chown.c (main): Likewise.
4207 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4208 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4209 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4210 mmap, mmap64, mremap, munmap): Likewise.
4211 * math/e_exp2l.c: Likewise.
4212 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4213 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4214 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4215 * math/s_catan.c (__catan): Likewise.
4216 * math/s_catanf.c (__catanf): Likewise.
4217 * math/s_catanh.c (__catanh): Likewise.
4218 * math/s_catanhf.c (__catanhf): Likewise.
4219 * math/s_catanhl.c (__catanhl): Likewise.
4220 * math/s_catanl.c (__catanl): Likewise.
4221 * math/s_ccosh.c (__ccosh): Likewise.
4222 * math/s_ccoshf.c (__ccoshf): Likewise.
4223 * math/s_ccoshl.c (__ccoshl): Likewise.
4224 * math/s_cexp.c (__cexp): Likewise.
4225 * math/s_cexpf.c (__cexpf): Likewise.
4226 * math/s_cexpl.c (__cexpl): Likewise.
4227 * math/s_clog10.c (__clog10): Likewise.
4228 * math/s_clog10f.c (__clog10f): Likewise.
4229 * math/s_clog10l.c (__clog10l): Likewise.
4230 * math/s_clog.c (__clog): Likewise.
4231 * math/s_clogf.c (__clogf): Likewise.
4232 * math/s_clogl.c (__clogl): Likewise.
4233 * math/s_csin.c (__csin): Likewise.
4234 * math/s_csinf.c (__csinf): Likewise.
4235 * math/s_csinh.c (__csinh): Likewise.
4236 * math/s_csinhf.c (__csinhf): Likewise.
4237 * math/s_csinhl.c (__csinhl): Likewise.
4238 * math/s_csinl.c (__csinl): Likewise.
4239 * math/s_csqrt.c (__csqrt): Likewise.
4240 * math/s_csqrtf.c (__csqrtf): Likewise.
4241 * math/s_csqrtl.c (__csqrtl): Likewise.
4242 * math/s_ctan.c (__ctan): Likewise.
4243 * math/s_ctanf.c (__ctanf): Likewise.
4244 * math/s_ctanh.c (__ctanh): Likewise.
4245 * math/s_ctanhf.c (__ctanhf): Likewise.
4246 * math/s_ctanhl.c (__ctanhl): Likewise.
4247 * math/s_ctanl.c (__ctanl): Likewise.
4248 * math/w_pow.c: Likewise.
4249 * math/w_powf.c: Likewise.
4250 * math/w_powl.c: Likewise.
4251 * math/w_scalb.c (sysv_scalb): Likewise.
4252 * math/w_scalbf.c (sysv_scalbf): Likewise.
4253 * math/w_scalbl.c (sysv_scalbl): Likewise.
4254 * misc/error.c (error_tail): Likewise.
4255 * misc/pselect.c (__pselect): Likewise.
4256 * nis/nis_callback.c (__nis_create_callback): Likewise.
4257 * nis/nis_call.c (__nisfind_server): Likewise.
4258 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4259 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4260 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4261 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4262 * nis/nis_lookup.c (nis_lookup): Likewise.
4263 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4264 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4265 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4266 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4267 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4268 internal_getgrgid_r): Likewise.
4269 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4271 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4272 internal_getpwuid_r): Likewise.
4273 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4274 internal_getspnam_r): Likewise.
4275 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4276 _nss_nis_getaliasbyname_r): Likewise.
4277 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4278 _nss_nis_getntohost_r): Likewise.
4279 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4280 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4282 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4283 internal_nis_gethostent_r, internal_gethostbyname2_r,
4284 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4285 _nss_nis_gethostbyname4_r): Likewise.
4286 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4287 initgroups_netid): Likewise.
4288 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4289 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4290 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4291 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4292 _nss_nis_getprotobynumber_r): Likewise.
4293 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4294 _nss_nis_getsecretkey): Likewise.
4295 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4296 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4298 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4299 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4300 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4301 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4302 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4303 _nss_nis_getspnam_r): Likewise.
4304 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4306 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4307 _nss_nisplus_getntohost_r): Likewise.
4308 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4309 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4310 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4311 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4312 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4314 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4315 _nss_nisplus_getnetbyaddr_r): Likewise.
4316 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4317 _nss_nisplus_getprotobynumber_r): Likewise.
4318 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4319 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4320 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4322 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4323 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4324 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4325 _nss_nisplus_getspnam_r): Likewise.
4326 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4327 * nscd/aicache.c (addhstaiX): Likewise.
4328 * nscd/cache.c (cache_search, prune_cache): Likewise.
4329 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4330 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4331 * nscd/grpcache.c (addgrbyX): Likewise.
4332 * nscd/hstcache.c (addhstbyX): Likewise.
4333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4334 * nscd/mem.c (gc, mempool_alloc): Likewise.
4335 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4337 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4339 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4340 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4343 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4345 * nscd/nscd_helper.c (__readvall, open_socket,
4346 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4347 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4348 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4349 * nscd/pwdcache.c (addpwbyX): Likewise.
4350 * nscd/selinux.c (preserve_capabilities): Likewise.
4351 * nscd/servicescache.c (addservbyX): Likewise.
4352 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4353 * posix/fnmatch.c (fnmatch): Likewise.
4354 * posix/getopt.c (_getopt_internal_r): Likewise.
4355 * posix/glob.c (glob, glob_in_dir): Likewise.
4356 * posix/wordexp.c (exec_comm_child): Likewise.
4357 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4358 gaih_getanswer_slice): Likewise.
4359 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4360 * resolv/res_init.c: Likewise.
4361 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4362 * resolv/res_query.c (__libc_res_nquery): Likewise.
4363 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4365 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4366 * stdio-common/perror.c (perror): Likewise.
4367 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4368 * stdio-common/tmpnam.c (tmpnam): Likewise.
4369 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4370 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4371 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4372 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4373 * stdlib/putenv.c (putenv): Likewise.
4374 * stdlib/setenv.c (__add_to_environ): Likewise.
4375 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4376 * stdlib/strtol_l.c (INTERNAL): Likewise.
4377 * string/memmem.c (memmem): Likewise.
4378 * string/strerror.c (strerror): Likewise.
4379 * string/strnlen.c (__strnlen): Likewise.
4380 * string/test-memmem.c (simple_memmem): Likewise.
4381 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4382 * sunrpc/pm_getport.c (__get_socket): Likewise.
4383 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4384 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4385 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4386 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4388 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4389 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4390 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4391 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4392 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4393 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4394 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4395 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4396 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4397 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4398 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4399 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4401 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4403 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4404 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4405 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4406 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4408 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4412 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4413 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4414 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4415 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4416 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4417 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4418 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4419 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4421 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4422 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4424 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4427 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4428 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4430 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4432 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4434 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4436 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4438 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4439 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4440 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4441 * sysdeps/posix/sleep.c: Likewise.
4442 * sysdeps/posix/tempname.c: Likewise.
4443 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4444 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4446 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4447 elf_machine_rela): Likewise.
4448 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4449 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4450 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4451 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4453 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4454 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4455 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4456 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4457 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4458 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4459 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4460 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4461 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4462 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4463 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4464 elf_machine_lazy_rel): Likewise.
4465 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4466 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4467 elf_machine_lazy_rel): Likewise.
4468 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4469 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4470 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4471 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4472 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4473 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4474 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4477 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4478 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4479 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4480 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4481 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4482 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4483 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4484 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4485 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4486 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4487 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4489 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4490 (__posix_fallocate64_l64): Likewise.
4491 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4492 (posix_fallocate): Likewise.
4493 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4495 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4496 getifaddrs_internal): Likewise.
4497 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4498 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4499 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4500 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4501 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4502 (__posix_fallocate64_l64): Likewise.
4503 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4505 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4506 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4508 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4509 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4510 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4511 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4513 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4514 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4515 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4517 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4518 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4519 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4520 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4521 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4522 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4523 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4525 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4526 (posix_fallocate): Likewise.
4527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4528 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4529 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4530 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4531 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4533 * time/asctime.c (asctime_internal): Likewise.
4534 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4535 * time/tzset.c (__tzset_parse_tz): Likewise.
4536 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4537 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4538 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4539 * wcsmbs/wcsmbsload.h: Likewise.
4541 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4544 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4546 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4548 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4549 arena_get2): Remove THREAD_STATS conditionals.
4550 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4551 __malloc_stats, int): Likewise.
4553 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4555 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4556 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4558 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4560 * manual/setjmp.texi: Fix typos/grammar errors.
4562 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4564 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4565 Only return early when n is <= 0. Delete unused return statement.
4567 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4569 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4570 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4571 * debug/tst-longjmp_chk3.c: New file.
4573 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4575 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4576 (test_main): Replace code with set_fortify_handler call.
4577 * debug/test-strcpy_chk.c: Likewise.
4578 * debug/tst-chk1.c: Likewise.
4579 * debug/tst-longjmp_chk.c: Likewise.
4580 * test-skeleton.c: Include fcntl.h & paths.h
4581 (set_fortify_handler): Define.
4583 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4585 * debug/tst-longjmp_chk.c: Add header comment and include
4587 (do_test): Mark static.
4588 (TEST_FUNCTION): Define.
4590 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4592 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4593 (IP_PMTUDISC_INTERFACE): Likewise.
4594 (IP_MULTICAST_IF): Likewise.
4595 (IP_MULTICAST_TTL): Likewise.
4596 (IP_MULTICAST_LOOP): Likewise.
4597 (IP_ADD_MEMBERSHIP): Likewise.
4598 (IP_DROP_MEMBERSHIP): Likewise.
4599 (IP_UNBLOCK_SOURCE): Likewise.
4600 (IP_BLOCK_SOURCE): Likewise.
4601 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4602 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4603 (IP_MSFILTER): Likewise.
4604 (MCAST_JOIN_GROUP): Likewise.
4605 (MCAST_BLOCK_SOURCE): Likewise.
4606 (MCAST_UNBLOCK_SOURCE): Likewise.
4607 (MCAST_LEAVE_GROUP): Likewise.
4608 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4609 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4610 (MCAST_MSFILTER): Likewise.
4611 (IP_MULTICAST_ALL): Likewise.
4612 (IP_UNICAST_IF): Likewise.
4614 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4616 * timezone/Makefile: Delete $(have-ksh) check.
4617 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4618 * timezone/tzselect.ksh: Add +x mode bits.
4620 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4622 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4623 (ANON_INODE_FS_MAGIC): Likewise.
4624 (BDEVFS_MAGIC): Likewise.
4625 (BINFMTFS_MAGIC): Likewise.
4626 (BTRFS_TEST_MAGIC): Likewise.
4627 (CRAMFS_MAGIC_WEND): Likewise.
4628 (DEBUGFS_MAGIC): Likewise.
4629 (ECRYPTFS_SUPER_MAGIC): Likewise.
4630 (EXT3_SUPER_MAGIC): Likewise.
4631 (EXT4_SUPER_MAGIC): Likewise.
4632 (FUTEXFS_SUPER_MAGIC): Likewise.
4633 (HOSTFS_SUPER_MAGIC): Likewise.
4634 (HUGETLBFS_MAGIC): Likewise.
4635 (MINIX3_SUPER_MAGIC): Likewise.
4636 (MTD_INODE_FS_MAGIC): Likewise.
4637 (NILFS_SUPER_MAGIC): Likewise.
4638 (OPENPROM_SUPER_MAGIC): Likewise.
4639 (PIPEFS_MAGIC): Likewise.
4640 (PSTOREFS_MAGIC): Likewise.
4641 (QNX6_SUPER_MAGIC): Likewise.
4642 (RAMFS_MAGIC): Likewise.
4643 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4644 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4645 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4646 (SECURITYFS_MAGIC): Likewise.
4647 (SELINUX_MAGIC): Likewise.
4648 (SMACK_MAGIC): Likewise.
4649 (SOCKFS_MAGIC): Likewise.
4650 (SQUASHFS_MAGIC): Likewise.
4651 (STACK_END_MAGIC): Likewise.
4652 (TMPFS_MAGIC): Likewise.
4653 (USBDEVICE_SUPER_MAGIC): Likewise.
4654 (V9FS_MAGIC): Likewise.
4655 (XENFS_SUPER_MAGIC): Likewise.
4656 (CRAMFS_MAGIC): Fix typo in comment.
4657 (EXT2_SUPER_MAGIC): Update comment.
4658 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4660 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4662 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4663 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4664 * sysdeps/unix/sysv/linux/arm: Move directory from
4665 ports/sysdeps/unix/sysv/linux/arm.
4666 * README: Update listing for arm-*-linux-gnueabi.
4668 * README: Remove mention of am33.
4670 2014-02-07 Roland McGrath <roland@hack.frob.com>
4672 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4673 than the comma operator, to avoid "rhs of comma has no effect"
4675 (__sigfillset, __sigandset, __sigorset): Likewise.
4676 * include/signal.h (__sigemptyset): Likewise.
4677 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4679 2014-02-07 Allan McRae <allan@archlinux.org>
4681 * version.h (RELEASE): Set to "development".
4682 (VERSION): Set to "2.19.90"
4683 * NEWS: Add 2.20 section.
4685 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4688 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4690 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4692 * manual/contrib.texi: Update entry for Carlos O'Donell,
4693 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4695 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4697 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4699 * sysdeps/unix/sysv/linux/kernel-features.h
4700 [__LINUX_KERNEL_VERSION >= 0x020621]
4701 (__ASSUME_PROC_PID_TASK_COMM): Define.
4703 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4706 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4707 conversion when destination buffer does not have enough space.
4708 * libio/tst-ftell-partial-wide.c: New test case.
4709 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4711 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4712 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4713 Leonard and Allan McRae.
4715 2014-02-04 David S. Miller <davem@davemloft.net>
4717 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4720 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4749 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4751 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4752 * shlib-versions: Likewise.
4754 2014-02-04 Roland McGrath <roland@hack.frob.com>
4755 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4757 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4758 (abilist-pattern): New variable, set to %-le.abilist.
4760 * Makerules (abilist-pattern): New variable.
4761 (vpath): Use $(abilist-pattern) in place of %.abilist.
4762 (check-abi-% pattern rule): Likewise.
4763 (check-abi, update-abi): Likewise.
4765 2014-02-04 Eric Wong <normalperson@yhbt.net>
4767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4769 2014-02-04 Eric Wong <normalperson@yhbt.net>
4771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4773 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4775 * manual/startup.texi: Add next, previous, and top entries for
4776 the `Program Arguments' and `Environment Variables' nodes.
4778 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4780 * manual/macros.texi: Add comments before MTASC-safety macros.
4782 * manual/users.texi: Document MTASC-safety properties.
4784 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4785 pthread_getspecific, pthread_setspecific): Format with
4786 @deftypefun, and add @safety note.
4787 * manual/signal.texi: Move comments that analyze the above
4788 functions to their home place.
4790 2014-02-03 Allan McRae <allan@archlinux.org>
4792 * po/sl.po: Update Slovenian translation from translation project.
4794 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4796 * manual/time.texi (timegm): Add missing blank after @c.
4797 Reported by Joseph Myers <joseph@codesourcery.com>.
4799 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4801 * manual/check-safety.sh: New.
4802 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4804 * manual/terminal.texi: Document MTASC-safety properties.
4806 * manual/filesys.texi: Document MTASC-safety properties.
4808 * manual/errno.texi: Document MTASC-safety properties.
4810 * manual/intro.texi: Document safety identifiers and
4813 * manual/string.texi (wcstok): Fix prototype.
4814 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4816 * manual/time.texi: Document MTASC-safety properties.
4818 * manual/string.texi: Document MTASC-safety properties.
4820 * manual/threads.texi: Document MTASC-safety properties.
4822 * manual/stdio.texi: Document MTASC-safety properties.
4824 * manual/syslog.texi: Document MTASC-safety properties.
4826 * manual/sysinfo.texi: Document MTASC-safety properties.
4828 * manual/startup.texi: Document MTASC-safety properties.
4830 * manual/socket.texi: Document MTASC-safety properties.
4832 * manual/signal.texi: Document MTASC-safety properties.
4834 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4836 * manual/setjmp.texi: Document MTASC-safety properties.
4838 * manual/search.texi: Document MTASC-safety properties.
4840 * manual/resource.texi: Document MTASC-safety properties.
4842 * manual/process.texi: Document MTASC-safety properties.
4844 * manual/platform.texi: Document MTASC-safety properties.
4846 * manual/pipe.texi: Document MTASC-safety properties.
4848 * manual/pattern.texi: Document MTASC-safety properties.
4850 * manual/message.texi: Document MTASC-safety properties.
4853 * manual/memory.texi: Document MTASC-safety properties.
4855 * manual/math.texi: Document MTASC-safety properties.
4857 * manual/locale.texi: Document MTASC-safety properties.
4859 * manual/llio.texi: Document MTASC-safety properties.
4861 * manual/libdl.texi: New.
4863 * manual/lang.texi: Document MTASC-safety properties.
4865 * manual/job.texi: Document MTASC-safety properties.
4867 * manual/getopt.texi: Document MTASC-safety properties.
4869 * manual/ctype.texi: Document MTASC-safety properties.
4871 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4874 * csu/libc-tls.c (static_map): Remove variable.
4875 (__libc_setup_tls): Use main executable's link map for TLS data.
4876 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4877 casing for LM_ID_BASE and GL(dl_nns).
4878 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4879 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4880 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4881 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4882 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4884 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4887 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4889 * manual/debug.texi: Document MTASC-safety properties.
4891 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4894 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4895 of __x86_64__ when disabling x87 inline functions.
4897 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4899 * manual/charset.texi: Document MTASC-safety properties.
4901 * manual/crypt.texi: Document MTASC-safety properties.
4903 * manual/conf.texi: Document MTASC-safety properties.
4905 * manual/arith.texi: Document MTASC-safety properties.
4907 * manual/argp.texi: Document MTASC-safety properties.
4909 * manual/macros.texi: Introduce macros to document multi
4910 thread, asynchronous signal and asynchronous cancellation
4912 * manual/intro.texi: Introduce the properties themselves.
4914 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4916 * sysdeps/sh/sh4/Makefile: New file.
4918 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4920 * math/gen-libm-test.pl ($srcdir): New variable.
4921 ($auto_input): Use it.
4923 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4926 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4927 access beyond array bounds when parsing netgroups file.
4929 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4930 the old buffer before realloc.
4932 2014-01-27 Allan McRae <allan@archlinux.org>
4934 * po/fr.po: Update French translation from translation project.
4936 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4938 * sysdeps/sh/libm-test-ulps: Regenerate.
4940 2014-01-24 David S. Miller <davem@davemloft.net>
4942 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4944 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4946 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4947 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4949 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4952 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4953 string pointers after reallocation.
4955 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4957 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4958 __SH4A__ instead of __SH_FPU_ANY__.
4960 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4962 * sysdeps/sh/fpu_control.h: New file.
4963 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4964 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4965 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4966 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4967 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4968 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4969 * sysdeps/sh/sys/ucontext.h: Remove.
4970 * sysdeps/sh/sys: Remove directory.
4972 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4974 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4975 s390/sys/ucontext.h.
4976 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4977 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4979 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4982 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4984 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4988 Adjust the vDSO correctly for internal calls.
4989 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4991 2014-01-20 Allan McRae <allan@archlinux.org>
4993 * po/ca.po: Update Catalan translation from translation project.
4995 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4997 * sysdeps/s390/sotruss-lib.c: New file.
4999 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5002 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5003 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5004 local calls issues by not having a PLT stub required for IFUNC calls.
5005 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5007 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5009 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5010 * math/test-fpucw-static.c: Likewise.
5012 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5015 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5017 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5019 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5020 implementation for powerpc.
5022 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5025 * sysdeps/posix/system.c (__libc_system): Do not enable
5026 asynchronous cancellation.
5028 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5031 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5032 handling only for numbers special also in the IEEE case.
5034 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5036 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5038 2014-01-11 Allan McRae <allan@archlinux.org>
5040 * po/bg.po: Update Bulgarian translation from translation project.
5042 * po/de.po: Update German translation from translation project.
5044 2014-01-10 Roland McGrath <roland@hack.frob.com>
5046 * sysdeps/generic/gcc-compat.h: New file.
5048 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5050 * benchtests/asin-inputs: Correct slow inputs.
5051 * benchtests/acos-inputs: Likewise.
5053 2014-01-10 Allan McRae <allan@archlinux.org>
5055 * po:sv.po: Update Swedish translation from translation project.
5057 * po/vi.po: Update Vietnamese translation from translation project.
5059 * po/eo.po: Update Esperanto translation from translation project.
5061 * po/cs.po: Update Czech translation from translation project.
5063 * po/nl.po: Update Dutch translation from translation project.
5065 * po/pl.po: Update Polish translation from translation project.
5067 * po/ru.po: Update Russian translation from translation project.
5069 * po/uk.po: Update Ukrainian translation from translation project.
5071 2014-01-08 Brooks Moses <bmoses@google.com>
5073 * elf/dl-load.c: Fix comment typo.
5075 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5077 * po/header.pot: Rename to...
5078 * po/pot.header: ... this.
5079 * po/Makefile: Use pot.header.
5081 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5082 Maxim Kuvyrkov <maxim@kugelworks.com>
5085 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5086 SRC and DEST against LEN.
5088 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5091 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5093 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5095 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5099 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5102 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5103 for large positive arguments.
5105 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5107 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5109 * math/auto-libm-test-in: Mark various tests with
5110 xfail-rounding:ldbl-128ibm.
5111 * math/auto-libm-test-out: Regenerated.
5114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5115 Increase overflow threshold.
5117 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5120 * stdio-common/vfprintf.c: Check for integer overflow.
5122 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5124 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5125 the first argument and return value of __tls_get_addr_internal.
5127 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5129 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5130 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5132 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5134 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5135 * sysdeps/s390/rtld-global-offsets.sym: New file.
5136 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5138 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5139 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5140 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5142 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5143 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5149 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5150 halfs of GPRs for high_gprs contexts.
5151 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5152 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5154 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5156 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5158 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5159 for high GPRs (uc_high_gprs) and for future extensions
5161 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5162 for future extensions (__reserved).
5163 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5165 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5166 SC_HIGHGPRS offset definition.
5167 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5168 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5170 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5172 * Versions.def: Add GLIBC_2.19 for libpthread.
5173 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5174 siglongjmp for libpthread with GLIBC_2.19 symver.
5175 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5176 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5177 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5178 * sysdeps/s390/__longjmp.c: New file.
5179 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5180 * sysdeps/s390/longjmp.c: New file.
5181 * sysdeps/s390/setjmp.S: New file.
5182 * sysdeps/s390/sigjmp.S: New file.
5183 * sysdeps/s390/v1-longjmp.c: New file.
5184 * sysdeps/s390/v1-setjmp.h: New file.
5185 * sysdeps/s390/v1-sigjmp.c: New file.
5186 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5187 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5189 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5190 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5191 versioned symbols for ____longjmp_chk.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5202 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5203 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5204 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5205 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5206 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5207 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5208 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5209 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5210 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5211 * sysdeps/s390/rtld-__longjmp.c: New file.
5212 * sysdeps/s390/rtld-setjmp.S: New file.
5214 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5217 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5218 Return -__logl (x) for small positive arguments without evaluating
5221 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5223 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5225 (__ptrace_peeksiginfo_args): ... this.
5226 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5227 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5228 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5230 2014-01-06 Allan McRae <allan@archlinux.org>
5232 * inet/netinet/in.h: Fix typo in comment.
5234 2014-01-05 Andreas Jaeger <aj@suse.de>
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5238 2014-01-05 Allan McRae <allan@archlinux.org>
5240 * po/libc.pot: Regenerated.
5242 * malloc/memusagestat.c: Fix gettext call formatting.
5244 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5246 * nscd/nscd.c: Improve usage() output.
5248 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5250 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5251 * sysdeps/unix/sysv/linux/configure: Regenerated.
5252 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5253 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5255 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5258 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5259 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5261 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5264 extra tokens at end of #undef directive.
5265 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5266 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5269 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5271 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5273 * math/auto-libm-test-in: Mark various tests with
5274 xfail-rounding:ldbl-128ibm.
5275 * math/auto-libm-test-out: Regenerated.
5277 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5280 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5281 numbers with subnormal high part when calculating exponent.
5284 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5288 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5290 (__ieee754_acoshl): Use __log1pl not __log1p.
5292 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5294 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5295 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5296 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5297 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5298 Convert to GNU style.
5299 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5300 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5301 memalign_check, __malloc_set_state): Likewise.
5302 * malloc/mallocbug.c (main): Likewise.
5303 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5304 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5305 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5306 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5307 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5308 * malloc/malloc.h: Likewise.
5309 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5310 memalignhook, reallochook, mabort): Likewise.
5311 * malloc/mcheck.h: Likewise.
5312 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5313 mmap64, mremap, munmap, dest): Likewise.
5314 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5315 * malloc/morecore.c (__default_morecore): Likewise.
5316 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5317 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5318 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5319 print_and_abort): Likewise.
5320 * malloc/obstack.h: Likewise.
5321 * malloc/set-freeres.c (__libc_freeres): Likewise.
5322 * malloc/tst-mallocstate.c (main): Likewise.
5323 * malloc/tst-mtrace.c (main): Likewise.
5324 * malloc/tst-realloc.c (do_test): Likewise.
5326 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5329 * nscd/netgroupcache.c (do_notfound): New function.
5330 (addgetnetgrentX): Use it.
5333 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5334 NSS_STATUS_NOTFOUND.
5336 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5338 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5341 2014-01-01 Allan McRae <allan@archlinux.org>
5343 * scripts/update-copyrights: Update configure input file suffix.
5345 * NEWS: Update copyright year.
5346 * catgets/gencat.c: Likewise.
5347 * csu/version.c: Likewise.
5348 * debug/catchsegv.sh: Likewise.
5349 * debug/pcprofiledump.c: Likewise.
5350 * debug/xtrace.sh: Likewise.
5351 * elf/ldconfig.c: Likewise.
5352 * elf/ldd.bash.in: Likewise.
5353 * elf/pldd.c: Likewise.
5354 * elf/sotruss.ksh: Likewise.
5355 * elf/sprof.c: Likewise.
5356 * iconv/iconv_prog.c: Likewise.
5357 * iconv/iconvconfig.c: Likewise.
5358 * locale/programs/locale.c: Likewise.
5359 * locale/programs/localedef.c: Likewise.
5360 * login/programs/pt_chown.c: Likewise.
5361 * malloc/memusage.sh: Likewise.
5362 * malloc/memusagestat.c: Likewise.
5363 * malloc/mtrace.pl: Likewise.
5364 * manual/libc.texinfo: Likewise.
5365 * nscd/nscd.c: Likewise.
5366 * nss/getent.c: Likewise.
5367 * nss/makedb.c: Likewise.
5368 * posix/getconf.c: Likewise.
5369 * scripts/test-installation.pl: Likewise.
5371 * All files with FSF copyright notices: Update copyright dates
5372 using scripts/update-copyrights.
5373 * intl/plural.c: Regenerated.
5374 * locale/programs/charmap-kw.h: Likewise.
5375 * locale/programs/locfile-kw.h: Likewise.
5377 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5379 * sysdeps/unix/sysv/linux/configure: Regenerated.
5380 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5381 the linux/fanotify.h header.
5382 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5383 HAVE_LINUX_FANOTIFY_H is defined.
5385 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5387 * benchtests/cos-inputs: New inputs.
5388 * benchtests/sin-inputs: Likewise.
5390 * benchtests/atan-inputs: New inputs. Fix name of multiple
5391 precision fallback inputs.
5393 * benchtests/atanh-inputs: New inputs.
5394 * benchtests/tanh-inputs: Likewise.
5396 * benchtests/acosh-inputs: New inputs.
5397 * benchtests/asinh-inputs: Likewise.
5399 * benchtests/cosh-inputs: New inputs.
5400 * benchtests/sinh-inputs: Likewise.
5402 * benchtests/acos-inputs: Add more inputs.
5403 * benchtests/asin-inputs: Likewise.
5405 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5408 * manual/arith.texi: Fix spelling.
5409 * manual/charset.texi: Likewise.
5410 * manual/errno.texi: Likewise.
5411 * manual/filesys.texi: Likewise.
5412 * manual/lang.texi: Likewise.
5413 * manual/llio.texi: Likewise.
5414 * manual/locale.texi: Likewise.
5415 * manual/message.texi: Likewise.
5416 * manual/resource.texi: Likewise.
5417 * manual/search.texi: Likewise.
5418 * manual/setjmp.texi: Likewise.
5419 * manual/stdio.texi: Likewise.
5420 * manual/string.texi: Likewise.
5421 * manual/sysinfo.texi: Likewise.
5422 * manual/time.texi: Likewise.
5424 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5426 * po/sl.po: New file.
5428 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5430 * .gitignore: Add core/.gdbinit/.gdb_history.
5432 2013-12-27 Allan McRae <allan@archlinux.org>
5435 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5436 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5438 2013-12-24 Brooks Moses <bmoses@google.com>
5440 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5441 all compilers that claim C++98 compliance, not just GCC.
5442 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5445 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5447 * NEWS: Restore accidentally deleted bug-fix entries.
5449 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5450 Ondřej Bílka <neleai@seznam.cz>
5453 * malloc/malloc.c (_int_free): Perform sanity check only if we
5456 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5459 * manual/stdio.texi (String Input Conversions): Clarify that character
5460 classes are not supported.
5462 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5466 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5469 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5470 Calculate results for small negative arguments directly rather
5471 than using reflection formula with special underflow handling.
5473 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5474 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5475 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5476 (fchflags): Likewise.
5478 (setlogin): Likewise.
5479 (sigaltstack): Likewise.
5482 (sigsetmask): Likewise.
5484 (waitpid): Likewise.
5485 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5486 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5488 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5489 * sysdeps/unix/bsd/Makefile: ... here.
5490 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5491 * sysdeps/unix/bsd/Versions: ... here.
5492 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5493 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5494 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5495 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5496 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5497 * sysdeps/unix/bsd/sigblock.c: ... here.
5498 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5499 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5500 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5501 * sysdeps/unix/bsd/sigvec.c: ... here.
5502 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5503 * sysdeps/unix/bsd/tcdrain.c: ... here.
5504 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5505 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5506 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5507 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5508 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5509 * sysdeps/unix/bsd/wait.c: ... here.
5510 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5511 * sysdeps/unix/bsd/wait3.c: ... here.
5512 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5513 * sysdeps/unix/bsd/waitpid.c: ... here.
5515 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5518 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5519 round-to-nearest for [!USE_AS_EXPM1L].
5520 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5521 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5522 more tests of exp and exp10. Expect some exp10 tests to miss
5523 exceptions or fail in directed rounding modes.
5524 * math/auto-libm-test-out: Regenerated.
5525 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5526 (exp10_test_tonearest): New function.
5527 (exp10_towardzero_test_data): New array.
5528 (exp10_test_towardzero): New function.
5529 (exp10_downward_test_data): New array.
5530 (exp10_test_downward): New function.
5531 (exp10_upward_test_data): New array.
5532 (exp10_test_upward): New function.
5533 (main): Call the new functions.
5534 * sysdeps/i386/fpu/libm-test-ulps: Update.
5535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5537 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5539 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5540 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5541 * math/auto-libm-test-out: Regenerated.
5542 * math/libm-test.inc (acosh_test_data): Add more tests.
5543 (atanh_test_data): Likewise.
5544 (ceil_test_data): Likewise.
5545 (copysign_test_data): Likewise.
5546 * sysdeps/i386/fpu/libm-test-ulps: Update.
5547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5549 * timezone/checktab.awk: Update from tzcode 2013i.
5550 * timezone/private.h: Likewise.
5551 * timezone/scheck.c: Likewise.
5552 * timezone/tzfile.h: Likewise.
5553 * timezone/tzselect.ksh: Likewise.
5554 * timezone/zdump.c: Likewise.
5555 * timezone/zic.c: Likewise.
5557 * math/auto-libm-test-in: Add tests of cpow.
5558 * math/auto-libm-test-out: Regenerated.
5559 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5560 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5562 (func_calc_desc): Add mpc_cc_c union field.
5563 (test_functions): Add cpow.
5564 (special_fill_2pi): New function.
5565 (special_real_inputs): Add 2pi.
5566 (calc_generic_results): Handle mpc_cc_c.
5567 * sysdeps/i386/fpu/libm-test-ulps: Update.
5568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5571 csqrt, ctan and ctanh.
5572 * math/auto-libm-test-out: Regenerated.
5573 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5574 (TEST_COND_x86): Likewise.
5575 (ccos_test_data): Use AUTO_TESTS_c_c.
5576 (ccosh_test_data): Likewise.
5577 (cexp_test_data): Likewise.
5578 (clog_test_data): Likewise.
5579 (csqrt_test_data): Likewise.
5580 (ctan_test_data): Likewise.
5581 (ctan_tonearest_test_data): Likewise.
5582 (ctan_towardzero_test_data): Likewise.
5583 (ctan_downward_test_data): Likewise.
5584 (ctan_upward_test_data): Likewise.
5585 (ctanh_test_data): Likewise.
5586 (ctanh_tonearest_test_data): Likewise.
5587 (ctanh_towardzero_test_data): Likewise.
5588 (ctanh_downward_test_data): Likewise.
5589 (ctanh_upward_test_data): Likewise.
5590 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5592 (func_calc_desc): Add mpc_c_c union field.
5593 (FUNC_mpc_c_c): New macro.
5594 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5595 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5597 (special_fill_min_subnorm_p120): New function.
5598 (special_real_inputs): Add min_subnorm_p120.
5599 (calc_generic_results): Handle mpc_c_c.
5600 * sysdeps/i386/fpu/libm-test-ulps: Update.
5601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5603 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5605 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5606 do_sin_slow): New functions.
5607 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5608 cslow2, csloww1, csloww2): Use the new functions.
5610 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5611 Use M to change sign of result instead of X. Assume X is
5613 (csloww1): Likewise.
5617 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5622 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5624 (sloww1): Don't adjust sign of DX.
5625 (csloww1): Likewise.
5626 (sloww2): Use X directly and don't adjust sign of DX.
5627 (csloww2): Likewise.
5629 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5631 * math/auto-libm-test-in: Add tests of cabs and carg.
5632 * math/auto-libm-test-out: Regenerated.
5633 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5634 (carg_test_data): Likewise.
5635 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5637 (func_calc_desc): Add mpc_c_f union field.
5638 (test_functions): Add cabs and carg.
5639 (calc_generic_results): Handle mpc_c_f.
5641 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5642 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5643 as a macro and a compat symbol.
5644 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5645 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5646 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5647 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5648 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5649 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5651 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5653 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5655 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5657 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5659 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5661 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5662 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5665 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5669 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5671 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5672 trailing whitespace removed.
5673 * scripts/config.guess: Update to version 2013-11-29.
5674 * scripts/config.sub: Update to version 2013-10-01.
5676 * math/auto-libm-test-in: Add tests of sincos.
5677 * math/auto-libm-test-out: Regenerated.
5678 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5679 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5681 (func_calc_desc): Add mpfr_f_11 union field.
5682 (test_functions): Add sincos.
5683 (calc_generic_results): Handle mpfr_f_11.
5684 * sysdeps/i386/fpu/libm-test-ulps: Update.
5685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5687 2013-12-19 Andreas Schwab <schwab@suse.de>
5689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5693 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5695 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5697 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5698 * sysdeps/i386/fpu/libm-test-ulps: Update.
5699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5703 round-to-nearest mode when using frndint.
5704 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5705 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5708 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5710 * math/auto-libm-test-out: Regenerated.
5711 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5712 (TEST_COND_x86): Likewise.
5713 (expm1_tonearest_test_data): New array.
5714 (expm1_test_tonearest): New function.
5715 (expm1_towardzero_test_data): New array.
5716 (expm1_test_towardzero): New function.
5717 (expm1_downward_test_data): New array.
5718 (expm1_test_downward): New function.
5719 (expm1_upward_test_data): New array.
5720 (expm1_test_upward): New function.
5721 (main): Run the new test functions.
5722 * sysdeps/i386/fpu/libm-test-ulps: Update.
5723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5725 * include/features.h: Update comment documenting feature test
5726 macros. Mention _DEFAULT_SOURCE in comment.
5727 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5728 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5729 _BSD_SOURCE and _SVID_SOURCE.
5730 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5731 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5732 !_SVID_SOURCE]: Likewise.
5733 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5734 (__USE_POSIX_IMPLICITLY): Define.
5735 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5736 (_POSIX_SOURCE): Undefine and redefine.
5737 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5738 (_POSIX_C_SOURCE): Likewise.
5739 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5740 (Feature Test Macros): Update documentation of default features.
5742 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5744 * benchtests/Makefile: Add bench-strtok.
5745 * benchtests/bench-strtok.c: New file: strtok benchtest.
5747 2013-12-19 Allan McRae <allan@archlinux.org>
5749 * manual/install.texi: Suppress menu for plain text output.
5750 * INSTALL: Regenerated.
5752 2013-12-18 Brooks Moses <bmoses@google.com>
5755 * misc/getauxval.c: Include errno.h.
5756 (__getauxval): Set errno to ENOENT if the requested type is not
5758 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5759 don't declare with __attribute_const__.
5760 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5761 * manual/startup.texi: Document that getauxval sets errno.
5763 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5765 * math/auto-libm-test-in: Add tests of jn and yn.
5766 * math/auto-libm-test-out: Regenerated.
5767 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5768 (yn_test_data): Likewise.
5769 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5771 (func_calc_desc): Add mpfr_if_f union field.
5772 (FUNC_mpfr_if_f): New macro.
5773 (test_functions): Add jn and yn.
5774 (calc_generic_results): Assert type of second input for
5775 mpfr_ff_f. Handle mpfr_if_f.
5776 (output_for_one_input_case): Disable all checking for arguments
5777 fitting floating-point types in case of an integer argument.
5778 * sysdeps/i386/fpu/libm-test-ulps: Update.
5779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5782 Don't expect fegetround reference in libm.so.
5784 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5786 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5787 $(config-cflags-nofma).
5789 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5791 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5792 * math/auto-libm-test-out: Regenerated.
5795 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5796 to determine exponent and adjust argument to have exponent of -1.
5797 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5799 * math/auto-libm-test-out: Regenerated.
5800 * sysdeps/i386/fpu/libm-test-ulps: Update.
5801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5803 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5805 * manual/probes.texi: Remove cases when per-thread arenas are
5808 2013-12-18 Andreas Schwab <schwab@suse.de>
5810 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5811 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5812 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5813 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5814 * sysdeps/i386/i686/multiarch/Makefile: Update.
5815 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5817 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5819 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5820 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5822 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5825 Support TZ transition times < 00:00:00.
5826 This is needed for version-3 tz-format files; it supports time
5827 stamps past 2037 for America/Godthab (the only entry in the tz
5828 database for which this change is relevant).
5829 * manual/time.texi (TZ Variable): Document transition times
5830 from -167:59:59 through -00:00:01.
5831 * time/tzset.c (tz_rule): Time of day is now signed.
5832 (__tzset_parse_tz): Parse negative time of day.
5834 Document TZ transition times >= 25:00:00.
5835 * manual/time.texi (TZ Variable): Document transition times from
5836 25:00:00 through 167:59:59. These are already supported, and this
5837 support will help with version-3 tz-format files.
5839 * manual/time.texi (TZ Variable): Modernize North America example
5840 to reflect current (i.e., 2007-and-later) daylight saving rules.
5842 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5844 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5846 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5847 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5850 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5851 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5852 * sysdeps/unix/bsd/clock.c: Likewise.
5853 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5854 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5855 * sysdeps/unix/bsd/init-posix.c: Likewise.
5856 * sysdeps/unix/bsd/poll.c: Likewise.
5857 * sysdeps/unix/bsd/ptsname.c: Likewise.
5858 * sysdeps/unix/bsd/seekdir.c: Likewise.
5859 * sysdeps/unix/bsd/setegid.c: Likewise.
5860 * sysdeps/unix/bsd/seteuid.c: Likewise.
5861 * sysdeps/unix/bsd/setgid.c: Likewise.
5862 * sysdeps/unix/bsd/setrgid.c: Likewise.
5863 * sysdeps/unix/bsd/setruid.c: Likewise.
5864 * sysdeps/unix/bsd/setsid.c: Likewise.
5865 * sysdeps/unix/bsd/setuid.c: Likewise.
5866 * sysdeps/unix/bsd/sigaction.c: Likewise.
5867 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5868 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5869 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5870 * sysdeps/unix/bsd/telldir.c: Likewise.
5871 * sysdeps/unix/bsd/times.c: Likewise.
5872 * sysdeps/unix/bsd/usleep.c: Likewise.
5874 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5875 ($(objpfx)libbsd-compat.a): Remove rule.
5877 * include/features.h (__FAVOR_BSD): Do not define.
5878 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5879 features conflicting with POSIX.
5880 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5881 (_BSD_SOURCE): Remove description of not being a subset of other
5882 feature test macros.
5883 * manual/job.texi (getpgrp): Do not document BSD version.
5884 (getpgid): Do not document by reference to BSD getpgrp.
5885 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5886 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5887 * signal/signal.h [__FAVOR_BSD]: Likewise.
5888 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5889 instead of making contents conditional on [__FAVOR_BSD].
5890 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5892 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5896 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5899 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5900 values below 2**-450, not 2**-500.
5901 * math/auto-libm-test-in: Don't allow spurious underflow from
5903 * math/auto-libm-test-out: Regenerated.
5907 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5908 values of ha and hb and sort them after adjusting subnormal
5910 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5912 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5913 values of ea and eb and sort them after adjusting subnormal
5915 * math/auto-libm-test-in: Do not expect some hypot tests of
5916 subnormals to fail. Add more hypot tests.
5917 * math/auto-libm-test-out: Regenerated.
5919 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5922 * sysdeps/sh/s_fma.c: New file.
5923 * sysdeps/sh/s_fmaf.c: New file.
5924 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5926 * sysdeps/sh/Implies: Add sh/soft-fp.
5928 2013-12-16 Roland McGrath <roland@hack.frob.com>
5930 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5931 level of indirection to members `objname', `errstring', `malloced'.
5932 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5933 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5934 it as the __longjmp argument (just pass 1 instead).
5935 (_dl_catch_error): Initialize C with argument pointers and address of
5936 volatile local ERRCODE rather than copying values out of C at return.
5938 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5940 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5941 * math/auto-libm-test-out: Regenerated.
5942 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5943 (hypot_test_data): Likewise.
5944 (pow_test_data): Likewise.
5945 (pow_tonearest_test_data): Likewise.
5946 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5948 (func_calc_desc): Add mpfr_ff_f union field.
5949 (FUNC_mpfr_ff_f): New macro.
5950 (test_functions): Add atan2, hypot and pow.
5951 (special_fill_min): New function.
5952 (special_fill_minus_min): Likewise.
5953 (special_fill_min_subnorm): Likewise.
5954 (special_fill_minus_min_subnorm): Likewise.
5955 (special_real_inputs): Add min, -min, min_subnorm and
5957 (calc_generic_results): Handle mpfr_ff_f.
5958 * sysdeps/i386/fpu/libm-test-ulps: Update.
5959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961 2013-12-16 Will Newton <will.newton@linaro.org>
5963 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5964 (Aligned Memory Blocks): Add documentation for aligned_alloc
5965 and suggest it as an alternative to posix_memalign.
5966 (Hooks for Malloc): Document __memalign_hook is also called
5967 for aligned_alloc. (Summary of Malloc): Add summary for
5968 aligned alloc. Document __memalign_hook is also called
5971 2013-12-16 Will Newton <will.newton@linaro.org>
5973 * manual/memory.texi (Malloc Examples): Clarify default
5974 alignment documentation. Suggest posix_memalign rather
5975 than memalign or valloc.
5976 (Aligned Memory Blocks): Remove suggestion to use memalign
5977 or valloc. Remove obsolete comment about BSD.
5978 Document memalign errno values and mark the function obsolete.
5979 Document posix_memalign returned error codes. Mark valloc
5980 as obsolete. (Hooks for Malloc): __memalign_hook is also
5981 called for posix_memalign and valloc.
5982 (Summary of Malloc): Add posix_memalign to function summary.
5983 __memalign_hook is also called for posix_memalign and valloc.
5985 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5987 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5991 (sloww): Use mynumber union. Expand ternary operator into
5993 (cslow): use mynumber union.
5995 2013-12-16 Allan McRae <allan@archlinux.org>
5997 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5998 * configure: Regenerated.
6000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6003 * configure.ac: Added --enable-maintainer-mode. Check for
6004 autoconf when enabled.
6005 * configure: Regenerated.
6007 * nscd/nscd.service: New file.
6008 * nscd/nscd.tmpfiles: New file.
6010 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6013 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6014 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6015 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6016 (strstr): Add __strstr_sse2_unaligned ifunc.
6017 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6018 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6019 (strcasestr): Remove __strcasestr_sse42 ifunc.
6020 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6024 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6026 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6027 * sysdeps/sh/bits/fenv.h: ... here.
6028 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6030 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6032 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6034 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6037 hypotf multiarch implementations.
6038 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6039 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6040 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6041 multiarch hypot for PPC64.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6044 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6045 multiarch hypotf for PPC64.
6047 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6050 modff multiarch implementations.
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6054 multiarch modf for PPC64.
6055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6058 multiarch modff for PPC64.
6060 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6063 and logl multiarch implementations.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6067 multiarch logb for PPC64.
6068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6071 multiarch logb for PPC64.
6072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6075 multiarch logb for PPC64.
6077 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6080 isinff multiarch implementation.
6081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6085 multiarch isinf for PPC64.
6086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6089 multiarch isinff for PPC64.
6091 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6094 finitef multiarch implementation.
6095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6099 multiarch finite for PPC64.
6100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6103 multiarch finitef for PPC64.
6105 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6108 lrint multiarch implementation.
6109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6113 multiarch llrint for PPC64.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6115 multiarch lrint for PPC64.
6117 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6119 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6120 copysignf multiarch implementation.
6121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6126 multiarch copysign for PPC64.
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6128 multiarch copysignf for PPC64.
6130 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6133 multiarch implementation.
6134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6142 multiarch llround for PPC64.
6143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6144 multiarch trunc for PPC64.
6145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6146 multiarch truncf for PPC64.
6148 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6151 multiarch implementation.
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6160 multiarch llround for PPC64.
6161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6162 multiarch round for PPC64.
6163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6164 multiarch roundf for PPC64.
6166 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6169 multiarch implementation.
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6178 multiarch llround for PPC64.
6179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6180 multiarch floor for PPC64.
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6182 multiarch floorf for PPC64.
6184 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6187 multiarch implementation.
6188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6196 multiarch llround for PPC64.
6197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6198 multiarch ceil for PPC64.
6199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6200 multiarch ceilf for PPC64.
6202 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6205 multiarch implementation.
6206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6213 multiarch llround for PPC64.
6214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6215 multiarch lround for PPC64.
6217 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6220 multiarch implementation.
6221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6228 multiarch isnan for PPC64.
6229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6230 multiarch isnanf for PPC64.
6232 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6234 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6235 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6236 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6237 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6238 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6241 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6243 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6244 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6248 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6251 multiarch implementations.
6252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6253 (__libc_ifunc_impl_list): Likewise.
6254 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6255 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6256 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6257 multiarch stpcpy for PPC64.
6259 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6262 multiarch implementations.
6263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6264 (__libc_ifunc_impl_list): Likewise.
6265 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6266 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6267 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6268 multiarch strcpy for PPC64.
6270 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6272 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6273 redefine function name.
6274 (_wordcopy_fwd_dest_aligned): Likewise.
6275 (_wordcopy_bwd_aligned): Likewise.
6276 (_wordcopy_bwd_dest_aligned): Likewise.
6277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6278 multiarch implementations.
6279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6280 (__libc_ifunc_impl_list): Likewise.
6281 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6282 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6283 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6285 multiarch wcscpy for PPC64.
6287 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6290 multiarch implementations.
6291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6292 (__libc_ifunc_impl_list): Likewise.
6293 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6295 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6296 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6297 multiarch wcscpy for PPC64.
6299 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6302 multiarch implementations.
6303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6304 (__libc_ifunc_impl_list): Likewise.
6305 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6306 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6307 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6308 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6309 multiarch wcsrchr for PPC64.
6311 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6314 multiarch implementations.
6315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6316 (__libc_ifunc_impl_list): Likewise.
6317 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6318 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6319 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6320 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6321 multiarch wcschr for PPC64.
6323 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6326 multiarch implementations.
6327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6328 (__libc_ifunc_impl_list): Likewise.
6329 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6330 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6331 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6332 multiarch strchrnul for PPC64.
6334 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6339 (__libc_ifunc_impl_list): Likewise.
6340 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6341 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6342 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6343 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6346 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6351 (__libc_ifunc_impl_list): Likewise.
6352 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6353 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6354 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6355 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6358 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6361 multiarch implementations.
6362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6363 (__libc_ifunc_impl_list): Likewise.
6364 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6365 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6366 strncasecmp for PPC64.
6367 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6368 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6369 multiarch strncasecmp_l for PPC64.
6371 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6374 multiarch implementations.
6375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6376 (__libc_ifunc_impl_list): Likewise.
6377 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6379 multiarch strcasecmp for PPC64.
6380 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6382 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6383 multiarch strcasecmp_l for PPC64.
6385 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6390 (__libc_ifunc_impl_list): Likewise.
6391 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6392 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6393 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6396 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6401 (__libc_ifunc_impl_list): Likewise.
6402 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6403 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6404 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6407 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6412 (__libc_ifunc_impl_list): Likewise.
6413 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6414 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6415 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6416 rawmemrchr for PPC64.
6418 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6423 (__libc_ifunc_impl_list): Likewise.
6424 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6425 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6426 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6429 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6434 (__libc_ifunc_impl_list): Likewise.
6435 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6437 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6440 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6445 (__libc_ifunc_impl_list): Likewise.
6446 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6447 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6448 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6451 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6453 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6454 avoid cretion of __bzero symbol.
6455 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6457 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6459 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6462 multiarch implementations.
6463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6464 (__libc_ifunc_impl_list): Likewise.
6465 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6466 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6467 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6468 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6470 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6471 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6472 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6473 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6474 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6476 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6478 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6484 (__libc_ifunc_impl_list): Likewise.
6485 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6487 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6488 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6491 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6494 multiarch for POWER/PPC64.
6495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6496 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6503 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6506 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6508 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6509 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6510 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6511 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6512 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6513 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6514 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6515 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6516 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6517 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6518 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6519 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6520 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6521 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6522 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6531 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6533 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6535 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6537 * benchtests/Makefile (bench): Add exp2 and log2.
6538 (LDLIBS-bench-exp2): Add -lm.
6539 (LDLIBS-bench-log2): Likewise.
6540 * benchtests/exp2-inputs: New inputs file.
6541 * benchtests/log2-inputs: New inputs file.
6542 * benchtests/log-inputs: Add new inputs.
6543 * benchtests/tan-inputs: Likewise.
6545 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6547 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6549 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6550 csloww1, csloww2): ... from here.
6552 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6553 instead of structures.
6554 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6555 (POLYNOMIAL): Likewise.
6556 (TAYLOR_SLOW): Likewise.
6564 (bsloww1): Likewise.
6565 (bsloww2): Likewise.
6568 (csloww1): Likewise.
6569 (csloww2): Likewise.
6571 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6573 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6574 (__malloc_assert, __libc_realloc, __libc_calloc,
6575 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6577 * malloc/hooks.c (realloc_check): Likewise.
6579 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6581 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6582 * malloc/arena.c: Remove PER_THREAD conditional.
6583 [!PER_THREAD]: Remove code.
6584 (ptmalloc_unlock_all2): Likewise.
6585 (ptmalloc_init): Likewise.
6586 (_int_new_arena): Likewise.
6587 (arena_get2): Likewise.
6588 * malloc/hooks.c (__malloc_get_state): Likewise.
6589 (__malloc_set_state): Likewise.
6590 * malloc/malloc.c: Likewise.
6591 (struct malloc_state): Likewise.
6592 (struct malloc_par): Likewise.
6593 (__libc_realloc): Likewise.
6594 (__libc_mallopt): Likewise.
6596 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6598 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6600 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6602 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6603 macro to a function. Check for zero perturb_byte.
6604 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6606 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6608 * malloc/malloc.c: (force_reg): Remove.
6609 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6610 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6611 force_reg by atomic_forced_read.
6612 * malloc/arena.c (ptmalloc_init): Likewise.
6613 * malloc/hooks.c (top_check): Likewise.
6615 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6619 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6623 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6625 * math/auto-libm-test-in: Add tests of lgamma.
6626 * math/auto-libm-test-out: Regenerated.
6627 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6628 (M_LOG_2_SQRT_PIl): Likewise.
6629 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6630 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6632 (func_calc_desc): Add mpfr_f_f1 union field.
6641 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6642 (test_functions): Add lgamma.
6643 (calc_generic_results): Handle mpfr_f_f1.
6644 * sysdeps/i386/fpu/libm-test-ulps: Update.
6645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6647 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6649 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6650 __mpn_add_n for PowerPC64/POWER7.
6651 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6652 __mpn_sub_n for PowerPC64/POWER7.
6654 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6656 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6657 __mpn_addmul_1 for PowerPC64.
6658 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6659 __mpn_submul_1 for PowerPC64.
6660 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6662 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6665 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6668 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6670 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6672 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6674 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6677 add multiarch folders.
6678 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6679 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6680 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6681 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6682 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6683 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6684 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6685 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6686 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6687 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6688 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6696 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6699 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6705 multiarch __ieee754_hypot for PowerPC32.
6706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6711 multiarch __ieee754_hypotf for PowerPC32.
6713 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6716 long_double_symbol only if __logbl is defined.
6717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6718 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6720 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6722 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6723 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6724 path for implementation.
6725 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6726 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6728 logb, and logbl multiarch implementations for PowerPC32.
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6734 multiarch logb for PowerPC32.
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6740 multiarch logbf for PowerPC32.
6741 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6745 multiarch logbl implementation for PowerPC32.
6747 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6750 and modff multiarch implementations.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6756 multiarch modf for PowerPC32.
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6762 multiarch modff for PowerPC32.
6764 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6767 and lrintf multiarch implementations.
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6773 multiarch lrint for PowerPC32.
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6775 file: multiarch lrintf for PowerPC32.
6777 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6780 and lroundf multiarch implementations.
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6788 multiarch lround for PowerPC32.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6790 file: multiarch lroundf for PowerPC32.
6792 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6795 copysign and copysignf multiarch implementations.
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6801 file: multiarch copysign for PowerPC32.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6803 file: multiarch copysignf for PowerPC32.
6805 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6808 and truncf multiarch implementations.
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6814 multiarch trunc for PowerPC32.
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6820 multiarch truncf for PowerPC32.
6822 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6825 and roundf multiarch implementations.
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6831 multiarch round for PowerPC32.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6837 multiarch roundf for PowerPC32.
6839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6842 and floorf multiarch implementations.
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6848 multiarch floor for PowerPC32.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6854 multiarch floorf for PowerPC32.
6856 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6859 and ceilf multiarch implementations.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6865 multiarch ceil for PowerPC32.
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6871 multiarch ceilf for PowerPC32.
6873 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6877 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6880 and finitef multiarch implementations.
6881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6886 multiarch finite for PowerPC32.
6887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6890 file: multiarch finitef for PowerPC32.
6892 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6895 and isinff multiarch implementations.
6896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6901 multiarch isinf for PowerPC32.
6902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6905 multiarch isinff for PowerPC32.
6907 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6910 alias when __isnan is defined.
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6912 and isnanf multiarch implementations.
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6922 multiarch isnan for PowerPC32.
6923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6928 multiarch isnanf for PowerPC32.
6930 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6933 and sqrtf multiarch implementations.
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6939 multiarch sqrt for PowerPC32.
6940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6945 multiarch sqrtf for PowerPC32.
6947 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6950 and llroundf multiarch implementations.
6951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6958 file: multiarch llround for PowerPC32.
6959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6960 file: multiarch llroundf for PowerPC32.
6962 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6965 multiarch PowerPC32 fpu implementations.
6966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6971 multiarch llrint for PowerPC32.
6972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6979 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6983 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6992 multiarch wordcopy for PPC32.
6993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6996 (__libc_ifunc_impl_list): Likewise.
6997 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6998 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7000 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7001 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7002 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7004 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7006 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7014 multiarch wcscpy for PPC32.
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7018 (__libc_ifunc_impl_list): Likewise.
7019 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7020 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7021 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7022 sysdeps/powerpc/power6/wcscpy.c.
7024 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7026 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7034 multiarch wcsrchr for PPC32.
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7038 (__libc_ifunc_impl_list): Likewise.
7039 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7040 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7041 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7042 sysdeps/powerpc/power6/wcsrchr.c.
7044 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7052 multiarch wcschr for PPc32.
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7056 (__libc_ifunc_impl_list): Likewise.
7057 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7058 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7059 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7060 sysdeps/powerpc/power6/wcschr.c.
7062 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7064 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7068 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7069 file: multiarch strchr for PPC32.
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7073 (__libc_ifunc_impl_list): Likewise.
7075 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7077 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7079 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7084 multiarch strchrnul for PPC32.
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7088 (__libc_ifunc_impl_list): Likewise.
7090 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7095 multiarch strncasecmp for PPC32.
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7099 multiarch strncasecmp_l for PPC32.
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7101 strncasecmp multiarch objects.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7103 (__libc_ifunc_impl_list): Likewise.
7105 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7110 multiarch strncasecmp for PPC32.
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7114 multiarch strcasecmp_l for PPC32.
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7118 (__libc_ifunc_impl_list): Likewise.
7120 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7122 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7124 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7126 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7127 multiarch strncmp for PPC32.
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7131 (__libc_ifunc_impl_list): Likewise.
7133 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7136 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7143 (__libc_ifunc_impl_list): Likewise.
7145 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7155 (__libc_ifunc_impl_list): Likewise.
7157 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7164 multiarch rawmemchr for PPC32.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7168 (__libc_ifunc_impl_list): Likewise.
7170 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7177 file: memrchr multiarch for PPC32.
7178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7181 (__libc_ifunc_impl_list): Likewise.
7183 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7185 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7188 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7190 multiarch memchr for PPC32.
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7194 (__libc_ifunc_impl_list): Likewise.
7196 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7198 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7204 file: multiarch mempcpy for PPC32.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7208 (__libc_ifunc_impl_list): Likewise.
7210 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7214 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7215 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7216 multiarch bzero for PPC32.
7217 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7219 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7221 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7222 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7223 file: multiarch memset for PPC32.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7226 memset multiarch objects.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7228 (__libc_ifunc_impl_list): Likewise.
7230 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7241 (__libc_ifunc_impl_list): Likewise.
7243 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7253 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7254 multiarch memcpy for PPC32.
7255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7258 (__libc_ifunc_impl_list): Likewise.
7260 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7263 support multiarch for POWER/PPC32.
7264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7268 Implies file to make multiarch folder appers before the fpu and
7269 default folder for power4 configuration.
7271 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7273 * scripts/bench.pl: Append volatile keyword to type.
7275 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7277 * sysdeps/sh/sotruss-lib.c: New file.
7278 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7280 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7284 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7287 * math/w_tgamma.c: Include <errno.h>.
7288 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7289 * math/w_tgammaf.c: Include <errno.h>.
7290 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7291 * math/w_tgammal.c: Include <errno.h>.
7292 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7293 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7294 underflow. Add more tgamma tests.
7295 * math/auto-libm-test-out: Regenerated.
7296 * sysdeps/i386/fpu/libm-test-ulps: Update.
7297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7299 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7300 sin, sinh, tan, tanh, tgamma, y0 and y1.
7301 * math/auto-libm-test-out: Regenerated.
7302 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7303 (TEST_COND_x86): Likewise.
7304 (M_E2l): Remove macro.
7306 (M_2_SQRT_PIl): Likewise.
7307 (M_SQRT_PIl): Likewise.
7308 (M_1_DIV_El): Likewise.
7309 (log_test_data): Use AUTO_TESTS_f_f.
7310 (log10_test_data): Likewise.
7311 (log1p_test_data): Likewise.
7312 (log2_test_data): Likewise.
7313 (sin_test_data): Likewise.
7314 (sin_tonearest_test_data): Likewise.
7315 (sin_towardzero_test_data): Likewise.
7316 (sin_downward_test_data): Likewise.
7317 (sin_upward_test_data): Likewise.
7318 (sinh_test_data): Likewise.
7319 (sinh_tonearest_test_data): Likewise.
7320 (sinh_towardzero_test_data): Likewise.
7321 (sinh_downward_test_data): Likewise.
7322 (sinh_upward_test_data): Likewise.
7323 (tan_test_data): Likewise.
7324 (tan_tonearest_test_data): Likewise.
7325 (tan_towardzero_test_data): Likewise.
7326 (tan_downward_test_data): Likewise.
7327 (tan_upward_test_data): Likewise.
7328 (tanh_test_data): Likewise.
7329 (tgamma_test_data): Likewise.
7330 (y0_test_data): Likewise.
7331 (y1_test_data): Likewise.
7332 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7333 (special_real_inputs): Add pi/4.
7334 * sysdeps/i386/fpu/libm-test-ulps: Update.
7335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7337 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7339 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7340 "longjmp_target" static probes.
7341 (__longjmp): Rename to __longjmp_symbol.
7342 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7343 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7344 on which longjmp to generate.
7345 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7346 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7348 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7349 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7350 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7351 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7352 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7353 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7355 __longjmp_symbol based on which __longjmp to generate.
7356 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7358 (setjmp): Rename to setjmp_symbol.
7359 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7360 (_setjmp): Rename to _setjmp_symbol.
7361 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7362 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7363 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7364 which setjmp to generate.
7365 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7366 "longjmp_target" static probes.
7368 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7370 * benchtests/README: Add note about output arguments.
7371 * benchtests/bench-sincos.c: Remove file.
7372 * benchtests/sincos-inputs: New file.
7373 * scripts/bench.pl: Identify output arguments and define
7374 static variables for them.
7376 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7379 * Makefile (INSTALL): Add install-plain.texi as the primary
7381 * manual/install-plain.texi: New file.
7382 * manual/install.texi: Include node directive only for
7383 non-plaintext output.
7385 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7387 * stdlib/longlong.h: Update from GCC.
7391 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7392 * math/w_j0f.c (y0f): Likewise.
7393 * math/w_j0l.c (__y0l): Likewise.
7394 * math/w_j1.c (y1): Likewise.
7395 * math/w_j1f.c (y1f): Likewise.
7396 * math/w_j1l.c (__y1l): Likewise
7397 * math/w_jn.c (yn): Likewise.
7398 * math/w_jnf.c (ynf): Likewise.
7399 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7400 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7401 value for Bessel function domain errors outside _SVID_ mode.
7402 Adjust sign of return value for yn (negative integer, 0).
7403 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7404 by zero in return for negative x and set sign appropriately for
7406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7407 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7408 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7409 expectations in error cases.
7410 (y1_test_data): Likewise.
7411 (yn_test_data): Likewise.
7412 * sysdeps/i386/fpu/libm-test-ulps: Update.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7415 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7417 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7418 "64" to "64-v1". Add "64-v2".
7419 (abi-64-options): Rename to ...
7420 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7421 (abi-64-condition): Rename to ...
7422 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7423 (abi-64-ld-soname): Rename to ...
7424 (abi-64-v1-ld-soname): ... this.
7425 (abi-64-v2-options): Define.
7426 (abi-64-v2-condition): Likewise.
7427 (abi-64-v2-ld-soname): Likewise.
7428 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7429 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7434 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7435 Alan Modra <amodra@gmail.com>
7437 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7438 New versions for use with the ELFv2 ABI.
7439 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7440 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7442 (struct La_ppc64v2_retval): Likewise.
7443 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7444 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7445 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7446 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7447 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7448 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7449 Do not save or restore CR.
7450 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7451 (_dl_profile_resolve): Do no save or restore CR. Support extended
7452 return values for ELFv2 ABI. Fix location of FPR return registers.
7453 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7454 updated values for _CALL_ELF == 2.
7455 (La_regs, La_retval, int_retval): Likewise.
7457 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7459 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7460 (FRAME_MIN_SIZE_PARM): Likewise.
7461 (FRAME_BACKCHAIN): Likewise.
7462 (FRAME_CR_SAVE): Likewise.
7463 (FRAME_LR_SAVE): Likewise.
7464 (FRAME_TOC_SAVE): Likewise.
7465 (FRAME_PARM_SAVE): Likewise.
7466 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7467 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7468 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7469 (call_mcount_parm_offset): New macro.
7470 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7471 (PROF): Use symbolic stack frame offsets.
7472 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7473 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7474 Redefine in terms of FRAME_MIN_SIZE.
7475 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7476 (_dl_profile_resolve): Likewise. Update comment.
7477 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7478 symbols stack frame offsets.
7479 (__sigsetjmp): Likewise.
7480 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7481 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7482 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7483 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7486 (FRAME_BACKCHAIN): Remove.
7487 (FRAME_CR_SAVE): Likewise.
7488 (FRAME_LR_SAVE): Likewise.
7489 (FRAME_COMPILER_DW): Likewise.
7490 (FRAME_LINKER_DW): Likewise.
7491 (FRAME_TOC_SAVE): Likewise.
7492 (FRAME_PARM_SAVE): Likewise.
7493 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7494 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7495 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7497 (CHECK_SP): Use symbolic stack frame offsets.
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7499 zone" instead of caller's parameter save area for temp storage.
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7501 Likewise. Also, use symbolic stack frame offsets.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7503 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7504 our own stack frame instead of the caller's.
7505 (__socket): Use symbolic stack frame offsets.
7507 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7508 Alan Modra <amodra@gmail.com>
7510 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7512 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7513 PPC64_LOCAL_ENTRY_OFFSET): Define.
7514 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7516 (elf_machine_fixup_plt): Call it.
7517 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7519 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7520 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7521 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7522 r2 before calling target.
7524 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7525 Alan Modra <amodra@gmail.com>
7527 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7528 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7529 versions of macros to support ELFv2 ABI.
7530 (LOCALENTRY): New macro.
7531 (ENTRY, EALIGN): Use it.
7532 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7533 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7534 fall through into ENTRY entry point.
7535 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7536 Only define if _CALL_ELF != 2.
7538 (elf_machine_matches_host): Verify ABI version matches.
7539 (RTLD_START): Use LOCALENTRY.
7540 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7541 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7542 (PLT_ENTRY_WORDS): New macro.
7543 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7544 (elf_machine_runtime_setup): Support ELFv2 ABI.
7545 (elf_machine_fixup_plt): Likewise.
7546 (elf_machine_plt_conflict): Likewise.
7547 (resolve_ifunc): Likewise.
7548 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7549 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7552 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7554 (makecontext): Support ELFv2 ABI.
7555 * elf/elf.h (EF_PPC64_ABI): Define.
7557 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7559 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7560 New assembler macro.
7561 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7562 [ASSEMBLER] (ENTRY): ... but instead here ...
7563 [ASSEMBLER] (EALIGN): ... and here.
7564 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7565 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7566 [!ASSEMBLER] (ENTRY_2): Use it.
7567 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7568 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7569 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7570 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7571 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7573 Use PPC64_LOAD_FUNCPTR.
7575 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7577 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7579 2013-12-04 Alan Modra <amodra@gmail.com>
7581 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7582 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7583 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7584 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7587 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7588 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7589 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7590 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7591 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7593 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7596 (__makecontext): Fix incorrect CFI when backtracing out of
7597 context created via makecontext.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7599 (__setcontext): Fix incorrect CFI during switch to new context.
7600 (__novec_setcontext): Likewise.
7602 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7605 * time/strptime_l.c (__strptime_internal): Allow modifiers
7607 * time/tst-strptime.c (day_tests): Add testcase.
7610 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7612 * scripts/bench.pl: Skip over blank lines.
7614 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7617 * manual/time.texi (Calendar Time): Clarify what timezone functions
7620 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7624 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7626 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7628 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7629 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7630 * debug/memset_chk.c (__memset_chk): Likewise.
7631 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7632 * debug/strncpy_chk.c: Likewise.
7634 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7638 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7639 (__ieee754_exp): For possibly underflowing results, check size of
7640 result and force underflow exception if required.
7641 * math/auto-libm-test-in: Add more tests of exp.
7642 * math/auto-libm-test-out: Regenerated.
7643 * sysdeps/i386/fpu/libm-test-ulps: Update.
7644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7647 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7648 * math/w_exp2f.c (__exp2f): Likewise.
7649 * math/w_exp2l.c (__exp2l): Likewise.
7650 * math/auto-libm-test-in: Do not allow missing errno on exp2
7652 * math/auto-libm-test-out: Regenerated.
7654 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7657 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7658 handle filename validation.
7659 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7662 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7665 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7666 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7667 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7669 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7670 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7671 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7673 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7674 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7675 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7676 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7677 Add more erfc tests.
7678 * math/auto-libm-test-out: Regenerated.
7679 * sysdeps/i386/fpu/libm-test-ulps: Update.
7680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7682 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7683 exp2, expm1, j0 and j1.
7684 * math/auto-libm-test-out: Regenerated.
7685 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7686 (erfc_test_data): Likewise.
7687 (exp_test_data): Likewise.
7688 (exp_tonearest_test_data): Likewise.
7689 (exp_towardzero_test_data): Likewise.
7690 (exp_downward_test_data): Likewise.
7691 (exp_upward_test_data): Likewise.
7692 (exp10_test_data): Likewise.
7693 (exp2_test_data): Likewise.
7694 (expm1_test_data): Likewise.
7695 (j0_test_data): Likewise.
7696 (j1_test_data): Likewise.
7697 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7698 (input_flag_type): Add flag_xfail_rounding.
7699 (input_flags): Add xfail-rounding.
7700 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7701 (output_for_one_input_case): Handle flag_xfail_rounding.
7702 * sysdeps/i386/fpu/libm-test-ulps: Update.
7703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7705 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7708 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7711 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7714 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7715 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7716 (STAP_PROBE0): New macro.
7717 (STAP_PROBE1): Likewise.
7718 (STAP_PROBE2): Likewise.
7719 (STAP_PROBE3): Likewise.
7720 (STAP_PROBE4): Likewise.
7722 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7724 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7726 2013-12-02 Steve Ellcey <sellcey@mips.com>
7728 * benchtests/Makefile (bench): Add sqrt.
7729 (LDLIBS-bench-sqrt): New.
7730 * benchtests/sqrt-input: New.
7732 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7734 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7735 (GAIH_EAI): Likewise.
7736 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7737 (gaih_inet): Likewise.
7738 (getaddrinfo): Don't use GAIH_EAI.
7740 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7741 (struct gaih): Remove definition.
7743 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7745 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7746 Use HERRNOP directly.
7748 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7752 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7754 * math/gen-auto-libm-tests.c (test_functions): Add more
7755 single-argument functions.
7756 (special_fill_pi_2): New function.
7757 (special_fill_minus_pi_2): Likewise.
7758 (special_fill_pi_6): Likewise.
7759 (special_fill_minus_pi_6): Likewise.
7760 (special_fill_pi_3): Likewise.
7761 (special_fill_2pi_3): Likewise.
7762 (special_fill_e): Likewise.
7763 (special_fill_1_e): Likewise.
7764 (special_fill_e_minus_1): Likewise.
7765 (special_real_inputs): Add more special inputs.
7766 (output_for_one_input_case): Do not require ERANGE on underflow to
7767 zero if round-to-nearest result does not underflow to zero, unless
7768 exact results required.
7769 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7770 atan, atanh, cbrt, cos and cosh.
7771 * math/auto-libm-test-out: Regenerated.
7772 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7773 (acos_tonearest_test_data): Likewise.
7774 (acos_towardzero_test_data): Likewise.
7775 (acos_downward_test_data): Likewise.
7776 (acos_upward_test_data): Likewise.
7777 (acosh_test_data): Likewise.
7778 (asin_test_data): Likewise.
7779 (asin_tonearest_test_data): Likewise.
7780 (asin_towardzero_test_data): Likewise.
7781 (asin_upward_test_data): Likewise.
7782 (asinh_test_data): Likewise.
7783 (atan_test_data): Likewise.
7784 (atanh_test_data): Likewise.
7785 (cbrt_test_data): Likewise.
7786 (cos_test_data): Likewise.
7787 (cos_tonearest_test_data): Likewise.
7788 (cos_towardzero_test_data): Likewise.
7789 (cos_downward_test_data): Likewise.
7790 (cos_upward_test_data): Likewise.
7791 (cosh_test_data): Likewise.
7792 (cosh_tonearest_test_data): Likewise.
7793 (cosh_towardzero_test_data): Likewise.
7794 (cosh_downward_test_data): Likewise.
7795 (cosh_upward_test_data): Likewise.
7796 * sysdeps/i386/fpu/libm-test-ulps: Update.
7797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7799 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7802 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7803 * math/w_exp10f.c (__exp10f): Likewise.
7804 * math/w_exp10l.c (__exp10l): Likewise.
7805 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7806 errno settings in existing tests.
7809 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7810 precision control set to double precision.
7811 * sysdeps/i386/fpu/w_sqrt.c: New file.
7812 * math/auto-libm-test-in: Add more tests.
7813 * math/auto-libm-test-out: Update.
7815 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7816 (sqrt_test_tonearest): New function.
7817 (sqrt_towardzero_test_data): New variable.
7818 (sqrt_test_towardzero): New function.
7819 (sqrt_downward_test_data): New variable.
7820 (sqrt_test_downward): New function.
7821 (sqrt_upward_test_data): New variable.
7822 (sqrt_test_upward): New function.
7823 (main): Call the new functions.
7825 * math/gen-auto-libm-tests.c: New file.
7826 * math/auto-libm-test-in: Likewise.
7827 * math/auto-libm-test-out: New generated file.
7828 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7830 (%beautify): Add generated representations of zero.
7831 (top level): Set $auto_input and call parse_auto_input.
7832 (beautify): Remove trailing "f" from hex float constants.
7833 (parse_args): Handle XFAIL_TEST.
7834 (convert_condition): New function.
7835 (or_value): Likewise.
7836 (or_cond_value): Likewise.
7837 (generate_testfile): Handle AUTO_TESTS_* lines.
7838 (parse_auto_input): New function.
7839 * math/libm-test.inc (XFAIL_TEST): New macro.
7840 (ERRNO_UNCHANGED): Update value.
7841 (ERRNO_EDOM): Likewise.
7842 (ERRNO_ERANGE): Likewise.
7843 (IGNORE_RESULT): Likewise.
7844 (TEST_COND_flt_32): New macro.
7845 (TEST_COND_dbl_64): Likewise.
7846 (TEST_COND_ldbl_96_intel): Likewise.
7847 (TEST_COND_ldbl_96_m68k): Likewise.
7848 (TEST_COND_ldbl_128): Likewise.
7849 (TEST_COND_ldbl_128ibm): Likewise.
7850 (TEST_COND_long32): Likewise.
7851 (TEST_COND_long64): Likewise.
7852 (TEST_COND_before_rounding): Likewise.
7853 (TEST_COND_after_rounding): Likewise.
7854 (enable_test): Handle XFAIL_TEST flag.
7855 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7856 with finite results.
7857 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7860 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7861 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7864 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7865 __tls_get_addr_internal instead of __tls_get_offset in order to
7866 avoid GOT pointer dependency. Make rtld export
7867 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7868 __tls_get_addr since we are a __tls_get_offset platform.
7869 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7870 GOT pointer being set up before.
7871 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7873 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7875 * manual/math.texi (Errors in Math Functions): Document accuracy
7879 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7880 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7883 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7885 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7896 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7897 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7898 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7899 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7900 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7902 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7904 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7906 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7907 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7908 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7909 atomic-feupdateenv and flt-rounds.
7910 * sysdeps/powerpc/nofpu/Versions (libc): Add
7911 __atomic_feholdexcept, __atomic_feclearexcept,
7912 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7913 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7914 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7915 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7916 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7921 * manual/arith.texi (FP Exceptions): Document that exceptions may
7922 not be raised when matherr is used.
7923 (Math Error Reporting): Document overflow in directed rounding
7924 modes. Document that errno may not be set when finite values are
7925 returned on overflow. Document intent to set errno on underflow
7926 only for underflow to zero.
7929 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7930 round-to-nearest then adjust result for other rounding modes.
7931 * include/fenv.h (fegetround): Use libm_hidden_proto.
7932 * math/fegetround.c (fegetround): Use libm_hidden_def.
7933 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7934 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7935 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7936 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7938 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7939 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7940 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7941 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7943 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7946 * nss/Versions (libnss_files): Add
7947 _nss_files_gethostbyname3_r.
7948 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7950 (HOST_DB_LOOKUP): Remove macro.
7951 (_nss_files_gethostbyname_r): Implement function without the
7952 HOST_DB_LOOKUP macro.
7953 (_nss_files_gethostbyname2_r): Likewise.
7955 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7957 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7959 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7961 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7962 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7965 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7967 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7968 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7969 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7970 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7971 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7972 __fe_nomask_env_priv and attribute_hidden.
7973 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7974 (libc_feupdateenv_test_ppc): Likewise.
7975 (libc_feresetround_ppc): Likewise.
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7977 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7978 compat_symbol macro.
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7980 (__fe_nomask_env): Likewise.
7981 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7983 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7985 * string/Makefile: Remove ifunc tests.
7986 * string/test-string.h: Define TEST_IFUNC.
7987 * string/test-bcopy-ifunc.c: Remove.
7988 * string/test-bzero-ifunc.c: Likewise.
7989 * string/test-memccpy-ifunc.c: Likewise.
7990 * string/test-memchr-ifunc.c: Likewise.
7991 * string/test-memcmp-ifunc.c: Likewise.
7992 * string/test-memcpy-ifunc.c: Likewise.
7993 * string/test-memmem-ifunc.c: Likewise.
7994 * string/test-memmove-ifunc.c: Likewise.
7995 * string/test-mempcpy-ifunc.c: Likewise.
7996 * string/test-memrchr-ifunc.c: Likewise.
7997 * string/test-memset-ifunc.c: Likewise.
7998 * string/test-rawmemchr-ifunc.c: Likewise.
7999 * string/test-stpcpy-ifunc.c: Likewise.
8000 * string/test-stpncpy-ifunc.c: Likewise.
8001 * string/test-strcasecmp-ifunc.c: Likewise.
8002 * string/test-strcasestr-ifunc.c: Likewise.
8003 * string/test-strcat-ifunc.c: Likewise.
8004 * string/test-strchr-ifunc.c: Likewise.
8005 * string/test-strchrnul-ifunc.c: Likewise.
8006 * string/test-strcmp-ifunc.c: Likewise.
8007 * string/test-strcpy-ifunc.c: Likewise.
8008 * string/test-strcspn-ifunc.c: Likewise.
8009 * string/test-strlen-ifunc.c: Likewise.
8010 * string/test-strncasecmp-ifunc.c: Likewise.
8011 * string/test-strncat-ifunc.c: Likewise.
8012 * string/test-strncmp-ifunc.c: Likewise.
8013 * string/test-strncpy-ifunc.c: Likewise.
8014 * string/test-strnlen-ifunc.c: Likewise.
8015 * string/test-strpbrk-ifunc.c: Likewise.
8016 * string/test-strrchr-ifunc.c: Likewise.
8017 * string/test-strspn-ifunc.c: Likewise.
8018 * string/test-strstr-ifunc.c: Likewise.
8020 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8022 * benchtests/Makefile: Remove ifunc tests.
8023 * benchtests/bench-string.h: Define TEST_IFUNC.
8024 * benchtests/bench-bcopy-ifunc.c: Remove.
8025 * benchtests/bench-bzero-ifunc.c: Likewise.
8026 * benchtests/bench-memccpy-ifunc.c: Likewise.
8027 * benchtests/bench-memchr-ifunc.c: Likewise.
8028 * benchtests/bench-memcmp-ifunc.c: Likewise.
8029 * benchtests/bench-memcpy-ifunc.c: Likewise.
8030 * benchtests/bench-memmem-ifunc.c: Likewise.
8031 * benchtests/bench-memmove-ifunc.c: Likewise.
8032 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8033 * benchtests/bench-memrchr-ifunc.c: Likewise.
8034 * benchtests/bench-memset-ifunc.c: Likewise.
8035 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8036 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8037 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8038 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8039 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8040 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8041 * benchtests/bench-strcat-ifunc.c: Likewise.
8042 * benchtests/bench-strchr-ifunc.c: Likewise.
8043 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8044 * benchtests/bench-strcmp-ifunc.c: Likewise.
8045 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8046 * benchtests/bench-strcpy-ifunc.c: Likewise.
8047 * benchtests/bench-strcspn-ifunc.c: Likewise.
8048 * benchtests/bench-strlen-ifunc.c: Likewise.
8049 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8050 * benchtests/bench-strncat-ifunc.c: Likewise.
8051 * benchtests/bench-strncmp-ifunc.c: Likewise.
8052 * benchtests/bench-strncpy-ifunc.c: Likewise.
8053 * benchtests/bench-strnlen-ifunc.c: Likewise.
8054 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8055 * benchtests/bench-strrchr-ifunc.c: Likewise.
8056 * benchtests/bench-strsep-ifunc.c: Likewise.
8057 * benchtests/bench-strspn-ifunc.c: Likewise.
8058 * benchtests/bench-strstr-ifunc.c: Likewise.
8060 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8062 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8064 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8066 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8067 * rt/aio.h: Likewise.
8068 * sysdeps/gnu/bits/utmp.h: Likewise.
8069 * sysdeps/gnu/bits/utmpx.h: Likewise.
8070 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8071 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8072 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8073 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8074 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8075 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8076 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8077 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8078 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8080 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8081 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8082 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8084 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8085 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8086 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8087 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8088 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8089 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8090 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8091 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8092 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8093 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8094 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8096 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8097 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8098 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8099 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8100 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8101 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8102 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8103 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8104 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8105 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8106 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8107 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8108 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8109 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8110 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8111 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8113 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8116 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8117 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8119 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8121 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8122 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8125 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8128 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8129 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8130 (__fesetround): Remove define.
8131 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8132 rounding and exceptions handling.
8133 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8134 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8135 (__fe_nomask_env): Likewise.
8136 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8137 __fegetround instead of fegetround.
8138 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8139 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8141 2013-11-21 Roland McGrath <roland@hack.frob.com>
8143 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8146 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8148 2013-11-21 Meador Inge <meadori@codesourcery.com>
8151 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8152 (encrypt_r): Likewise.
8153 * malloc/obstack.h (obstack_free): Likewise.
8154 * posix/unistd.h (encrypt): Likewise.
8156 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8158 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8159 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8160 DL_CALL_DT_FINI() that call the functions directly.
8161 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8162 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8163 * elf/dl-fini.c: Likewise.
8165 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8167 * malloc/hooks.c (memalign_check): Add alignment rounding.
8168 * malloc/malloc.c (_mid_memalign): New function.
8169 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8170 Implement by calling _mid_memalign.
8171 * manual/probes.texi (Memory Allocation Probes): Remove
8172 memory_valloc_retry and memory_pvalloc_retry.
8174 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8176 * locale/programs/locarchive.c (open_archive): Add const
8177 qualifier to ARCHIVEFNAME and copy default fname to
8181 * libio/tst-widetext.input: Rename Oriya to Odia.
8182 * locale/iso-639.def: Likewise.
8184 * manual/probes.texi (Mathematical Function Probes): Add
8185 documentation for sin, cos, asin and acos probes.
8186 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8187 (__sin32): Add slowasin probe.
8188 (__cos32): Add slowacos probe.
8189 (__mpsin): Add slowsin probe.
8190 (__mpcos): Add slowcos probe.
8192 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8195 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8196 thread-local __sim_exceptions_thread and global
8197 __sim_exceptions_global.
8198 (__sim_disabled_exceptions): Change to thread-local
8199 __sim_disabled_exceptions_thread and global
8200 __sim_disabled_exceptions_global.
8201 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8202 and global __sim_round_mode_global.
8203 (__simulate_exceptions): Use thread-local floating-point state and
8204 set global state from it as needed.
8205 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8206 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8207 __sim_round_mode_thread.
8208 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8209 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8210 and global __sim_exceptions_global.
8211 (__sim_disabled_exceptions): Change to thread-local
8212 __sim_disabled_exceptions_thread and global
8213 __sim_disabled_exceptions_global.
8214 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8215 and global __sim_round_mode_global.
8216 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8217 (SIM_SET_GLOBAL): Likewise.
8218 * sysdeps/powerpc/soft-fp/sfp-machine.h
8219 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8220 __sim_round_mode_thread.
8221 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8222 __sim_disabled_exceptions_thread.
8223 (__sim_exceptions): Change to __sim_exceptions_thread.
8224 (__sim_disabled_exceptions): Change to
8225 __sim_disabled_exceptions_thread.
8226 (__sim_round_mode): Change to __sim_round_mode_thread.
8227 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8228 thread-local floating-point state and set global state from it as
8230 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8231 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8232 (__sim_disabled_exceptions): Remove extern declaration.
8233 (feenableexcept): Use thread-local floating-point state and set
8234 global state from it as needed.
8235 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8237 (__sim_disabled_exceptions): Likewise.
8238 (__sim_round_mode): Likewise.
8239 (__fegetenv): Use thread-local floating-point state.
8240 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8241 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8242 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8243 floating-point state and set global state from it as needed.
8244 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8245 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8246 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8248 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8249 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8251 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8252 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8253 Use __sim_round_mode_thread.
8254 * math/test-fenv-tls.c: New file.
8255 * math/Makefile (tests): Add test-fenv-tls.
8256 ($(objpfx)test-fenv-tls): Depend on
8257 $(common-objpfx)nptl/libpthread.so.
8259 2013-11-19 Andreas Schwab <schwab@suse.de>
8261 * locale/programs/locale.c (show_info): Decode wordarray elements.
8262 * locale/categories.def (LC_MONETARY): Add element for
8263 _NL_MONETARY_CRNCYSTR.
8264 * locale/C-monetary.c (conversion_rate): New variable.
8265 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8268 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8270 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8271 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8273 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8275 * elf/Makefile (tst-auxv): New test.
8276 * elf/tst-auxv.c: New
8277 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8279 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8281 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8282 (hidden_proto): Caller changed.
8283 (hidden_tls_proto): New macro.
8284 (libc_hidden_tls_proto): Likewise.
8285 (rtld_hidden_tls_proto): Likewise.
8286 (libm_hidden_tls_proto): Likewise.
8287 (libresolv_hidden_tls_proto): Likewise.
8288 (librt_hidden_tls_proto): Likewise.
8289 (libdl_hidden_tls_proto): Likewise.
8290 (libnss_files_hidden_tls_proto): Likewise.
8291 (libnsl_hidden_tls_proto): Likewise.
8292 (libnss_nisplus_hidden_tls_proto): Likewise.
8293 (libutil_hidden_tls_proto): Likewise.
8295 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8298 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8299 (decompose_rpath): Defer expansion to fillin_rpath.
8300 (_dl_init_paths): Pass linkmap to fillin_rpath.
8302 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8304 * benchtests/Makefile: Add strsep.
8305 * benchtests/bench-strsep.c: New file: strsep benchtest.
8306 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8308 2013-11-18 Andreas Schwab <schwab@suse.de>
8310 * locale/programs/locale.c (show_info) [case byte]: Check for
8311 '\377' instead of '\177'.
8312 * locale/C-monetary.c (not_available): Always use "\377".
8313 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8314 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8315 detect unavailable sign_posn locale elements.
8316 * locale/localeconv.c (__localeconv): For grouping and
8317 mon_grouping handle "\177" and "\377" like no grouping.
8318 (INT_ELEM): New macro. Use it to set all numeric members.
8319 * locale/programs/ld-monetary.c (monetary_read)
8320 <tok_mon_grouping>: Normalize single -1 to the empty string.
8321 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8324 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8327 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8328 when we match (nil).
8329 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8331 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8333 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8334 (NO_TEST_INLINE): Update value.
8335 (ERRNO_UNCHANGED): Likewise.
8336 (ERRNO_EDOM): Likewise.
8337 (ERRNO_ERANGE): Likewise.
8338 (IGNORE_RESULT): Likewise.
8339 (check_float_internal): Check signs of NaN results if
8341 (check_complex): Pass TEST_NAN_SIGN flag through to second
8342 check_float_internal call.
8343 (copysign_test_data): Add tests with quiet NaNs as second
8344 argument. Use TEST_NAN_SIGN.
8345 (fabs_test_data): Add test of negative quiet NaN argument. Use
8347 (signbit_test_data): Add tests of quiet NaN argument.
8348 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8350 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8352 (parse_args): Handle function results specified as IGNORE.
8353 * math/libm-test.inc (IGNORE_RESULT): New macro.
8354 (check_float_internal): Do not check numerical result if flag
8356 (check_complex): Pass through IGNORE_RESULT to second
8357 check_float_internal call.
8358 (check_int): Do not check numerical result if flag IGNORE_RESULT
8360 (check_long): Likewise.
8361 (check_bool): Likewise.
8362 (check_longlong): Likewise.
8363 (lrint_test_data): Add tests of infinite and NaN arguments.
8364 (lrint_tonearest_test_data): Likewise.
8365 (lrint_towardzero_test_data): Likewise.
8366 (lrint_downward_test_data): Likewise.
8367 (lrint_upward_test_data): Likewise.
8368 (llrint_test_data): Likewise.
8369 (llrint_tonearest_test_data): Likewise.
8370 (llrint_towardzero_test_data): Likewise.
8371 (llrint_downward_test_data): Likewise.
8372 (llrint_upward_test_data): Likewise.
8373 (lround_test_data): Likewise.
8374 (llround_test_data): Likewise.
8376 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8377 (ERRNO_UNCHANGED): Update value.
8378 (ERRNO_EDOM): Likewise.
8379 (ERRNO_ERANGE): Likewise.
8380 (NO_TEST_INLINE_FLOAT): New macro.
8381 (NO_TEST_INLINE_DOUBLE): Likewise.
8382 (enable_test): New function.
8383 (RUN_TEST_f_f): Check enable_test before running test.
8384 (RUN_TEST_2_f): Likewise.
8385 (RUN_TEST_fff_f): Likewise.
8386 (RUN_TEST_c_f): Likewise.
8387 (RUN_TEST_f_f1): Likewise.
8388 (RUN_TEST_fF_f1): Likewise.
8389 (RUN_TEST_fI_f1): Likewise.
8390 (RUN_TEST_ffI_f1): Likewise.
8391 (RUN_TEST_c_c): Likewise.
8392 (RUN_TEST_cc_c): Likewise.
8393 (RUN_TEST_f_i): Likewise.
8394 (RUN_TEST_f_i_tg): Likewise.
8395 (RUN_TEST_ff_i_tg): Likewise.
8396 (RUN_TEST_f_b): Likewise.
8397 (RUN_TEST_f_b_tg): Likewise.
8398 (RUN_TEST_f_l): Likewise.
8399 (RUN_TEST_f_L): Likewise.
8400 (RUN_TEST_fFF_11): Likewise.
8401 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8403 (cosh_test_data): Likewise.
8404 (exp_test_data): Likewise.
8405 (expm1_test_data): Likewise.
8406 (hypot_test_data): Likewise.
8407 (pow_test_data): Likewise.
8408 (sinh_test_data): Likewise.
8409 (tanh_test_data): Likewise.
8410 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8413 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8414 tests with quiet NaN input and output.
8415 (acosh_test_data): Likewise.
8416 (asin_test_data): Likewise.
8417 (asinh_test_data): Likewise.
8418 (atan_test_data): Likewise.
8419 (atanh_test_data): Likewise.
8420 (atan2_test_data): Likewise.
8421 (cbrt_test_data): Likewise.
8422 (cos_test_data): Likewise.
8423 (cosh_test_data): Likewise.
8424 (erf_test_data): Likewise.
8425 (erfc_test_data): Likewise.
8426 (exp_test_data): Likewise.
8427 (exp10_test_data): Likewise.
8428 (exp2_test_data): Likewise.
8429 (expm1_test_data): Likewise.
8430 (hypot_test_data): Likewise.
8431 (j0_test_data): Likewise.
8432 (j1_test_data): Likewise.
8433 (jn_test_data): Likewise.
8434 (lgamma_test_data): Likewise.
8435 (log_test_data): Likewise.
8436 (log10_test_data): Likewise.
8437 (log1p_test_data): Likewise.
8438 (log2_test_data): Likewise.
8439 (pow_test_data): Likewise.
8440 (scalb_test_data): Likewise.
8441 (sin_test_data): Likewise.
8442 (sincos_test_data): Likewise.
8443 (sinh_test_data): Likewise.
8444 (tan_test_data): Likewise.
8445 (tanh_test_data): Likewise.
8446 (tgamma_test_data): Likewise.
8447 (y0_test_data): Likewise.
8448 (y1_test_data): Likewise.
8449 (yn_test_data): Likewise.
8452 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8453 argument being NaN and avoid computations with second argument in
8455 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8456 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8457 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8459 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8461 * locale/iso-639.def: Add Chitwani Tharu (the).
8463 2013-11-14 Andreas Schwab <schwab@suse.de>
8465 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8466 word instead of empty string.
8468 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8471 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8473 (__fe_nomask_env): Likewise.
8475 2013-11-13 Steve Ellcey <sellcey@mips.com>
8477 * benchtests/bench-timing.h: Include time.h.
8479 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8482 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8484 * sysdeps/unix/sysv/linux/configure: Regenerated.
8486 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8489 * stdlib/strtod_l.c (round_and_return): Do not consider
8490 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8491 exponent one less than half the least subnormal exponent.
8492 * stdlib/test-strtod-round-data: Add more tests.
8493 * stdlib/tst-strtod-round.c (tests): Regenerated.
8495 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8498 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8499 (__fe_mask_env): Likewise.
8500 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8501 libm_hidden_proto and add function prototype.
8502 (__fe_mask_env): Add function prototype.
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8504 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8506 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8508 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8510 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8512 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8513 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8515 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8517 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8518 of htab_find_slot().
8520 2013-11-11 David S. Miller <davem@davemloft.net>
8523 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8524 symbol in the non-vis3 case in static builds.
8525 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8526 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8527 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8528 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8530 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8533 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8536 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8538 * benchtests/Makefile: Add bench-strtod.
8539 * benchtests/bench-strtod.c: New file: strtod benchtest
8541 2013-11-11 Andreas Schwab <schwab@suse.de>
8544 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8545 terminating NUL in key length.
8547 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8549 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8550 Add artificial ODP entry for vDSO symbol for PPC64.
8551 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8552 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8554 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8557 * nss/getent.c (services_keys): Recognize services starting with digit.
8559 2013-11-06 David S. Miller <davem@davemloft.net>
8562 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8563 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8565 2013-11-06 Will Newton <will.newton@linaro.org>
8567 * manual/memory.texi (Malloc Examples): Remove register
8568 keyword from examples.
8570 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8572 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8574 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8577 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8578 depending on [__GCC_IEC_559 > 0].
8579 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8580 depending on [__GCC_IEC_559_COMPLEX > 0].
8582 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8584 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8587 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8589 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8591 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8594 * malloc/malloc (malloc_info): Do not handle first bin as
8597 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8599 * locale/iso-639.def: Add Central Nahuatl (nhn).
8601 2013-11-01 Bruno Haible <bruno@clisp.org>
8604 * manual/math.texi (BSD Random): Specify range upper bound as
8607 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8609 * locale/iso-639.def: Add Meadow Mari (mhr).
8611 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8613 [BZ #14752], [BZ #15763]
8614 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8616 * rt/tst_shm.c: Add test for escaping directory.
8618 2013-10-31 Andreas Schwab <schwab@suse.de>
8621 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8622 followed by 'x' as part of digit sequence.
8623 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8625 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8628 * configure.ac: allow GNU Make 4.0 and greater.
8629 * configure: Regenerated.
8631 2013-10-30 Will Newton <will.newton@linaro.org>
8634 * malloc/hooks.c (memalign_check): Limit alignment to the
8635 maximum representable power of two.
8636 * malloc/malloc.c (__libc_memalign): Likewise.
8637 * malloc/tst-memalign.c (do_test): Add test for very
8638 large alignment values.
8639 * malloc/tst-posix_memalign.c (do_test): Likewise.
8641 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8644 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8645 (munmap_chunk): Likewise.
8646 (mremap_chunk): Likewise.
8648 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8651 * stdlib/div.c (div): Remove obsolete code.
8652 * stdlib/ldiv.c (ldiv): Likewise.
8653 * stdlib/lldiv.c (lldiv): Likewise.
8655 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8658 * nss/nss_files/files-XXX.c (get_contents_ret): New
8660 (get_contents): New function.
8661 (internal_getent): Use it. Expand size of LINEBUFLEN.
8663 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8665 * configure.in: Moved to ...
8666 * configure.ac: ... here. Change reference to configure.in
8668 * sysdeps/arm/preconfigure.ac: ... here.
8669 configure.in to configure.ac.
8670 * sysdeps/gnu/configure.in: Moved to ...
8671 * sysdeps/gnu/configure.ac: ... here.
8672 * sysdeps/i386/configure.in: Moved to ...
8673 * sysdeps/i386/configure.ac: ... here.
8674 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8675 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8676 * sysdeps/mach/configure.in: Moved to ...
8677 * sysdeps/mach/configure.ac: ... here.
8678 * sysdeps/mach/hurd/configure.in: Moved to ...
8679 * sysdeps/mach/hurd/configure.ac: ... here.
8680 * sysdeps/powerpc/configure.in: Moved to ...
8681 * sysdeps/powerpc/configure.ac: ... here.
8682 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8683 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8684 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8685 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8686 * sysdeps/s390/s390-32/configure.in: Moved to ...
8687 * sysdeps/s390/s390-32/configure.ac: ... here.
8688 * sysdeps/s390/s390-64/configure.in: Moved to ...
8689 * sysdeps/s390/s390-64/configure.ac: ... here.
8690 * sysdeps/sh/configure.in: Moved to ...
8691 * sysdeps/sh/configure.ac: ... here.
8692 * sysdeps/sparc/configure.in: Moved to ...
8693 * sysdeps/sparc/configure.ac: ... here.
8694 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8695 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8696 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8697 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8698 * sysdeps/x86_64/configure.in: Moved to ...
8699 * sysdeps/x86_64/configure.ac: ... here.
8700 * sysdeps/x86_64/preconfigure.in: Moved to ...
8701 * sysdeps/x86_64/preconfigure.ac: ... here.
8702 * aclocal.m4: Change reference to configure.in to configure.ac.
8703 * config.h.in: Likewise.
8704 * manual/install.texi: Likewise.
8705 * manual/maint.texi: Likewise.
8706 * Makefile: Likewise.
8707 * malloc/Makefile: Likewise.
8708 * nscd/Makefile: Likewise.
8709 * Makeconfig: Change reference to configure.in and
8710 preconfigure.in to configure.ac and preconfigure.ac
8712 * INSTALL: Regenerated.
8713 * configure: Likewise.
8714 * sysdeps/gnu/configure: Likewise.
8715 * sysdeps/i386/configure: Likewise.
8716 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8717 * sysdeps/mach/configure: Likewise.
8718 * sysdeps/mach/hurd/configure: Likewise.
8719 * sysdeps/powerpc/configure: Likewise.
8720 * sysdeps/powerpc/powerpc32/configure: Likewise.
8721 * sysdeps/powerpc/powerpc64/configure: Likewise.
8722 * sysdeps/s390/s390-32/configure: Likewise.
8723 * sysdeps/s390/s390-64/configure: Likewise.
8724 * sysdeps/sh/configure: Likewise.
8725 * sysdeps/sparc/configure: Likewise.
8726 * sysdeps/unix/sysv/linux/configure: Likewise.
8727 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8728 * sysdeps/x86_64/configure: Likewise.
8729 * sysdeps/x86_64/preconfigure: Likewise.
8731 2013-10-29 Andreas Schwab <schwab@suse.de>
8733 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8735 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8737 * benchtests/pow-inputs: Add new inputs.
8739 * benchtests/exp-inputs: Add new inputs.
8741 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8742 conditional check for return value.
8743 (__cos32): Likewise.
8745 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8747 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8748 to provide a boost for large inputs with word alignment.
8749 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8750 implementation based on optimized PPC64 strcpy.
8751 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8752 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8753 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8754 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8756 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8759 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8761 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8764 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8765 * time/tst-strptime.c (day_tests): Add testcase.
8767 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8770 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8772 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8775 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8776 MAP_FAILED on error.
8778 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8781 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8782 heap for large requests.
8784 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8787 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8788 result if the result has no associated interface.
8789 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8790 interface for all 127.X.Y.Z addresses.
8792 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8794 * locale/iso-639.def: Add Ligurian (lij)
8796 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8799 * sunrpc/rpc_main.c: Document rpcgen -5.
8801 2013-10-19 Michael Stahl <mstahl@redhat.com>
8803 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8805 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8808 * posix/glob.c: Match only directories when trailing slash is present.
8809 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8810 (main): Add testcase.
8812 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8815 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8817 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8819 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8820 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8821 AUTH_DES and cindex for FIPS 140-2.
8822 (DES Encryption): Add cindex FIPS 46-3.
8824 * locale/locarchive.h (struct locarhandle): Add fname.
8825 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8826 if an optional argument was specified to --list-archive,
8828 * locale/programs/locarchive.c (show_archive_content): Take new
8829 argument fname and pass it via ah.fname to open_archive.
8830 * locale/programs/localedef.h: Update decl.
8831 (open_archive): If AH->fname is non-null, open that file
8832 rather than the default file name, and don't ignore ENOENT.
8833 (create_archive): Set AH.fname to NULL.
8834 (delete_locales_from_archive): Likewise.
8835 (add_locales_to_archive): Likewise.
8836 * locale/programs/locfile.c (write_all_categories): Likewise.
8838 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8839 Aldy Hernandez <aldyh@redhat.com>
8841 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8842 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8843 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8844 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8845 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8846 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8847 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8848 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8849 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8850 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8851 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8852 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8853 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8854 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8855 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8857 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8859 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8861 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8863 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8864 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8866 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8867 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8868 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8869 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8871 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8872 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8873 * sysdeps/powerpc/preconfigure: Likewise.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8876 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8877 Replace contents of file by #include of <fenv_libc.h>.
8878 * sysdeps/powerpc/soft-fp/sfp-machine.h
8879 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8881 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8882 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8883 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8884 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8885 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8886 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8888 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8889 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8891 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8892 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8894 Allow copysignl PLT reference to be missing.
8896 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8897 Joseph Myers <joseph@codesourcery.com
8900 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8902 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8904 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8906 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8907 * elf/tst-tls1.c: Likewise.
8908 * elf/tst-tls10.h: Likewise.
8909 * elf/tst-tls14.c: Likewise.
8910 * elf/tst-tls2.c: Likewise.
8911 * elf/tst-tls3.c: Likewise.
8912 * elf/tst-tls4.c: Likewise.
8913 * elf/tst-tls5.c: Likewise.
8914 * elf/tst-tls6.c: Likewise.
8915 * elf/tst-tls7.c: Likewise.
8916 * elf/tst-tls8.c: Likewise.
8917 * elf/tst-tls9.c: Likewise.
8918 * elf/tst-tlsmod1.c: Likewise.
8919 * elf/tst-tlsmod13.c: Likewise.
8920 * elf/tst-tlsmod13a.c: Likewise.
8921 * elf/tst-tlsmod14a.c: Likewise.
8922 * elf/tst-tlsmod16a.c: Likewise.
8923 * elf/tst-tlsmod16b.c: Likewise.
8924 * elf/tst-tlsmod2.c: Likewise.
8925 * elf/tst-tlsmod3.c: Likewise.
8926 * elf/tst-tlsmod4.c: Likewise.
8927 * elf/tst-tlsmod5.c: Likewise.
8928 * elf/tst-tlsmod6.c: Likewise.
8930 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8933 * malloc/malloc.c: remove checks for statistics.
8935 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8938 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8939 * inet/tst-network.c: Add testcase.
8941 2013-10-17 Andreas Schwab <schwab@suse.de>
8944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8945 to determine canonical name.
8947 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8949 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8950 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8973 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8974 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8979 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9008 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9011 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9012 make result into a quiet NaN.
9014 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9016 * soft-fp/adddf3.c: Fix horizontal whitespace.
9017 * soft-fp/addsf3.c: Likewise.
9018 * soft-fp/addtf3.c: Likewise.
9019 * soft-fp/divdf3.c: Likewise.
9020 * soft-fp/divsf3.c: Likewise.
9021 * soft-fp/divtf3.c: Likewise.
9022 * soft-fp/double.h: Likewise.
9023 * soft-fp/eqdf2.c: Likewise.
9024 * soft-fp/eqsf2.c: Likewise.
9025 * soft-fp/eqtf2.c: Likewise.
9026 * soft-fp/extenddftf2.c: Likewise.
9027 * soft-fp/extended.h: Likewise.
9028 * soft-fp/extendsfdf2.c: Likewise.
9029 * soft-fp/extendsftf2.c: Likewise.
9030 * soft-fp/extendxftf2.c: Likewise.
9031 * soft-fp/fixdfdi.c: Likewise.
9032 * soft-fp/fixdfsi.c: Likewise.
9033 * soft-fp/fixdfti.c: Likewise.
9034 * soft-fp/fixsfdi.c: Likewise.
9035 * soft-fp/fixsfsi.c: Likewise.
9036 * soft-fp/fixsfti.c: Likewise.
9037 * soft-fp/fixtfdi.c: Likewise.
9038 * soft-fp/fixtfsi.c: Likewise.
9039 * soft-fp/fixtfti.c: Likewise.
9040 * soft-fp/fixunsdfdi.c: Likewise.
9041 * soft-fp/fixunsdfsi.c: Likewise.
9042 * soft-fp/fixunsdfti.c: Likewise.
9043 * soft-fp/fixunssfdi.c: Likewise.
9044 * soft-fp/fixunssfsi.c: Likewise.
9045 * soft-fp/fixunssfti.c: Likewise.
9046 * soft-fp/fixunstfdi.c: Likewise.
9047 * soft-fp/fixunstfsi.c: Likewise.
9048 * soft-fp/fixunstfti.c: Likewise.
9049 * soft-fp/floatdidf.c: Likewise.
9050 * soft-fp/floatdisf.c: Likewise.
9051 * soft-fp/floatditf.c: Likewise.
9052 * soft-fp/floatsidf.c: Likewise.
9053 * soft-fp/floatsisf.c: Likewise.
9054 * soft-fp/floatsitf.c: Likewise.
9055 * soft-fp/floattidf.c: Likewise.
9056 * soft-fp/floattisf.c: Likewise.
9057 * soft-fp/floattitf.c: Likewise.
9058 * soft-fp/floatundidf.c: Likewise.
9059 * soft-fp/floatundisf.c: Likewise.
9060 * soft-fp/floatunditf.c: Likewise.
9061 * soft-fp/floatunsidf.c: Likewise.
9062 * soft-fp/floatunsisf.c: Likewise.
9063 * soft-fp/floatunsitf.c: Likewise.
9064 * soft-fp/floatuntidf.c: Likewise.
9065 * soft-fp/floatuntisf.c: Likewise.
9066 * soft-fp/floatuntitf.c: Likewise.
9067 * soft-fp/fmadf4.c: Likewise.
9068 * soft-fp/fmasf4.c: Likewise.
9069 * soft-fp/fmatf4.c: Likewise.
9070 * soft-fp/gedf2.c: Likewise.
9071 * soft-fp/gesf2.c: Likewise.
9072 * soft-fp/getf2.c: Likewise.
9073 * soft-fp/ledf2.c: Likewise.
9074 * soft-fp/lesf2.c: Likewise.
9075 * soft-fp/letf2.c: Likewise.
9076 * soft-fp/muldf3.c: Likewise.
9077 * soft-fp/mulsf3.c: Likewise.
9078 * soft-fp/multf3.c: Likewise.
9079 * soft-fp/negdf2.c: Likewise.
9080 * soft-fp/negsf2.c: Likewise.
9081 * soft-fp/negtf2.c: Likewise.
9082 * soft-fp/op-1.h: Likewise.
9083 * soft-fp/op-2.h: Likewise.
9084 * soft-fp/op-4.h: Likewise.
9085 * soft-fp/op-8.h: Likewise.
9086 * soft-fp/op-common.h: Likewise.
9087 * soft-fp/quad.h: Likewise.
9088 * soft-fp/single.h: Likewise.
9089 * soft-fp/soft-fp.h: Likewise.
9090 * soft-fp/sqrtdf2.c: Likewise.
9091 * soft-fp/sqrtsf2.c: Likewise.
9092 * soft-fp/sqrttf2.c: Likewise.
9093 * soft-fp/subdf3.c: Likewise.
9094 * soft-fp/subsf3.c: Likewise.
9095 * soft-fp/subtf3.c: Likewise.
9096 * soft-fp/truncdfsf2.c: Likewise.
9097 * soft-fp/trunctfdf2.c: Likewise.
9098 * soft-fp/trunctfsf2.c: Likewise.
9099 * soft-fp/trunctfxf2.c: Likewise.
9100 * soft-fp/unorddf2.c: Likewise.
9101 * soft-fp/unordsf2.c: Likewise.
9102 * soft-fp/unordtf2.c: Likewise.
9104 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9106 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9107 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9109 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9111 * elf/dl-libc.c: Clear initfini list after freeing.
9113 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9115 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9116 * soft-fp/addsf3.c: Likewise.
9117 * soft-fp/addtf3.c: Likewise.
9118 * soft-fp/divdf3.c: Likewise.
9119 * soft-fp/divsf3.c: Likewise.
9120 * soft-fp/divtf3.c: Likewise.
9121 * soft-fp/double.h: Likewise.
9122 * soft-fp/eqdf2.c: Likewise.
9123 * soft-fp/eqsf2.c: Likewise.
9124 * soft-fp/eqtf2.c: Likewise.
9125 * soft-fp/extenddftf2.c: Likewise.
9126 * soft-fp/extended.h: Likewise.
9127 * soft-fp/extendsfdf2.c: Likewise.
9128 * soft-fp/extendsftf2.c: Likewise.
9129 * soft-fp/extendxftf2.c: Likewise.
9130 * soft-fp/fixdfdi.c: Likewise.
9131 * soft-fp/fixdfsi.c: Likewise.
9132 * soft-fp/fixdfti.c: Likewise.
9133 * soft-fp/fixsfdi.c: Likewise.
9134 * soft-fp/fixsfsi.c: Likewise.
9135 * soft-fp/fixsfti.c: Likewise.
9136 * soft-fp/fixtfdi.c: Likewise.
9137 * soft-fp/fixtfsi.c: Likewise.
9138 * soft-fp/fixtfti.c: Likewise.
9139 * soft-fp/fixunsdfdi.c: Likewise.
9140 * soft-fp/fixunsdfsi.c: Likewise.
9141 * soft-fp/fixunsdfti.c: Likewise.
9142 * soft-fp/fixunssfdi.c: Likewise.
9143 * soft-fp/fixunssfsi.c: Likewise.
9144 * soft-fp/fixunssfti.c: Likewise.
9145 * soft-fp/fixunstfdi.c: Likewise.
9146 * soft-fp/fixunstfsi.c: Likewise.
9147 * soft-fp/fixunstfti.c: Likewise.
9148 * soft-fp/floatdidf.c: Likewise.
9149 * soft-fp/floatdisf.c: Likewise.
9150 * soft-fp/floatditf.c: Likewise.
9151 * soft-fp/floatsidf.c: Likewise.
9152 * soft-fp/floatsisf.c: Likewise.
9153 * soft-fp/floatsitf.c: Likewise.
9154 * soft-fp/floattidf.c: Likewise.
9155 * soft-fp/floattisf.c: Likewise.
9156 * soft-fp/floattitf.c: Likewise.
9157 * soft-fp/floatundidf.c: Likewise.
9158 * soft-fp/floatundisf.c: Likewise.
9159 * soft-fp/floatunsidf.c: Likewise.
9160 * soft-fp/floatunsisf.c: Likewise.
9161 * soft-fp/floatuntidf.c: Likewise.
9162 * soft-fp/floatuntisf.c: Likewise.
9163 * soft-fp/floatuntitf.c: Likewise.
9164 * soft-fp/fmadf4.c: Likewise.
9165 * soft-fp/fmasf4.c: Likewise.
9166 * soft-fp/fmatf4.c: Likewise.
9167 * soft-fp/gedf2.c: Likewise.
9168 * soft-fp/gesf2.c: Likewise.
9169 * soft-fp/getf2.c: Likewise.
9170 * soft-fp/ledf2.c: Likewise.
9171 * soft-fp/lesf2.c: Likewise.
9172 * soft-fp/letf2.c: Likewise.
9173 * soft-fp/muldf3.c: Likewise.
9174 * soft-fp/mulsf3.c: Likewise.
9175 * soft-fp/multf3.c: Likewise.
9176 * soft-fp/negdf2.c: Likewise.
9177 * soft-fp/negsf2.c: Likewise.
9178 * soft-fp/negtf2.c: Likewise.
9179 * soft-fp/op-1.h: Likewise.
9180 * soft-fp/op-2.h: Likewise.
9181 * soft-fp/op-4.h: Likewise.
9182 * soft-fp/op-8.h: Likewise.
9183 * soft-fp/op-common.h: Likewise.
9184 * soft-fp/quad.h: Likewise.
9185 * soft-fp/single.h: Likewise.
9186 * soft-fp/soft-fp.h: Likewise.
9187 * soft-fp/sqrtdf2.c: Likewise.
9188 * soft-fp/sqrtsf2.c: Likewise.
9189 * soft-fp/sqrttf2.c: Likewise.
9190 * soft-fp/subdf3.c: Likewise.
9191 * soft-fp/subsf3.c: Likewise.
9192 * soft-fp/subtf3.c: Likewise.
9193 * soft-fp/truncdfsf2.c: Likewise.
9194 * soft-fp/trunctfdf2.c: Likewise.
9195 * soft-fp/trunctfsf2.c: Likewise.
9196 * soft-fp/trunctfxf2.c: Likewise.
9197 * soft-fp/unorddf2.c: Likewise.
9198 * soft-fp/unordsf2.c: Likewise.
9199 * soft-fp/unordtf2.c: Likewise.
9201 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9204 * misc/error.c (error_tail): Fix possible buffer overflow.
9206 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9209 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9212 2013-10-14 P. J. McDermott <pj@pehjota.net>
9215 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9216 testing pipefail option.
9218 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9220 * soft-fp/double.h: Indent preprocessor directives inside #if.
9221 * soft-fp/extended.h: Likewise.
9222 * soft-fp/op-2.h: Likewise.
9223 * soft-fp/op-4.h: Likewise.
9224 * soft-fp/op-common.h: Likewise.
9225 * soft-fp/quad.h: Likewise.
9226 * soft-fp/single.h: Likewise.
9227 * soft-fp/soft-fp.h: Likewise.
9229 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9231 * iconv/iconv_prog.c: Fix typos.
9232 * stdio-common/psiginfo-data.h: Likewise.
9234 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9237 * locale/setlocale.c: Fix typo.
9239 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9242 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9243 signaling NaN arguments.
9244 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9245 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9248 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9250 * soft-fp/gesf2.c (__gesf2): Likewise.
9251 * soft-fp/getf2.c (__getf2): Likewise.
9252 * soft-fp/ledf2.c (__ledf2): Likewise.
9253 * soft-fp/lesf2.c (__lesf2): Likewise.
9254 * soft-fp/letf2.c (__letf2): Likewise.
9256 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9257 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9258 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9259 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9260 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9261 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9262 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9263 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9264 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9265 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9266 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9267 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9268 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9269 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9270 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9271 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9272 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9273 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9274 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9275 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9276 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9277 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9278 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9279 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9280 * soft-fp/floattidf.c (__floattidf): Likewise.
9281 * soft-fp/floattisf.c (__floattisf): Likewise.
9282 * soft-fp/floattitf.c (__floattitf): Likewise.
9283 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9284 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9285 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9286 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9287 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9288 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9289 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9290 * soft-fp/gesf2.c (__gesf2): Likewise.
9291 * soft-fp/getf2.c (__getf2): Likewise.
9292 * soft-fp/ledf2.c (__ledf2): Likewise.
9293 * soft-fp/lesf2.c (__lesf2): Likewise.
9294 * soft-fp/letf2.c (__letf2): Likewise.
9296 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9297 Undefine and redefine.
9298 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9299 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9300 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9301 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9302 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9303 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9304 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9305 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9306 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9307 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9308 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9309 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9310 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9311 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9312 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9315 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9316 without decrementing exponent if mantissa >= that for the
9318 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9319 denominator, not >. Decrement exponent in < case instead of
9320 incrementing in >= case.
9321 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9322 without decrementing exponent if mantissa >= that for the
9325 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9326 computing saturated result for unsigned overflow.
9328 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9329 Jeff Law <law@redhat.com>
9331 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9332 (atan2Mp): Add systemtap probe marker.
9333 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9334 (__ieee754_log): Add systemtap probe marker.
9335 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9336 (atanMp): Add systemtap probe marker.
9337 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9338 (tanMp): Add systemtap probe marker.
9339 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9340 (__slowexp): Add systemtap probe marker.
9341 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9342 (__slowpow): Add systemtap probe marker.
9343 * manual/probes.texi: Document probes.
9345 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9348 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9350 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9352 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9353 written to buffer but not flushed.
9354 * libio/iofwrite_u.c: Likewise.
9355 * libio/iopadn.c: Return bytes returned even if EOF was
9357 * libio/iowpadn.c: Likewise.
9358 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9359 if _IO_padn does not write the whole buffer.
9360 [!COMPILE_WPRINTF] (PAD): Likewise.
9362 2013-10-10 David S. Miller <davem@davemloft.net>
9364 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9367 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9369 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9370 instead of FSF address.
9371 * soft-fp/fixdfti.c: Likewise.
9372 * soft-fp/fixsfti.c: Likewise.
9373 * soft-fp/fixtfti.c: Likewise.
9374 * soft-fp/fixunsdfti.c: Likewise.
9375 * soft-fp/fixunssfti.c: Likewise.
9376 * soft-fp/fixunstfti.c: Likewise.
9377 * soft-fp/floattidf.c: Likewise.
9378 * soft-fp/floattisf.c: Likewise.
9379 * soft-fp/floattitf.c: Likewise.
9380 * soft-fp/floatuntidf.c: Likewise.
9381 * soft-fp/floatuntisf.c: Likewise.
9382 * soft-fp/floatuntitf.c: Likewise.
9383 * soft-fp/trunctfxf2.c: Likewise.
9385 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9386 * soft-fp/fixdfti.c: Likewise.
9387 * soft-fp/fixsfti.c: Likewise.
9388 * soft-fp/fixtfti.c: Likewise.
9389 * soft-fp/fixunsdfti.c: Likewise.
9390 * soft-fp/fixunssfti.c: Likewise.
9391 * soft-fp/fixunstfti.c: Likewise.
9392 * soft-fp/floattidf.c: Likewise.
9393 * soft-fp/floattisf.c: Likewise.
9394 * soft-fp/floattitf.c: Likewise.
9395 * soft-fp/floatuntidf.c: Likewise.
9396 * soft-fp/floatuntisf.c: Likewise.
9397 * soft-fp/floatuntitf.c: Likewise.
9398 * soft-fp/trunctfxf2.c: Likewise.
9400 2013-10-10 David S. Miller <davem@davemloft.net>
9402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9404 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9406 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9407 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9408 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9409 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9410 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9411 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9412 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9415 for NaNs before doing comparisons on argument.
9416 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9419 2013-10-10 Will Newton <will.newton@linaro.org>
9421 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9422 passed to _int_memalign does not overflow.
9424 2013-10-10 Torvald Riegel <triegel@redhat.com>
9426 * scripts/bench.pl: Add include-sources directive.
9427 * benchtests/README: Update documentation.
9429 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9431 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9432 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9433 instead of FP_INIT_ROUNDMODE.
9434 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9435 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9438 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9439 copy class of input value.
9440 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9441 not handle exceptions.
9442 * soft-fp/negsf2.c (__negsf2): Likewise.
9443 * soft-fp/negtf2.c (__negtf2): Likewise.
9444 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9446 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9448 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9449 semicolon. From Linux kernel.
9451 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9453 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9455 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9458 * manual/socket.texi: Added statement about buffer
9459 for gethostbyname2_r.
9461 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9463 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9464 Use .p2align directive instead, throughout.
9465 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9466 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9467 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9469 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9470 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9471 * sysdeps/x86_64/strchr.S: Likewise.
9472 * sysdeps/x86_64/strrchr.S: Likewise.
9474 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9476 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9478 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9480 * sysdeps/generic/math_private.h (__mpsin1): Remove
9482 (__mpcos1): Likewise.
9483 (__mpsin): New argument __range_reduce.
9484 (__mpcos): Likewise.
9485 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9486 (slow): Use __mpsin and __mpcos.
9493 (bsloww1): Likewise.
9494 (bsloww2): Likewise.
9497 (csloww1): Likewise.
9498 (csloww2): Likewise.
9499 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9500 range_reduce. Merge in __mpsin1.
9501 (__mpcos): Likewise.
9503 (__mpcos1): Likewise.
9505 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9507 * locale/loadlocale.c (_nl_intern_locale_data): Use
9509 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9510 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9511 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9512 obstack data is appropriately aligned.
9513 (obstack_int32_grow_fast): Likewise.
9514 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9515 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9516 (add_locale_uint32_array): Likewise.
9518 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9520 * benchtests/Makefile: Remove ARGLIST and RET variables.
9521 ($(objpfx)bench-%.c): Pass only function name to the script.
9522 * benchtests/README: Update documentation.
9523 * benchtests/acos-inputs: Add new directives.
9524 * benchtests/acosh-inputs: Likewise.
9525 * benchtests/asin-inputs: Likewise.
9526 * benchtests/asinh-inputs: Likewise.
9527 * benchtests/atan-inputs: Likewise.
9528 * benchtests/atanh-inputs: Likewise.
9529 * benchtests/cos-inputs: Likewise.
9530 * benchtests/cosh-inputs: Likewise.
9531 * benchtests/exp-inputs: Likewise.
9532 * benchtests/log-inputs: Likewise.
9533 * benchtests/pow-inputs: Likewise.
9534 * benchtests/rint-inputs: Likewise.
9535 * benchtests/sin-inputs: Likewise.
9536 * benchtests/sinh-inputs: Likewise.
9537 * benchtests/tan-inputs: Likewise.
9538 * benchtests/tanh-inputs: Likewise.
9539 * scripts/bench.pl: Add support for new directives.
9541 2013-10-07 Alan Modra <amodra@gmail.com>
9543 * README: Fix careless merge.
9545 2013-10-05 Alan Modra <amodra@gmail.com>
9547 * NEWS: Mention powerpc64le support and bugs fixed.
9548 * README: Both big-endian and little-endian powerpc64 supported.
9550 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9552 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9553 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9554 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9555 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9557 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9559 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9562 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9564 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9565 Move -mhard-float appending from
9566 ports/sysdeps/powerpc/powerpc32/Makefile.
9567 [$(with-fp) = yes] (ASFLAGS): Likewise.
9568 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9569 * sysdeps/powerpc/nofpu: Move directory from
9570 ports/sysdeps/powerpc/nofpu.
9571 * sysdeps/powerpc/soft-fp: Move directory from
9572 ports/sysdeps/powerpc/soft-fp.
9573 * sysdeps/powerpc/powerpc32/405: Move directory from
9574 ports/sysdeps/powerpc/powerpc32/405.
9575 * sysdeps/powerpc/powerpc32/440: Move directory from
9576 ports/sysdeps/powerpc/powerpc32/440.
9577 * sysdeps/powerpc/powerpc32/464: Move directory from
9578 ports/sysdeps/powerpc/powerpc32/464.
9579 * sysdeps/powerpc/powerpc32/476: Move directory from
9580 ports/sysdeps/powerpc/powerpc32/476.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9582 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9584 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9586 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9588 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9590 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9591 * README: Update for powerpc-*-linux-gnu software floating point
9594 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9595 case to powerpc/powerpc32*.
9596 * sysdeps/unix/sysv/linux/configure: Regenerated.
9598 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9599 (_FPU_MASK_OM): Define as 0x04.
9600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9608 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9611 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9614 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9615 and setcontext_e500.
9617 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9619 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9621 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9623 * manual/threads.texi (Default Thread Attributes): Fix typo.
9625 2013-10-04 Will Newton <will.newton@linaro.org>
9627 * malloc/Makefile: Add tst-memalign.
9628 * malloc/tst-memalign.c: New file.
9630 * malloc/tst-posix_memalign.c: Add comments.
9631 (do_test): Add comments and call free on all potentially
9632 allocated pointers. Add space after cast.
9634 * malloc/tst-pvalloc.c: Add comments.
9635 (do_test): Add comments and call free on all potentially
9636 allocated pointers. Remove duplicate check for NULL pointer.
9637 Add space after cast.
9639 * malloc/tst-valloc.c: Add comments.
9640 (do_test): Add comments and call free on all potentially
9641 allocated pointers. Remove duplicate check for NULL pointer.
9642 Add space after cast.
9644 2013-10-04 Alan Modra <amodra@gmail.com>
9646 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9647 Use stdint types in rather than __attribute__((mode())).
9648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9650 2013-10-04 Alan Modra <amodra@gmail.com>
9652 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9653 Correct handling of unaligned relocs for little-endian.
9654 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9656 2013-10-04 Alan Modra <amodra@gmail.com>
9658 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9659 * configure: Regenerate.
9660 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9661 * shlib-versions: Likewise.
9663 2013-10-04 Alan Modra <amodra@gmail.com>
9665 * string/tester.c (test_memrchr): Increment reported test cycle.
9667 2013-10-04 Alan Modra <amodra@gmail.com>
9669 * string/test-memcpy.c (do_one_test): When reporting errors, print
9670 string address and don't overrun end of string.
9672 2013-10-04 Alan Modra <amodra@gmail.com>
9674 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9675 insrdi. Make better use of reg selection to speed exit slightly.
9676 Schedule entry path a little better. Remove useless "are we done"
9677 checks on entry to main loop. Handle wrapping around zero address.
9678 Correct main loop count. Handle single left-over word from main
9679 loop inline rather than by using loop_small. Remove extra word
9680 case in loop_small caused by wrong loop count. Add little-endian
9682 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9683 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9685 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9686 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9687 support. Avoid rlwimi.
9688 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9690 2013-10-04 Alan Modra <amodra@gmail.com>
9692 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9694 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9695 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9696 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9697 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9698 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9699 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9701 2013-10-04 Alan Modra <amodra@gmail.com>
9703 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9704 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9705 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9706 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9707 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9708 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9709 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9710 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9711 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9712 use of regs. Use power7 mtocrf. Tidy function tails.
9714 2013-10-04 Alan Modra <amodra@gmail.com>
9716 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9717 Formatting. Consistently use rXXX register defines or rN defines.
9718 Use early exit labels that avoid restoring unused non-volatile regs.
9719 Make cr field use more consistent with rWORDn compares. Rename
9720 regs used as shift registers for unaligned loop, using rN defines
9721 for short lifetime/multiple use regs.
9722 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9723 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9724 addi 1,1,64 to pop stack frame. Simplify return value code.
9725 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9727 2013-10-04 Alan Modra <amodra@gmail.com>
9729 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9730 support. Correct typos, formatting. Optimize tail. Use insrdi
9732 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9733 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9734 little-endian support. Correct typos.
9735 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9737 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9738 in loop and entry code to keep "and." results.
9739 (strchr): Add little-endian support. Comment. Move cntlzd
9741 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9743 2013-10-04 Alan Modra <amodra@gmail.com>
9745 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9746 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9747 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9750 2013-10-04 Alan Modra <amodra@gmail.com>
9752 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9753 (rTMP): Define as r11.
9754 (strcmp): Add little-endian support. Optimise tail.
9755 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9756 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9757 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9758 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9759 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9760 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9761 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9763 2013-10-04 Alan Modra <amodra@gmail.com>
9765 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9766 little-endian support. Remove unnecessary "are we done" tests.
9767 Handle "s" wrapping around zero and extremely large "size".
9768 Correct main loop count. Handle single left-over word from main
9769 loop inline rather than by using small_loop. Correct comments.
9770 Delete "zero" tail, use "end_max" instead.
9771 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9773 2013-10-04 Alan Modra <amodra@gmail.com>
9775 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9776 support. Don't branch over align.
9777 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9778 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9779 support. Rearrange tmp reg use to suit. Comment.
9780 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9782 2013-10-04 Alan Modra <amodra@gmail.com>
9784 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9786 2013-10-04 Alan Modra <amodra@gmail.com>
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9789 conditional form of branch and link when obtaining pc.
9790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9792 2013-10-04 Alan Modra <amodra@gmail.com>
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9799 2013-10-04 Alan Modra <amodra@gmail.com>
9801 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9802 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9803 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9804 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9805 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9806 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9807 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9808 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9809 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9810 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9812 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9813 Alistair Popple <alistair@ozlabs.au.ibm.com>
9814 Alan Modra <amodra@gmail.com>
9817 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9818 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9819 _dl_hwcap access for little-endian.
9820 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9821 destroy vmx regs when saving unaligned.
9822 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9823 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9824 destroy vmx regs when saving unaligned.
9826 2013-10-04 Alan Modra <amodra@gmail.com>
9828 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9829 Don't use a union to pack hi/low value.
9831 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9833 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9835 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9837 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9838 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9839 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9841 2013-10-04 Alan Modra <amodra@gmail.com>
9843 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9844 constants to usual value for .cst8 section, and remove redundant
9846 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9847 constant for 0x1p52. Load little-endian words of double from
9848 correct stack offsets.
9850 2013-10-04 Alan Modra <amodra@gmail.com>
9852 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9853 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9854 words of double from correct stack offsets.
9855 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9856 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9857 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9858 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9859 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9861 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9862 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9863 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9865 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9866 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9867 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9868 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9869 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9870 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9871 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9873 2013-10-04 Alan Modra <amodra@gmail.com>
9875 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9876 64-bit int/double union.
9877 (_FPU_SETCW): Likewise.
9878 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9879 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9881 2013-10-04 Alan Modra <amodra@gmail.com>
9883 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9884 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9886 2013-10-04 Alan Modra <amodra@gmail.com>
9888 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9889 use vector int constants.
9890 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9892 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9894 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9895 array with long long.
9896 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9897 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9898 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9899 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9900 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9901 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9902 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9903 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9904 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9905 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9906 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9907 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9908 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9910 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9912 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9913 (__signbit): Likewise. Correct for little-endian.
9914 (__signbitl): Call __signbit.
9915 (lrint): Correct for little-endian.
9916 (lrintf): Call lrint.
9918 2013-10-04 Alan Modra <amodra@gmail.com>
9920 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9921 union 32-bit int array member with 64-bit int array.
9922 (t515, tm256): Double rather than long double.
9923 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9925 2013-10-04 Alan Modra <amodra@gmail.com>
9927 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9929 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9931 version of math_ldbl.h.
9933 2013-10-04 Alan Modra <amodra@gmail.com>
9935 [BZ #15734], [BZ #15735]
9936 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9937 all uses of ieee875 long double macros and unions. Simplify test
9938 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9939 ldbl_extract_mantissa value for ix,iy exponents. Properly
9940 normalize after ldbl_extract_mantissa, and don't add hidden bit
9941 already handled. Don't treat low word of ieee854 mantissa like
9942 low word of IBM long double and mask off bit when testing for
9944 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9945 all uses of ieee875 long double macros and unions. Simplify tests
9946 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9947 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9948 two1022, instead use their values. Recognise that tests for large
9949 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9950 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9951 Rewrite all uses of ieee875 long double macros and unions. Simplify
9952 test for 0.0L and nan. Correct negation.
9953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9954 ieee875 long double macros and unions. Correct output for large
9955 magnitude x. Correct absolute value calculation.
9956 (__erfcl): Likewise.
9957 * math/libm-test.inc: Add tests for errors discovered in IBM long
9958 double versions of fmodl, remainderl, erfl and erfcl.
9960 2013-10-04 Alan Modra <amodra@gmail.com>
9962 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9963 all uses of ieee854 long double macros and unions. Simplify tests
9964 for long doubles that are fully specified by the high double.
9965 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9967 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9968 Remove dead code too.
9969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9970 (__ieee754_ynl): Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9974 Remove dead code too.
9975 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9977 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9985 Comment on variable precision.
9986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9989 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9991 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9992 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9993 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9995 2013-10-04 Alan Modra <amodra@gmail.com>
9997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9998 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9999 all uses of ieee854 long double macros and unions.
10000 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10001 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10002 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10003 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10004 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10005 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10007 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10008 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10009 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10010 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10011 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10012 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10013 Simplify sign and nan test too.
10014 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10015 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10016 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10017 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10019 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10020 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10022 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10023 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10029 2013-10-04 Alan Modra <amodra@gmail.com>
10031 * stdio-common/printf_size.c (__printf_size): Don't use
10032 union ieee854_long_double in fpnum union.
10033 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10034 signbit macro to retrieve sign from long double.
10035 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10036 retrieve sign from long double.
10037 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10038 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10039 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10040 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10041 * math/test-misc.c (main): Don't use union ieee854_long_double.
10043 2013-10-04 Alan Modra <amodra@gmail.com>
10046 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10047 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10048 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10049 calculation. Remove unnecessary test for denormal exponent.
10050 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10051 Correct handling of denormals. Avoid undefined shift behaviour.
10052 Correct normalisation of low mantissa when low double is denormal.
10053 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10054 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10055 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10056 Correct normalisation of low mantissa. Test for overflow of high
10057 mantissa and normalise.
10058 (ldbl_nearbyint): Use more readable constant for two52.
10059 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10060 (__mpn_construct_long_double): Fix test for overflow of high
10061 mantissa and correct normalisation. Avoid undefined shift.
10063 2013-10-04 Alan Modra <amodra@gmail.com>
10065 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10066 (union ibm_extended_long_double): Define as an array of ieee754_double.
10067 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10068 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10069 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10070 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10074 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10077 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10079 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10081 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10082 page size instead of calling getpagesize.
10084 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10085 (LOCFILE_ALIGN_MASK): Likewise.
10086 (LOCFILE_ALIGN_UP): Likewise.
10087 (LOCFILE_ALIGNED_P): Likewise.
10088 * locale/programs/ld-collate.c (collate_output): Use the new
10089 macros instead of __alignof__ (int32_t).
10090 * locale/weight.h (findidx): Likewise.
10092 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10095 * manual/string.texi: Fix strncat and wcsncat.
10097 2013-10-03 Brooks Moses <bmoses@google.com>
10100 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10101 * Makerules: ...here, and adjust associated comments.
10103 2013-10-02 Will Newton <will.newton@linaro.org>
10105 * malloc/Makefile: Add tst-pvalloc.
10106 * malloc/tst-pvalloc.c: New file.
10108 2013-10-02 Will Newton <will.newton@linaro.org>
10110 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10111 improve test coverage.
10113 2013-10-02 Will Newton <will.newton@linaro.org>
10115 * malloc/Makefile: Add tst-posix_memalign.
10116 * malloc/tst-posix_memalign.c: New file.
10118 2013-10-01 Eric Blake <eblake@redhat.com>
10120 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10121 Use __THROWNL rather than __THROW on static functions.
10123 2013-09-30 Petr Machata <pmachata@redhat.com>
10125 * elf/elf.h (R_AARCH64_ABS16): New macro.
10126 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10127 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10128 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10129 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10130 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10131 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10132 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10133 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10134 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10135 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10136 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10137 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10138 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10139 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10140 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10141 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10142 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10143 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10144 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10145 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10146 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10147 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10148 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10149 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10150 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10151 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10152 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10153 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10154 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10155 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10156 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10157 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10158 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10159 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10160 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10161 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10162 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10163 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10164 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10165 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10166 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10167 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10168 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10169 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10170 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10171 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10172 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10173 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10174 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10175 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10176 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10177 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10178 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10179 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10180 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10181 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10182 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10183 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10184 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10185 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10186 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10187 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10188 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10189 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10190 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10191 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10192 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10193 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10194 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10195 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10196 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10197 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10198 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10199 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10200 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10201 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10202 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10203 (R_AARCH64_TLSDESC_LDR): Likewise.
10204 (R_AARCH64_TLSDESC_ADD): Likewise.
10205 (R_AARCH64_TLSDESC_CALL): Likewise.
10207 2013-09-30 Andreas Schwab <schwab@suse.de>
10210 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10211 the nss database lookup.
10212 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10215 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10217 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10219 2013-09-28 P. J. McDermott <pj@pehjota.net>
10221 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10222 ${Bash-specific parameter/pattern/string} parameter expansion.
10223 * sysdeps/unix/make-syscalls.sh: Likewise.
10225 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10227 * sysdeps/sh/stackguard-macros.h: New file.
10229 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10233 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10234 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10235 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10236 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10238 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10240 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10241 Fix thread ID register.
10243 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10245 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10246 [POSIX || UNIX98]: Require rather than permitting all symbols from
10248 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10249 element of struct sched_param.
10250 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10251 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10252 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10253 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10256 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10258 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10259 argument calculation.
10261 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10263 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10265 [POSIX] (pthread_attr_t): Do not require type.
10266 [POSIX] (pthread_cond_t): Likewise.
10267 [POSIX] (pthread_condattr_t): Likewise.
10268 [POSIX] (pthread_key_t): Likewise.
10269 [POSIX] (pthread_mutex_t): Likewise.
10270 [POSIX] (pthread_mutexattr_t): Likewise.
10271 [POSIX] (pthread_once_t): Likewise.
10272 [POSIX] (pthread_t): Likewise.
10273 [POSIX-based standards] (pthread_atfork): Expect function.
10275 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10276 Richard Sandiford <richard@codesourcery.com>
10278 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10279 (swap_endianness_p): New extern variable.
10280 (set_big_endian): New inline function.
10281 (maybe_swap_uint32): Likewise.
10282 (maybe_swap_uint32_array): Likewise.
10283 (maybe_swap_uint32_obstack): Likewise.
10284 * locale/programs/locfile.c: Include <stdbool.h>.
10285 (swap_endianness_p): New variable.
10286 (add_locale_uint32): Call maybe_swap_uint32.
10287 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10288 (write_locale_data): Call maybe_swap_uint32_array.
10289 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10291 (obstack_int32_grow_fast): Likewise.
10292 (output_weightwc): Call maybe_swap_uint32_obstack.
10293 (collate_output): Likewise.
10294 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10295 (OPT_LITTLE_ENDIAN): Likewise.
10296 (options): Add --little-endian and --big-endian options.
10297 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10298 * locale/programs/locarchive.c: Include "locfile.h".
10302 (create_archive): Use the new macros to access fields of
10303 structures directly mapped from or written to locale archives.
10304 (oldlocrecentcmp): Likewise.
10305 (enlarge_archive): Likewise.
10306 (insert_name): Likewise.
10307 (add_alias): Likewise.
10308 (add_locale): Likewise.
10309 (delete_locales_from_archive): Likewise.
10310 (show_archive_content): Likewise.
10311 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10314 2013-09-24 Roland McGrath <roland@hack.frob.com>
10316 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10317 http://www.gnu.org/doc/freemanuals.texi.
10318 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10320 2013-09-24 Will Newton <will.newton@linaro.org>
10322 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10325 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10327 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10330 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10332 * manual/threads.texi (POSIX Threads): Fix a typo.
10334 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10337 * string/tst-strcoll-overflow.c: New test case.
10338 * string/Makefile (xtests): Add tst-strcoll-overflow.
10339 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10340 cache if string sizes may cause integer overflow.
10343 * string/strcoll_l.c (coll_seq): New members rule, idx,
10344 save_idx and back_us.
10345 (get_next_seq_nocache): New function.
10346 (do_compare_nocache): New function.
10347 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10350 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10353 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10354 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10355 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10358 * elf/Makefile (tests): Add tst-ptrguard1.
10359 (tests-static): Add tst-ptrguard1-static.
10360 (tst-ptrguard1-ARGS): Define.
10361 (tst-ptrguard1-static-ARGS): Define.
10362 * elf/tst-ptrguard1.c: New file.
10363 * elf/tst-ptrguard1-static.c: New file.
10364 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10365 * sysdeps/i386/stackguard-macros.h: Likewise.
10366 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10367 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10368 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10369 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10370 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10371 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10373 2013-09-23 Hector Marco <hecmargi@upv.es>
10374 Ismael Ripoll <iripoll@disca.upv.es>
10375 Carlos O'Donell <carlos@redhat.com>
10378 * sysdeps/generic/stackguard-macros.h: Define
10379 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10380 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10381 Define __pointer_chk_guard_local.
10382 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10383 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10385 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10388 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10390 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10392 * include/string.h (__ffs): Declare as hidden.
10393 * string/ffs.c (__ffs): Define as hidden.
10394 * sysdeps/i386/ffs.c (__ffs): Likewise.
10395 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10396 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10397 * sysdeps/s390/ffs.c (__ffs): Likewise.
10398 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10400 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10402 * NEWS: Mention malloc probes.
10404 * malloc/arena.c (new_heap): New memory_heap_new probe.
10405 (grow_heap): New memory_heap_more probe.
10406 (shrink_heap): New memory_heap_less probe.
10407 (heap_trim): New memory_heap_free probe.
10408 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10409 (systrim): New memory_sbrk_less probe.
10410 * manual/probes.texi: Document them.
10412 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10413 * manual/probes.texi: Document it.
10415 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10416 (__libc_realloc): Add memory_realloc_retry probe.
10417 (__libc_memalign): Add memory_memalign_retry probe.
10418 (__libc_valloc): Add memory_valloc_retry probe.
10419 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10420 (__libc_calloc): Add memory_calloc_retry probe.
10421 * manual/probes.texi: Document them.
10423 * malloc/arena.c (get_free_list): Add probe
10424 memory_arena_reuse_free_list.
10425 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10426 and memory_arena_reuse.
10427 (arena_get2) [!PER_THREAD]: Likewise.
10428 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10429 memory_arena_reuse_realloc.
10430 * manual/probes.texi: Document them.
10432 * malloc/malloc.c (__libc_free): Add
10433 memory_mallopt_free_dyn_thresholds probe.
10434 (__libc_mallopt): Add multiple memory_mallopt probes.
10435 * manual/probes.texi: Document them.
10437 * malloc/malloc.c: Include stap-probe.h.
10438 (__libc_mallopt): Add memory_mallopt probe.
10439 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10440 * manual/probes.texi: New.
10441 * manual/Makefile (chapters): Add probes.
10442 * manual/threads.texi: Set next node.
10444 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10446 [BZ #15963, #13985]
10447 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10448 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10449 Add `Chinese' to `nan' entry name.
10451 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10453 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10454 (POLYNOMIAL): Likewise.
10455 (TAYLOR_SINCOS): Likewise.
10456 (TAYLOR_SLOW): Likewise.
10457 (__sin): Use TAYLOR_SINCOS.
10459 (slow): Use TAYLOR_SLOW.
10461 (bsloww): Likewise.
10462 (csloww): Likewise.
10464 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10466 * stdlib/strtod_l.c: Fix buffer overrun.
10468 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10470 * benchtests/Makefile (bench): Add sincos.
10471 * benchtests/bench-sincos.c: New file.
10473 * math/libm-test.inc (cos_test_data): New test inputs.
10474 (sin_test_data): Likewise.
10476 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10482 (sloww1): Likewise.
10483 (sloww2): Likewise.
10484 (bsloww1): Likewise.
10485 (bsloww2): Likewise.
10486 (cslow2): Likewise.
10487 (csloww1): Likewise.
10488 (csloww2): Likewise.
10490 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10495 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10499 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10501 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10502 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10503 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10504 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10505 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10506 * elf/cache.c (print_entry): Handle the new cache flags.
10508 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10509 Aldy Hernandez <aldyh@redhat.com>
10511 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10512 Change condition to [_SOFT_FLOAT].
10513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10525 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10528 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10531 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10533 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10534 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10535 (__longjmp): Use LOAD_GP to load saved GPRs.
10536 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10537 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10538 (__sigsetjmp): Use SAVE_GP to save GPRs.
10540 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10541 Do not append -msoft-float.
10542 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10544 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10546 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10548 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10551 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10552 (_FPU_GETCW): Use initial "__" on variable and field names but not
10553 on macro parameter name.
10554 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10555 parentheses around reference to macro parameter.
10557 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10559 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10561 (ctype_startup): Use uint32_t in cast and sizeof for
10564 2013-09-11 Jia Liu <proljc@gmail.com>
10566 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10568 [__FreeBSD__]: Likewise.
10570 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10573 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10574 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10575 (strchr): Remove __strchr_sse42 ifunc selection.
10576 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10577 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10579 2013-09-11 Will Newton <will.newton@linaro.org>
10581 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10582 parameter to RES. Remove hardcoded 1000 value.
10583 * benchtests/bench-skeleton.c (main): Pass RES parameter
10584 to TIMING_INIT and multiply result by 1000.
10586 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10590 2013-09-11 Andreas Schwab <schwab@suse.de>
10592 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10594 (O_TMPFILE) [__USE_GNU]: Define.
10595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10598 2013-09-11 Will Newton <will.newton@linaro.org>
10601 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10604 2013-09-11 Will Newton <will.newton@linaro.org>
10607 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10610 2013-09-11 Will Newton <will.newton@linaro.org>
10613 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10616 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10618 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10619 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10624 2013-09-10 Allan McRae <allan@archlinux.org>
10627 * manual/arith.texi (Parsing of Floats): Clarify
10631 * manual/install.texi (Running make install): Mention
10633 * INSTALL: Regenerated.
10635 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10637 * csu/init-first.c (_init): Remove the !SHARED condition around
10638 FPU control word initialization.
10639 * elf/dl-support.c (_dl_fpu_control): New variable.
10640 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10641 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10642 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10643 * math/test-fpucw-static.c: New file.
10644 * math/test-fpucw-ieee.c: New file.
10645 * math/test-fpucw-ieee-static.c: New file.
10646 * math/Makefile (tests): Add `test-fpucw-ieee' and
10648 (tests-static): New variable.
10649 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10651 [($(build-shared),yes)]
10652 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10654 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10657 2013-09-09 Allan McRae <allan@archlinux.org>
10660 * manual/string.texi (Collation Functions): Fix typo in
10662 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10665 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10668 * libio/memstream.c (open_memstream): Fix memory leak.
10669 * libio/wmemstream.c (open_wmemstream): Likewise.
10672 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10674 2013-09-09 Will Newton <will.newton@linaro.org>
10676 * malloc/Makefile: Add tst-realloc to tests.
10677 * malloc/tst-realloc.c: New file.
10679 2013-09-09 Allan McRae <allan@archlinux.org>
10682 * COPYING: Update from GNU website to fix FSF address.
10683 * COPYING.LIB: Likewise.
10685 2013-09-06 David S. Miller <davem@davemloft.net>
10687 * po/zh_TW.po: Update Chinese (traditional) translation from
10688 translation project.
10690 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10691 Joseph Myers <joseph@codesourcery.com>
10693 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10695 (obstack_chunk_alloc): New macro.
10696 (obstack_chunk_free): Likewise.
10697 (record_offset): New function.
10698 (init_locale_data): Likewise.
10699 (align_locale_data): Likewise.
10700 (add_locale_empty): Likewise.
10701 (add_locale_raw_data): Likewise.
10702 (add_locale_raw_obstack): Likewise.
10703 (add_locale_string): Likewise.
10704 (add_locale_wstring): Likewise.
10705 (add_locale_uint32): Likewise.
10706 (add_locale_uint32_array): Likewise.
10707 (add_locale_char): Likewise.
10708 (start_locale_structure): Likewise.
10709 (end_locale_structure): Likewise.
10710 (start_locale_prelude): Likewise.
10711 (end_locale_prelude): Likewise.
10712 (write_locale_data): Take locale_file structure rather than an
10714 * locale/programs/locfile.h: Include "obstack.h".
10715 (struct locale_file): Change to store locale file contents instead
10717 (init_locale_data): New prototype.
10718 (align_locale_data): Likewise.
10719 (add_locale_empty): Likewise.
10720 (add_locale_raw_data): Likewise.
10721 (add_locale_raw_obstack): Likewise.
10722 (add_locale_string): Likewise.
10723 (add_locale_wstring): Likewise.
10724 (add_locale_uint32): Likewise.
10725 (add_locale_uint32_array): Likewise.
10726 (add_locale_char): Likewise.
10727 (start_locale_structure): Likewise.
10728 (end_locale_structure): Likewise.
10729 (start_locale_prelude): Likewise.
10730 (end_locale_prelude): Likewise.
10731 (write_locale_data): Update prototype.
10732 * locale/programs/3level.h (struct TABLE): Remove result field.
10733 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10734 Use new locale_file interface.
10735 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10736 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10737 * locale/programs/ld-address.c (address_output): Use new
10738 locale_file interface.
10739 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10741 (collate_finish): Don't call collseq_table_finalize.
10742 (collate_output): Use new locale_file interface.
10743 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10745 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10746 (TABLE): Move defines earlier in file.
10747 (ELEMENT): Likewise.
10748 (DEFAULT): Likewise.
10749 (wctrans_table_add): Move macro and inline function earlier in
10751 (struct wctype_table): Move type earlier in file.
10752 (add_locale_wctype_table): New static prototype.
10753 (struct locale_ctype_t): Use logical types instead of struct iovec
10754 pointers for members.
10755 (ctype_output): Use new locale_file interface.
10756 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10757 new locale_file interface.
10758 (allocate_arrays): Update for use of new locale_file interface.
10759 * locale/programs/ld-identification.c (identification_output): Use
10760 new locale_file interface.
10761 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10762 * locale/programs/ld-messages.c (messages_output): Likewise.
10763 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10764 * locale/programs/ld-name.c (name_output): Likewise.
10765 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10766 * locale/programs/ld-paper.c (paper_output): Likewise.
10767 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10768 * locale/programs/ld-time.c (time_output): Likewise.
10770 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10772 * benchtests/Makefile: Add memrchr benchmark.
10773 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10774 benchmark as memrchr.
10775 * benchtests/bench-memrchr-ifunc.c: New file.
10776 * benchtests/bench-memrchr.c: New file.
10778 2013-09-06 Will Newton <will.newton@linaro.org>
10780 * benchtests/Makefile (string-bench): Add memcpy.
10782 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10783 Cong Wang <amwang@redhat.com>
10786 * sysdeps/unix/sysv/linux/bits/in.h
10787 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10788 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10789 before __USE_KERNEL_IPV6_DEFS uses.
10790 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10792 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10793 sockaddr_in6, or ipv6_mreq.
10795 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10797 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10798 memory access for final bytes in some large inputs.
10799 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10801 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10803 * string/test-memrchr.c: New file.
10804 * string/test-memrchr-ifunc.c: New file.
10805 * string/Makefile: Add new memrchr testcase.
10807 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10809 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10810 fanotify_init returns EPERM.
10812 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10814 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10816 (top level): Treat second token from macro or constant entries for
10817 allowed headers as allowed.
10818 * include/complex.h: Condition internal declarations on
10820 * include/fenv.h: Condition include of <stdbool.h> and internal
10821 declarations on [!_ISOMAC].
10823 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10826 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10828 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10830 * configure.in (--enable-versioning): Remove configure option.
10831 (libc_cv_asm_symver_directive): Remove configure test.
10832 (libc_cv_ld_version_script_option): Likewise.
10833 (VERSIONING): Remove variable and AC_SUBST.
10834 (DO_VERSIONING): Remove AC_DEFINE.
10835 * configure: Regenerated.
10836 * config.h.in (DO_VERSIONING): Remove macro.
10837 * Makerules [$(versioning) = yes]: Change conditionals to
10838 [$(build-shared) = yes].
10839 * config.make.in (versioning): Remove variable.
10840 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10841 [$(build-shared) = yes].
10842 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10843 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10844 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10845 [$(build-shared) = yes].
10846 * extra-lib.mk [$(versioning) = yes]: Likewise.
10847 * hurd/Makefile [$(versioning) = yes]: Likewise.
10848 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10850 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10852 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10853 [SHARED && !NO_HIDDEN].
10854 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10856 [SHARED && DO_VERSIONING]: Likewise..
10857 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10858 [$(build-shared) = yes].
10859 * manual/install.texi (--disable-versioning): Remove
10861 * INSTALL: Regenerated.
10862 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10864 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10865 [$(build-shared) = yes].
10866 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10867 * sysdeps/i386/i686/multiarch/strstr-c.c
10868 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10869 [SHARED && !NO_HIDDEN].
10870 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10871 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10872 * sysdeps/powerpc/powerpc32/dl-machine.c
10873 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10874 * sysdeps/powerpc/powerpc32/sysdep.h
10875 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10876 to [SHARED && PIC && !NO_HIDDEN].
10877 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10878 conditional to [SHARED].
10880 2013-09-04 Will Newton <will.newton@linaro.org>
10882 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10883 * benchtests/bench-string.h: Include bench-timing.h instead
10884 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10885 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10886 call to HP_TIMING_DIFF_INIT.
10887 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10888 instead of hp-timing.h macros.
10889 * benchtests/bench-memchr.c: Likewise.
10890 * benchtests/bench-memcmp.c: Likewise.
10891 * benchtests/bench-memcpy.c: Likewise.
10892 * benchtests/bench-memmem.c: Likewise.
10893 * benchtests/bench-memmove.c: Likewise.
10894 * benchtests/bench-memset.c: Likewise.
10895 * benchtests/bench-rawmemchr.c: Likewise.
10896 * benchtests/bench-strcasecmp.c: Likewise.
10897 * benchtests/bench-strcasestr.c: Likewise.
10898 * benchtests/bench-strcat.c: Likewise.
10899 * benchtests/bench-strchr.c: Likewise.
10900 * benchtests/bench-strcmp.c: Likewise.
10901 * benchtests/bench-strcpy.c: Likewise.
10902 * benchtests/bench-strcpy_chk.c: Likewise.
10903 * benchtests/bench-strlen.c: Likewise.
10904 * benchtests/bench-strncasecmp.c: Likewise.
10905 * benchtests/bench-strncat.c: Likewise.
10906 * benchtests/bench-strncmp.c: Likewise.
10907 * benchtests/bench-strncpy.c: Likewise.
10908 * benchtests/bench-strnlen.c: Likewise.
10909 * benchtests/bench-strpbrk.c: Likewise.
10910 * benchtests/bench-strrchr.c: Likewise.
10911 * benchtests/bench-strspn.c: Likewise.
10912 * benchtests/bench-strstr.c: Likewise.
10914 2013-09-04 Will Newton <will.newton@linaro.org>
10916 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10918 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10922 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10923 * math/libm-test.inc (lgamma_test_data): Add more tests.
10924 * sysdeps/i386/fpu/libm-test-ulps: Update.
10925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10927 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10929 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10933 Add strcmp-sse2-unaligned
10934 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10936 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10938 * Versions.def (libc): Add GLIBC_2.19.
10940 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10942 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10943 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10945 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10948 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10949 intermediate calculations in recurrence.
10950 (__ieee754_ynf): Likewise.
10951 * math/libm-test.inc (jn_test_data): Do not allow spurious
10952 underflow exception. Add more tests.
10953 (yn_test_data): Add more tests.
10954 * sysdeps/i386/fpu/libm-test-ulps: Update.
10955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10957 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10959 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10961 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10963 * csu/init-first.c: Fix then/than typos.
10964 * locale/programs/ld-collate.c: Likewise.
10965 * locale/programs/linereader.h: Likewise.
10966 * manual/charset.texi: Likewise.
10967 * manual/filesys.texi: Likewise.
10968 * manual/stdio.texi: Likewise.
10969 * manual/string.texi: Likewise.
10970 * stdlib/fmtmsg.c: Likewise.
10971 * sysdeps/i386/stpncpy.S: Likewise.
10972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10973 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10974 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10975 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10977 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10979 * elf/dl-open.c: Fix typos.
10980 * iconvdata/gbbig5.c: Likewise.
10981 * iconvdata/iso-2022-jp.c: Likewise.
10982 * iconv/gconv_int.h: Likewise.
10983 * iconv/loop.c: Likewise.
10984 * nis/rpcsvc/nis.h: Likewise.
10985 * resolv/ns_name.c: Likewise.
10986 * stdio-common/vfscanf.c: Likewise.
10987 * streams/stropts.h: Likewise.
10988 * sunrpc/rpc_thread.c: Likewise.
10989 * sysdeps/i386/strpbrk.S: Likewise.
10990 * sysdeps/ieee754/k_standard.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10993 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10994 * sysdeps/mach/hurd/profil.c: Likewise.
10995 * sysdeps/s390/dl-procinfo.h: Likewise.
10996 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10997 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10998 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10999 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11000 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11002 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11004 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11007 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11009 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11010 aix specific files.
11011 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11012 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11013 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11014 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11015 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11016 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11017 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11018 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11020 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11021 Roland McGrath <roland@hack.frob.com>
11023 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11024 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11026 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11028 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11029 __executable_start symbol instead of _start.
11031 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11033 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11034 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11036 * sysdeps/gnu/ldsodefs.h: ... this new file.
11038 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11039 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11040 instead of ELFOSABI_LINUX.
11042 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11043 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11044 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11045 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11047 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11048 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11049 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11051 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11052 (ibm_extended_long_double): Add ieee_nan member.
11053 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11054 (do_test): New function.
11056 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11058 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11059 functions, renamed from truncdfsf_test, trunctfsf_test,
11061 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11063 (do_test): Run all these.
11065 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11067 * argp/argp-help.c: Fix typos.
11068 * argp/argp-parse.c: Likewise.
11069 * debug/backtracesyms.c: Likewise.
11070 * elf/elf.h: Likewise.
11071 * malloc/malloc.c: Likewise.
11072 * nis/nis_print.c: Likewise.
11073 * resolv/res_comp.c: Likewise.
11074 * stdlib/stdlib.h: Likewise.
11075 * sunrpc/clnt_tcp.c: Likewise.
11076 * sunrpc/clnt_udp.c: Likewise.
11077 * sunrpc/clnt_unix.c: Likewise.
11078 * sysdeps/unix/bsd/ptsname.c: Likewise.
11079 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11080 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11087 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11089 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11091 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11094 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11097 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11098 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11099 ($(objpfx)bug-dl-leaf): New rule.
11100 ($(objpfx)bug-dl-leaf.so): Likewise.
11101 ($(objpfx)bug-dl-leaf.out): Likewise.
11102 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11103 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11104 * dlfcn/bug-dl-leaf.c: New test.
11105 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11106 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11107 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11108 (dlclose): Likewise.
11109 (dlmopen): Likewise.
11111 2013-08-27 Roland McGrath <roland@hack.frob.com>
11113 * include/netdb.h [!_ISOMAC]:
11114 Don't include <tls.h>.
11115 (h_errno, __libc_h_errno): Move declaration and macros out of
11118 * include/resolv.h [_RESOLV_H_]:
11119 Don't include <tls.h>.
11120 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11121 * resolv/res_libc.c: Don't include <tls.h>.
11122 (_res): Use __attribute__ ((nocommon)) in place of
11123 __attribute__ ((section (".bss"))).
11125 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11126 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11128 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11130 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11131 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11133 * resolv/res_mkquery.c: Include <sys/time.h>.
11135 * inet/ifreq.c: Moved to ...
11136 * sysdeps/unix/ifreq.c: ... here.
11137 * inet/ifreq.c: New file, true stub version.
11139 * socket/sa_len.c: New file.
11140 * socket/Makefile (aux): Add it.
11141 * sysdeps/unix/sysv/linux/Makefile
11142 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11143 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11144 and #include <socket/sa_len.c>.
11145 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11146 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11148 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11149 * bits/socket.h: ... here.
11151 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11152 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11153 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11155 2013-08-27 Andreas Schwab <schwab@suse.de>
11158 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11159 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11160 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11161 * string/test-strcasecmp.c (test_main): Run tests in several
11163 * string/test-strncasecmp.c (test_main): Likewise.
11165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11166 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11167 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11169 (__strncasecmp_ssse3) [PIC]: Likewise.
11171 2013-08-26 Roland McGrath <roland@hack.frob.com>
11173 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11175 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11176 instead of explicitly declaring xdecrypt.
11177 * nis/nss_nis/nis-publickey.c: Likewise.
11179 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11182 * nscd/aicache.c: Include res_hconf.h.
11183 (addhstaiX): Initialize res_hconf.
11185 2013-08-26 Andreas Schwab <schwab@suse.de>
11187 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11188 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11190 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11192 * nscd/aicache.c (addhstaiX): Fix indentation.
11194 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11196 * configure.ac: Quote $build_pt_chown test.
11197 * configure: Regenerated.
11199 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11202 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11203 * math/s_cexpf.c (__cexpf): Likewise.
11204 * math/s_cexpl.c (__cexpl): Likewise.
11205 * math/libm-test.inc (cexp_test_data): Correct expected return
11206 value for NaN + i0. Add another test.
11208 2013-08-22 David S. Miller <davem@davemloft.net>
11210 * po/ca.po: Update Catalan translation from translation project.
11211 * po/uk.po: Add Ukrainian translations from translation project.
11213 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11216 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11217 is infinite, not alongside NaN test.
11218 * math/s_fdimf.c (__fdimf): Likewise.
11219 * math/s_fdiml.c (__fdiml): Likewise.
11220 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11221 errno is unchanged.
11223 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11225 * argp/argp-help.c: Fix typos.
11226 * crypt/speeds.c: Likewise.
11227 * csu/check_fds.c: Likewise.
11228 * elf/dl-load.c: Likewise.
11229 * elf/dl-open.c: Likewise.
11230 * elf/reldep3.c: Likewise.
11231 * elf/reldep.c: Likewise.
11232 * elf/sprof.c: Likewise.
11233 * iconv/iconv_charmap.c: Likewise.
11234 * iconv/skeleton.c: Likewise.
11235 * iconv/strtab.c: Likewise.
11236 * io/lockf64.c: Likewise.
11237 * libio/libioP.h: Likewise.
11238 * resolv/gai_notify.c: Likewise.
11239 * resolv/ns_name.c: Likewise.
11240 * resolv/ns_samedomain.c: Likewise.
11241 * resolv/res_send.c: Likewise.
11242 * stdlib/random.c: Likewise.
11243 * sunrpc/rpc/xdr.h: Likewise.
11244 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11245 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11246 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11247 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11248 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11251 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11252 * sysdeps/mach/hurd/check_fds.c: Likewise.
11253 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11254 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11257 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11258 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11259 * sysdeps/pthread/aio_notify.c: Likewise.
11260 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11261 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11262 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11263 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11264 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11266 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11268 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11269 version if bit_Slow_SSE4_2 is set.
11270 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11271 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11273 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11277 trampoline stack frame information.
11278 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11279 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11280 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11281 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11282 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11283 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11284 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11285 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11287 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11288 interrupting a syscall and set with option SA_SIGINFO.
11290 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11293 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11294 argument is infinite.
11295 * math/s_cprojf.c (__cprojf): Likewise.
11296 * math/s_cprojl.c (__cprojl): Likewise.
11297 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11298 * math/libm-test.inc (cproj_test_data): Add more tests.
11300 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11302 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11303 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11304 size. Use __ffs to determine corresponding shift.
11306 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11307 Roland McGrath <roland@hack.frob.com>
11309 * Makefile (INSTALL): Remove trailing blank lines from output of
11312 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11314 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11315 Align 32 bit compat elf_greg to 8 bytes.
11317 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11319 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11321 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11323 * string/strcoll_l.c (coll_seq): New structure.
11324 (get_next_seq_cached): New function.
11325 (get_next_seq): New function.
11326 (do_compare): New function.
11327 (STRCOLL): Use GNU style definition. Simplify implementation
11328 by using get_next_seq, get_next_seq_cached and do_compare.
11330 2013-08-16 Florian Weimer <fweimer@redhat.com>
11334 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11336 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11338 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11339 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11340 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11342 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11343 GETDENTS_64BIT_ALIGNED.
11344 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11345 * manual/filesys.texi (Reading/Closing Directory): Document
11346 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11348 * manual/conf.texi (Limits for Files): Add portability note to
11349 NAME_MAX, PATH_MAX.
11350 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11352 2013-08-13 Andreas Schwab <schwab@suse.de>
11355 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11357 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11358 LDBL_MAX_EXP >= 16384]: Add tests for it.
11360 2013-08-12 David S. Miller <davem@davemloft.net>
11362 * version.h (RELEASE): Set to "development".
11363 (VERSION): Set to "2.18.90".
11364 * NEWS: Add 2.19 section.
11366 2013-08-03 David S. Miller <davem@davemloft.net>
11368 * po/ko.po: Update Korean translation from translation project.
11370 2013-08-01 David S. Miller <davem@davemloft.net>
11372 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11373 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11376 2013-07-30 David S. Miller <davem@davemloft.net>
11378 * po/fr.po: Update French translation from translation project.
11380 2013-07-28 David S. Miller <davem@davemloft.net>
11382 * po/cs.po: Update Czech translation from translation project.
11384 * po/sv.po: Update Swedish translation from translation project.
11386 2013-07-27 David S. Miller <davem@davemloft.net>
11388 * po/eo.po: Update Esperanto translation from translation project.
11390 * po/vi.po: Update Vietnamese translation from translation project.
11392 * po/de.po: Update German translation from translation project.
11394 2013-07-26 David S. Miller <davem@davemloft.net>
11396 * po/bg.po: Update Bulgarian translation from translation project.
11398 * po/nl.po: Update Dutch translation from translation project.
11399 * po/pl.po: Update Polish translation from translation project.
11400 * po/ru.po: Update Russian translation from translation project.
11402 2013-07-24 David S. Miller <davem@davemloft.net>
11404 * po/libc.pot: Update.
11406 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11408 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11409 variable page size.
11410 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11411 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11412 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11414 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11416 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11418 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11419 Andreas Schwab <schwab@suse.de>
11420 Roland McGrath <roland@hack.frob.com>
11421 Joseph Myers <joseph@codesourcery.com>
11422 Carlos O'Donell <carlos@redhat.com>
11425 * config.h.in: Define HAVE_PT_CHOWN.
11426 * config.make.in (build-pt-chown): New variable.
11427 * configure.in (--enable-pt_chown): New configure option.
11428 * configure: Regenerate.
11429 * login/Makefile: Include Makeconfig. Build pt_chown only if
11430 build-pt-chown is enabled.
11431 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11432 pt_chown to fix pty ownership.
11433 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11435 * manual/install.texi (Configuring and compiling): Mention
11436 --enable-pt_chown. Add @findex for grantpt.
11437 * INSTALL: Regenerate.
11439 2013-07-20 David S. Miller <davem@davemloft.net>
11441 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11442 difference between 32-bit and 64-bit.
11444 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11447 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11448 Avoid system header dependency with -ffreestanding.
11449 ($(objpfx)bits/syscall%d): Likewise.
11451 2013-07-13 David S. Miller <davem@davemloft.net>
11453 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11454 underflows from atanl/atan2l due to bug 15319.
11455 (casinh_test_data): Likewise.
11457 2013-07-07 David S. Miller <davem@davemloft.net>
11459 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11461 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11463 * sysdeps/i386/fpu/libm-test-ulps: Update.
11464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11466 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11468 * configure.in (--enable-lock-elision): Fix message text.
11469 * INSTALL: Regenerate.
11470 * configure: Regenerate.
11472 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11476 2013-07-03 Andreas Jaeger <aj@suse.de>
11478 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11480 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11481 (ptrace_peeksiginfo_args): Add.
11482 (__ptrace_peeksiginfo_flags): Add.
11483 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11484 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11487 2013-07-03 Allan McRae <allan@archlinux.org>
11489 * sysdeps/i386/fpu/libm-test-ulps: Update.
11491 2013-07-02 David S. Miller <davem@davemloft.net>
11493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11495 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11499 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11501 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11504 2013-07-02 Andi Kleen <ak@linux.intel.com>
11506 * config.h.in (ENABLE_LOCK_ELISION): Add.
11507 * configure.in (--enable-lock-elision): Add option.
11508 * manual/install.texi: Document --enable lock elision.
11509 * configure: Regenerate
11510 * INSTALL: Regenerate.
11512 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11514 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11515 SSE4.2 strcasecmp for libc.a.
11516 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11518 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11521 * soft-fp/op-common.h (_FP_FMA): New macro.
11522 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11523 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11524 (_FP_MUL_MEAT_1_imm): ... here.
11525 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11526 (_FP_MUL_MEAT_1_wide): ... here.
11527 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11528 (_FP_MUL_MEAT_1_hard): ... here.
11529 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11530 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11531 (_FP_MUL_MEAT_2_wide): ... here.
11532 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11533 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11534 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11535 (_FP_MUL_MEAT_2_gmp): ... here.
11536 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11537 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11538 (_FP_MUL_MEAT_4_wide): ... here.
11539 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11540 (_FP_MUL_MEAT_4_gmp): ... here.
11541 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11542 (_FP_WFRACBITS_DW_S): Likewise.
11543 (_FP_WFRACXBITS_DW_S): Likewise.
11544 (_FP_HIGHBIT_DW_S): Likewise.
11545 (FP_FMA_S): Likewise.
11546 (_FP_FRAC_HIGH_DW_S): Likewise.
11547 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11548 (_FP_WFRACBITS_DW_D): Likewise.
11549 (_FP_WFRACXBITS_DW_D): Likewise.
11550 (_FP_HIGHBIT_DW_D): Likewise.
11551 (FP_FMA_D): Likewise.
11552 (_FP_FRAC_HIGH_DW_D): Likewise.
11553 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11554 (_FP_WFRACBITS_DW_E): Likewise.
11555 (_FP_WFRACXBITS_DW_E): Likewise.
11556 (_FP_HIGHBIT_DW_E): Likewise.
11557 (FP_FMA_E): Likewise.
11558 (_FP_FRAC_HIGH_DW_E): Likewise.
11559 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11560 (_FP_WFRACBITS_DW_Q): Likewise.
11561 (_FP_WFRACXBITS_DW_Q): Likewise.
11562 (_FP_HIGHBIT_DW_Q): Likewise.
11563 (FP_FMA_Q): Likewise.
11564 (_FP_FRAC_HIGH_DW_Q): Likewise.
11565 * soft-fp/fmasf4.c: New file.
11566 * soft-fp/fmadf4.c: Likewise.
11567 * soft-fp/fmatf4.c: Likewise.
11569 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11572 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11576 (index_Slow_SSE4_2): Likewise.
11577 (index_Prefer_PMINUB_for_stringop): Likewise.
11578 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11579 bit_Slow_SSE4_2 is set.
11580 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11581 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11583 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11585 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11586 rtld_global._dl_hwcap2.
11587 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11589 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11590 POWER8 feature descriptions defined in _dl_hwcap2.
11591 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11592 string handling for POWER8 feature bits.
11593 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11594 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11595 _dl_powerpc_cap_flags.
11596 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11597 * sysdeps/powerpc/rtld-global-offsets.sym
11598 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11599 _dl_hwcap2 in the rtld_global_ro structure.
11601 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11603 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11604 hardware capabilities in support of AT_HWCAP2.
11605 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11606 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11608 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11609 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11610 explicitly the unknown a_type display mechanism is used.
11611 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11612 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11614 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11615 to macro prototype for AT_HWCAP2 support.
11616 * sysdeps/i386/dl-procinfo.h: Likewise.
11617 * sysdeps/s390/dl-procinfo.h: Likewise.
11618 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11619 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11620 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11621 return -1 for unknown a_type display fallback.
11622 * sysdeps/sparc/dl-procinfo.h: Likewise.
11623 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11624 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11626 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11628 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11629 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11631 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11634 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11635 mprotect making __stack_prot writable.
11637 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11638 Joseph Myers <joseph@codesourcery.com>
11640 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11641 as being properly aligned.
11643 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11645 * dlfcn/modstatic5.c: New file.
11646 * dlfcn/tststatic5.c: New file.
11647 * dlfcn/Makefile (tests): Add tststatic5.
11648 (tests-static): Likewise.
11649 (modules-names): Add modstatic5.
11650 (tststatic5-ENV): New variable.
11651 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11654 * elf/dl-support.c (_dl_main_map): New variable.
11655 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11656 (_dl_nns, _dl_load_adds): Set to 1.
11657 (_dl_initial_searchlist): Refer to _dl_main_map.
11658 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11659 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11660 call to _dl_get_origin.
11661 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11663 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11664 * dlfcn/modstatic3.c: New file.
11665 * dlfcn/tststatic3.c: New file.
11666 * dlfcn/tststatic4.c: New file.
11667 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11668 (tests-static): Likewise.
11669 (modules-names): Add modstatic3.
11670 (tststatic3-ENV, tststatic4-ENV): New variables.
11671 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11672 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11674 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11676 * configure.in (CC): Require GCC version 4.4 or later.
11677 * configure: Regenerated.
11678 * manual/install.texi (Tools for Compilation): Update GCC version
11680 * INSTALL: Regenerated.
11682 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11685 * string/test-memcmp.c (check2): New.
11686 (main): Call check2.
11688 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11690 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11693 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11695 (dl_open_worker) [!SHARED]: ... here.
11697 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11699 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11701 2013-06-25 Richard Henderson <rth@redhat.com>
11703 * locale/programs/locarchive.c: Include <libc-internal.h>
11705 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11707 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11708 trailing whitespace removed.
11710 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11713 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11714 * locale/programs/locarchive.c: Include libc-mmap.h.
11715 (prepare_address_space): Take two new outputs (the mmap base and len).
11716 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11718 (create_archive): Declare new mmap base and len values for
11719 prepare_address_space, and store the result in ah.
11720 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11721 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11722 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11723 Declare new mmap base and len values for
11724 prepare_address_space, and store the result in new_ah.
11725 (open_archive): Declare new mmap base and len values for
11726 prepare_address_space, and store the result in ah.
11727 (close_archive): If ah->mmap_base is not NULL, use that and
11728 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11729 * sysdeps/generic/libc-mmap.h: New file.
11731 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11733 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11734 (ALIGN_UP): Likewise.
11735 (PTR_ALIGN_DOWN): Likewise.
11736 (PTR_ALIGN_UP): Likewise.
11738 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11740 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11741 entry mapped to PPC_PLATFORM_POWER8.
11742 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11744 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11745 (_dl_string_platform): Add case for exporting platform position for
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11748 search path to sysdeps/powerpc/powerpc32/power8 directory.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11750 search path to sysdeps/powerpc/powerpc64/power8 directory.
11751 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11752 power7 directories.
11753 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11754 power7 directories.
11756 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11758 * INSTALL: Regenerate.
11760 * nscd/connections.c (nscd_init): Fix comment.
11762 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11764 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11767 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11768 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11770 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11772 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11774 (DL_DST_REQ_STATIC): Remove macro.
11776 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11779 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11780 with a shift of 0 bits.
11782 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11784 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11787 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11790 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11792 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11794 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11795 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11796 accepts -fno-tree-loop-distribute-patterns.
11797 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11798 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11800 * string/memset.c (memset): Likewise.
11801 * string/test-memmove.c (simple_memmove): Disable loop transformation
11803 * string/test-memset.c (simple_memset): Likewise.
11804 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11805 * benchtests/bench-memset.c (simple_memset): Likewise.
11806 * configure: Regenerated.
11808 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11810 * math/test-misc.c (main): Ignore fesetround failure when failures
11811 of subsequent rounding tests would be ignored.
11814 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11815 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11816 * math/fegetenv.c (__fegetenv): Return 0.
11817 * math/fegetexcept.c (fegetexcept): Return 0.
11818 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11820 * math/feholdexcpt.c (feholdexcept): Return 0.
11821 * math/fesetenv.c (__fesetenv): Return 0.
11822 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11823 argument FE_TONEAREST.
11824 * math/feupdateenv.c (__feupdateenv): Return 0.
11825 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11827 2013-06-18 Roland McGrath <roland@hack.frob.com>
11829 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11830 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11831 ($(objpfx)rtld-%.os rules): Use them.
11833 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11835 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11838 2013-06-17 Roland McGrath <roland@hack.frob.com>
11840 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11841 length of target pattern, then descending length of dependency pattern.
11842 * configure.in (AWK): Require gawk 3.1.2 or newer.
11843 * manual/install.texi (Tools for Compilation): Say that we do.
11844 * configure: Regenerated.
11846 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11847 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11848 * scripts/sysd-rules.awk: ... this new script.
11849 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11850 than a glob-style pattern.
11852 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11854 * math/test-misc.c (main): Do not treat incorrectly rounded
11855 conversions as failure unless ROUNDING_TESTS passes.
11857 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11860 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11861 restore exception state around main square root computation, then
11862 check for inexactness explicitly.
11864 * math/libm-test.inc (fma_test_data): Add another test.
11866 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11868 * manual/threads.texi (Non-POSIX Extensions): New document
11869 node. Document pthread_getattr_default_np and
11870 pthread_setattr_default_np.
11872 * Versions.def (libpthread): Add GLIBC_2.18.
11873 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11882 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11893 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11896 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11898 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11899 H.J. Lu <hjl.tools@gmail.com>
11902 * sysdeps/x86_64/rtld-memset.c: Remove file.
11903 * sysdeps/x86_64/rtld-memset.S: New file.
11905 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11907 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11908 (test_in_one_mode): Take arguments for whether the rounding mode
11909 is supported for each floating-point type.
11910 (do_test): Pass new arguments to test_in_one_mode using
11913 2013-06-13 Roland McGrath <roland@hack.frob.com>
11915 * posix/tst-waitid.c (do_test): Distinguish different instances of
11916 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11917 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11918 before entering the kernel for waitpid.
11920 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11922 * NEWS: Fix note on clock function precision. Text by Roland
11925 2013-06-13 Roland McGrath <roland@hack.frob.com>
11927 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11928 it into place only when and if the sanity check passes.
11930 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11932 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11933 output for whether conversion result is exact. Take argument
11934 indicating whether type is IBM long double.
11935 (round_for_all): Change need_exact field to ibm_ld.
11936 * stdlib/tst-strtod-round.c (struct exactness): New type.
11937 (struct test): Change bool ld_ok field to struct exactness exact.
11938 (TEST): Update all definitions for change to field.
11939 (tests): Regenerate array contents.
11940 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11941 field value. Check for IBM long double here.
11942 (do_test): Update calls to test_in_one_mode.
11944 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11947 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11948 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11950 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11953 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11954 generated by the compiler on loop optimizations.
11955 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11956 general definitions.
11958 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11960 * math/bug-nextafter.c: Include <math-tests.h>.
11961 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11963 * math/bug-nexttoward.c: Include <math-tests.h>.
11964 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11966 * math/test-misc.c: Include <math-tests.h>.
11967 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11970 2013-06-12 Andreas Jaeger <aj@suse.de>
11972 * po/ia.po: Update Interlingua translation from translation
11975 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11977 * include/fenv.h: Include stdbool.h.
11978 (struct rm_ctx): New structure.
11979 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11981 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11982 (SET_RESTORE_ROUNDF): Likewise.
11983 (SET_RESTORE_ROUNDL): Likewise.
11984 (SET_RESTORE_ROUND_NOEX): Likewise.
11985 (SET_RESTORE_ROUND_NOEXF): Likewise.
11986 (SET_RESTORE_ROUND_NOEXL): Likewise.
11987 (SET_RESTORE_ROUND_53BIT): Likewise.
11988 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11989 (libc_feresetround_noexf_ctx): Likewise.
11990 (libc_feresetround_noexl_ctx): Likewise.
11991 (libc_feholdsetround_53bit_ctx): Likewise.
11992 (libc_feresetround_53bit_ctx): Likewise.
11993 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11994 (libc_feholdexcept_setround_sse_ctx): New function.
11995 (libc_fesetenv_sse_ctx): Likewise.
11996 (libc_feupdateenv_sse_ctx): Likewise.
11997 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11998 (libc_feholdexcept_setround_387_ctx): Likewise.
11999 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12000 (libc_feholdsetround_387_prec_ctx): Likewise.
12001 (libc_feholdsetround_387_ctx): Likewise.
12002 (libc_feholdsetround_387_53bit_ctx): Likewise.
12003 (libc_feholdsetround_sse_ctx): Likewise.
12004 (libc_feresetround_sse_ctx): Likewise.
12005 (libc_feresetround_387_ctx): Likewise.
12006 (libc_feupdateenv_387_ctx): Likewise.
12007 (libc_feholdexcept_setroundf_ctx): Define macro.
12008 (libc_fesetenvf_ctx): Likewise.
12009 (libc_feupdateenvf_ctx): Likewise.
12010 (libc_feholdsetroundf_ctx): Likewise.
12011 (libc_feresetroundf_ctx): Likewise.
12012 (libc_feholdexcept_setround_ctx): Likewise.
12013 (libc_fesetenv_ctx): Likewise.
12014 (libc_feupdateenv_ctx): Likewise.
12015 (libc_feholdsetround_ctx): Likewise.
12016 (libc_feresetround_ctx): Likewise.
12017 (libc_feholdexcept_setroundl_ctx): Likewise.
12018 (libc_feupdateenvl_ctx): Likewise.
12019 (libc_feholdsetroundl_ctx): Likewise.
12020 (libc_feresetroundl_ctx): Likewise.
12021 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12022 (libc_feresetround_53bit_ctx): Likewise.
12024 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12026 * locale/iso-639.def: Convert to UTF-8.
12028 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12030 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12031 (EXCEPTION_TESTS_double): Likewise.
12032 (EXCEPTION_TESTS_long_double): Likewise.
12033 (EXCEPTION_TESTS): Likewise.
12034 * math/libm-test.inc (test_exceptions): Only test exceptions if
12035 EXCEPTION_TESTS (FLOAT).
12037 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12039 * benchtests/Makefile (string-bench): Add strcpy_chk and
12041 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12042 * benchtests/bench-stpcpy_chk.c: New file.
12043 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12044 * benchtests/bench-strcpy_chk.c: New file.
12045 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12047 (do_test): Likewise.
12049 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12051 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12052 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12053 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12054 with tabs where appropriate.
12055 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12057 [PPC_PLATFORM_PPC440]: Likewise.
12058 [PPC_PLATFORM_PPC464]: Likewise.
12059 [PPC_PLATFORM_PPC476]: Likewise.
12060 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12061 ppc464, and ppc476 platform strings merging from ports/
12064 2013-06-11 Andreas Schwab <schwab@suse.de>
12067 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12068 (from_ucs4_idx): Regenerate.
12069 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12070 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12071 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12072 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12073 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12074 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12075 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12076 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12077 from FROM_LOOP and TO_LOOP specific macros.
12078 (BODY): Handle combining characters.
12079 * iconvdata/BIG5HKSCS.irreversible: Update.
12080 * iconvdata/BIG5HKSCS.precomposed: New file.
12081 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12083 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12085 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12087 * include/sys/time.h: Fix indentation and add copyright header.
12089 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12090 (do_test): Likewise.
12091 * string/test-memchr.c (do_one_test): Likewise.
12092 (do_test): Likewise.
12093 * string/test-memcmp.c (do_one_test): Likewise.
12094 (do_test): Likewise.
12095 * string/test-memcpy.c (do_one_test): Likewise.
12096 (do_test): Likewise.
12097 * string/test-memmem.c (do_one_test): Likewise.
12098 (do_test): Likewise.
12099 (do_random_tests): Likewise.
12100 * string/test-memmove.c (do_one_test): Likewise.
12101 (do_test): Likewise.
12102 * string/test-memset.c (do_one_test): Likewise.
12103 (do_test): Likewise.
12104 * string/test-rawmemchr.c (do_one_test): Likewise.
12105 (do_test): Likewise.
12106 * string/test-strcasecmp.c (do_one_test): Likewise.
12107 (do_test): Likewise.
12108 * string/test-strcasestr.c (do_one_test): Likewise.
12109 (do_test): Likewise.
12110 * string/test-strcat.c (do_one_test): Likewise.
12111 (do_test): Likewise.
12112 * string/test-strchr.c (do_one_test): Likewise.
12113 (do_test): Likewise.
12114 * string/test-strcmp.c (do_one_test): Likewise.
12115 (do_test): Likewise.
12116 * string/test-strcpy.c (do_one_test): Likewise.
12117 (do_test): Likewise.
12118 * string/test-string.h: Likewise.
12119 (test_init): Likewise.
12120 * string/test-strlen.c (do_one_test): Likewise.
12121 (do_test): Likewise.
12122 * string/test-strncasecmp.c (do_one_test): Likewise.
12123 (do_test): Likewise.
12124 * string/test-strncat.c (do_one_test): Likewise.
12125 (do_test): Likewise.
12126 * string/test-strncmp.c (do_one_test): Likewise.
12127 (do_test_limit): Likewise.
12128 (do_test): Likewise.
12129 * string/test-strncpy.c (do_one_test): Likewise.
12130 (do_test): Likewise.
12131 * string/test-strnlen.c (do_one_test): Likewise.
12132 (do_test): Likewise.
12133 * string/test-strpbrk.c (do_one_test): Likewise.
12134 (do_test): Likewise.
12135 * string/test-strrchr.c (do_one_test): Likewise.
12136 (do_test): Likewise.
12137 * string/test-strspn.c (do_one_test): Likewise.
12138 (do_test): Likewise.
12139 * string/test-strstr.c (do_one_test): Likewise.
12140 (do_test): Likewise.
12142 * benchtests/Makefile (string-bench): Add string benchmarks.
12143 * benchtests/bench-bcopy-ifunc.c: New file.
12144 * benchtests/bench-bcopy.c: New file.
12145 * benchtests/bench-bzero-ifunc.c: New file.
12146 * benchtests/bench-bzero.c: New file.
12147 * benchtests/bench-memccpy-ifunc.c: New file.
12148 * benchtests/bench-memccpy.c: New file.
12149 * benchtests/bench-memchr-ifunc.c: New file.
12150 * benchtests/bench-memchr.c: New file.
12151 * benchtests/bench-memcmp-ifunc.c: New file.
12152 * benchtests/bench-memcmp.c: New file.
12153 * benchtests/bench-memmem-ifunc.c: New file.
12154 * benchtests/bench-memmem.c: New file.
12155 * benchtests/bench-memmove-ifunc.c: New file.
12156 * benchtests/bench-memmove.c: New file.
12157 * benchtests/bench-mempcpy-ifunc.c: New file.
12158 * benchtests/bench-mempcpy.c: New file.
12159 * benchtests/bench-memset-ifunc.c: New file.
12160 * benchtests/bench-memset.c: New file.
12161 * benchtests/bench-rawmemchr-ifunc.c: New file.
12162 * benchtests/bench-rawmemchr.c: New file.
12163 * benchtests/bench-stpcpy-ifunc.c: New file.
12164 * benchtests/bench-stpcpy.c: New file.
12165 * benchtests/bench-stpncpy-ifunc.c: New file.
12166 * benchtests/bench-stpncpy.c: New file.
12167 * benchtests/bench-strcasecmp-ifunc.c: New file.
12168 * benchtests/bench-strcasecmp.c: New file.
12169 * benchtests/bench-strcasestr-ifunc.c: New file.
12170 * benchtests/bench-strcasestr.c: New file.
12171 * benchtests/bench-strcat-ifunc.c: New file.
12172 * benchtests/bench-strcat.c: New file.
12173 * benchtests/bench-strchr-ifunc.c: New file.
12174 * benchtests/bench-strchr.c: New file.
12175 * benchtests/bench-strchrnul-ifunc.c: New file.
12176 * benchtests/bench-strchrnul.c: New file.
12177 * benchtests/bench-strcmp-ifunc.c: New file.
12178 * benchtests/bench-strcmp.c: New file.
12179 * benchtests/bench-strcpy-ifunc.c: New file.
12180 * benchtests/bench-strcpy.c: New file.
12181 * benchtests/bench-strcspn-ifunc.c: New file.
12182 * benchtests/bench-strcspn.c: New file.
12183 * benchtests/bench-strlen-ifunc.c: New file.
12184 * benchtests/bench-strlen.c: New file.
12185 * benchtests/bench-strncasecmp-ifunc.c: New file.
12186 * benchtests/bench-strncasecmp.c: New file.
12187 * benchtests/bench-strncat-ifunc.c: New file.
12188 * benchtests/bench-strncat.c: New file.
12189 * benchtests/bench-strncmp-ifunc.c: New file.
12190 * benchtests/bench-strncmp.c: New file.
12191 * benchtests/bench-strncpy-ifunc.c: New file.
12192 * benchtests/bench-strncpy.c: New file.
12193 * benchtests/bench-strnlen-ifunc.c: New file.
12194 * benchtests/bench-strnlen.c: New file.
12195 * benchtests/bench-strpbrk-ifunc.c: New file.
12196 * benchtests/bench-strpbrk.c: New file.
12197 * benchtests/bench-strrchr-ifunc.c: New file.
12198 * benchtests/bench-strrchr.c: New file.
12199 * benchtests/bench-strspn-ifunc.c: New file.
12200 * benchtests/bench-strspn.c: New file.
12201 * benchtests/bench-strstr-ifunc.c: New file.
12202 * benchtests/bench-strstr.c: New file.
12204 * benchtests/Makefile: Disable parallel execution of targets.
12205 (string-bench): Add memcpy.
12206 (benchset): New variable to store a list of benchmark sets.
12207 (bench-func): Renamed from bench.
12208 (bench-set): New target.
12209 (bench): Depend on bench-func and bench-set.
12210 * benchtests/README: Add section on benchmark sets.
12211 * benchtests/bench-memcpy-ifunc.c: New file.
12212 * benchtests/bench-memcpy.c: New file.
12213 * benchtests/bench-string.h: New file.
12215 2013-06-11 Andreas Schwab <schwab@suse.de>
12218 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12219 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12220 values in the triple.
12221 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12222 terminator in the group key.
12224 2013-06-11 Andreas Jaeger <aj@suse.de>
12226 * po/zh_TW.po: Update Chinese (traditional) translation from
12227 translation project.
12229 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12231 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12232 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12233 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12234 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12235 (clock_getcpuclockid): Likewise.
12236 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12237 Add weak_alias and libc_hidden_def.
12238 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12239 * rt/clock_gettime.c (clock_gettime): Rename to
12240 __clock_gettime. Add weak_alias and libc_hidden_def.
12241 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12242 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12243 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12244 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12245 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12247 * rt/clock_settime.c (clock_settime): Rename to
12248 __clock_settime. Add weak_alias and libc_hidden_def.
12249 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12251 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12253 * mach/err_boot.sub: Remove trailing whitespace.
12254 * mach/err_ipc.sub: Likewise.
12255 * mach/err_mach.sub: Likewise.
12257 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12258 (ROUNDING_TESTS_double): Likewise.
12259 (ROUNDING_TESTS_long_double): Likewise.
12260 (ROUNDING_TESTS): Likewise.
12261 * math/libm-test.inc: Include <math-tests.h>.
12262 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12263 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12264 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12265 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12267 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12269 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12272 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12274 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12275 otherwise empty TRANS lines.
12276 * sysdeps/gnu/errlist.c: Regenerated.
12278 * catgets/gencat.c (error_print): Use (void) in function
12280 * crypt/crypt_util.c (__init_des): Likewise.
12281 * crypt/speeds.c (Stop): Likewise.
12283 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12284 * inet/ruserpass.c (token): Likewise.
12285 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12286 * intl/localealias.c (extend_alias_table): Likewise.
12287 * intl/plural-exp.c (init_germanic_plural): Likewise.
12288 * libio/fcloseall.c (__fcloseall): Likewise.
12289 * libio/genops.c (_IO_flush_all): Likewise.
12290 (_IO_flush_all_linebuffered): Likewise.
12291 (_IO_cleanup): Likewise.
12292 (_IO_iter_begin): Likewise.
12293 (_IO_iter_end): Likewise.
12294 (_IO_list_lock): Likewise.
12295 (_IO_list_unlock): Likewise.
12296 (_IO_list_resetlock): Likewise.
12297 * libio/getchar.c (getchar): Likewise.
12298 * libio/getchar_u.c (getchar_unlocked): Likewise.
12299 * libio/getwchar.c (getwchar): Likewise.
12300 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12301 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12302 * login/getpt.c (__getpt): Likewise.
12303 * login/tst-utmp.c (main): Likewise.
12304 * malloc/hooks.c (__malloc_check_init): Likewise.
12305 * malloc/malloc.c (__malloc_stats): Likewise.
12306 * malloc/mtrace.c (tr_break): Likewise.
12307 (mtrace): Likewise.
12308 (muntrace): Likewise.
12309 * misc/fstab.c (endfsent): Likewise.
12310 * misc/getclktck.c (__getclktck): Likewise.
12311 * misc/getdtsz.c (__getdtablesize): Likewise.
12312 * misc/gethostid.c (gethostid): Likewise.
12313 * misc/getpagesize.c (__getpagesize): Likewise.
12314 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12315 (__get_nprocs): Likewise.
12316 (__get_phys_pages): Likewise.
12317 (__get_avphys_pages): Likewise.
12318 * misc/getttyent.c (getttyent): Likewise.
12319 (setttyent): Likewise.
12320 (endttyent): Likewise.
12321 * misc/getusershell.c (getusershell): Likewise.
12322 (endusershell): Likewise.
12323 (setusershell): Likewise.
12324 (initshells): Likewise.
12325 * misc/hsearch.c (__hdestroy): Likewise.
12326 * misc/sync.c (sync): Likewise.
12327 * misc/syslog.c (closelog_internal): Likewise.
12328 (closelog): Likewise.
12329 * misc/ttyslot.c (ttyslot): Likewise.
12330 * misc/vhangup.c (vhangup): Likewise.
12331 * posix/fork.c (__fork): Likewise.
12332 * posix/getegid.c (__getegid): Likewise.
12333 * posix/geteuid.c (__geteuid): Likewise.
12334 * posix/getgid.c (__getgid): Likewise.
12335 * posix/getpid.c (__getpid): Likewise.
12336 * posix/getppid.c (__getppid): Likewise.
12337 * posix/getuid.c (__getuid): Likewise.
12338 * posix/pause.c (pause): Likewise.
12339 * posix/setpgrp.c (setpgrp): Likewise.
12340 * posix/setsid.c (__setsid): Likewise.
12341 * posix/test-vfork.c (noop): Likewise.
12342 * resolv/gethnamaddr.c (_endhtent): Likewise.
12343 (_gethtent): Likewise.
12344 (ht_endhostent): Likewise.
12345 (gethostent): Likewise.
12346 (dns_service): Likewise.
12347 * stdlib/drand48.c (drand48): Likewise.
12348 * stdlib/lrand48.c (lrand48): Likewise.
12349 * stdlib/mrand48.c (mrand48): Likewise.
12350 * stdlib/rand.c (rand): Likewise.
12351 * stdlib/random.c (__random): Likewise.
12352 * stdlib/setenv.c (clearenv): Likewise.
12353 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12354 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12355 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12356 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12357 (__get_nprocs): Likewise.
12358 (__get_phys_pages): Likewise.
12359 (__get_avphys_pages): Likewise.
12360 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12361 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12362 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12363 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12364 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12365 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12366 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12367 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12368 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12369 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12370 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12371 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12372 * sysdeps/posix/clock.c (clock): Likewise.
12373 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12374 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12375 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12376 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12377 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12378 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12379 (__get_nprocs_conf): Likewise.
12380 (__get_phys_pages): Likewise.
12381 (__get_avphys_pages): Likewise.
12382 * time/clock.c (clock): Likewise.
12383 * time/tzset.c (__tzname_max): Likewise.
12385 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12387 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12388 (__bswap_32): Do not use "register".
12389 * crypt/crypt.c (_ufc_doit_r): Likewise.
12390 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12391 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12392 * gmon/gmon.c (__monstartup): Likewise.
12393 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12394 * hurd/hurdmalloc.c (more_memory): Likewise.
12395 (malloc): Likewise.
12397 (realloc): Likewise.
12398 (malloc_fork_prepare): Likewise.
12399 (malloc_fork_parent): Likewise.
12400 (malloc_fork_child): Likewise.
12401 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12402 (_svcauth_des): Likewise.
12403 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12404 * inet/inet_net.c (inet_network): Likewise.
12405 * inet/inet_netof.c (inet_netof): Likewise.
12406 * inet/rcmd.c (__validuser2_sa): Likewise.
12407 * io/fts.c (fts_open): Likewise.
12408 (fts_load): Likewise.
12409 (fts_close): Likewise.
12410 (fts_read): Likewise.
12411 (fts_children): Likewise.
12412 (fts_build): Likewise.
12413 (fts_stat): Likewise.
12414 (fts_sort): Likewise.
12415 (fts_alloc): Likewise.
12416 (fts_lfree): Likewise.
12417 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12418 (_IO_file_xsgetn): Likewise.
12419 (_IO_file_xsgetn_mmap): Likewise.
12420 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12421 (_IO_cookie_write): Likewise.
12422 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12423 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12424 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12425 * malloc/obstack.c (_obstack_begin): Likewise.
12426 (_obstack_begin_1): Likewise.
12427 (_obstack_newchunk): Likewise.
12428 (_obstack_allocated_p): Likewise.
12429 (obstack_free): Likewise.
12430 (_obstack_memory_used): Likewise.
12431 * misc/getttyent.c (getttynam): Likewise.
12432 (getttyent): Likewise.
12435 * misc/getusershell.c (initshells): Likewise.
12436 * misc/syslog.c (__vsyslog_chk): Likewise.
12437 * misc/ttyslot.c (ttyslot): Likewise.
12438 * nis/nis_hash.c (__nis_hash): Likewise.
12439 * posix/fnmatch_loop.c (FCT): Likewise.
12440 * posix/getconf.c (print_all): Likewise.
12442 * posix/getopt.c (exchange): Likewise.
12443 * posix/glob.c (globfree): Likewise.
12444 (prefix_array): Likewise.
12445 (__glob_pattern_type): Likewise.
12446 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12447 (NS_GET32): Likewise.
12448 (NS_PUT16): Likewise.
12449 (NS_PUT32): Likewise.
12450 * resolv/gethnamaddr.c (getanswer): Likewise.
12451 (gethostbyname2): Likewise.
12452 (gethostbyaddr): Likewise.
12453 (_gethtent): Likewise.
12454 (_gethtbyname2): Likewise.
12455 (_gethtbyaddr): Likewise.
12456 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12457 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12458 * resolv/res_init.c (__res_vinit): Likewise.
12459 (net_mask): Likewise.
12460 * resolv/res_mkquery.c (outchar): Likewise.
12462 * stdio-common/printf_fp.c (outchar): Likewise.
12464 * stdio-common/printf_fphex.c (outchar): Likewise.
12466 * stdio-common/printf_size.c (outchar): Likewise.
12468 * stdio-common/test_rdwr.c (main): Likewise.
12469 * stdio-common/tfformat.c (matches): Likewise.
12470 * stdio-common/vfprintf.c (outchar): Likewise.
12471 (printf_unknown): Likewise.
12472 (buffered_vfprintf): Likewise.
12473 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12474 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12475 (ReadFile): Likewise.
12476 * stdlib/qsort.c (SWAP): Likewise.
12477 (_quicksort): Likewise.
12478 * stdlib/setenv.c (__add_to_environ): Likewise.
12479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12480 * stdlib/strtol_l.c (__strtol_l): Likewise.
12481 * stdlib/tst-strtod.c (main): Likewise.
12482 * stdlib/tst-strtol.c (main): Likewise.
12483 * stdlib/tst-strtoll.c (main): Likewise.
12484 * string/bits/string2.h (__strcmp_cc): Likewise.
12485 (__strcmp_cg): Likewise.
12486 (__strcspn_c1): Likewise.
12487 (__strcspn_c2): Likewise.
12488 (__strcspn_c3): Likewise.
12489 (__strspn_c1): Likewise.
12490 (__strspn_c2): Likewise.
12491 (__strspn_c3): Likewise.
12492 (__strsep_1c): Likewise.
12493 (__strsep_2c): Likewise.
12494 (__strsep_3c): Likewise.
12495 * string/memccpy.c (__memccpy): Likewise.
12496 * string/stpcpy.c (__stpcpy): Likewise.
12497 * string/strcmp.c (strcmp): Likewise.
12498 * string/strrchr.c (strrchr): Likewise.
12499 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12501 * sysdeps/mach/hurd/getcwd.c
12502 (_hurd_canonicalize_directory_name_internal): Likewise.
12503 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12504 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12505 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12506 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12507 Likewise, in both definitions.
12508 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12510 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12511 64] (__bswap_64): Likewise.
12512 * time/test_time.c (main): Likewise.
12513 * time/tzfile.c (__tzfile_read): Likewise.
12514 (__tzfile_compute): Likewise.
12515 * time/tzset.c (__tzset_parse_tz): Likewise.
12516 (tzset_internal): Likewise.
12517 (compute_change): Likewise.
12518 * wcsmbs/wcscat.c (__wcscat): Likewise.
12519 * wcsmbs/wcschr.c (wcschr): Likewise.
12520 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12521 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12522 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12523 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12524 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12525 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12526 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12527 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12528 * wcsmbs/wmemset.c (wmemset): Likewise.
12530 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12532 * scripts/config.guess: Update to version 2013-05-16.
12533 * scripts/config.sub: Update to version 2013-04-24.
12534 * scripts/install-sh: Update to version 2011-11-20.07.
12535 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12536 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12538 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12540 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12541 * elf/sln.c: Likewise.
12542 * hurd/hurd/ioctl.h: Likewise.
12543 * hurd/hurdmalloc.c: Likewise.
12544 * hurd/xattr.c: Likewise.
12545 * include/shlib-compat.h: Likewise.
12546 * inet/ruserpass.c: Likewise.
12547 * libio/iofgets_u.c: Likewise.
12548 * libio/iofgetws_u.c: Likewise.
12549 * locale/programs/ld-identification.c: Likewise.
12550 * locale/programs/ld-time.c: Likewise.
12551 * mach/msg-destroy.c: Likewise.
12552 * nss/nss_files/files-netgrp.c: Likewise.
12553 * resolv/res_data.c: Likewise.
12554 * soft-fp/op-1.h: Likewise.
12555 * soft-fp/op-2.h: Likewise.
12556 * soft-fp/op-4.h: Likewise.
12557 * soft-fp/op-common.h: Likewise.
12558 * stdio-common/printf_fphex.c: Likewise.
12559 * stdlib/strtod_l.c: Likewise.
12560 * sunrpc/rpc/clnt.h: Likewise.
12561 * sysdeps/generic/framestate.c: Likewise.
12562 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12563 * sysdeps/i386/bsd-setjmp.S: Likewise.
12564 * sysdeps/i386/__longjmp.S: Likewise.
12565 * sysdeps/i386/setjmp.S: Likewise.
12566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12567 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12568 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12584 * sysdeps/ieee754/support.c: Likewise.
12585 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12586 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12587 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12588 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12589 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12590 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12591 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12592 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12593 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12594 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12595 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12596 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12597 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12598 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12599 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12600 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12601 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12604 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12606 * posix/transbug.c: Remove executable mode.
12608 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12610 * crypt/speeds.c: Remove trailing whitespace.
12611 * dlfcn/default.c: Likewise.
12612 * elf/ifuncdep2.c: Likewise.
12613 * elf/ifuncmain1.c: Likewise.
12614 * elf/ifuncmain1vis.c: Likewise.
12615 * elf/testobj.h: Likewise.
12616 * elf/tst-stackguard1.c: Likewise.
12617 * gmon/sys/gmon.h: Likewise.
12618 * hurd/hurdmsg.c: Likewise.
12619 * hurd/new-fd.c: Likewise.
12620 * hurd/ports-get.c: Likewise.
12621 * iconvdata/ibm1008_420.c: Likewise.
12622 * inet/tst-getni1.c: Likewise.
12623 * inet/tst-getni2.c: Likewise.
12624 * libio/ioungetc.c: Likewise.
12625 * libio/wfiledoalloc.c: Likewise.
12626 * manual/libm-err-tab.pl: Likewise.
12627 * math/w_dremf.c: Likewise.
12628 * misc/ftruncate.c: Likewise.
12629 * posix/bug-glob2.c: Likewise.
12630 * posix/tst-pcre.c: Likewise.
12631 * posix/wait4.c: Likewise.
12632 * resolv/README: Likewise.
12633 * resolv/res_debug.h: Likewise.
12634 * resolv/tst-inet_ntop.c: Likewise.
12635 * setjmp/bug269-setjmp.c: Likewise.
12636 * soft-fp/extended.h: Likewise.
12637 * soft-fp/op-1.h: Likewise.
12638 * soft-fp/op-2.h: Likewise.
12639 * soft-fp/op-4.h: Likewise.
12640 * soft-fp/op-8.h: Likewise.
12641 * soft-fp/testit.c: Likewise.
12642 * stdio-common/bug16.c: Likewise.
12643 * stdlib/random.c: Likewise.
12644 * sunrpc/rpcsvc/rquota.x: Likewise.
12645 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12646 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12648 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12649 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12651 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12652 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12653 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12654 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12655 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12672 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12674 * sysdeps/ieee754/s_lib_version.c: Likewise.
12675 * sysdeps/mach/hurd/check_fds.c: Likewise.
12676 * sysdeps/mach/hurd/getsockname.c: Likewise.
12677 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12678 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12679 * sysdeps/powerpc/bits/link.h: Likewise.
12680 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12681 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12682 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12683 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12684 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12685 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12686 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12687 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12688 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12689 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12690 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12691 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12692 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12693 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12694 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12695 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12696 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12697 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12698 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12699 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12700 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12701 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12702 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12703 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12704 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12705 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12706 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12707 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12708 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12709 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12710 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12711 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12712 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12713 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12714 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12715 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12716 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12717 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12718 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12719 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12720 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12721 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12722 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12723 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12724 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12725 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12726 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12727 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12728 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12729 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12732 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12733 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12735 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12736 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12737 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12739 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12740 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12741 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12742 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12743 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12744 * sysdeps/powerpc/sysdep.h: Likewise.
12745 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12746 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12747 * sysdeps/sh/dl-trampoline.S: Likewise.
12748 * sysdeps/sh/memset.S: Likewise.
12749 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12750 * sysdeps/sh/strlen.S: Likewise.
12751 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12752 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12753 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12754 * sysdeps/sparc/sparc32/rem.S: Likewise.
12755 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12756 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12757 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12758 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12759 * sysdeps/sparc/sparc32/urem.S: Likewise.
12760 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12761 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12762 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12763 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12765 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12766 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12767 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12768 * sysdeps/unix/bsd/times.c: Likewise.
12769 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12770 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12774 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12775 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12776 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12777 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12778 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12779 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12780 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12781 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12782 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12783 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12784 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12785 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12786 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12787 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12788 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12789 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12790 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12791 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12792 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12793 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12794 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12795 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12796 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12797 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12798 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12799 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12800 * sysdeps/x86_64/strcspn.S: Likewise.
12802 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12804 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12805 generated file. Regenerate properly from gen-translit.pl.
12806 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12807 locale/C-translit.h.
12809 2013-06-05 Andreas Schwab <schwab@suse.de>
12812 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12813 week as 6 instead of -1.
12814 * time/tst-strptime.c (day_tests): Add test case.
12816 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12818 * sysdeps/generic/math_private.h
12819 (libc_feholdexcept_setround_53bit): Replace with
12820 libc_feholdsetround_53bit.
12821 (libc_feupdateenv_53bit): Replace with
12822 libc_feresetround_53bit.
12823 (SET_RESTORE_ROUND_53BIT): Adjust.
12825 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12827 * string/test-strchrnul.c: Add copyright header.
12829 * posix/tst-getaddrinfo4.c: Increase test timeout.
12831 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12834 * math/libm-test.inc (MAX_EXP): Remove
12836 (ulp): Use MIN_EXP - MANT_DIG.
12837 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12839 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12841 * po/be.po: Revert last change.
12842 * po/zh_CN.po: Likewise.
12843 * po/header.pot: Likewise.
12845 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12847 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12848 link-libc-deps to empty as target-specific variable.
12849 * Makerules (link-libc-args): New variable.
12850 (libc-for-link): Likewise.
12851 (link-libc-deps): Likewise.
12852 (lib%.so): Depend on $(link-libc-deps). Link with
12854 (build-module): Link with $(link-libc-args).
12855 (build-module-asneeded): Likewise.
12856 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12858 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12859 target-specific variable.
12860 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12861 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12862 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12864 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12866 ($(objpfx)libpcprofile.so): Likewise.
12867 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12869 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12870 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12871 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12873 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12874 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12875 * login/Makefile ($(objpfx)libutil.so): Likewise.
12876 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12877 * math/Makefile ($(objpfx)libm.so): Likewise.
12878 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12879 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12880 variable instead of depending directly on libc.
12881 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12882 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12884 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12886 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12887 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12888 ($(objpfx)libanl.so): Likewise.
12889 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12891 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12893 * sysdeps/i386/fpu/Makefile: Remove file.
12894 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12895 ($(objpfx)libm.so): Remove dependency on ld.so.
12897 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12900 * nis/yp_xdr.c (XDRMAXNAME): Define.
12901 (XDRMAXRECORD): Define.
12902 (xdr_domainname): Use XDRMAXNAME.
12903 (xdr_mapname): Likewise.
12904 (xdr_peername): Likewise.
12905 (xdr_keydat): Use XDRMAXRECORD.
12906 (xdr_valdat): Likewise.
12908 2013-05-30 Jeff Law <law@redhat.com>
12911 * manual/errno.texi (ESTALE): Update to account for more than
12912 just NFS file systems.
12913 * sysdeps/gnu/errlist.c: Regenerated.
12915 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12918 * elf/Makefile (tests): Add tst-null-argv.
12919 (modules-names): Add tst-null-argv-lib.
12920 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12921 (tst-null-argv-ENV): Set environment for tst-null-argv.
12922 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12923 (RTLD_PROGNAME): New macro.
12924 * elf/tst-null-argv.c: New test case.
12925 * elf/tst-null-argv-lib.c: Library for test case.
12926 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12927 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12928 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12929 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12930 * elf/dl-init.c (call_init): Likewise.
12931 (_dl_init): Likewise.
12932 * elf/dl-load.c (print_search_path): Likewise.
12933 (_dl_map_object): Likewise.
12934 * elf/dl-lookup.c (do_lookup_x): Likewise.
12935 (add_dependency): Likewise.
12936 (_dl_lookup_symbol_x): Likewise.
12937 (_dl_debug_bindings): Likewise.
12938 * elf/dl-open.c (_dl_show_scope): Likewise.
12939 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12940 * elf/dl-version.c (match_symbol): Likewise.
12941 (_dl_check_map_versions): Likewise.
12942 * elf/rtld.c (dl_main): Likewise.
12943 (print_unresolved): Use RTLD_PROGNAME.
12944 (print_missing_version): Likewise.
12945 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12946 (elf_machine_rela): Likewise.
12947 * sysdeps/powerpc/powerpc32/dl-machine.c
12948 (__process_machine_rela): Likewise.
12949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12951 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12953 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12955 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12962 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12964 * po/be.po: Add descriptive title.
12965 * po/zh_CN.po: Likewise.
12966 * po/header.pot: Likewise.
12968 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12970 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12972 (enlarge_archive): Likewise.
12974 2013-05-28 Ben North <ben@redfrontdoor.org>
12976 * manual/arith.texi (frexp): It is the magnitude of the return
12977 value which lies in [0.5, 1), not the return value itself.
12979 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12983 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12985 * stdio-common/bug26.c (main): Correct fscanf template.
12987 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12988 declare _dl_skip_args.
12990 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12993 * manual/platform.texi: Add missing @end deftypefun.
12995 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12998 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12999 bit of mantissa of 2^16382.
13000 * math/libm-test.inc (hypot_test_data): Add more tests.
13002 * math/libm-test.inc: Add drem and pow10 to list of tested
13004 (pow10_test): New function.
13005 (drem_test): Likewise.
13006 (drem_test_tonearest): Likewise.
13007 (drem_test_towardzero): Likewise.
13008 (drem_test_downward): Likewise.
13009 (drem_test_upward): Likewise.
13010 (main): Call the new functions.
13012 * math/libm-test.inc (finite_test_data): Remove.
13013 (finite_test): Run tests from isfinite_test_data.
13014 (gamma_test_data): Remove.
13015 (gamma_test): Run tests from lgamma_test_data.
13016 * sysdeps/i386/fpu/libm-test-ulps: Update.
13017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13019 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13021 * manual/platform.texi: Add PowerPC PPR function set documentation.
13022 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13025 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13027 * math/libm-test.inc (MAX_EXP): Define.
13029 (ulp): New function.
13030 (check_float_internal): Use ULPDIFF.
13031 (cpow_test): Disable failing test.
13032 (check_ulp): Test ulp() implemetnation.
13033 (main): Call check_ulp before starting tests.
13035 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13037 * math/gen-libm-test.pl (generate_testfile): Do not handle
13038 START_DATA and END_DATA.
13039 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13041 (acos_tonearest_test_data): Likewise.
13042 (acos_towardzero_test_data): Likewise.
13043 (acos_downward_test_data): Likewise.
13044 (acos_upward_test_data): Likewise.
13045 (acosh_test_data): Likewise.
13046 (asin_test_data): Likewise.
13047 (asin_tonearest_test_data): Likewise.
13048 (asin_towardzero_test_data): Likewise.
13049 (asin_downward_test_data): Likewise.
13050 (asin_upward_test_data): Likewise.
13051 (asinh_test_data): Likewise.
13052 (atan_test_data): Likewise.
13053 (atanh_test_data): Likewise.
13054 (atan2_test_data): Likewise.
13055 (cabs_test_data): Likewise.
13056 (cacos_test_data): Likewise.
13057 (cacosh_test_data): Likewise.
13058 (carg_test_data): Likewise.
13059 (casin_test_data): Likewise.
13060 (casinh_test_data): Likewise.
13061 (catan_test_data): Likewise.
13062 (catanh_test_data): Likewise.
13063 (cbrt_test_data): Likewise.
13064 (ccos_test_data): Likewise.
13065 (ccosh_test_data): Likewise.
13066 (ceil_test_data): Likewise.
13067 (cexp_test_data): Likewise.
13068 (cimag_test_data): Likewise.
13069 (clog_test_data): Likewise.
13070 (clog10_test_data): Likewise.
13071 (conj_test_data): Likewise.
13072 (copysign_test_data): Likewise.
13073 (cos_test_data): Likewise.
13074 (cos_tonearest_test_data): Likewise.
13075 (cos_towardzero_test_data): Likewise.
13076 (cos_downward_test_data): Likewise.
13077 (cos_upward_test_data): Likewise.
13078 (cosh_test_data): Likewise.
13079 (cosh_tonearest_test_data): Likewise.
13080 (cosh_towardzero_test_data): Likewise.
13081 (cosh_downward_test_data): Likewise.
13082 (cosh_upward_test_data): Likewise.
13083 (cpow_test_data): Likewise.
13084 (cproj_test_data): Likewise.
13085 (creal_test_data): Likewise.
13086 (csin_test_data): Likewise.
13087 (csinh_test_data): Likewise.
13088 (csqrt_test_data): Likewise.
13089 (ctan_test_data): Likewise.
13090 (ctan_tonearest_test_data): Likewise.
13091 (ctan_towardzero_test_data): Likewise.
13092 (ctan_downward_test_data): Likewise.
13093 (ctan_upward_test_data): Likewise.
13094 (ctanh_test_data): Likewise.
13095 (ctanh_tonearest_test_data): Likewise.
13096 (ctanh_towardzero_test_data): Likewise.
13097 (ctanh_downward_test_data): Likewise.
13098 (ctanh_upward_test_data): Likewise.
13099 (erf_test_data): Likewise.
13100 (erfc_test_data): Likewise.
13101 (exp_test_data): Likewise.
13102 (exp_tonearest_test_data): Likewise.
13103 (exp_towardzero_test_data): Likewise.
13104 (exp_downward_test_data): Likewise.
13105 (exp_upward_test_data): Likewise.
13106 (exp10_test_data): Likewise.
13107 (exp2_test_data): Likewise.
13108 (expm1_test_data): Likewise.
13109 (fabs_test_data): Likewise.
13110 (fdim_test_data): Likewise.
13111 (finite_test_data): Likewise.
13112 (floor_test_data): Likewise.
13113 (fma_test_data): Likewise.
13114 (fma_towardzero_test_data): Likewise.
13115 (fma_downward_test_data): Likewise.
13116 (fma_upward_test_data): Likewise.
13117 (fmax_test_data): Likewise.
13118 (fmin_test_data): Likewise.
13119 (fmod_test_data): Likewise.
13120 (fpclassify_test_data): Likewise.
13121 (frexp_test_data): Likewise.
13122 (gamma_test_data): Likewise.
13123 (hypot_test_data): Likewise.
13124 (ilogb_test_data): Likewise.
13125 (isfinite_test_data): Likewise.
13126 (isgreater_test_data): Likewise.
13127 (isgreaterequal_test_data): Likewise.
13128 (isinf_test_data): Likewise.
13129 (isless_test_data): Likewise.
13130 (islessequal_test_data): Likewise.
13131 (islessgreater_test_data): Likewise.
13132 (isnan_test_data): Likewise.
13133 (isnormal_test_data): Likewise.
13134 (issignaling_test_data): Likewise.
13135 (isunordered_test_data): Likewise.
13136 (j0_test_data): Likewise.
13137 (j1_test_data): Likewise.
13138 (jn_test_data): Likewise.
13139 (ldexp_test_data): Likewise.
13140 (lgamma_test_data): Likewise.
13141 (lrint_test_data): Likewise.
13142 (lrint_tonearest_test_data): Likewise.
13143 (lrint_towardzero_test_data): Likewise.
13144 (lrint_downward_test_data): Likewise.
13145 (lrint_upward_test_data): Likewise.
13146 (llrint_test_data): Likewise.
13147 (llrint_tonearest_test_data): Likewise.
13148 (llrint_towardzero_test_data): Likewise.
13149 (llrint_downward_test_data): Likewise.
13150 (llrint_upward_test_data): Likewise.
13151 (log_test_data): Likewise.
13152 (log10_test_data): Likewise.
13153 (log1p_test_data): Likewise.
13154 (log2_test_data): Likewise.
13155 (logb_test_data): Likewise.
13156 (logb_downward_test_data): Likewise.
13157 (lround_test_data): Likewise.
13158 (llround_test_data): Likewise.
13159 (modf_test_data): Likewise.
13160 (nearbyint_test_data): Likewise.
13161 (nextafter_test_data): Likewise.
13162 (nexttoward_test_data): Likewise.
13163 (pow_test_data): Likewise.
13164 (pow_tonearest_test_data): Likewise.
13165 (pow_towardzero_test_data): Likewise.
13166 (pow_downward_test_data): Likewise.
13167 (pow_upward_test_data): Likewise.
13168 (remainder_test_data): Likewise.
13169 (remainder_tonearest_test_data): Likewise.
13170 (remainder_towardzero_test_data): Likewise.
13171 (remainder_downward_test_data): Likewise.
13172 (remainder_upward_test_data): Likewise.
13173 (remquo_test_data): Likewise.
13174 (rint_test_data): Likewise.
13175 (rint_tonearest_test_data): Likewise.
13176 (rint_towardzero_test_data): Likewise.
13177 (rint_downward_test_data): Likewise.
13178 (rint_upward_test_data): Likewise.
13179 (round_test_data): Likewise.
13180 (scalb_test_data): Likewise.
13181 (scalbn_test_data): Likewise.
13182 (scalbln_test_data): Likewise.
13183 (signbit_test_data): Likewise.
13184 (sin_test_data): Likewise.
13185 (sin_tonearest_test_data): Likewise.
13186 (sin_towardzero_test_data): Likewise.
13187 (sin_downward_test_data): Likewise.
13188 (sin_upward_test_data): Likewise.
13189 (sincos_test_data): Likewise.
13190 (sinh_test_data): Likewise.
13191 (sinh_tonearest_test_data): Likewise.
13192 (sinh_towardzero_test_data): Likewise.
13193 (sinh_downward_test_data): Likewise.
13194 (sinh_upward_test_data): Likewise.
13195 (sqrt_test_data): Likewise.
13196 (tan_test_data): Likewise.
13197 (tan_tonearest_test_data): Likewise.
13198 (tan_towardzero_test_data): Likewise.
13199 (tan_downward_test_data): Likewise.
13200 (tan_upward_test_data): Likewise.
13201 (tanh_test_data): Likewise.
13202 (tgamma_test_data): Likewise.
13203 (trunc_test_data): Likewise.
13204 (y0_test_data): Likewise.
13205 (y1_test_data): Likewise.
13206 (yn_test_data): Likewise.
13207 (significand_test_data): Likewise.
13209 * math/gen-libm-test.pl (@functions): Remove variable.
13210 (generate_testfile): Don't handle START and END lines.
13211 * math/libm-test.inc (START): New macro.
13213 (END_COMPLEX): Likewise.
13214 (acos_test): Use END macro without arguments.
13215 (acos_test_tonearest): Likewise.
13216 (acos_test_towardzero): Likewise.
13217 (acos_test_downward): Likewise.
13218 (acos_test_upward): Likewise.
13219 (acosh_test): Likewise.
13220 (asin_test): Likewise.
13221 (asin_test_tonearest): Likewise.
13222 (asin_test_towardzero): Likewise.
13223 (asin_test_downward): Likewise.
13224 (asin_test_upward): Likewise.
13225 (asinh_test): Likewise.
13226 (atan_test): Likewise.
13227 (atanh_test): Likewise.
13228 (atan2_test): Likewise.
13229 (cabs_test): Likewise.
13230 (cacos_test): Use END_COMPLEX macro without arguments.
13231 (cacosh_test): Likewise.
13232 (carg_test): Use END macro without arguments.
13233 (casin_test): Use END_COMPLEX macro without arguments.
13234 (casinh_test): Likewise.
13235 (catan_test): Likewise.
13236 (catanh_test): Likewise.
13237 (cbrt_test): Use END macro without arguments.
13238 (ccos_test): Use END_COMPLEX macro without arguments.
13239 (ccosh_test): Likewise.
13240 (ceil_test): Use END macro without arguments.
13241 (cexp_test): Use END_COMPLEX macro without arguments.
13242 (cimag_test): Use END macro without arguments.
13243 (clog_test): Use END_COMPLEX macro without arguments.
13244 (clog10_test): Likewise.
13245 (conj_test): Likewise.
13246 (copysign_test): Use END macro without arguments.
13247 (cos_test): Likewise.
13248 (cos_test_tonearest): Likewise.
13249 (cos_test_towardzero): Likewise.
13250 (cos_test_downward): Likewise.
13251 (cos_test_upward): Likewise.
13252 (cosh_test): Likewise.
13253 (cosh_test_tonearest): Likewise.
13254 (cosh_test_towardzero): Likewise.
13255 (cosh_test_downward): Likewise.
13256 (cosh_test_upward): Likewise.
13257 (cpow_test): Use END_COMPLEX macro without arguments.
13258 (cproj_test): Likewise.
13259 (creal_test): Use END macro without arguments.
13260 (csin_test): Use END_COMPLEX macro without arguments.
13261 (csinh_test): Likewise.
13262 (csqrt_test): Likewise.
13263 (ctan_test): Likewise.
13264 (ctan_test_tonearest): Likewise.
13265 (ctan_test_towardzero): Likewise.
13266 (ctan_test_downward): Likewise.
13267 (ctan_test_upward): Likewise.
13268 (ctanh_test): Likewise.
13269 (ctanh_test_tonearest): Likewise.
13270 (ctanh_test_towardzero): Likewise.
13271 (ctanh_test_downward): Likewise.
13272 (ctanh_test_upward): Likewise.
13273 (erf_test): Use END macro without arguments.
13274 (erfc_test): Likewise.
13275 (exp_test): Likewise.
13276 (exp_test_tonearest): Likewise.
13277 (exp_test_towardzero): Likewise.
13278 (exp_test_downward): Likewise.
13279 (exp_test_upward): Likewise.
13280 (exp10_test): Likewise.
13281 (exp2_test): Likewise.
13282 (expm1_test): Likewise.
13283 (fabs_test): Likewise.
13284 (fdim_test): Likewise.
13285 (finite_test): Likewise.
13286 (floor_test): Likewise.
13287 (fma_test): Likewise.
13288 (fma_test_towardzero): Likewise.
13289 (fma_test_downward): Likewise.
13290 (fma_test_upward): Likewise.
13291 (fmax_test): Likewise.
13292 (fmin_test): Likewise.
13293 (fmod_test): Likewise.
13294 (fpclassify_test): Likewise.
13295 (frexp_test): Likewise.
13296 (gamma_test): Likewise.
13297 (hypot_test): Likewise.
13298 (ilogb_test): Likewise.
13299 (isfinite_test): Likewise.
13300 (isgreater_test): Likewise.
13301 (isgreaterequal_test): Likewise.
13302 (isinf_test): Likewise.
13303 (isless_test): Likewise.
13304 (islessequal_test): Likewise.
13305 (islessgreater_test): Likewise.
13306 (isnan_test): Likewise.
13307 (isnormal_test): Likewise.
13308 (issignaling_test): Likewise.
13309 (isunordered_test): Likewise.
13310 (j0_test): Likewise.
13311 (j1_test): Likewise.
13312 (jn_test): Likewise.
13313 (ldexp_test): Likewise.
13314 (lgamma_test): Likewise.
13315 (lrint_test): Likewise.
13316 (lrint_test_tonearest): Likewise.
13317 (lrint_test_towardzero): Likewise.
13318 (lrint_test_downward): Likewise.
13319 (lrint_test_upward): Likewise.
13320 (llrint_test): Likewise.
13321 (llrint_test_tonearest): Likewise.
13322 (llrint_test_towardzero): Likewise.
13323 (llrint_test_downward): Likewise.
13324 (llrint_test_upward): Likewise.
13325 (log_test): Likewise.
13326 (log10_test): Likewise.
13327 (log1p_test): Likewise.
13328 (log2_test): Likewise.
13329 (logb_test): Likewise.
13330 (logb_test_downward): Likewise.
13331 (lround_test): Likewise.
13332 (llround_test): Likewise.
13333 (modf_test): Likewise.
13334 (nearbyint_test): Likewise.
13335 (nextafter_test): Likewise.
13336 (nexttoward_test): Likewise.
13337 (pow_test): Likewise.
13338 (pow_test_tonearest): Likewise.
13339 (pow_test_towardzero): Likewise.
13340 (pow_test_downward): Likewise.
13341 (pow_test_upward): Likewise.
13342 (remainder_test): Likewise.
13343 (remainder_test_tonearest): Likewise.
13344 (remainder_test_towardzero): Likewise.
13345 (remainder_test_downward): Likewise.
13346 (remainder_test_upward): Likewise.
13347 (remquo_test): Likewise.
13348 (rint_test): Likewise.
13349 (rint_test_tonearest): Likewise.
13350 (rint_test_towardzero): Likewise.
13351 (rint_test_downward): Likewise.
13352 (rint_test_upward): Likewise.
13353 (round_test): Likewise.
13354 (scalb_test): Likewise.
13355 (scalbn_test): Likewise.
13356 (scalbln_test): Likewise.
13357 (signbit_test): Likewise.
13358 (sin_test): Likewise.
13359 (sin_test_tonearest): Likewise.
13360 (sin_test_towardzero): Likewise.
13361 (sin_test_downward): Likewise.
13362 (sin_test_upward): Likewise.
13363 (sincos_test): Likewise.
13364 (sinh_test): Likewise.
13365 (sinh_test_tonearest): Likewise.
13366 (sinh_test_towardzero): Likewise.
13367 (sinh_test_downward): Likewise.
13368 (sinh_test_upward): Likewise.
13369 (sqrt_test): Likewise.
13370 (tan_test): Likewise.
13371 (tan_test_tonearest): Likewise.
13372 (tan_test_towardzero): Likewise.
13373 (tan_test_downward): Likewise.
13374 (tan_test_upward): Likewise.
13375 (tanh_test): Likewise.
13376 (tgamma_test): Likewise.
13377 (trunc_test): Likewise.
13378 (y0_test): Likewise.
13379 (y1_test): Likewise.
13380 (yn_test): Likewise.
13381 (significand_test): Likewise.
13383 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13386 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13388 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13391 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13392 __ppc_mdoio and __ppc_mdoom.
13393 * manual/platform.texi: Document new functions __ppc_yield,
13394 __ppc_mdoio and __ppc_mdoom.
13396 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13398 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13399 (main): Mention "tls" pseudo-hwcap is legacy.
13400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13402 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13404 * math/gen-libm-test.pl (parse_args): Output only string of
13405 arguments as text for test name, not full call or descriptions of
13406 tests for extra outputs.
13407 (generate_testfile): Do not pass function name to parse_args.
13408 Generate this_func variable from START.
13409 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13411 (struct test_ff_f_data): Likewise.
13412 (test_ff_f_data_nexttoward): Likewise.
13413 (struct test_fi_f_data): Likewise.
13414 (struct test_fl_f_data): Likewise.
13415 (struct test_if_f_data): Likewise.
13416 (struct test_fff_f_data): Likewise.
13417 (struct test_c_f_data): Likewise.
13418 (struct test_f_f1_data): Likewise. Remove field extra_name.
13419 (struct test_fF_f1_data): Likewise.
13420 (struct test_ffI_f1_data): Likewise.
13421 (struct test_c_c_data): Rename test_name field to arg_str.
13422 (struct test_cc_c_data): Likewise.
13423 (struct test_f_i_data): Likewise.
13424 (struct test_ff_i_data): Likewise.
13425 (struct test_f_l_data): Likewise.
13426 (struct test_f_L_data): Likewise.
13427 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13429 (COMMON_TEST_SETUP): New macro.
13430 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13431 (COMMON_TEST_CLEANUP): Likewise.
13432 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13433 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13435 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13436 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13438 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13439 (RUN_TEST_fff_f): Take argument string. Call new setup and
13441 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13442 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13444 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13445 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13447 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13448 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13450 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13451 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13453 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13454 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13456 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13457 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13459 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13460 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13462 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13463 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13465 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13466 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13468 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13469 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13471 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13472 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13474 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13475 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13477 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13478 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13480 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13481 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13483 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13484 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13486 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13488 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13490 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13491 to _sifields.sigfault.
13492 (si_addr_lsb): Define new macro.
13493 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13494 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13495 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13497 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13500 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13502 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13504 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13505 loading the domain.
13507 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13509 * math/gen-libm-test.pl (parse_args): Do not include expected
13510 result in test name.
13511 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13512 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13513 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13514 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13515 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13518 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13520 * benchtests/Makefile: Sort function entries.
13522 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13523 tanh, asinh, acosh, atanh.
13524 * benchtests/acos-inputs: New file.
13525 * benchtests/acosh-inputs: New file.
13526 * benchtests/asin-inputs: New file.
13527 * benchtests/asinh-inputs: New file.
13528 * benchtests/atanh-inputs: New file.
13529 * benchtests/cosh-inputs: New file.
13530 * benchtests/log-inputs: New file.
13531 * benchtests/sinh-inputs: New file.
13532 * benchtests/tanh-inputs: New file.
13534 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13537 * posix/tst-getaddrinfo4.c: New test.
13538 * posix/Makefile (tests): Add it.
13540 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13543 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13544 when no services were used.
13545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13546 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13548 2013-05-21 Andreas Schwab <schwab@suse.de>
13551 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13552 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13554 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13555 redundant variable declarations and reallocation of buffer when
13556 parsing as IPv6 address. Always set NSS status when called from
13557 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13558 buffer too small. Correct computation of needed size.
13559 * nss/Makefile (tests): Add test-digits-dots.
13560 * nss/test-digits-dots.c: New test.
13562 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13564 * benchtests/Makefile: Remove instructions for adding
13566 * benchtests/README: New file to explain how to execute and
13567 enhance the benchmark tests.
13569 2013-05-21 Andreas Schwab <schwab@suse.de>
13572 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13573 * setjmp/tst-sigsetjmp.c: New test.
13575 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13577 * sysdeps/x86_64/memset.S (memset): New implementation.
13578 (__bzero): Likewise.
13579 (__memset_tail): New function.
13581 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13583 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13584 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13585 __memcpy_sse2_unaligned ifunc selection.
13586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13587 Add memcpy-sse2-unaligned.S.
13588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13589 Add: __memcpy_sse2_unaligned.
13591 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13594 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13595 math_force_eval before restoring floating-point envrionment.
13596 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13597 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13599 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13601 (__nearbyintl): Use math_force_eval before restoring
13602 floating-point environment.
13603 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13605 * math/gen-libm-test.pl (special_functions): Remove.
13606 (parse_args): Don't handle TEST_extra. Handle functions with no
13608 * math/libm-test.inc (struct test_sincos_data): Replace with
13609 struct test_fFF_11_data.
13610 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13611 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13612 (sincos_test_data): Change element type to struct
13613 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13614 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13615 RUN_TEST_LOOP_sincos.
13616 * math/README.libm-test: Don't mention special handling of
13617 individual functions.
13618 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13619 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13620 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13621 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13622 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13625 * math/gen-libm-test.pl (get_variable): Remove function.
13626 (parse_args): Don't show pointer parameters to call in test
13627 names. Use "extra output N" in test names for extra outputs
13628 rather than naming variables.
13630 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13633 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13634 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13635 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13637 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13639 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13642 * math/gen-libm-test.pl (@tests): Remove variable.
13643 ($count): Likewise.
13644 (new_test): Remove function.
13645 (show_exceptions): New function.
13646 (special_functions): Use show_exceptions instead of new_test.
13647 (parse_args): Likewise.
13648 (generate_testfile): Pass only function name in generated call to
13649 print_max_error or print_complex_max_error.
13650 (get_ulps): Do not handle complex tests specially.
13651 (output_test): Rename to ...
13652 (get_all_ulps_for_test): ... this. Return a string rather than
13653 printing to a file. Require ulps to be present.
13654 (output_ulps): Generate arrays rather than #defines.
13655 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13656 (struct ulp_data): New type.
13657 (BUILD_COMPLEX_ULP): Remove macro.
13658 (compare_ulp_data): New function.
13659 (find_ulps): Likewise.
13660 (find_test_ulps): Likewise.
13661 (find_function_ulps): Likewise.
13662 (find_complex_function_ulps): Likewise.
13663 (print_max_error): Determine allowed ulps using
13664 find_function_ulps.
13665 (print_complex_max_error): Determine allowed ulps using
13666 find_complex_function_ulps.
13667 (check_float_internal): Determine max ulps using find_test_ulps.
13668 (check_float): Do not take max_ulp parameter. Update call to
13669 check_float_internal.
13670 (check_complex): Likewise.
13671 (check_int): Do not take max_ulp parameter.
13672 (check_long): Likewise.
13673 (check_bool): Likewise.
13674 (check_longlong): Likewise.
13675 (struct test_f_f_data): Remove max_ulp field.
13676 (struct test_ff_f_data): Likewise.
13677 (struct test_ff_f_data_nexttoward): Likewise.
13678 (struct test_fi_f_data): Likewise.
13679 (struct test_fl_f_data): Likewise.
13680 (struct test_if_f_data): Likewise.
13681 (struct test_fff_f_data): Likewise.
13682 (struct test_c_f_data): Likewise.
13683 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13684 (struct test_fF_f1_data): Likewise.
13685 (struct test_ffI_f1_data): Likewise.
13686 (struct test_c_c_data): Remove max_ulp field.
13687 (struct test_cc_c_data): Likewise.
13688 (struct test_f_i_data): Likewise.
13689 (struct test_ff_i_data): Likewise.
13690 (struct test_f_l_data): Likewise.
13691 (struct test_f_L_data): Likewise.
13692 (struct test_sincos_data): Likewise.
13693 (RUN_TEST_f_f): Do not handle ulps.
13694 (RUN_TEST_LOOP_f_f): Likewise.
13695 (RUN_TEST_2_f): Likewise.
13696 (RUN_TEST_LOOP_2_f): Likewise.
13697 (RUN_TEST_fff_f): Likewise.
13698 (RUN_TEST_LOOP_fff_f): Likewise.
13699 (RUN_TEST_c_f): Likewise.
13700 (RUN_TEST_LOOP_c_f): Likewise.
13701 (RUN_TEST_f_f1): Likewise.
13702 (RUN_TEST_LOOP_f_f1): Likewise.
13703 (RUN_TEST_fF_f1): Likewise.
13704 (RUN_TEST_LOOP_fF_f1): Likewise.
13705 (RUN_TEST_fI_f1): Likewise.
13706 (RUN_TEST_LOOP_fI_f1): Likewise.
13707 (RUN_TEST_ffI_f1): Likewise.
13708 (RUN_TEST_LOOP_ffI_f1): Likewise.
13709 (RUN_TEST_c_c): Likewise.
13710 (RUN_TEST_LOOP_c_c): Likewise.
13711 (RUN_TEST_cc_c): Likewise.
13712 (RUN_TEST_LOOP_cc_c): Likewise.
13713 (RUN_TEST_f_i): Likewise.
13714 (RUN_TEST_LOOP_f_i): Likewise.
13715 (RUN_TEST_f_i_tg): Likewise.
13716 (RUN_TEST_LOOP_f_i_tg): Likewise.
13717 (RUN_TEST_ff_i_tg): Likewise.
13718 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13719 (RUN_TEST_f_b): Likewise.
13720 (RUN_TEST_LOOP_f_b): Likewise.
13721 (RUN_TEST_f_b_tg): Likewise.
13722 (RUN_TEST_LOOP_f_b_tg): Likewise.
13723 (RUN_TEST_f_l): Likewise.
13724 (RUN_TEST_LOOP_f_l): Likewise.
13725 (RUN_TEST_f_L): Likewise.
13726 (RUN_TEST_LOOP_f_L): Likewise.
13727 (RUN_TEST_sincos): Likewise.
13728 (RUN_TEST_LOOP_sincos): Likewise.
13730 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13734 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13735 main case of finite arguments, set rounding mode to FE_TONEAREST
13736 and discard exceptions.
13737 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13739 (remainder_tonearest_test_data): New variable.
13740 (remainder_test_tonearest): New function.
13741 (remainder_towardzero_test_data): New variable.
13742 (remainder_test_towardzero): New function.
13743 (remainder_downward_test_data): New variable.
13744 (remainder_test_downward): New function.
13745 (remainder_upward_test_data): New variable.
13746 (remainder_test_upward): New function.
13747 (main): Call the new test functions.
13749 * math/libm-test.inc (struct test_f_f1_data): Remove field
13751 (struct test_fF_f1_data): Likewise.
13752 (struct test_ffI_f1_data): Likewise.
13753 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13754 based on value of EXTRA_EXPECTED.
13755 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13756 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13757 EXTRA_VAR based on value of EXTRA_EXPECTED.
13758 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13759 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13760 EXTRA_VAR based on value of EXTRA_EXPECTED.
13761 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13762 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13763 EXTRA_VAR based on value of EXTRA_EXPECTED.
13764 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13765 * math/gen-libm-test.pl (parse_args): Don't output initializers
13766 for extra output values.
13768 * math/libm-test.inc (check_int): Expect result to be exactly
13769 equal to expected value and do not handle ulps.
13770 (check_long): Likewise.
13771 (check_longlong): Likewise.
13773 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13775 (cimag_test_data): Likewise.
13776 (conj_test_data): Likewise.
13777 (copysign_test_data): Likewise.
13778 (cproj_test_data): Likewise.
13779 (creal_test_data): Likewise.
13780 (fabs_test_data): Likewise.
13781 (fdim_test_data): Likewise.
13782 (finite_test_data): Likewise.
13783 (floor_test_data): Likewise.
13784 (fmax_test_data): Likewise.
13785 (fmin_test_data): Likewise.
13786 (fmod_test_data): Likewise.
13787 (fpclassify_test_data): Likewise.
13788 (frexp_test_data): Likewise.
13789 (ilogb_test_data): Likewise.
13790 (isfinite_test_data): Likewise.
13791 (isgreater_test_data): Likewise.
13792 (isgreaterequal_test_data): Likewise.
13793 (isinf_test_data): Likewise.
13794 (isless_test_data): Likewise.
13795 (islessequal_test_data): Likewise.
13796 (islessgreater_test_data): Likewise.
13797 (isnan_test_data): Likewise.
13798 (isnormal_test_data): Likewise.
13799 (issignaling_test_data): Likewise.
13800 (isunordered_test_data): Likewise.
13801 (ldexp_test_data): Likewise.
13802 (lrint_test_data): Likewise.
13803 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13804 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13805 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13806 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13807 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13808 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13810 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13811 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13812 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13813 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13815 (lrint_downward_test_data): Test for "inexact" exceptions.
13816 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13817 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13818 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13820 (lrint_upward_test_data): Test for "inexact" exceptions.
13821 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13823 (llrint_test_data): Test for "inexact" exceptions.
13824 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13825 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13826 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13827 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13828 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13829 (llrint_downward_test_data): Test for "inexact" exceptions.
13830 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13831 (llrint_upward_test_data): Test for "inexact" exceptions.
13832 (logb_test_data): Likewise.
13833 (logb_downward_test_data): Likewise.
13834 (nextafter_test_data): Likewise.
13835 (nexttoward_test_data): Likewise.
13836 (remainder_test_data): Likewise.
13837 (remquo_test_data): Likewise.
13838 (scalbn_test_data): Likewise.
13839 (scalbln_test_data): Likewise.
13840 (signbit_test_data): Likewise.
13841 (sqrt_test_data): Likewise.
13842 (significand_test_data): Likewise.
13844 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13847 * benchtests/bench-modf.c (struct args): Mark arg0 as
13849 * scripts/bench.pl: Mark members of struct args as volatile.
13851 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13854 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13855 negative infinity on POWER6 or lower.
13856 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13858 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13861 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13862 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13863 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13864 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13865 (_FP_SETQNAN): New macro.
13866 (_FP_SETQNAN_SEMIRAW): Likewise.
13867 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13868 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13869 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13870 (FP_EXTEND): Use _FP_FRAC_SNANP.
13871 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13872 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13874 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13876 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13879 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13881 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13882 with DIVIDE_BY_ZERO_EXCEPTION.
13883 (gamma_test_data): Likewise.
13884 (lgamma_test_data): Likewise.
13885 (log_test_data): Likewise.
13886 (log10_test_data): Likewise.
13887 (log2_test_data): Likewise.
13888 (tgamma_test_data): Likewise.
13890 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13891 (acos_test_tonearest): Likewise.
13892 (acos_test_towardzero): Likewise.
13893 (acos_test_downward): Likewise.
13894 (acos_test_upward): Likewise.
13895 (acosh_test): Likewise.
13896 (asin_test): Likewise.
13897 (asin_test_tonearest): Likewise.
13898 (asin_test_towardzero): Likewise.
13899 (asin_test_downward): Likewise.
13900 (asin_test_upward): Likewise.
13901 (asinh_test): Likewise.
13902 (atan_test): Likewise.
13903 (atanh_test): Likewise.
13904 (atan2_test): Likewise.
13905 (cabs_test): Likewise.
13906 (cacos_test): Likewise.
13907 (cacosh_test): Likewise.
13908 (casin_test): Likewise.
13909 (casinh_test): Likewise.
13910 (catan_test): Likewise.
13911 (catanh_test): Likewise.
13912 (cbrt_test): Likewise.
13913 (ccos_test): Likewise.
13914 (ccosh_test): Likewise.
13915 (cexp_test): Likewise.
13916 (clog_test): Likewise.
13917 (clog10_test): Likewise.
13918 (cos_test): Likewise.
13919 (cos_test_tonearest): Likewise.
13920 (cos_test_towardzero): Likewise.
13921 (cos_test_downward): Likewise.
13922 (cos_test_upward): Likewise.
13923 (cosh_test): Likewise.
13924 (cosh_test_tonearest): Likewise.
13925 (cosh_test_towardzero): Likewise.
13926 (cosh_test_downward): Likewise.
13927 (cosh_test_upward): Likewise.
13928 (cpow_test): Likewise.
13929 (csin_test): Likewise.
13930 (csinh_test): Likewise.
13931 (csqrt_test): Likewise.
13932 (ctan_test): Likewise.
13933 (ctan_test_tonearest): Likewise.
13934 (ctan_test_towardzero): Likewise.
13935 (ctan_test_downward): Likewise.
13936 (ctan_test_upward): Likewise.
13937 (ctanh_test): Likewise.
13938 (ctanh_test_tonearest): Likewise.
13939 (ctanh_test_towardzero): Likewise.
13940 (ctanh_test_downward): Likewise.
13941 (ctanh_test_upward): Likewise.
13942 (erf_test): Likewise.
13943 (erfc_test): Likewise.
13944 (exp_test): Likewise.
13945 (exp_test_tonearest): Likewise.
13946 (exp_test_towardzero): Likewise.
13947 (exp_test_downward): Likewise.
13948 (exp_test_upward): Likewise.
13949 (exp10_test): Likewise.
13950 (exp2_test): Likewise.
13951 (expm1_test): Likewise.
13952 (fmod_test): Likewise.
13953 (gamma_test): Likewise.
13954 (hypot_test): Likewise.
13955 (j0_test): Likewise.
13956 (j1_test): Likewise.
13957 (jn_test): Likewise.
13958 (lgamma_test): Likewise.
13959 (log_test): Likewise.
13960 (log10_test): Likewise.
13961 (log1p_test): Likewise.
13962 (log2_test): Likewise.
13963 (logb_test_downward): Likewise.
13964 (pow_test): Likewise.
13965 (pow_test_tonearest): Likewise.
13966 (pow_test_towardzero): Likewise.
13967 (pow_test_downward): Likewise.
13968 (pow_test_upward): Likewise.
13969 (remainder_test): Likewise.
13970 (remquo_test): Likewise.
13971 (sin_test): Likewise.
13972 (sin_test_tonearest): Likewise.
13973 (sin_test_towardzero): Likewise.
13974 (sin_test_downward): Likewise.
13975 (sin_test_upward): Likewise.
13976 (sincos_test): Likewise.
13977 (sinh_test): Likewise.
13978 (sinh_test_tonearest): Likewise.
13979 (sinh_test_towardzero): Likewise.
13980 (sinh_test_downward): Likewise.
13981 (sinh_test_upward): Likewise.
13982 (sqrt_test): Likewise.
13983 (tan_test): Likewise.
13984 (tan_test_tonearest): Likewise.
13985 (tan_test_towardzero): Likewise.
13986 (tan_test_downward): Likewise.
13987 (tan_test_upward): Likewise.
13988 (tanh_test): Likewise.
13989 (tgamma_test): Likewise.
13990 (y0_test): Likewise.
13991 (y1_test): Likewise.
13992 (yn_test): Likewise.
13994 * math/gen-libm-test.pl (adjust_arg): Remove function.
13995 (special_function): Remove argument $in_func. Only handle
13996 generating output for tables of tests, not inside functions.
13997 (parse_args): Likewise.
13998 (generate_testfile): Remove variable $in_func. Update call to
14000 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14001 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14002 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14003 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14004 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14005 (MAX_VALUE_INIT): Rename macro to max_value.
14006 (MIN_VALUE_INIT): Rename macro to min_value.
14007 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14008 (plus_zero): Remove variable.
14009 (minus_zero): Likewise.
14010 (plus_infty): Likewise.
14011 (minus_infty): Likewise.
14012 (qnan_value): Likewise.
14013 (max_value): Likewise.
14014 (min_value): Likewise.
14015 (min_subnorm_value): Likewise.
14017 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14019 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14020 uint64_t or uint32_t usage.
14021 * crypt/sha256-block.c: Likewise.
14022 * crypt/sha256-crypt.c: Likewise.
14023 * crypt/sha256.c: Likewise.
14024 * crypt/sha512-block.c: Likewise.
14025 * crypt/sha512-crypt.c: Likewise.
14026 * crypt/sha512.c: Likewise.
14027 * debug/backtrace-tst.c: Likewise.
14028 * debug/pcprofiledump.c: Likewise.
14029 * elf/cache.c: Likewise.
14030 * elf/dl-cache.c: Likewise.
14031 * elf/dl-misc.c: Likewise.
14032 * elf/dl-profile.c: Likewise.
14033 * elf/dl-support.c: Likewise.
14034 * elf/ldconfig.c: Likewise.
14035 * elf/sprof.c: Likewise.
14036 * iconv/dummy-repertoire.c: Likewise.
14037 * iconv/iconv_charmap.c: Likewise.
14038 * iconv/skeleton.c: Likewise.
14039 * iconvdata/8bit-generic.c: Likewise.
14040 * iconvdata/cp737.h: Likewise.
14041 * iconvdata/cp775.h: Likewise.
14042 * iconvdata/ibm1008.h: Likewise.
14043 * iconvdata/ibm1025.h: Likewise.
14044 * iconvdata/ibm1046.h: Likewise.
14045 * iconvdata/ibm1097.h: Likewise.
14046 * iconvdata/ibm1112.h: Likewise.
14047 * iconvdata/ibm1122.h: Likewise.
14048 * iconvdata/ibm1123.h: Likewise.
14049 * iconvdata/ibm1124.h: Likewise.
14050 * iconvdata/ibm1129.h: Likewise.
14051 * iconvdata/ibm1130.h: Likewise.
14052 * iconvdata/ibm1132.h: Likewise.
14053 * iconvdata/ibm1133.h: Likewise.
14054 * iconvdata/ibm1137.h: Likewise.
14055 * iconvdata/ibm1140.h: Likewise.
14056 * iconvdata/ibm1141.h: Likewise.
14057 * iconvdata/ibm1142.h: Likewise.
14058 * iconvdata/ibm1143.h: Likewise.
14059 * iconvdata/ibm1144.h: Likewise.
14060 * iconvdata/ibm1145.h: Likewise.
14061 * iconvdata/ibm1146.h: Likewise.
14062 * iconvdata/ibm1147.h: Likewise.
14063 * iconvdata/ibm1148.h: Likewise.
14064 * iconvdata/ibm1149.h: Likewise.
14065 * iconvdata/ibm1153.h: Likewise.
14066 * iconvdata/ibm1154.h: Likewise.
14067 * iconvdata/ibm1155.h: Likewise.
14068 * iconvdata/ibm1156.h: Likewise.
14069 * iconvdata/ibm1157.h: Likewise.
14070 * iconvdata/ibm1158.h: Likewise.
14071 * iconvdata/ibm1160.h: Likewise.
14072 * iconvdata/ibm1161.h: Likewise.
14073 * iconvdata/ibm1162.h: Likewise.
14074 * iconvdata/ibm1163.h: Likewise.
14075 * iconvdata/ibm1164.h: Likewise.
14076 * iconvdata/ibm1166.h: Likewise.
14077 * iconvdata/ibm1167.h: Likewise.
14078 * iconvdata/ibm12712.h: Likewise.
14079 * iconvdata/ibm1390.h: Likewise.
14080 * iconvdata/ibm1399.h: Likewise.
14081 * iconvdata/ibm16804.h: Likewise.
14082 * iconvdata/ibm4517.h: Likewise.
14083 * iconvdata/ibm4899.h: Likewise.
14084 * iconvdata/ibm4909.h: Likewise.
14085 * iconvdata/ibm4971.h: Likewise.
14086 * iconvdata/ibm5347.h: Likewise.
14087 * iconvdata/ibm803.h: Likewise.
14088 * iconvdata/ibm856.h: Likewise.
14089 * iconvdata/ibm901.h: Likewise.
14090 * iconvdata/ibm902.h: Likewise.
14091 * iconvdata/ibm9030.h: Likewise.
14092 * iconvdata/ibm9066.h: Likewise.
14093 * iconvdata/ibm921.h: Likewise.
14094 * iconvdata/ibm922.h: Likewise.
14095 * iconvdata/ibm9448.h: Likewise.
14096 * iconvdata/isiri-3342.h: Likewise.
14097 * iconvdata/jis0201.h: Likewise.
14098 * include/link.h: Likewise.
14099 * include/netdb.h: Likewise.
14100 * inet/check_native.c: Likewise.
14101 * inet/check_pf.c: Likewise.
14102 * inet/getipv4sourcefilter.c: Likewise.
14103 * inet/getnameinfo.c: Likewise.
14104 * inet/getsourcefilter.c: Likewise.
14105 * inet/htonl.c: Likewise.
14106 * inet/setipv4sourcefilter.c: Likewise.
14107 * inet/setsourcefilter.c: Likewise.
14108 * inet/test-inet6_opt.c: Likewise.
14109 * inet/tst-network.c: Likewise.
14110 * locale/C-collate.c: Likewise.
14111 * locale/C-ctype.c: Likewise.
14112 * locale/C-time.c: Likewise.
14113 * locale/C-translit.h: Likewise.
14114 * locale/loadarchive.c: Likewise.
14115 * locale/programs/3level.h: Likewise.
14116 * locale/programs/charmap.c: Likewise.
14117 * locale/programs/charmap.h: Likewise.
14118 * locale/programs/ld-address.c: Likewise.
14119 * locale/programs/ld-collate.c: Likewise.
14120 * locale/programs/ld-ctype.c: Likewise.
14121 * locale/programs/ld-identification.c: Likewise.
14122 * locale/programs/ld-measurement.c: Likewise.
14123 * locale/programs/ld-messages.c: Likewise.
14124 * locale/programs/ld-monetary.c: Likewise.
14125 * locale/programs/ld-name.c: Likewise.
14126 * locale/programs/ld-numeric.c: Likewise.
14127 * locale/programs/ld-paper.c: Likewise.
14128 * locale/programs/ld-telephone.c: Likewise.
14129 * locale/programs/ld-time.c: Likewise.
14130 * locale/programs/linereader.c: Likewise.
14131 * locale/programs/locale.c: Likewise.
14132 * locale/programs/locarchive.c: Likewise.
14133 * locale/programs/locfile.h: Likewise.
14134 * locale/programs/repertoire.c: Likewise.
14135 * locale/programs/simple-hash.c: Likewise.
14136 * locale/programs/simple-hash.h: Likewise.
14137 * malloc/memusage.c: Likewise.
14138 * malloc/memusagestat.c: Likewise.
14139 * nis/nis_defaults.c: Likewise.
14140 * nis/nis_hash.c: Likewise.
14141 * nis/nis_print.c: Likewise.
14142 * nis/nis_xdr.c: Likewise.
14143 * nscd/connections.c: Likewise.
14144 * nscd/hstcache.c: Likewise.
14145 * nscd/nscd_gethst_r.c: Likewise.
14146 * nscd/nscd_getserv_r.c: Likewise.
14147 * nscd/nscd_helper.c: Likewise.
14148 * nscd/servicescache.c: Likewise.
14149 * nss/makedb.c: Likewise.
14150 * nss/nss_db/db-XXX.c: Likewise.
14151 * nss/nss_db/db-initgroups.c: Likewise.
14152 * nss/nss_db/db-netgrp.c: Likewise.
14153 * nss/nss_files/files-network.c: Likewise.
14154 * nss/nss_files/files-parse.c: Likewise.
14155 * posix/bug-regex5.c: Likewise.
14156 * posix/fnmatch_loop.c: Likewise.
14157 * posix/regcomp.c: Likewise.
14158 * posix/regexec.c: Likewise.
14159 * posix/tst-rfc3484-2.c: Likewise.
14160 * posix/tst-rfc3484-3.c: Likewise.
14161 * posix/tst-rfc3484.c: Likewise.
14162 * resolv/nss_dns/dns-canon.c: Likewise.
14163 * resolv/nss_dns/dns-network.c: Likewise.
14164 * resolv/res_init.c: Likewise.
14165 * resolv/res_mkquery.c: Likewise.
14166 * resolv/tst-aton.c: Likewise.
14167 * stdlib/cxa_atexit.c: Likewise.
14168 * stdlib/cxa_finalize.c: Likewise.
14169 * stdlib/gen-fpioconst.c: Likewise.
14170 * stdlib/strtol_l.c: Likewise.
14171 * string/tst-endian.c: Likewise.
14172 * sunrpc/auth_des.c: Likewise.
14173 * sunrpc/clnt_udp.c: Likewise.
14174 * sunrpc/rtime.c: Likewise.
14175 * sunrpc/svcauth_des.c: Likewise.
14176 * sunrpc/xdr.c: Likewise.
14177 * sunrpc/xdr_intXX_t.c: Likewise.
14178 * sunrpc/xdr_rec.c: Likewise.
14179 * sysdeps/generic/ldconfig.h: Likewise.
14180 * sysdeps/generic/ldsodefs.h: Likewise.
14181 * sysdeps/generic/memusage.h: Likewise.
14182 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14185 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14191 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14192 * sysdeps/posix/getaddrinfo.c: Likewise.
14193 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14194 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14195 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14196 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14197 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14198 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14199 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14200 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14201 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14202 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14203 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14204 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14205 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14206 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14207 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14208 * sysdeps/x86_64/dl-tls.h: Likewise.
14209 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14210 * time/alt_digit.c: Likewise.
14211 * time/era.c: Likewise.
14212 * wcsmbs/tst-c16c32-1.c: Likewise.
14214 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14216 * math/libm-test.inc (struct test_sincos_data): New type.
14217 (RUN_TEST_LOOP_sincos): New macro.
14218 (sincos_test_data): New variable.
14219 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14221 2013-05-16 Richard Henderson <rth@redhat.com>
14223 * math/atest-exp2.c (LIMB64): New macro.
14224 (CONSTSZ): New macro.
14225 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14227 (print_mpn_fp): ... to function scope.
14228 (read_mpn_hex): Remove.
14229 (get_log2): Remove.
14230 (exp2_mpn): Use mp_log2.
14231 (main): Use mp_exp1.
14233 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14235 * math/libm-test.inc: Remove comment about not testing "inexact"
14237 (INEXACT_EXCEPTION): New macro.
14238 (NO_INEXACT_EXCEPTION): Likewise.
14239 (INVALID_EXCEPTION_OK): Update value.
14240 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14241 (OVERFLOW_EXCEPTION_OK): Likewise.
14242 (UNDERFLOW_EXCEPTION_OK): Likewise.
14243 (IGNORE_ZERO_INF_SIGN): Likewise.
14244 (ERRNO_UNCHANGED): Likewise.
14245 (ERRNO_EDOM): Likewise.
14246 (ERRNO_ERANGE): Likewise.
14247 (test_exceptions): Handle testing "inexact" exceptions.
14248 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14249 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14250 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14251 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14253 (rint_towardzero_test_data): Likewise.
14254 (rint_downward_test_data): Likewise.
14255 (rint_upward_test_data): Likewise.
14257 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14258 with OVERFLOW_EXCEPTION.
14259 (exp10_test_data): Likewise.
14260 (exp2_test_data): Likewise.
14261 (expm1_test_data): Likewise.
14262 (lgamma_test_data): Likewise.
14263 (pow_test_data): Likewise.
14264 (tgamma_test_data): Likewise.
14265 (yn_test_data): Remove duplicate test of overflow.
14267 * math/libm-test.inc (struct test_cc_c_data): New type.
14268 (RUN_TEST_LOOP_cc_c): New macro.
14269 (cpow_test_data): New variable.
14270 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14272 * math/libm-test.inc (struct test_f_L_data): New type.
14273 (RUN_TEST_LOOP_f_L): New macro.
14274 (llrint_test_data): New variable.
14275 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14276 (llrint_tonearest_test_data): New variable.
14277 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14278 (llrint_towardzero_test_data): New variable.
14279 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14280 (llrint_downward_test_data): New variable.
14281 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14282 (llrint_upward_test_data): New variable.
14283 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14284 (llround_test_data): New variable.
14285 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14287 2013-05-13 Peter Collingbourne <pcc@google.com>
14289 * math/atest-exp2.c (get_log2): Remove const attribute.
14291 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14293 * math/libm-test.inc (struct test_f_l_data): New type.
14294 (RUN_TEST_LOOP_f_l): New macro.
14295 (lrint_test_data): New variable.
14296 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14297 (lrint_tonearest_test_data): New variable.
14298 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14299 (lrint_towardzero_test_data): New variable.
14300 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14301 (lrint_downward_test_data): New variable.
14302 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14303 (lrint_upward_test_data): New variable.
14304 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14305 (lround_test_data): New variable.
14306 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14308 2013-05-15 Peter Collingbourne <pcc@google.com>
14310 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14311 (EXTRACT_WORDS64) Use where appropriate.
14312 (INSERT_WORDS64) Likewise.
14314 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14315 constraints with x constraints.
14316 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14318 * malloc/obstack.c (_obstack_compat): Add initializer.
14320 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14322 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14323 si_trapno and add si_addr_lsb to _sifields.sigfault.
14324 (si_trapno): Remove macro.
14325 (si_addr_lsb): Define new macro.
14326 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14328 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14330 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14331 instead of TEST_f_l.
14332 (llrint_test_tonearest): Likewise.
14333 (llrint_test_towardzero): Likewise.
14334 (llrint_test_downward): Likewise.
14335 (llrint_test_upward): Likewise.
14336 (llround_test): Likewise.
14338 * math/libm-test.inc (struct test_f_i_data): Add comment.
14339 (RUN_TEST_LOOP_f_b): New macro.
14340 (RUN_TEST_LOOP_f_b_tg): Likewise.
14341 (finite_test_data): New variable.
14342 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14343 (isfinite_test_data): New variable.
14344 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14345 (isinf_test_data): New variable.
14346 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14347 (isnan_test_data): New variable.
14348 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14349 (isnormal_test_data): New variable.
14350 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14351 (issignaling_test_data): New variable.
14352 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14353 (signbit_test_data): New variable.
14354 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14356 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14357 with INVALID_EXCEPTION.
14358 (acosh_test_data): Likewise.
14359 (asin_test_data): Likewise.
14360 (atanh_test_data): Likewise.
14361 (fmod_test_data): Likewise.
14362 (log_test_data): Likewise.
14363 (log10_test_data): Likewise.
14364 (log2_test_data): Likewise.
14365 (pow_test_data): Likewise.
14366 (sqrt_test_data): Likewise.
14367 (y0_test_data): Likewise.
14368 (y1_test_data): Likewise.
14369 (yn_test_data): Likewise.
14371 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14374 * math/libm-test.inc (struct test_ff_i_data): New type.
14375 (RUN_TEST_LOOP_ff_i_tg): New macro.
14376 (isgreater_test_data): New variable.
14377 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14378 (isgreaterequal_test_data): New variable.
14379 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14380 (isless_test_data): New variable.
14381 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14382 (islessequal_test_data): New variable.
14383 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14384 (islessgreater_test_data): New variable.
14385 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14386 (isunordered_test_data): New variable.
14387 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14389 2013-05-14 David S. Miller <davem@davemloft.net>
14391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14393 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14395 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14397 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14399 (struct test_f_i_data): Change type of max_ulp to int.
14401 * math/libm-test.inc (test_ffI_f1_data): New type.
14402 (RUN_TEST_LOOP_ffI_f1): New macro.
14403 (remquo_test_data): New variable.
14404 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14406 * setjmp/tst-setjmp-fp.c: New file.
14407 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14408 (link-libm): New variable.
14409 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14411 * math/libm-test.inc (struct test_f_i_data): New type.
14412 (RUN_TEST_LOOP_f_i): New macro.
14413 (RUN_TEST_LOOP_f_i_tg): Likewise.
14414 (fpclassify_test_data): New variable.
14415 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14416 (ilogb_test_data): New variable.
14417 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14419 * math/libm-test.inc (scalbln_test): Correct function name in END
14422 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14423 (RUN_TEST_LOOP_fI_f1): New macro.
14424 (frexp_test_data): New variable.
14425 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14427 * math/libm-test.inc (struct test_fF_f1_data): New type.
14428 (RUN_TEST_LOOP_fF_f1): New macro.
14429 (modf_test_data): New variable.
14430 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14432 * math/libm-test.inc (struct test_f_f1_data): New type.
14433 (RUN_TEST_LOOP_f_f1): New macro.
14434 (gamma_test_data): New variable.
14435 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14436 (lgamma_test_data): New variable.
14437 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14439 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14441 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14442 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14443 (main): Comment "tls" pseudo-hwcap.
14445 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14447 * math/libm-test.inc (struct test_fl_f_data): New type.
14448 (RUN_TEST_LOOP_fl_f): New variable.
14449 (scalbln_test_data): New variable.
14450 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14452 * math/libm-test.inc (struct test_fi_f_data): New type.
14453 (RUN_TEST_LOOP_fi_f): New macro.
14454 (ldexp_test_data): New variable.
14455 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14456 (scalbn_test_data): New variable.
14457 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14459 * math/libm-test.inc (struct test_c_f_data): New type.
14460 (RUN_TEST_LOOP_c_f): New macro.
14461 (cabs_test_data): New variable.
14462 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14463 (carg_test_data): New variable.
14464 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14465 (cimag_test_data): New variable.
14466 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14467 (creal_test_data): New variable.
14468 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14470 * math/libm-test.inc (struct test_if_f_data): New type.
14471 (RUN_TEST_LOOP_if_f): New macro.
14472 (jn_test_data): New variable.
14473 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14474 (yn_test_data): New variable.
14475 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14477 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14479 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14481 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14482 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14484 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14486 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14487 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14488 (bench-deps): Add bench-timing.h.
14489 * benchtests-bench-skeleton.c: Include bench-timing.h.
14490 (main): Use TIMING_* macros instead of clock_gettime.
14491 * benchtests/bench-timing.h: New file.
14494 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14495 Renamed from _LIB_VERSION.
14496 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14498 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14500 * math/libm-test.inc (struct test_fff_f_data): New type.
14501 (RUN_TEST_LOOP_fff_f): New macro.
14502 (fma_test_data): New variable.
14503 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14504 (fma_towardzero_test_data): New variable.
14505 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14506 (fma_downward_test_data): New variable.
14507 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14508 (fma_upward_test_data): New variable.
14509 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14511 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14512 (struct test_c_c_data): New type.
14513 (RUN_TEST_LOOP_c_c): New macro.
14514 (cacos_test_data): New variable.
14515 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14516 (cacosh_test_data): New variable.
14517 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14518 (casin_test_data): New variable.
14519 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14520 (casinh_test_data): New variable.
14521 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14522 (catan_test_data): New variable.
14523 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14524 (catanh_test_data): New variable.
14525 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14526 (ccos_test_data): New variable.
14527 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14528 (ccosh_test_data): New variable.
14529 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14530 (cexp_test_data): New variable.
14531 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14532 (clog_test_data): New variable.
14533 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14534 (clog10_test_data): New variable.
14535 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14536 (conj_test_data): New variable.
14537 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14538 (cproj_test_data): New variable.
14539 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14540 (csin_test_data): New variable.
14541 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14542 (csinh_test_data): New variable.
14543 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14544 (csqrt_test_data): New variable.
14545 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14546 (ctan_test_data): New variable.
14547 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14548 (ctan_tonearest_test_data): New variable.
14549 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14550 (ctan_towardzero_test_data): New variable.
14551 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14552 (ctan_downward_test_data): New variable.
14553 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14554 (ctan_upward_test_data): New variable.
14555 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14556 (ctanh_test_data): New variable.
14557 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14558 (ctanh_tonearest_test_data): New variable.
14559 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14560 (ctanh_towardzero_test_data): New variable.
14561 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14562 (ctanh_downward_test_data): New variable.
14563 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14564 (ctanh_upward_test_data): New variable.
14565 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14566 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14569 * math/libm-test.inc (struct test_ff_f_data): New type.
14570 (struct test_ff_f_data_nexttoward): Likewise.
14571 (RUN_TEST_LOOP_2_f): New macro.
14572 (RUN_TEST_LOOP_ff_f): Likewise.
14573 (atan2_test_data): New variable.
14574 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14575 (copysign_test_data): New variable.
14576 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14577 (fdim_test_data): New variable.
14578 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14579 (fmax_test_data): New variable.
14580 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14581 (fmin_test_data): New variable.
14582 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14583 (fmod_test_data): New variable.
14584 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14585 (hypot_test_data): New variable.
14586 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14587 (nextafter_test_data): New variable.
14588 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14589 (nexttoward_test_data): New variable.
14590 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14591 (pow_test_data): New variable.
14592 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14593 (pow_tonearest_test_data): New variable.
14594 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14595 (pow_towardzero_test_data): New variable.
14596 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14597 (pow_downward_test_data): New variable.
14598 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14599 (pow_upward_test_data): New variable.
14600 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14601 (remainder_test_data): New variable.
14602 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14603 (scalb_test_data): New variable.
14604 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14605 * sysdeps/i386/fpu/libm-test-ulps: Update.
14607 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14609 * math/libm-test.inc (fma_test): Use max_value instead of local
14611 (nextafter_test): Likewise.
14613 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14614 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14615 (acos_downward_test_data): New variable.
14616 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14617 (acos_upward_test_data): New variable.
14618 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14619 (acosh_test_data): New variable.
14620 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14621 (asin_test_data): New variable.
14622 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14623 (asin_tonearest_test_data): New variable.
14624 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14625 (asin_towardzero_test_data): New variable.
14626 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14627 (asin_downward_test_data): New variable.
14628 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14629 (asin_upward_test_data): New variable.
14630 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14631 (asinh_test_data): New variable.
14632 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14633 (atan_test_data): New variable.
14634 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14635 (atanh_test_data): New variable.
14636 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14637 (cbrt_test_data): New variable.
14638 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14639 (ceil_test_data): New variable.
14640 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14641 (cos_test_data): New variable.
14642 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14643 (cos_tonearest_test_data): New variable.
14644 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14645 (cos_towardzero_test_data): New variable.
14646 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14647 (cos_downward_test_data): New variable.
14648 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14649 (cos_upward_test_data): New variable.
14650 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14651 (cosh_test_data): New variable.
14652 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14653 (cosh_tonearest_test_data): New variable.
14654 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14655 (cosh_towardzero_test_data): New variable.
14656 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14657 (cosh_downward_test_data): New variable.
14658 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14659 (cosh_upward_test_data): New variable.
14660 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14661 (erf_test_data): New variable.
14662 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14663 (erfc_test_data): New variable.
14664 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14665 (exp_test_data): New variable.
14666 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14667 (exp_tonearest_test_data): New variable.
14668 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14669 (exp_towardzero_test_data): New variable.
14670 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14671 (exp_downward_test_data): New variable.
14672 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14673 (exp_upward_test_data): New variable.
14674 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14675 (exp10_test_data): New variable.
14676 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14677 (exp2_test_data): New variable.
14678 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14679 (expm1_test_data): New variable.
14680 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14681 (fabs_test_data): New variable.
14682 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14683 (floor_test_data): New variable.
14684 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14685 (j0_test_data): New variable.
14686 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14687 (j1_test_data): New variable.
14688 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14689 (log_test_data): New variable.
14690 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14691 (log10_test_data): New variable.
14692 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14693 (log1p_test_data): New variable.
14694 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14695 (log2_test_data): New variable.
14696 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14697 (logb_test_data): New variable.
14698 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14699 (logb_downward_test_data): New variable.
14700 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14701 (nearbyint_test_data): New variable.
14702 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14703 (rint_test_data): New variable.
14704 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14705 (rint_tonearest_test_data): New variable.
14706 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14707 (rint_towardzero_test_data): New variable.
14708 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14709 (rint_downward_test_data): New variable.
14710 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14711 (rint_upward_test_data): New variable.
14712 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14713 (round_test_data): New variable.
14714 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14715 (sin_test_data): New variable.
14716 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14717 (sin_tonearest_test_data): New variable.
14718 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14719 (sin_towardzero_test_data): New variable.
14720 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14721 (sin_downward_test_data): New variable.
14722 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14723 (sin_upward_test_data): New variable.
14724 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14725 (sinh_test_data): New variable.
14726 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14727 (sinh_tonearest_test_data): New variable.
14728 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14729 (sinh_towardzero_test_data): New variable.
14730 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14731 (sinh_downward_test_data): New variable.
14732 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14733 (sinh_upward_test_data): New variable.
14734 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14735 (sqrt_test_data): New variable.
14736 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14737 (tan_test_data): New variable.
14738 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14739 (tan_tonearest_test_data): New variable.
14740 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14741 (tan_towardzero_test_data): New variable.
14742 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14743 (tan_downward_test_data): New variable.
14744 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14745 (tan_upward_test_data): New variable.
14746 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14747 (tanh_test_data): New variable.
14748 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14749 (tgamma_test_data): New variable.
14750 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14751 (trunc_test_data): New variable.
14752 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14753 (y0_test_data): New variable.
14754 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14755 (y1_test_data): New variable.
14756 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14757 (significand_test_data): New variable.
14758 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14760 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14763 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14765 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14767 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14769 2013-05-10 Andreas Jaeger <aj@suse.de>
14772 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14773 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14775 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14777 * math/gen-libm-test.pl (adjust_arg): New function.
14778 (special_functions): Handle generating output in both functions
14780 (parse_args): Likewise.
14781 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14782 $in_func argument to parse_args.
14783 * math/libm-test.inc (struct test_f_f_data): New type.
14784 (IF_ROUND_INIT_): New macro.
14785 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14786 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14787 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14788 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14789 (ROUND_RESTORE_): Likewise.
14790 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14791 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14792 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14793 (ROUND_RESTORE_FE_UPWARD): Likewise.
14794 (RUN_TEST_LOOP_f_f): New macro.
14795 (acos_test_data): New variable.
14796 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14797 (acos_tonearest_test_data): New variable.
14798 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14800 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14802 * benchtests/bench-skeleton.c (startup): Fix coding style.
14804 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14807 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14808 negative infinity argument.
14809 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14810 negative infinity argument.
14811 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14812 negative infinity argument.
14813 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14816 2013-05-10 Florian Weimer <fweimer@redhat.com>
14818 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14819 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14820 * iconv/iconv_prog.c (main): Likewise.
14821 * locale/programs/charmap-dir.c (charmap_readdir)
14822 (fopen_uncompressed): Likewise.
14823 * locale/programs/locfile.c (siblings_uncached)
14824 (write_locale_data): Use lstat64 instead of lstat.
14825 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14828 2013-05-10 Andreas Jaeger <aj@suse.de>
14831 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14833 Include <locale.h>.
14835 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14837 * elf/dl-close.c (_dl_close_worker): Add comments.
14839 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14842 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14844 (__ieee754_rem_pio2l): Update comments.
14847 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14849 (__ieee754_rem_pio2l): Update comments.
14851 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14852 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14854 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14857 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14858 (M_PI_34_LOG10El): Likewise.
14859 (M_PI2_LOG10El): Likewise.
14860 (M_PI4_LOG10El): Likewise.
14861 (M_PI_LOG10El): Likewise.
14863 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14867 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14869 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14870 (MINUS_ZERO_INIT): Likewise.
14871 (PLUS_INFTY_INIT): Likewise.
14872 (MINUS_INFTY_INIT): Likewise.
14873 (QNAN_VALUE_INIT): Likewise.
14874 (MAX_VALUE_INIT): Likewise.
14875 (MIN_VALUE_INIT): Likewise.
14876 (MIN_SUBNORM_VALUE_INIT): Likewise.
14877 (plus_zero): Initialize with PLUS_ZERO_INIT.
14878 (minus_zero): Initialize with MINUS_ZERO_INIT.
14879 (plus_infty): Initialize with PLUS_INFTY_INIT.
14880 (minus_infty): Initialize with MINUS_INFTY_INIT.
14881 (qnan_value): Initialize with QNAN_VALUE_INIT.
14882 (max_value): Initialize with MAX_VALUE_INIT.
14883 (min_value): Initialize with MIN_VALUE_INIT.
14884 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14886 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14887 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14888 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14889 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14891 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14892 (RUN_TEST_2_f): Likewise.
14893 (RUN_TEST_ff_f): Likewise.
14894 (RUN_TEST_fi_f): Likewise.
14895 (RUN_TEST_fl_f): Likewise.
14896 (RUN_TEST_fff_f): Likewise.
14897 (RUN_TEST_c_f): Likewise.
14898 (RUN_TEST_f_f1): Likewise.
14899 (RUN_TEST_fF_f1): Likewise.
14900 (RUN_TEST_fI_f1): Likewise.
14901 (RUN_TEST_ffI_f1): Likewise.
14902 (RUN_TEST_c_c): Likewise.
14903 (RUN_TEST_cc_c): Likewise.
14904 (RUN_TEST_f_i): Likewise.
14905 (RUN_TEST_f_i_tg): Likewise.
14906 (RUN_TEST_ff_i_tg): Likewise.
14907 (RUN_TEST_f_b): Likewise.
14908 (RUN_TEST_f_b_tg): Likewise.
14909 (RUN_TEST_f_l): Likewise.
14910 (RUN_TEST_f_L): Likewise.
14911 (RUN_TEST_sincos): Likewise.
14912 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14913 whether to show exceptions. Do not include ");\n" in return
14915 (special_functions): Output call to RUN_TEST_sincos instead of
14916 check_float calls. Update calls to new_test.
14917 (parse_args): Output call to single RUN_TEST_* macro instead of
14918 check_* calls and other assignments. Update calls to new_test.
14924 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14925 input to result for tgamma overflow.
14926 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14927 (gamma_coeff): New variable.
14928 (NCOEFF): New macro.
14929 (gamma_positive): New function.
14930 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14931 underflow here. Use gamma_positive instead of exp (lgamma) for
14933 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14934 (gamma_coeff): New variable.
14935 (NCOEFF): New macro.
14936 (gammaf_positive): New function.
14937 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14938 underflow here. Use gamma_positive instead of exp (lgamma) for
14940 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14941 (gamma_coeff): New variable.
14942 (NCOEFF): New macro.
14943 (gammal_positive): New function.
14944 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14945 underflow here. Use gamma_positive instead of exp (lgamma) for
14947 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14948 (gamma_coeff): New variable.
14949 (NCOEFF): New macro.
14950 (gammal_positive): New function.
14951 (__ieee754_gammal_r): Handle positive infinity, overflow and
14952 underflow here. Handle NaN the same as positive infinity. Remove
14953 check x < 0xffffffff for negative integers. Use gamma_positive
14954 instead of exp (lgamma) for other arguments.
14955 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14956 (gamma_coeff): New variable.
14957 (NCOEFF): New macro.
14958 (gammal_positive): New function.
14959 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14960 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14964 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14965 * sysdeps/generic/math_private.h (__gamma_productf): New
14967 (__gamma_product): Likewise.
14968 (__gamma_productl): Likewise.
14969 * math/Makefile (libm-calls): Add gamma_product.
14970 * math/libm-test.inc (tgamma_test): Add more tests.
14971 * sysdeps/i386/fpu/libm-test-ulps: Update.
14972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14974 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14976 * benchtests/bench-skeleton.c (main): Preheat CPU.
14978 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14980 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14982 2013-05-07 Roland McGrath <roland@hack.frob.com>
14984 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14985 and _dl_skip_args_internal.
14987 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14989 * manual/message.texi (Message Translation): Talk about users.
14990 Message to key mapping impacts design.
14992 2013-05-06 Roland McGrath <roland@hack.frob.com>
14994 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14996 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14998 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14999 * sysdeps/wordsize-64/glob64.c: ... here.
15001 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15002 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15005 * debug/getlogin_r_chk.c: Moved to ...
15006 * login/getlogin_r_chk.c: ... here.
15007 * debug/Makefile (routines): Move getlogin_r_chk to ...
15008 * login/Makefile (routines): ... here.
15009 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15010 * login/Versions (libc: GLIBC_2.4): ... here.
15012 * io/poll.c (__poll): Renamed from poll.
15013 Add libc_hidden_def.
15014 (poll): Define as weak alias.
15016 * debug/ptsname_r_chk.c: Moved to ...
15017 * login/ptsname_r_chk.c: ... here.
15018 * debug/Makefile (routines): Move ptsname_r_chk to ...
15019 * login/Makefile (routines): ... here.
15020 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15021 * login/Versions (libc: GLIBC_2.4): ... here.
15023 * posix/getlogin.c: Moved to ...
15024 * login/getlogin.c: ... here.
15025 * posix/getlogin_r.c: Moved to ...
15026 * login/getlogin_r.c: ... here.
15027 * posix/getlogin_r.c: Moved to ...
15028 * login/getlogin_r.c: ... here.
15029 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15030 * login/Makefile (routines): ... here.
15031 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15032 * login/Versions (libc: GLIBC_2.0): ... here.
15034 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15035 (setrlimit): Define as weak alias.
15037 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15038 Call __ names for open, ftruncate, and close.
15039 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15040 (truncate): Define as weak alias.
15042 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15044 * math/gen-libm-test.pl (parse_args): Initialize x before each
15045 test of frexp, modf and remquo.
15047 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15048 test signgam value.
15050 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15054 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15056 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15058 2013-05-06 Roland McGrath <roland@hack.frob.com>
15060 * elf/dl-writev.h: New file.
15061 * elf/dl-misc.c: Include it.
15062 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15063 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15065 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15067 * math/libm-test.inc (noXFails): Remove variable.
15068 (noXPasses): Likewise.
15069 (BUILD_COMPLEX_INT): Remove macro.
15070 (print_screen): Remove xfail argument.
15071 (print_screen_max_error): Likewise.
15072 (update_stats): Likewise.
15073 (print_max_error): Likewise. Update calls to other affected
15075 (print_complex_max_error): Likewise.
15076 (test_single_exception): Update calls to print_screen.
15077 (test_single_errno): Likewise.
15078 (check_float_internal): Remove xfail argument. Update calls to
15079 other affected functions.
15080 (check_float): Likewise.
15081 (check_complex): Likewise.
15082 (check_int): Likewise.
15083 (check_long): Likewise.
15084 (check_bool): Likewise.
15085 (check_longlong): Likewise.
15086 (main): Don't print noXFails and noXPasses.
15087 * math/gen-libm-test.pl (top level): Don't mention expected
15088 failure handling in comment.
15089 (new_test): Don't handle expected failures.
15090 (parse_args): Don't mention expected failure handling in comment.
15091 (generate_testfile): Don't handle expected failures.
15092 (parse_ulps): Likewise.
15093 (print_ulps_file): Likewise.
15094 (get_failure): Remove function.
15095 (output_test): Don't handle expected failures.
15096 * make/README.libm-test: Don't mention expected failure handling.
15098 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15099 (minus_zero): Likewise.
15100 (plus_infty): Likewise.
15101 (minus_infty): Likewise.
15102 (qnan_value): Likewise.
15103 (max_value): Likewise.
15104 (min_value): Likewise.
15105 (min_subnorm_value): Likewise.
15106 (initialize): Do not initialize those variables dynamically.
15108 2013-05-03 Roland McGrath <roland@hack.frob.com>
15110 * io/open.c (__open_2): Moved to ...
15111 * io/open_2.c: ... this new file.
15112 * io/open64.c (__open64_2): Moved to ...
15113 * io/open64_2.c: ... this new file.
15114 * io/openat.c (__openat_2): Moved to ...
15115 * io/openat_2.c: ... this new file.
15116 * io/openat64.c (__openat64_2): Moved to ...
15117 * io/openat64_2.c: ... this new file.
15118 * io/Makefile (routines): Add them.
15119 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15120 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15121 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15122 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15123 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15124 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15125 (__openat64): Add hidden_ver.
15126 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15127 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15129 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15130 Separately conditionalize setting of GLRO(dl_sysinfo) so
15131 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15132 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15134 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15136 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15137 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15139 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15140 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15141 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15142 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15143 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15145 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15147 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15148 test signgam value.
15150 * math/libm-test.inc (hypot_test): Do not use
15151 IGNORE_ZERO_INF_SIGN.
15153 2013-05-03 Andreas Jaeger <aj@suse.de>
15155 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15157 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15158 (PF_MAX): Adjust for VSOCK change.
15160 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15164 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15167 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15168 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15169 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15171 2013-05-02 David S. Miller <davem@davemloft.net>
15173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15175 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15177 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15179 2013-05-01 Roland McGrath <roland@hack.frob.com>
15181 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15183 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15186 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15187 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15188 Use __attribute__ ((__gnu_inline__)).
15189 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15190 Don't use __attribute__ ((__gnu_inline__)).
15192 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15195 * math/s_catan.c (__catan): Handle small real or imaginary part of
15196 input specially to avoid spurious underflow.
15197 * math/s_catanf.c (__catanf): Likewise.
15198 * math/s_catanh.c (__catanh): Likewise.
15199 * math/s_catanhf.c (__catanhf): Likewise.
15200 * math/s_catanhl.c (__catanhl): Likewise.
15201 * math/s_catanl.c (__catanl): Likewise.
15202 * math/libm-test.inc (catan_test): Add more tests.
15203 (catanh_test): Likewise.
15204 * sysdeps/i386/fpu/libm-test-ulps: Update.
15205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15207 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15211 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15214 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15215 accurately for denominator in atan2.
15216 * math/s_catanf.c (__catanf): Likewise.
15217 * math/s_catanh.c (__catanh): Likewise.
15218 * math/s_catanhf.c (__catanhf): Likewise.
15219 * math/s_catanhl.c (__catanhl): Likewise.
15220 * math/s_catanl.c (__catanl): Likewise.
15221 * math/libm-test.inc (catan_test): Add more tests.
15222 (catanh_test): Likewise.
15223 * sysdeps/i386/fpu/libm-test-ulps: Update.
15224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15226 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15228 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15230 * benchtests/Makefile (bench): Remove slow benchmarks.
15231 * benchtests/atan-inputs: Add slow benchmark inputs.
15232 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15233 (BENCH_FUNC): Accept variant offset.
15235 * benchtests/bench-skeleton.c (main): Run benchmark for each
15237 * benchtests/cos-inputs: Add slow benchmark inputs.
15238 * benchtests/exp-inputs: Likewise.
15239 * benchtests/pow-inputs: Likewise.
15240 * benchtests/sin-inputs: Likewise.
15241 * benchtests/slowatan-inputs: Remove.
15242 * benchtests/slowatan.c: Remove.
15243 * benchtests/slowcos-inputs: Remove.
15244 * benchtests/slowcos.c: Remove.
15245 * benchtests/slowexp-inputs: Remove.
15246 * benchtests/slowexp.c: Remove.
15247 * benchtests/slowpow-inputs: Remove.
15248 * benchtests/slowpow.c: Remove.
15249 * benchtests/slowsin-inputs: Remove.
15250 * benchtests/slowsin.c: Remove.
15251 * benchtests/slowtan-inputs: Remove.
15252 * benchtests/slowtan.c: Remove.
15253 * benchtests/tan-inputs: Add slow benchmark inputs.
15254 * scripts/bench.pl: Parse comments and directives.
15256 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15258 ($(objpfx)bench-%.c): Remove *-ITER.
15259 * benchtests/bench-modf.c: Remove definition of ITER.
15260 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15261 (main): Loop for DURATION seconds instead of fixed number of
15263 * scripts/bench.pl: Don't expect iterations in parameters.
15265 2013-04-29 Roland McGrath <roland@hack.frob.com>
15267 * io/fchdir.c (__fchdir): Renamed from fchdir.
15268 (fchdir): Define as weak alias.
15270 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15272 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15273 (ERRNO_EDOM): Likewise.
15274 (ERRNO_ERANGE): Likewise.
15275 (noErrnoTests): New variable.
15276 (init_max_error): Set errno to 0.
15277 (test_single_errno): New function.
15278 (test_errno): Likewise.
15279 (check_float_internal): Call test_errno. Set errno to 0.
15280 (check_complex): Refer to errno tests in comment.
15281 (check_int): Call test_errno. Set errno to 0.
15282 (check_long): Likewise.
15283 (check_bool): Likewise.
15284 (check_longlong): Likewise.
15285 (cos_test): Use ERRNO_* flags for errno tests instead of
15287 (expm1_test): Likewise.
15288 (fmod_test): Likewise.
15289 (ilogb_test): Likewise.
15290 (lgamma_test): Likewise.
15291 (pow_test): Likewise.
15292 (remainder_test): Likewise.
15293 (sin_test): Likewise.
15294 (tan_test): Likewise.
15295 (yn_test): Likewise.
15296 (initialize): Set errno to 0.
15297 (main): Print number of errno tests.
15298 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15300 2013-04-29 Andreas Jaeger <aj@suse.de>
15303 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15307 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15308 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15312 * stdlib/random.c (__initstate): Return NULL if
15316 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15317 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15320 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15324 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15326 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15327 of individual tests.
15328 (casin_test): Likewise.
15329 (casinh_test): Likewise.
15331 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15334 * math/s_catan.c (__catan): Handle arguments with large real or
15335 imaginary part separately without squaring.
15336 * math/s_catanf.c (__catanf): Likewise.
15337 * math/s_catanh.c (__catanh): Likewise.
15338 * math/s_catanhf.c (__catanhf): Likewise.
15339 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15341 (__catanhl): Handle arguments with large real or imaginary part
15342 separately without squaring.
15343 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15345 (__catanl): Handle arguments with large real or imaginary part
15346 separately without squaring.
15347 * math/libm-test.inc (catan_test): Add more tests.
15348 (catanh_test): Likewise.
15349 * sysdeps/i386/fpu/libm-test-ulps: Update.
15350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15352 2013-04-27 Andreas Jaeger <aj@suse.de>
15355 * stdlib/stdlib.h: Update guards for qecvt.
15356 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15359 2013-04-27 Allan McRae <allan@archlinux.org>
15361 * sysdeps/i386/fpu/libm-test-ulps: Update.
15363 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15366 * math/s_catan.c: Include <float.h>.
15367 (__catan): Ensure underflow exception occurs for underflowed
15369 * math/s_catanf.c: Include <float.h>.
15370 (__catanf): Ensure underflow exception occurs for underflowed
15372 * math/s_catanh.c: Include <float.h>.
15373 (__catanh): Ensure underflow exception occurs for underflowed
15375 * math/s_catanhf.c: Include <float.h>.
15376 (__catanhf): Ensure underflow exception occurs for underflowed
15378 * math/s_catanhl.c: Include <float.h>.
15379 (__catanhl): Ensure underflow exception occurs for underflowed
15381 * math/s_catanl.c: Include <float.h>.
15382 (__catanl): Ensure underflow exception occurs for underflowed
15384 * math/libm-test.inc (catan_test): Add more tests.
15385 (catanh_test): Likewise.
15388 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15389 underflowed result.
15390 * math/s_ccoshf.c (__ccoshf): Likewise.
15391 * math/s_ccoshl.c (__ccoshl): Likewise.
15392 * math/s_csin.c (__csin): Likewise.
15393 * math/s_csinf.c (__csinf): Likewise.
15394 * math/s_csinh.c (__csinh): Likewise.
15395 * math/s_csinhf.c (__csinhf): Likewise.
15396 * math/s_csinhl.c (__csinhl): Likewise.
15397 * math/s_csinl.c (__csinl): Likewise.
15398 * math/libm-test.inc (ccos_test): Add more tests.
15399 (ccosh_test): Likewise.
15400 (csin_test): Likewise.
15401 (csinh_test): Likewise.
15403 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15405 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15406 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15407 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15408 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15409 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15410 powerpc/power5+/fpu folders.
15411 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15414 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15418 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15420 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15421 additions to variable.
15422 [$(config-machine) = x86_64] (modules-names): Likewise.
15423 ($(objpfx)tst-audit3): Remove dependency.
15424 ($(objpfx)tst-audit3.out): Likewise.
15425 ($(objpfx)tst-audit4): Likewise.
15426 ($(objpfx)tst-audit4.out): Likewise.
15427 ($(objpfx)tst-audit5): Likewise.
15428 ($(objpfx)tst-audit5.out): Likewise.
15429 ($(objpfx)tst-audit6): Likewise.
15430 ($(objpfx)tst-audit6.out): Likewise.
15431 ($(objpfx)tst-audit7): Likewise.
15432 ($(objpfx)tst-audit7.out): Likewise.
15433 (tst-audit3-ENV): Remove variable.
15434 (tst-audit4-ENV): Likewise.
15435 (tst-audit5-ENV): Likewise.
15436 (tst-audit6-ENV): Likewise.
15437 (tst-audit7-ENV): Likewise.
15438 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15439 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15440 addition to variable.
15441 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15442 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15443 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15444 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15445 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15446 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15447 tst-audit3, tst-audit4 and tst-audit5.
15448 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15449 tst-audit6 and tst-audit7.
15450 [$(subdir) = elf] (modules-names): Add audit modules for those
15452 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15453 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15454 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15455 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15456 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15457 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15458 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15459 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15460 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15461 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15462 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15463 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15464 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15465 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15466 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15467 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15469 [$(subdir) = elf && $(config-cflags-avx) = yes]
15470 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15471 [$(subdir) = elf && $(config-cflags-avx) = yes]
15472 (CFLAGS-tst-auditmod4a.c): Likewise.
15473 [$(subdir) = elf && $(config-cflags-avx) = yes]
15474 (CFLAGS-tst-auditmod4b.c): Likewise.
15475 [$(subdir) = elf && $(config-cflags-avx) = yes]
15476 (CFLAGS-tst-auditmod6b.c): Likewise.
15477 [$(subdir) = elf && $(config-cflags-avx) = yes]
15478 (CFLAGS-tst-auditmod6c.c): Likewise.
15479 [$(subdir) = elf && $(config-cflags-avx) = yes]
15480 (CFLAGS-tst-auditmod7b.c): Likewise.
15481 * elf/tst-audit3.c: Move to ...
15482 * sysdeps/x86_64/tst-audit3.c: ... here.
15483 * elf/tst-audit4.c: Move to ...
15484 * sysdeps/x86_64/tst-audit4.c: ... here.
15485 * elf/tst-audit5.c: Move to ...
15486 * sysdeps/x86_64/tst-audit5.c: ... here.
15487 * elf/tst-audit6.c: Move to ...
15488 * sysdeps/x86_64/tst-audit6.c: ... here.
15489 * elf/tst-audit7.c: Move to ...
15490 * sysdeps/x86_64/tst-audit7.c: ... here.
15491 * elf/tst-auditmod3a.c: Move to ...
15492 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15493 * elf/tst-auditmod3b.c: Move to ...
15494 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15495 * elf/tst-auditmod4a.c: Move to ...
15496 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15497 * elf/tst-auditmod4b.c: Move to ...
15498 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15499 * elf/tst-auditmod5a.c: Move to ...
15500 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15501 * elf/tst-auditmod5b.c: Move to ...
15502 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15503 * elf/tst-auditmod6a.c: Move to ...
15504 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15505 * elf/tst-auditmod6b.c: Move to ...
15506 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15507 * elf/tst-auditmod6c.c: Move to ...
15508 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15509 * elf/tst-auditmod7a.c: Move to ...
15510 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15511 * elf/tst-auditmod7b.c: Move to ...
15512 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15514 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15517 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15518 define unconditionally.
15519 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15520 define unconditionally.
15521 (INT8_C, INT16_C, etc.): Likewise.
15523 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15525 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15526 __ehdr_start with hidden visibility.
15528 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15530 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15532 * math/libm-test.inc (cos_test): Use accurate hex constants.
15533 (sincost_test): Likewise.
15535 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15537 * math/libm-test.inc (catan_test): Add more tests.
15538 (catanh_test): Likewise.
15540 * math/s_catanf.c (__catanf): Use suffixed floating-point
15542 * math/s_catanhf.c (__catanhf): Likewise.
15543 * math/s_catanhl.c (__catanhl): Likewise.
15544 * math/s_catanl.c (__catanl): Likewise.
15547 * math/s_catan.c (__catan): Calculate imaginary part of result
15548 with log1p not log unless computing log of number close to 0.
15549 * math/s_catanf.c (__catanf): Likewise.
15550 * math/s_catanl.c (__catanl): Likewise.
15551 * math/s_catanh.c (__catanh): Calculate real part of result with
15552 log1p not log unless computing log of number close to 0.
15553 * math/s_catanhf.c (__catanhf): Likewise.
15554 * math/s_catanhl.c (__catanhl): Likewise.
15555 * math/libm-test.inc (catan_test): Add more tests.
15556 (catanh_test): Likewise.
15557 * sysdeps/i386/fpu/libm-test-ulps: Update.
15558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15560 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15562 * benchtests/Makefile: Mention files in which fast and slow
15563 paths of math functions are implemented.
15565 2013-04-23 Roland McGrath <roland@hack.frob.com>
15567 * sysdeps/posix/timespec_get.c: New file.
15569 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15571 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15573 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15575 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15576 powerpc/power5/fpu folders.
15577 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15578 * benchtests/Makefile: Add modf testcase.
15579 * benchtests/bench-modf.c: New file: Benchmark test for mo
15581 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15584 * time/Makefile (tests): Add tst-strptime-whitespace.
15585 * time/strptime_l.c (get_number): Use ISSPACE.
15586 (__strptime_internal): Likewise.
15587 * time/tst-strptime-whitespace.c: New test case.
15589 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15591 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15593 (_nss_files_init): Set it here.
15595 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15597 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15598 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15601 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15603 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15605 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15607 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15610 2013-04-21 David S. Miller <davem@davemloft.net>
15612 * po/ru.po: Update Russion translation from translation project.
15614 2013-04-17 Adam Conrad <adconrad@0c3.net>
15616 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15619 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15621 * configure.in: Remove i386 configure warning. Remove i386 case.
15622 * configure: Regenerate.
15623 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15624 Add example to error message.
15625 * sysdeps/i386/configure: Regenerate.
15627 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15629 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15631 * benchtests/cos-inputs: New file.
15632 * benchtests/slowcos-inputs: New file.
15633 * benchtests/slowcos.c: New file.
15634 * benchtests/slowtan-inputs: New file.
15635 * benchtests/slowtan.c: New file.
15636 * benchtests/tan-inputs: New file.
15638 2013-04-16 Roland McGrath <roland@hack.frob.com>
15640 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15643 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15645 * benchtests/Makefile: Include cppflags-iterator.mk to add
15646 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15648 * Makefile.in (bench-clean): New target.
15649 * benchtests/Makefile (bench-clean): Likewise.
15651 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15653 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15655 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15657 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15659 2013-04-15 Andreas Schwab <schwab@suse.de>
15661 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15663 * nscd/pwdcache.c (cache_addpw): Likewise.
15664 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15667 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15669 * benchtests/Makefile (bench): Write all output to
15670 bench-out.tmp together.
15672 2013-04-15 Andreas Schwab <schwab@suse.de>
15674 * nscd/nscd.c (main): Don't fork again after closing files.
15676 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15678 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15680 * benchtests/Rules (bench-deps): Collect dependencies into a
15681 single variable. Add Makefile to dependencies.
15682 ($(objpfx)bench-%.c): Depend on bench-deps.
15684 2013-04-12 Roland McGrath <roland@hack.frob.com>
15685 Xavier Roche <roche+kml2@exalead.com>
15688 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15689 just that it's a file descriptor.
15690 * manual/llio.texi (Synchronizing AIO Operations): Update description
15691 for EBADF error from aio_fsync.
15693 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15695 * Rules (bench): Move target definition...
15696 * benchtests/Makefile: ... here.
15698 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15700 * math/libm-test.inc (cos_test): Fix PI/2 test.
15701 (sincos_test): Likewise.
15702 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15703 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15705 2013-04-11 Andreas Schwab <schwab@suse.de>
15708 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15709 accept exponent character only when digits were seen.
15710 * stdio-common/Makefile (tests): Add bug26.
15711 * stdio-common/bug26.c: New file.
15714 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15717 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15719 * Makeconfig (rtld-prefix): Define built linker prefix.
15720 * Rules (run-bench): Use it.
15721 * math/Makefile (run-regen-ulps): Likewise.
15723 * Rules (bench): Remove eval.
15725 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15726 Roland McGrath <roland@hack.frob.com>
15727 Ondrej Bilka <neleai@seznam.cz>
15730 * time/getdate.c: Include ctype.h and alloca.h.
15731 (__getdate_r): Trim leading and trailing spaces of input.
15732 * time/tst-getdate.c (tests): Add tests with leading and
15735 2013-04-08 Roland McGrath <roland@hack.frob.com>
15738 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15739 when computing value.
15741 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15743 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15744 Use testrun.sh to run libm tests.
15747 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15749 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15752 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15754 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15756 * Makefile.in (regen-ulps): New target.
15757 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15758 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15759 [ifneq (no,$(PERL)] (regen-ulps): New target.
15760 [ifeq (no,$(PERL)] (regen-ulps): New target.
15761 * math/libm-test.inc (ulps_file_name): Define.
15762 (output_dir): New variable.
15763 (options): Add "output-dir" option.
15764 (parse_opt): Handle 'o' case.
15765 (main): If output_dir is non-NULL use it as a prefix
15767 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15769 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15771 [BZ #10060, #10062]
15772 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15773 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15774 fail configure if __sync_val_compare_and_swap is not inlined.
15775 * sysdeps/i386/configure: Regenerate.
15776 * configure.in: Build for i686 when configured for i386.
15777 * configure: Regenerate.
15778 * README: Remove i386 reference.
15780 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15782 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15785 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15787 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15788 (lmsnanval): New variables.
15789 (F): Add conversion tests.
15790 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15791 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15793 * stdio-common/tstdiomisc.c (F): Properly collect individual
15796 [BZ #14686, #15336]
15797 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15798 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15799 Instead, use input NaN values or generate a qNaN by arithmetic
15800 operation. Also fix bugs to comply with the standard.
15801 * math/libm-test.inc (remainder_test): Add more tests.
15803 [BZ #15335, #15342]
15804 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15806 input NaN values or generate a qNaN by arithmetic operation.
15808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15811 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15814 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15817 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15818 underflowed result.
15819 * math/s_cexpf.c (__cexpf): Likewise.
15820 * math/s_cexpl.c (__cexpl): Likewise.
15821 * math/libm-test.inc (cexp_test): Add more tests.
15823 2013-04-03 Andreas Schwab <schwab@suse.de>
15826 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15827 order arrays from heap if bigger than alloca cutoff.
15829 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15831 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15832 (SNAN_TESTS_double): Refer to GCC PR56831.
15833 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15836 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15838 * Rules (bench): Move bench.out after the run is complete.
15840 * Rules (bench): Echo currently running benchmark.
15842 * benchtests/Makefile (bench): Add atan and slowatan.
15843 * benchtests/atan-inputs: New file.
15844 * benchtests/slowatan-inputs: New file.
15845 * benchtests/slowatan.c: New file.
15847 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15852 * sysdeps/unix/sysv/linux/kernel-features.h
15853 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15854 __ASSUME_XFS_RESTRICTED_CHOWN.
15855 * sysdeps/unix/sysv/linux/pathconf.c
15856 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15857 Save and restore errno.
15859 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15862 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15863 arguments using __kernel_casinh.
15864 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15865 arguments using __kernel_casinhf.
15866 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15867 arguments using __kernel_casinhl.
15868 * math/libm-test.inc (cacosh_test): Add more tests.
15869 * sysdeps/i386/fpu/libm-test-ulps: Update.
15870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15872 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15874 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15877 * bench/Makefile (bench): Add sin and slowsin.
15878 * benchtests/sin-inputs: New file.
15879 * benchtests/slowsin-inputs: New file.
15880 * benchtests/slowsin.c: New file.
15882 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15883 (bench): Add slowexp and slowpow.
15884 (exp-ITER): Increase iterations.
15885 (pow-ITER): Likewise.
15886 * benchtests/exp-inputs: Change input.
15887 * benchtests/pow-inputs: Likewise.
15888 * benchtests/slowexp-inputs: New file.
15889 * benchtests/slowexp.c: New file.
15890 * benchtests/slowpow-inputs: New file.
15891 * benchtests/slowpow.c: New file.
15893 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15895 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15897 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15898 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15899 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15900 * benchtests/Makefile: Add rint benchtest.
15901 * benchtests/rint-inputs: Input for rint benchtest.
15903 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15905 * Versions.def (libm): Add GLIBC_2.18.
15906 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15907 hidden libm prototypes.
15908 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15909 * math/Makefile (libm-calls): Add s_issignaling.
15910 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15911 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15912 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15914 * math/math.h [__USE_GNU] (issignaling): New macro.
15915 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15916 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15917 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15918 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15919 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15920 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15921 * manual/arith.texi (issignaling): New section.
15922 * manual/libm-err-tab.pl (@all_functions): Update comment.
15923 * math/gen-libm-test.pl (parse_args): Apply special handling for
15925 * math/libm-test.inc (print_float, issignaling_test): New
15927 (check_float_internal): Add issignaling checks.
15928 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15929 default definition.
15930 * sysdeps/powerpc/math-tests.h: New file.
15931 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15933 * math/test-snan.c (TEST_FUNC): Likewise.
15935 2013-03-30 David S. Miller <davem@davemloft.net>
15937 * po/de.po: Update from translation team.
15939 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15942 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15943 imaginary part less than 1.0 and real part less than 0.5
15945 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15946 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15947 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15948 (cacos_test): Add more tests.
15949 (casin_test): Likewise.
15950 (casinh_test): Likewise.
15951 * sysdeps/i386/fpu/libm-test-ulps: Update.
15952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15954 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15956 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15957 ONE with its value.
15959 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15960 (__pow_mp): Replace ONE and MONE with their values.
15961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15963 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15964 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15965 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15968 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15970 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15971 (__pow_mp): Replace ZERO and MZERO with their values.
15972 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15974 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15975 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15976 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15977 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15980 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15982 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15984 2013-03-28 Roland McGrath <roland@hack.frob.com>
15986 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15987 Declare with __attribute__ ((weak)).
15988 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15989 Call __call_tls_dtors only if it's not NULL.
15991 2013-03-28 Roland McGrath <roland@hack.frob.com>
15993 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15994 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15995 magic __ehdr_start linker symbol if it's defined.
15996 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15997 them up here if it was already done.
15999 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16000 (_dl_aux_init): Use const in cast when setting it.
16001 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16002 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16003 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16005 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16007 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16008 * csu/libc-tls.c: Nor here.
16009 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16011 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16012 (__libc_message): Never call vsyslog.
16014 2013-03-28 Alan Modra <amodra@gmail.com>
16016 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16018 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16021 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16024 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16028 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16031 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16032 Don't add gid passed as argument.
16034 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16036 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16039 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16040 imaginary part between 1.0 and 1.5 and real part less than 0.5
16042 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16043 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16044 * math/libm-test.inc (cacos_test): Add more tests.
16045 (casin_test): Likewise.
16046 (casinh_test): Likewise.
16047 * sysdeps/i386/fpu/libm-test-ulps: Update.
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16050 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16052 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16055 (denorm): Likewise.
16056 (__dbl_mp): Likewise.
16057 (add_magnitudes): Likewise.
16058 (sub_magnitudes): Likewise.
16066 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16068 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16069 (__dubcos): Likewise.
16070 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16071 (__ieee754_acos): Likewise.
16072 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16073 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16074 (__exp1): Likewise.
16075 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16078 (my_log2): Likewise.
16079 (checkint): Likewise.
16080 * sysdeps/ieee754/dbl-64/e_remainder.c
16081 (__ieee754_remainder): Likewise.
16082 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16084 (bsloww): Likewise.
16085 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16087 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16088 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16089 MANTISSA_STORE_T to store computations on mantissa. Use
16090 macros for rounding and division.
16091 (denorm): Likewise.
16092 (__dbl_mp): Likewise.
16093 (add_magnitudes): Likewise.
16094 (sub_magnitudes): Likewise.
16097 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16098 powers of two in terms of TWOPOW macro.
16099 (mp_no): Make type of mantissa as MANTISSA_T.
16100 [!RADIXI]: Define RADIXI.
16101 [!TWO52]: Define TWO52.
16102 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16104 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16106 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16107 llroundl symbol when building for PPC32.
16109 2013-03-24 Mark H Weaver <mhw@netris.org>
16111 * manual/arith.texi (Normalization Functions): Fix prototypes for
16112 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16114 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16118 high value to check if expl overflow.
16119 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16120 to check for underflow and overflow.
16121 * math/libm-test.inc: Add exp test.
16123 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16126 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16129 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16131 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16134 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16136 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16137 wrap blocks consisting of several statements.
16139 * sysdeps/generic/math-tests.h: New file.
16140 * sysdeps/i386/fpu/math-tests.h: Likewise.
16141 * math/test-snan.c: Include it.
16142 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16144 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16147 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16148 (__ieee754_j0l): Do not improve calculations using cos of twice
16149 input for inputs above LDBL_MAX / 2.0L.
16150 (__ieee754_y0l): Likewise.
16151 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16152 (__ieee754_j1l): Do not improve calculations using cos of twice
16153 input for inputs above LDBL_MAX / 2.0L.
16154 (__ieee754_y1l): Likewise.
16155 * math/libm-test.inc (j0_test): Add another test.
16156 (j1_test): Likewise.
16157 (y0_test): Likewise.
16158 (y1_test): Likewise.
16159 * sysdeps/i386/fpu/libm-test-ulps: Update.
16161 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16163 * Rules ($(objpfx)bench-%.c): Include code from a C source
16166 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16169 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16170 imaginary part 1.0 and real part less than 0.5 specially.
16171 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16172 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16173 * math/libm-test.inc (cacos_test): Add more tests.
16174 (casin_test): Likewise.
16175 (casinh_test): Likewise.
16176 * sysdeps/i386/fpu/libm-test-ulps: Update.
16177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16179 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16181 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16182 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16184 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16186 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16187 * config.make.in (config-cflags-sse4): Remove variable.
16188 (config-cflags-avx): Likewise.
16189 (config-cflags-sse2avx): Likewise.
16190 (config-cflags-novzeroupper): Likewise.
16191 (config-asflags-i686): Likewise.
16192 (have-mfma4): Likewise.
16193 (have-as-vis3): Likewise.
16195 * configure.in (MIG): Do not AC_SUBST.
16196 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16197 (libc_cv_cc_sse4): Do not AC_SUBST.
16198 (libc_cv_cc_avx): Likewise.
16199 (libc_cv_cc_sse2avx): Likewise.
16200 (libc_cv_cc_novzeroupper): Likewise.
16201 (libc_cv_cc_fma4): Likewise.
16202 (libc_cv_as_i686): Likewise.
16203 (libc_cv_sparc_as_vis3): Likewise.
16204 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16206 (config-asflags-i686): Likewise.
16207 (config-cflags-avx): Likewise.
16208 (config-cflags-sse2avx): Likewise.
16209 (have-mfma4): Likewise.
16210 (config-cflags-novzeroupper): Likewise.
16211 * sysdeps/mach/configure.in (MIG): Likewise.
16212 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16213 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16215 (config-cflags-avx): Likewise.
16216 (config-cflags-sse2avx): Likewise.
16217 (have-mfma4): Likewise.
16218 (config-cflags-novzeroupper): Likewise.
16219 * configure: Regenerated.
16220 * sysdeps/i386/configure: Likewise.
16221 * sysdeps/mach/configure: Likewise.
16222 * sysdeps/sparc/configure: Likewise.
16223 * sysdeps/x86_64/configure: Likewise.
16225 2013-03-20 Roland McGrath <roland@hack.frob.com>
16228 * locale/programs/localedef.c (options): Put N_ translation marker
16229 on argument names, not just descriptions.
16231 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16233 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16235 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16238 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16240 2013-03-19 Roland McGrath <roland@hack.frob.com>
16242 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16243 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16244 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16245 [!BEFORE_ABORT] (before_abort): New function.
16246 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16247 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16248 (writev_for_fatal): New function.
16249 (WRITEV_FOR_FATAL): New macro; call that.
16250 (backtrace_and_maps): New function.
16251 (BEFORE_ABORT): New macro; call that.
16252 (struct str_list): Type removed.
16253 (__libc_message, __libc_fatal): Functions removed.
16254 Include <sysdeps/posix/libc_fatal.c> instead.
16256 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16258 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16260 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16263 2013-03-19 Andreas Schwab <schwab@suse.de>
16265 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16266 * sysdeps/gnu/configure: Regenerate.
16268 * configure.in: Substitute libc_cv_rtlddir.
16269 * configure: Regenerate.
16270 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16271 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16272 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16273 * elf/Makefile (install-others, CFLAGS-interp.c)
16274 (ldso_install, common-ldd-rewrite): Likewise.
16275 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16276 $(inst_slibdir)/$(rtld-installed-name).
16277 * scripts/rellns-sh: Add -p option.
16278 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16281 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16283 * manual/nptl.texi: Renamed to ...
16284 * manual/threads.texi: ... this.
16285 * manual/Makefile (chapters): Update.
16287 2013-03-18 Roland McGrath <roland@hack.frob.com>
16290 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16291 on argument names, not just descriptions.
16292 * malloc/memusagestat.c (options): Likewise.
16293 * nss/getent.c (options): Likewise.
16295 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16298 * iconv/iconv_prog.c (options): Put N_ translation marker
16299 on argument names, not just descriptions.
16300 * iconv/iconvconfig.c (options): Likewise.
16302 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16304 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16305 implementation which is faster on all x86_64 architectures.
16306 Tested on AMD, Intel Nehalem, SNB, IVB.
16307 * sysdeps/x86_64/strnlen.S: Likewise.
16309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16310 Remove all multiarch strlen and strnlen versions.
16311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16312 Remove strlen and strnlen related parts.
16314 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16315 Inline strlen part.
16316 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16318 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16319 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16320 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16321 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16322 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16323 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16325 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16327 * manual/memory.texi (Malloc Tunable Parameters):
16328 Sort parameters alphabetically. Add comments for missing entries.
16330 2013-03-17 David S. Miller <davem@davemloft.net>
16332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16334 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16337 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16338 for arguments at most half maximum finite value.
16339 * math/libm-test.inc (j0_test): Add more tests.
16340 (j1_test): Likewise.
16341 (y0_test): Likewise.
16342 (y1_test): Likewise.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16347 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16348 1 / x and functions P and Q for arguments above 0x1p256L.
16349 (__ieee754_y0l): Likewise.
16350 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16351 (__ieee754_y1l): Likewise.
16352 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16353 (j1_test): Likewise.
16354 (y0_test): Likewise.
16355 (y1_test): Likewise.
16357 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16359 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16362 2013-03-15 Roland McGrath <roland@hack.frob.com>
16364 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16365 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16366 zero since it's initialized to EXEC_PAGESIZE.
16368 * sysdeps/unix/sysv/linux/ldsodefs.h
16369 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16370 * sysdeps/generic/ldsodefs.h: ... here.
16372 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16374 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16376 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16378 * math/test-snan.c: Renamed from
16379 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16380 * math/Makefile (tests): Add test-snan.
16381 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16384 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16385 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16387 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16388 __builtin_nan family of functions.
16389 * math/libm-test.inc (initialize): Initialize qnan_value with
16390 __builtin_nan family of functions.
16391 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16393 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16395 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16396 storage class. Initialize qNaN_var and sNaN_var with
16397 __builtin_nan and __builtin_nans families of functions,
16400 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16401 (sqrt_test): Remove duplicate test with qNaN input.
16402 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16403 (round_test, signbit_test, significand_test): Note missing +/-Inf
16404 as well as qNaN tests.
16406 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16407 qNaN_var. Fix a few strings, too.
16408 * math/libm-test.inc (nan_value): Rename to qnan_value.
16409 * math/gen-libm-test.pl (%beautify): Adjust to that.
16410 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16411 * math/test-misc.c (main): Likewise.
16412 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16413 to __qnan_bytes, and __qnan_union, respectively.
16414 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16416 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16417 and lqnanval, respectively.
16418 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16419 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16420 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16421 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16423 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16424 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16427 * math/test-misc.c (main): Fix copy'n'pastos.
16428 * misc/tst-efgcvt.c (special): Likewise.
16430 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16431 Remove declarations.
16433 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16435 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16436 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16437 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16438 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16440 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16442 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16443 macro to return vdso values correctly in IFUNC implementations.
16444 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16445 Optimization by using IFUNC.
16447 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16448 Richard Henderson <rth@redhat.com>
16449 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16451 * Makefile.in (bench): New target.
16452 * NEWS: Mention the benchmark framework.
16453 * Rules (bench): Likewise.
16454 (binaries-bench): Generate binaries for functions to
16456 * benchtests/Makefile: New makefile for benchmark tests.
16457 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16459 * benchtests/exp-inputs: New input file for EXP function.
16460 * benchtests/pow-inputs: New input file for POW function.
16461 * scripts/bench.pl: New script to generate source files for
16462 benchmark programs.
16464 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16466 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16467 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16468 computations on mantissa. Use macros for rounding and
16470 (denorm): Likewise.
16471 (__dbl_mp): Likewise.
16472 (add_magnitudes): Likewise.
16473 (sub_magnitudes): Likewise.
16476 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16477 powers of two in terms of TWOPOW macro.
16478 (mp_no): Make type of mantissa as MANTISSA_T.
16479 [!RADIXI]: Define RADIXI.
16480 [!TWO52]: Define TWO52.
16481 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16483 * manual/nptl.texi (cindex): Modify threads to pthreads.
16485 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16487 * sysdeps/x86_64/preconfigure: Regenerated.
16489 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16492 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16494 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16495 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16497 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16498 * math/libm-test.inc (j0_test): Do not allow one spurious
16499 underflow exception.
16500 (y1_test): Likewise.
16502 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16504 * manual/Makefile (chapters): Add nptl.
16505 * manual/debug.texi (Debugging Support): Add link to Threads
16507 * manual/nptl.texi: New file.
16509 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16511 2013-03-14 Petr Baudis <pasky@ucw.cz>
16513 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16514 for non-NULL pointer before the memory validity test. Pointed
16515 out by Holger Brunck <holger.brunck@keymile.com>.
16517 2013-03-13 Andreas Schwab <schwab@suse.de>
16519 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16522 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16524 * timezone/zic.c: Update from tzcode 2013b.
16526 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16528 * manual/install.texi (Configuring and compiling):
16529 Mention i686 and i586.
16530 * INSTALL: Regenerate.
16532 2013-03-12 Roland McGrath <roland@hack.frob.com>
16534 * sysdeps/init_array/elf-init.c: New file.
16536 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16537 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16539 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16540 __gmon_start__ as global, but as static with a .preinit_array pointer.
16541 * sysdeps/init_array/gmon-start.c: New file. Use that.
16542 * sysdeps/init_array/crti.S: New file, empty except for comments.
16543 * sysdeps/init_array/crtn.S: Likewise.
16545 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16547 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16550 Remove Prefer_SSE_for_memop.
16551 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16552 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16553 HAS_PREFER_SSE_FOR_MEMOP.
16554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16557 Remove bzero, memset ifunc support.
16558 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16559 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16560 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16561 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16563 2013-03-11 Andreas Schwab <schwab@suse.de>
16566 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16569 (GLIBC_2.16): Remove pthread_atfork.
16571 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16573 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16574 (ptestcases.h): Likewise.
16576 2013-03-08 Roland McGrath <roland@hack.frob.com>
16578 * Makeconfig ($(common-objpfx)config.status): Depend on
16579 sysdeps/*/preconfigure{,.in} too.
16581 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16583 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16584 (__free_hook): Use void * instead of __malloc_ptr_t.
16585 (__malloc_hook): Likewise.
16586 (__realloc_hook): Likewise.
16587 (__memalign_hook): Likewise.
16588 (__after_morecore_hook): Likewise.
16589 * malloc/arena.c (save_malloc_hook): Likewise.
16590 (save_free_hook): Likewise.
16591 * malloc/hooks.c (malloc_hook_ini): Likewise.
16592 (realloc_hook_ini): Likewise.
16593 (memalign_hook_ini): Likewise.
16594 * malloc/malloc.c (malloc_hook_ini): Likewise.
16595 (realloc_hook_ini): Likewise.
16596 (memalign_hook_ini): Likewise.
16597 (__free_hook): Likewise.
16598 (__malloc_hook): Likewise.
16599 (__realloc_hook): Likewise.
16600 (__memalign_hook): Likewise.
16601 (__libc_malloc): Likewise.
16602 (__libc_free): Likewise.
16603 (__libc_realloc): Likewise.
16604 (__libc_memalign): Likewise.
16605 (__libc_valloc): Likewise.
16606 (__libc_pvalloc): Likewise.
16607 (__libc_calloc): Likewise.
16608 (__posix_memalign): Likewise.
16609 * malloc/morecore.c (__sbrk): Likewise.
16610 (__default_morecore): Likewise.
16612 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16614 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16615 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16616 __malloc_ptrdiff_t.
16618 * malloc/malloc.h (__malloc_size_t): Remove macro.
16619 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16621 (old_memalign_hook): Likewise.
16622 (old_realloc_hook): Likewise.
16623 (struct hdr): Likewise.
16625 (mallochook): Likewise.
16626 (memalignhook): Likewise.
16627 (reallochook): Likewise.
16628 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16629 (tr_old_realloc_hook): Likewise.
16630 (tr_old_memalign_hook): Likewise.
16631 (tr_mallochook): Likewise.
16632 (tr_reallochook): Likewise.
16633 (tr_memalignhook): Likewise.
16635 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16638 default_ldbl_pack and using as default implementation.
16639 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16641 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16642 redundant definition.
16643 (ldbl_insert_mantissa): Likewise.
16644 (ldbl_canonicalize): Likewise.
16645 (ldbl_nearbyint): Likewise.
16646 (ldbl_pack): Rename to ldbl_pack_ppc.
16647 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16648 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16649 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16651 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16654 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16655 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16656 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16658 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16659 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16660 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16662 2013-03-07 Andreas Jaeger <aj@suse.de>
16664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16667 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16669 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16670 Include mpa.h and declare __MPEXP.
16671 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16672 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16673 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16674 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16675 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16676 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16677 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16679 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16680 (__slowpow): Use long double EXPL and LOGL functions to
16682 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16683 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16684 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16686 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16690 intermediate variable to calculate exponent.
16692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16696 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16697 [!NO__SQR]: Define __sqr.
16698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16699 and NO__SQR. Remove all code except __mul and __sqr. Include
16700 sysdeps/ieee754/dbl-64/mpa.c.
16701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16704 * posix/Makefile (tests): Add tst-pathconf.
16705 * posix/tst-pathconf.c: New test case.
16706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16708 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16710 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16712 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16714 2013-03-06 Andreas Jaeger <aj@suse.de>
16716 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16717 definition via __MAP_ANONYMOUS.
16719 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16720 it's not part of Linux headers.
16722 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16723 (MAP_HUGE_MASK): Define.
16725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16727 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16730 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16731 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16733 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16734 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16736 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16738 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16739 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16740 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16741 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16742 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16743 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16748 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16749 Handle f2fs and efivarfs.
16751 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16754 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16755 (EFIVARFS_MAGIC): Add.
16756 (F2FS_LINK_MAX): Add.
16758 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16760 * stdio-common/vfprintf.c: Replace __builtin_expect with
16763 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16766 * sysdeps/generic/bp-sym.h: Remove file.
16767 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16768 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16769 <bp-sym.h> and <bp-asm.h>.
16770 (__longjmp): Don't use BP_SYM.
16771 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16773 (memcpy): Don't use BP_SYM.
16774 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16775 <bp-sym.h> and <bp-asm.h>.
16776 (memcpy): Don't use BP_SYM.
16777 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16779 (memcpy): Don't use BP_SYM.
16780 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16782 (memset): Don't use BP_SYM.
16783 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16784 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16785 (__bzero): Don't use BP_SYM.
16786 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16787 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16788 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16789 <bp-sym.h> and <bp-asm.h>.
16790 (memcmp): Don't use BP_SYM. Remove comment about bounded
16792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16793 <bp-sym.h> and <bp-asm.h>.
16794 (memcpy): Don't use BP_SYM.
16795 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16796 <bp-sym.h> and <bp-asm.h>.
16797 (memset): Don't use BP_SYM.
16798 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16799 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16800 (__bzero): Don't use BP_SYM.
16801 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16802 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16803 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16804 <bp-sym.h> and <bp-asm.h>.
16805 (strncmp): Don't use BP_SYM. Remove comment about bounded
16807 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16808 <bp-sym.h> and <bp-asm.h>.
16809 (memcpy): Don't use BP_SYM.
16810 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16811 <bp-sym.h> and <bp-asm.h>.
16812 (memset): Don't use BP_SYM.
16813 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16814 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16815 (__bzero): Don't use BP_SYM.
16816 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16817 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16818 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16819 <bp-sym.h> and <bp-asm.h>.
16820 (__memchr): Don't use BP_SYM.
16821 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16822 <bp-sym.h> and <bp-asm.h>.
16823 (memcmp): Don't use BP_SYM. Remove comment about bounded
16825 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16826 <bp-sym.h> and <bp-asm.h>.
16827 (memcpy): Don't use BP_SYM.
16828 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16829 <bp-sym.h> and <bp-asm.h>.
16830 (__mempcpy): Don't use BP_SYM.
16831 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16832 <bp-sym.h> and <bp-asm.h>.
16833 (__memrchr): Don't use BP_SYM.
16834 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16835 <bp-sym.h> and <bp-asm.h>.
16836 (memset): Don't use BP_SYM.
16837 (__bzero): Likewise.
16838 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16839 <bp-sym.h> and <bp-asm.h>.
16840 (__rawmemchr): Don't use BP_SYM.
16841 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16842 <bp-sym.h> and <bp-asm.h>.
16843 (__STRCMP): Don't use BP_SYM.
16844 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16845 <bp-sym.h> and <bp-asm.h>.
16846 (strchr): Don't use BP_SYM.
16847 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16848 <bp-sym.h> and <bp-asm.h>.
16849 (__strchrnul): Don't use BP_SYM.
16850 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16851 <bp-sym.h> and <bp-asm.h>.
16852 (strlen): Don't use BP_SYM.
16853 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16854 <bp-sym.h> and <bp-asm.h>.
16855 (strncmp): Don't use BP_SYM. Remove comment about bounded
16857 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16858 <bp-sym.h> and <bp-asm.h>.
16859 (__strnlen): Don't use BP_SYM.
16860 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16861 <bp-sym.h> and <bp-asm.h>.
16862 (__GI__setjmp): Don't use BP_SYM.
16863 (_setjmp): Likewise.
16864 (__sigsetjmp): Likewise.
16865 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16866 (L(start_addresses)): Don't use BP_SYM.
16867 (_start): Likewise.
16868 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16870 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16871 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16872 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16873 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16874 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16876 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16877 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16878 about bounded pointers.
16879 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16880 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16881 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16883 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16884 about bounded pointers. Remove GKM FIXME comments.
16885 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16886 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16888 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16889 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16890 Remove GKM FIXME comments.
16891 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16892 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16893 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16895 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16896 about bounded pointers. Remove GKM FIXME comment.
16897 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16899 (strncmp): Don't use BP_SYM. Remove comment about bounded
16901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16902 <bp-sym.h> and <bp-asm.h>.
16903 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16905 <bp-sym.h> and <bp-asm.h>.
16906 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16909 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16911 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16914 2013-03-05 David S. Miller <davem@davemloft.net>
16916 * po/es.po: Update from translation team.
16918 2013-03-05 Andreas Jaeger <aj@suse.de>
16920 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16921 <bits/mman-linux.h>.
16922 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16924 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16925 <bits/mman-linux.h> to end of file.
16926 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16928 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16929 <bits/mman-linux.h> to end of file.
16930 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16933 <bits/mman-linux.h> to end of file.
16935 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16936 (MCL_CURRENT, MCL_FUTURE): Define here.
16938 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16941 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16943 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16945 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16947 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16948 fourth parameter needed for rt_sigprocmask syscall.
16949 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16950 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16951 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16952 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16953 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16954 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16956 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16959 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16960 comment about bounded pointers.
16961 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16962 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16964 2013-03-04 Andreas Jaeger <aj@suse.de>
16966 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16967 common definitions.
16969 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16970 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16971 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16972 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16973 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16974 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16976 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16979 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16980 __ieee754_sqrl instead of __sqrl.
16982 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16984 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16985 * sysdeps/powerpc/fpu_control.h: ... here.
16986 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16987 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16988 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16989 * sysdeps/powerpc/bits/mathinline.h: ... here.
16991 2013-03-01 Roland McGrath <roland@hack.frob.com>
16993 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16994 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16995 to just [NEED_DL_SYSINFO_DSO].
16996 * elf/dl-support.c: Likewise.
16997 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16998 * elf/rtld.c (dl_main): Likewise.
16999 * elf/setup-vdso.h (setup_vdso): Likewise.
17000 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17001 * sysdeps/unix/sysv/linux/dl-sysdep.c
17002 (_dl_discover_osversion): Likewise.
17004 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17006 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17007 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17009 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17011 * NEWS: Mention libm performance improvements and non-x86 PI
17014 * csu/libc-start.c (__pthread_initialize_minimal): Change
17015 function arguments.
17016 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17018 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17021 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17022 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17023 <bp-sym.h> and <bp-asm.h>.
17024 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17025 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17027 (memcpy): Don't use BP_SYM.
17028 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17030 (__mpn_add_n): Don't use BP_SYM.
17031 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17032 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17034 (__mpn_addmul_1): Don't use BP_SYM.
17035 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17036 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17038 (_setjmp): Don't use BP_SYM.
17039 (__novmx_setjmp): Likewise.
17040 (__GI__setjmp): Likewise.
17041 (__vmx_setjmp): Likewise.
17042 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17044 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17045 (__bzero): Don't use BP_SYM.
17046 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17047 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17048 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17049 <bp-sym.h> and <bp-asm.h>.
17050 (memcpy): Don't use BP_SYM.
17051 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17052 <bp-sym.h> and <bp-asm.h>.
17053 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17054 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17055 <bp-sym.h> and <bp-asm.h>.
17056 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17057 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17059 (__mpn_lshift): Don't use BP_SYM.
17060 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17061 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17063 (memset): Don't use BP_SYM.
17064 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17065 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17066 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17068 (__mpn_mul_1): Don't use BP_SYM.
17069 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17070 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17071 <bp-sym.h> and <bp-asm.h>.
17072 (memcmp): Don't use BP_SYM.
17073 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17074 <bp-sym.h> and <bp-asm.h>.
17075 (memcpy): Don't use BP_SYM.
17076 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17077 <bp-sym.h> and <bp-asm.h>.
17078 (memset): Don't use BP_SYM.
17079 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17080 <bp-sym.h> and <bp-asm.h>.
17081 (strncmp): Don't use BP_SYM.
17082 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17083 <bp-sym.h> and <bp-asm.h>.
17084 (memcpy): Don't use BP_SYM.
17085 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17086 <bp-sym.h> and <bp-asm.h>.
17087 (memset): Don't use BP_SYM.
17088 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17089 <bp-sym.h> and <bp-asm.h>.
17090 (__memchr): Don't use BP_SYM.
17091 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17092 <bp-sym.h> and <bp-asm.h>.
17093 (memcmp): Don't use BP_SYM.
17094 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17095 <bp-sym.h> and <bp-asm.h>.
17096 (memcpy): Don't use BP_SYM.
17097 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17098 <bp-sym.h> and <bp-asm.h>.
17099 (__mempcpy): Don't use BP_SYM.
17100 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17101 <bp-sym.h> and <bp-asm.h>.
17102 (__memrchr): Don't use BP_SYM.
17103 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17104 <bp-sym.h> and <bp-asm.h>.
17105 (memset): Don't use BP_SYM.
17106 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17107 <bp-sym.h> and <bp-asm.h>.
17108 (__rawmemchr): Don't use BP_SYM.
17109 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17110 <bp-sym.h> and <bp-asm.h>.
17111 (__STRCMP): Don't use BP_SYM.
17112 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17113 <bp-sym.h> and <bp-asm.h>.
17114 (strchr): Don't use BP_SYM.
17115 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17116 <bp-sym.h> and <bp-asm.h>.
17117 (__strchrnul): Don't use BP_SYM.
17118 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17119 <bp-sym.h> and <bp-asm.h>.
17120 (strlen): Don't use BP_SYM.
17121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17122 <bp-sym.h> and <bp-asm.h>.
17123 (strncmp): Don't use BP_SYM.
17124 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17125 <bp-sym.h> and <bp-asm.h>.
17126 (__strnlen): Don't use BP_SYM.
17127 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17129 (__mpn_rshift): Don't use BP_SYM.
17130 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17131 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17132 <bp-sym.h> and <bp-asm.h>.
17133 (__sigsetjmp): Don't use BP_SYM.
17134 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17135 (L(start_addresses)): Don't use BP_SYM.
17136 (_start): Likewise.
17137 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17139 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17140 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17141 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17142 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17144 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17145 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17146 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17147 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17149 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17151 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17152 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17154 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17156 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17157 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17158 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17160 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17162 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17164 (strncmp): Don't use BP_SYM,
17165 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17167 (__mpn_sub_n): Don't use BP_SYM.
17168 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17169 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17171 (__mpn_submul_1): Don't use BP_SYM.
17172 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17174 <bp-sym.h> and <bp-asm.h>.
17175 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17177 <bp-sym.h> and <bp-asm.h>.
17178 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17181 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17184 Use ZK to minimize writes to Z.
17185 (sub_magnitudes): Simplify code a bit.
17186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17187 Use ZK to minimize writes to Z.
17188 (sub_magnitudes): Simplify code a bit.
17190 2013-02-27 Roland McGrath <roland@hack.frob.com>
17192 * csu/gmon-start.c: Add special exception to license text.
17194 2013-02-27 Richard Henderson <rth@redhat.com>
17196 * scripts/config.guess: Update from config.git.
17197 * scripts/config.sub: Likewise.
17199 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17203 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17205 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17207 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17209 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17211 2013-02-26 Roland McGrath <roland@hack.frob.com>
17213 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17214 [$(build-shared = yes].
17216 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17218 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17219 (__mul): Reduce iterations for calculating mantissa.
17221 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17223 (__mpranred): Likewise.
17226 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17227 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17229 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17231 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17232 Define __attribute__.
17234 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17236 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17238 * posix/regex_internal.h (__attribute): Remove.
17239 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17240 (re_string_context_at): Likewise.
17241 (bitset_not): Use __attribute__ and mark function as possibly
17243 (bitset_merge): Likewise.
17244 (bitset_mask): Likewise.
17245 (re_string_char_size_at): Likewise.
17246 (re_string_wchar_at): Likewise.
17247 (re_string_elem_size_at): Likewise.
17249 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17251 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17255 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17259 (denorm): Likewise.
17260 (__dbl_mp): Likewise.
17261 (add_magnitudes): Likewise.
17262 (sub_magnitudes): Likewise.
17266 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17269 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17272 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17276 up changes with default code.
17277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17280 2013-02-24 Allan McRae <allan@archlinux.org>
17282 * manual/socket.texi (The Internet Namespace): Order menu items
17283 to match that in the file.
17285 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17286 node listing of the info page menu.
17288 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17291 * sysdeps/i386/bp-asm.h: Remove file.
17292 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17293 (PARMS): Do not use macros from bp-asm.h.
17297 (__mpn_add_n): Do not use BP_SYM
17298 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17300 (PARMS): Do not use macros from bp-asm.h.
17303 (__mpn_addmul_1): Do not use BP_SYM
17304 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17306 (PARMS): Do not use macros from bp-asm.h.
17307 (SIGMSK): Likewise.
17308 (_setjmp): Likewise. Do not use BP_SYM.
17309 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17311 (PARMS): Do not use macros from bp-asm.h.
17312 (SIGMSK): Likewise.
17313 (setjmp): Likewise. Do not use BP_SYM.
17314 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17316 (PARMS): Do not use macros from bp-asm.h.
17317 (__frexp): Do not use BP_SYM.
17319 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17321 (PARMS): Do not use macros from bp-asm.h.
17322 (__frexpf): Do not use BP_SYM.
17323 (frexpf): Likewise.
17324 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17326 (PARMS): Do not use macros from bp-asm.h.
17327 (__frexpl): Do not use BP_SYM.
17328 (frexpl): Likewise.
17329 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17331 (PARMS): Do not use macros from bp-asm.h.
17332 (__remquo): Do not use BP_SYM.
17333 (remquo): Likewise.
17334 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17336 (PARMS): Do not use macros from bp-asm.h.
17337 (__remquof): Do not use BP_SYM.
17338 (remquof): Likewise.
17339 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17341 (PARMS): Do not use macros from bp-asm.h.
17342 (__remquol): Do not use BP_SYM.
17343 (remquol): Likewise.
17344 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17346 (PARMS): Do not use macros from bp-asm.h.
17349 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17350 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17352 (PARMS): Do not use macros from bp-asm.h.
17353 (strlen): Do not use BP_SYM.
17354 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17356 (PARMS): Do not use macros from bp-asm.h.
17360 (__mpn_add_n): Do not use BP_SYM.
17361 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17363 (PARMS): Do not use macros from bp-asm.h.
17366 (__mpn_addmul_1): Do not use BP_SYM.
17367 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17370 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17372 (PARMS): Do not use macros from bp-asm.h.
17375 (__mpn_lshift): Do not use BP_SYM.
17376 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17378 (PARMS): Do not use macros from bp-asm.h.
17382 (memcpy): Likewise. Do not use BP_SYM.
17383 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17384 libc_hidden_def and weak_alias.
17385 (mempcpy): Do not use BP_SYM in weak_alias.
17386 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17388 (PARMS): Do not use macros from bp-asm.h.
17391 [!BZERO_P] (CHR): Likewise.
17392 (memset): Likewise. Do not use BP_SYM.
17393 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17395 (PARMS): Do not use macros from bp-asm.h.
17398 (__mpn_mul_1): Do not use BP_SYM.
17399 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17401 (PARMS): Do not use macros from bp-asm.h.
17404 (__mpn_rshift): Do not use BP_SYM.
17405 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17407 (PARMS): Do not use macros from bp-asm.h.
17410 (strchr): Likewise. Do not use BP_SYM.
17411 (index): Do not use BP_SYM in weak_alias.
17412 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17414 (PARMS): Do not use macros from bp-asm.h.
17417 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17418 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17420 (PARMS): Do not use macros from bp-asm.h.
17421 (strlen): Do not use BP_SYM.
17422 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17424 (PARMS): Do not use macros from bp-asm.h.
17428 (__mpn_sub_n): Do not use BP_SYM.
17429 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17431 (PARMS): Do not use macros from bp-asm.h.
17434 (__mpn_submul_1): Do not use BP_SYM.
17435 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17437 (PARMS): Do not use macros from bp-asm.h.
17441 (__mpn_add_n): Do not use BP_SYM.
17442 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17445 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17447 (PARMS): Do not use macros from bp-asm.h.
17450 (memcmp): Do not use BP_SYM.
17451 (bcmp): Do not use BP_SYM in weak_alias.
17452 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17454 (PARMS): Do not use macros from bp-asm.h.
17458 (memcpy): Likewise. Do not use BP_SYM.
17459 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17461 (PARMS): Do not use macros from bp-asm.h.
17465 (memmove): Likewise. Do not use BP_SYM.
17466 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17468 (PARMS): Do not use macros from bp-asm.h.
17472 (__mempcpy): Likewise. Do not use BP_SYM.
17473 (mempcpy): Do not use BP_SYM in weak_alias.
17474 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17476 (PARMS): Do not use macros from bp-asm.h.
17479 [!BZERO_P] (CHR): Likewise.
17480 (memset): Likewise. Do not use BP_SYM.
17481 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17483 (PARMS): Do not use macros from bp-asm.h.
17485 (strcmp): Do not use BP_SYM.
17486 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17488 (PARMS): Do not use macros from bp-asm.h.
17491 [USE_AS_STRTOK_R] (SAVE): Likewise.
17492 (FUNCTION): Likewise. Do not use BP_SYM.
17493 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17495 (strtok_r): Likewise.
17496 (__GI___strtok_r): Likewise.
17497 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17498 (PARMS): Do not use macros from bp-asm.h.
17501 (__mpn_lshift): Do not use BP_SYM.
17502 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17503 (PARMS): Do not use macros from bp-asm.h.
17506 (__memchr): Do not use BP_SYM.
17507 (memchr): Do not use BP_SYM in weak_alias.
17508 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17509 (PARMS): Do not use macros from bp-asm.h.
17512 (memcmp): Do not use BP_SYM.
17513 (bcmp): Do not use BP_SYM in weak_alias.
17514 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17515 (PARMS): Do not use macros from bp-asm.h.
17518 (__mpn_mul_1): Do not use BP_SYM.
17519 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17521 (PARMS): Do not use macros from bp-asm.h.
17524 (__rawmemchr): Do not use BP_SYM.
17525 (rawmemchr): Do not use BP_SYM in weak_alias.
17526 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17527 (PARMS): Do not use macros from bp-asm.h.
17530 (__mpn_rshift): Do not use BP_SYM.
17531 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17532 (PARMS): Do not use macros from bp-asm.h.
17533 (SIGMSK): Likewise.
17534 (__sigsetjmp): Likewise. Do not use BP_SYM.
17535 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17536 (_start): Do not use BP_SYM.
17537 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17538 (PARMS): Do not use macros from bp-asm.h.
17541 (__stpcpy): Likewise. Do not use BP_SYM.
17542 (stpcpy): Do not use BP_SYM in weak_alias.
17543 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17545 (PARMS): Do not use macros from bp-asm.h.
17549 (__stpncpy): Likewise. Do not use BP_SYM.
17550 (stpncpy): Do not use BP_SYM in weak_alias.
17551 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17552 (PARMS): Do not use macros from bp-asm.h.
17555 (strchr): Likewise. Do not use BP_SYM.
17556 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17558 (PARMS): Do not use macros from bp-asm.h.
17561 (__strchrnul): Likewise. Do not use BP_SYM.
17562 (strchrnul): Do not use BP_SYM in weak_alias.
17563 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17565 (PARMS): Do not use macros from bp-asm.h.
17567 (strcspn): Do not use BP_SYM.
17568 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17570 (PARMS): Do not use macros from bp-asm.h.
17573 (strpbrk): Likewise. Do not use BP_SYM.
17574 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17576 (PARMS): Do not use macros from bp-asm.h.
17579 (strrchr): Likewise. Do not use BP_SYM.
17580 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17581 (PARMS): Do not use macros from bp-asm.h.
17583 (strspn): Do not use BP_SYM.
17584 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17585 (PARMS): Do not use macros from bp-asm.h.
17589 (FUNCTION): Likewise. Do not use BP_SYM.
17590 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17592 (strtok_r): Likewise.
17593 (__GI___strtok_r): Likewise.
17594 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17595 (PARMS): Do not use macros from bp-asm.h.
17599 (__mpn_sub_n): Do not use BP_SYM.
17600 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17602 (PARMS): Do not use macros from bp-asm.h.
17605 (__mpn_submul_1): Do not use BP_SYM.
17606 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17608 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17610 (PARMS): Do not use macros from bp-asm.h.
17615 (__clone): Do not use BP_SYM.
17616 (clone): Do not use BP_SYM in weak_alias.
17617 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17619 (PARMS): Do not use macros from bp-asm.h.
17621 (__mmap64): Do not use BP_SYM.
17622 (mmap64): Do not use BP_SYM in weak_alias.
17623 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17624 <bp-sym.h> and <bp-asm.h>.
17625 (PARMS): Do not use macros from bp-asm.h.
17626 (__posix_fadvise64_l64): Do not use BP_SYM.
17627 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17628 (PARMS): Do not use macros from bp-asm.h.
17630 (semtimedop): Do not use BP_SYM.
17631 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17634 2013-02-21 Allan McRae <allan@archlinux.org>
17636 * manual/message.texi (Charset conversion in gettext):
17637 Move @end statement to beginning of line.
17639 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17646 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17647 (denorm): Likewise.
17648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17651 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17653 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17654 tail-call to the resolved function if pltexit isn't needed.
17656 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17659 or Y being zero as being unlikely.
17660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17663 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17665 * manual/nss.texi (System Databases and Name Service Switch):
17666 Remove frobnicate @pxref.
17668 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17670 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17671 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17673 2013-02-20 Petr Machata <pmachata@redhat.com>
17675 * elf/elf.h (R_ARM_TARGET1): New macro.
17676 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17677 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17678 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17679 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17680 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17681 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17682 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17683 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17684 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17685 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17686 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17687 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17688 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17689 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17690 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17691 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17692 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17693 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17694 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17695 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17696 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17697 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17698 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17699 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17700 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17701 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17702 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17703 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17704 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17705 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17706 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17707 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17708 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17709 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17710 (R_ARM_THM_GOT_BREL12): Likewise.
17711 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17712 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17713 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17714 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17715 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17716 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17717 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17718 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17719 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17721 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17723 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17724 __attribute_used__ to __attribute__ ((unused)).
17726 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17728 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17731 comment formatting.
17732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17734 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17737 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17739 (ENTER): Remove both macro definitions.
17741 (CHECK_BOUNDS_LOW): Likewise.
17742 (CHECK_BOUNDS_HIGH): Likewise.
17743 (CHECK_BOUNDS_BOTH): Likewise.
17744 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17745 (RETURN_BOUNDED_POINTER): Likewise.
17746 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17747 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17748 (POP_ERRNO_LOCATION_RETURN): Likewise.
17749 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17750 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17751 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17753 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17754 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17755 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17756 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17757 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17758 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17759 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17760 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17761 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17762 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17763 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17764 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17765 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17766 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17768 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17769 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17771 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17772 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17773 * sysdeps/i386/i586/memset.S (memset): Likewise.
17774 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17775 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17776 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17778 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17779 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17780 Change uses of L(2) to L(out).
17781 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17782 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17783 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17784 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17785 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17787 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17788 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17790 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17791 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17792 (RETURN): Do not use macro LEAVE.
17793 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17794 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17795 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17796 * sysdeps/i386/i686/memset.S (memset): Likewise.
17797 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17798 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17799 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17800 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17802 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17803 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17804 L(1_2) and L(1_3) into L(1).
17805 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17806 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17807 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17808 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17809 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17810 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17811 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17812 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17813 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17815 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17816 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17817 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17818 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17819 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17820 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17821 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17822 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17823 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17824 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17825 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17826 * sysdeps/i386/strspn.S (strspn): Likewise.
17827 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17829 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17830 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17831 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17832 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17833 L(1_3) into L(1_1).
17834 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17835 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17836 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17838 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17840 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17842 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17845 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17847 * math/atest-exp.c (exp_mpn): Remove ROUND.
17848 * math/atest-exp2.c (exp_mpn): Likewise.
17849 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17851 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17852 * stdlib/tst-tls-atexit-lib.c: Likewise.
17853 * stdlib/tst-tls-atexit.c: Likewise.
17855 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17857 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17858 and __attribute_alloc_size__.
17860 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17862 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17863 __attribute_alloc_size__.
17864 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17865 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17867 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17869 * include/programs/xmalloc.h: New file.
17870 * catgets/gencat.c: Include it.
17871 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17872 * elf/pldd.c: Likewise.
17873 * iconv/iconv_charmap.c: Likewise.
17874 * iconv/iconvconfig.c: Likewise.
17875 * iconv/strtab.c: Likewise.
17876 * locale/programs/locale.c: Likewise.
17877 * locale/programs/localedef.h: Likewise.
17878 * locale/programs/simple-hash.c: Likewise.
17879 * nscd/nscd.h: Likewise.
17880 * nss/makedb.c: Likewise.
17881 * sysdeps/generic/ldconfig.h: Likewise.
17883 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17885 * Versions.def: Add GLIBC_2.18.
17886 * include/link.h (struct link_map): New member l_tls_dtor_count.
17887 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17888 (__call_tls_dtors): Likewise.
17889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17890 __cxa_thread_atexit_impl.
17891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17899 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17907 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17908 (tests): Add test case tst-tls-atexit.
17909 (modules-names): Add shared library for tst-tls-atexit.
17910 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17911 (GLIBC_PRIVATE): Add __call_tls_dtors.
17912 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17914 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17915 * stdlib/tst-tls-atexit.c: New test case.
17916 * stdlib/tst-tls-atexit-lib.c: New test case.
17918 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17920 * elf/Versions (ld): Add _dl_find_dso_for_object.
17921 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17922 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17923 (dl_open_worker): Use _dl_find_dso_for_object.
17924 * elf/dl-sym.c (do_sym): Likewise.
17925 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17927 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17929 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17930 Syntactic changes only.
17931 (_dl_runtime_profile): Do a tail-call to the resolved function.
17933 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17936 * sysdeps/x86_64/bp-asm.h: Remove file.
17937 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17938 <bp-sym.h> and <bp-asm.h>.
17939 (__clone): Do not use BP_SYM.
17940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17941 <bp-sym.h> and <bp-asm.h>.
17942 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17943 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17945 (_setjmp): Do not use BP_SYM.
17946 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17948 (setjmp): Do not use BP_SYM.
17949 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17951 (mempcpy): Do not use BP_SYM in weak_alias.
17952 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17954 (strchr): Do not use BP_SYM.
17955 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17957 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17958 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17959 (_start): Do not use BP_SYM.
17960 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17962 (strcat): Do not use BP_SYM.
17963 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17965 (STRCMP): Do not use BP_SYM.
17966 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17968 (STRCPY): Do not use BP_SYM.
17969 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17971 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17973 (FUNCTION): Do not use BP_SYM.
17974 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17976 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17978 2013-02-17 Andreas Jaeger <aj@suse.de>
17980 * time/Versions: Sort entries.
17981 * string/Versions: Likewise.
17982 * resolv/Versions: Likewise.
17983 * posix/Versions: Likewise.
17984 * iconv/Versions: Likewise.
17985 * elf/Versions: Likewise.
17986 * wcsmbs/Versions: Likewise.
17988 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17990 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17991 loop termination condition.
17993 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17994 variable to calculate EZ.
17997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17998 the lower precision input.
18000 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18003 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18004 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18005 (run-via-rtld-prefix): Do not handle %-bp tests.
18006 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18007 (all-object-suffixes): Remove .ob.
18008 (bppfx): Remove variable.
18009 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18010 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18011 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18012 [$(build-bounded) = yes] (libtype.ob): Likewise.
18013 * Makerules (elide-routines.ob): Remove variable.
18014 (do-tests-clean): Do not handle *-bp.out.
18015 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18016 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18017 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18018 (tests): Do not include $(tests-bp.out).
18019 (xtests): Do not include $(xtests-bp.out).
18020 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18021 [$(build-bounded) = yes] ($(addprefix
18022 $(objpfx),$(binaries-bounded))): Remove rule.
18023 ($(objpfx)%-bp.out): Remove rule.
18024 * config.make.in (build-bounded): Remove variable.
18025 * crypt/Makefile [$(build-bounded) = yes]
18026 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18027 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18028 append to variable.
18029 [$(build-bounded) = yes] (install-lib): Likewise.
18030 [$(build-bounded) = yes] (generated): Likewise.
18031 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18033 * intl/Makefile [$(build-bounded) = yes]
18034 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18035 * math/Makefile [$(build-bounded) = yes]
18036 ($(tests:%=$(objpfx)%-bp): Likewise.
18037 * misc/Makefile [$(build-bounded) = yes]
18038 ($(objpfx)tst-tsearch-bp): Likewise.
18039 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18040 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18042 * string/Makefile (o-objects.ob): Remove variable.
18043 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18044 (CFLAGS-.ob): Remove variable.
18045 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18046 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18047 both definitions of variable.
18048 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18049 (ASFLAGS-.ob): Remove variable.
18051 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18054 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18055 Remove __BOUNDED_POINTERS__ from condition.
18056 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18057 * string/bits/string2.h [!__NO_STRING_INLINES &&
18058 !__BOUNDED_POINTERS__]: Likewise.
18059 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18061 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18062 Remove conditional code.
18063 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18064 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18065 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18069 * csu/libc-start.c: Do not include <bp-sym.h>.
18070 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18071 * elf/dl-open.c: Do not include <bp-sym.h>.
18072 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18073 * math/fegetenv.c: Do not include <bp-sym.h>.
18074 (fegetenv): Do not use BP_SYM in versioned symbols.
18075 * nptl/sysdeps/pthread/bits/libc-lockP.h
18076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18079 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18081 (__pthread_mutex_destroy): Likewise.
18082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18083 (__pthread_mutex_lock): Likewise.
18084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18085 (__pthread_mutex_trylock): Likewise.
18086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18087 (__pthread_mutex_unlock): Likewise.
18088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18089 (__pthread_mutexattr_init): Likewise.
18090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18091 (__pthread_mutexattr_destroy): Likewise.
18092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18093 (__pthread_mutexattr_settype): Likewise.
18094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18095 (__pthread_rwlock_init): Likewise.
18096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18097 (__pthread_rwlock_destroy): Likewise.
18098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18099 (__pthread_rwlock_rdlock): Likewise.
18100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18101 (__pthread_rwlock_tryrdlock): Likewise.
18102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18103 (__pthread_rwlock_wrlock): Likewise.
18104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18105 (__pthread_rwlock_trywrlock): Likewise.
18106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18107 (__pthread_rwlock_unlock): Likewise.
18108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18109 (__pthread_key_create): Likewise.
18110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18111 (__pthread_setspecific): Likewise.
18112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18113 (__pthread_getspecific): Likewise.
18114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18117 (_pthread_cleanup_push_defer): Likewise.
18118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18119 (_pthread_cleanup_pop_restore): Likewise.
18120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18121 (pthread_setcancelstate): Likewise.
18122 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18124 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18125 (memchr): Do not use BP_SYM in weak_alias.
18126 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18127 (fegetenv): Do not use BP_SYM in versioned symbols.
18128 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18129 (fesetenv): Do not use BP_SYM in versioned symbols.
18130 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18131 (feupdateenv): Do not use BP_SYM in versioned symbols.
18132 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18133 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18134 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18135 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18136 (open64): Do not use BP_SYM in weak_alias.
18137 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18138 (fegetenv): Do not use BP_SYM in versioned symbols.
18139 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18140 (fesetenv): Do not use BP_SYM in versioned symbols.
18141 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18142 (feupdateenv): Do not use BP_SYM in versioned symbols.
18143 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18144 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18145 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18146 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18147 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18148 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18149 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18151 (__libc_start_main): Do not use BP_SYM.
18153 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18156 redundant return line.
18158 (denorm): Likewise.
18159 (dbl_mp): Likewise.
18160 (sub_magnitudes): Likewise.
18166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18168 (denorm): Likewise.
18169 (dbl_mp): Likewise.
18170 (sub_magnitudes): Likewise.
18177 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18180 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18183 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18184 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18186 of __mul for squares.
18187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18191 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18192 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18194 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18197 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18199 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18200 prototype or function definition. Rename ubp_* variables and
18201 parameters. Remove argv definitions conditional on
18202 [__BOUNDED_POINTERS__].
18203 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18204 * elf/dl-runtime.c (_dl_fixup): Likewise.
18205 * include/set-hooks.h (RUN_HOOK): Likewise.
18206 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18208 * string/strcpy.c (strcpy): Do not use __unbounded.
18209 * sysdeps/generic/frame.h (struct layout): Likewise.
18210 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18211 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18212 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18213 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18214 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18215 (__backtrace): Likewise.
18216 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18218 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18219 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18220 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18222 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18223 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18224 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18225 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18226 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18227 Do not use __unbounded.
18228 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18229 Rename __unboundedrlimits parameter to rlimits in prototype.
18230 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18231 Do not use __unbounded.
18232 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18233 not use __ptrvalue.
18234 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18235 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18236 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18237 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18238 __ptrvalue or __unbounded.
18239 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18240 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18242 (__new_msgctl): Do not use __ptrvalue.
18243 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18245 (__libc_msgrcv): Do not use __ptrvalue.
18246 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18247 startup_info): Do not use __unbounded.
18248 (__libc_start_main): Likewise. Rename ubp_* variables and
18249 parameters. Remove argv definitions conditional on
18250 [__BOUNDED_POINTERS__].
18251 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18253 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18255 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18257 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18259 (__new_shmctl): Do not use __ptrvalue.
18260 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18261 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18263 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18264 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18265 (__libc_sigaction): Likewise.
18266 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18267 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18269 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18271 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18273 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18275 * string/mempcpy.c: Implement by calling memcpy.
18277 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18284 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18285 values in the mantissa.
18287 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18288 minimize writes to Z.
18289 (sub_magnitudes): Simplify code a bit.
18291 2013-02-12 Roland McGrath <roland@hack.frob.com>
18293 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18294 from the message. The linker prefixes all warnings with that already.
18296 2013-02-12 Andreas Schwab <schwab@suse.de>
18299 * posix/regexec.c (extend_buffers): Add parameter min_len.
18300 (check_matching): Pass minimum needed length.
18301 (clean_state_log_if_needed): Likewise.
18302 (get_subexp): Likewise.
18303 * posix/Makefile (tests): Add bug-regex34.
18304 (bug-regex34-ENV): Define.
18305 * posix/bug-regex34.c: New file.
18308 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18309 elements compare against the byte sequence of it, not its name.
18310 * posix/Makefile (tests): Add bug-regex35.
18311 (bug-regex35-ENV): Define.
18312 * posix/bug-regex35.c: New file.
18314 2013-02-11 Tom de Vries <tom@codesourcery.com>
18316 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18318 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18319 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18320 (CHECK_EOL): Add undef.
18322 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18324 * bits/stdlib-bsearch.h: New file.
18325 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18326 * stdlib/stdlib.h: Likewise.
18328 2013-02-11 Roland McGrath <roland@hack.frob.com>
18330 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18331 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18333 * manual/search.texi (Array Search Function): Add missing const in
18335 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18336 declaration to use rlim_t.
18337 (Basic Scheduling Functions): Remove erroneous const from
18338 sched_getparam prototype. Remove erroneous * from
18339 sched_get_priority_max and sched_get_priority_min prototypes.
18340 (Resource Usage): Fix summary @comment on vtimes to refer to
18341 sys/vtimes.h rather than vtimes.h.
18342 Add missing *s in vtimes prototype.
18343 (Limits on Resources): Fix ulimit prototype to return long int.
18344 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18345 prototypes to use long int rather than double.
18346 (BSD Random): Fix initstate and setstate to use char *, not void *.
18347 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18348 prototype to make second argument 'struct aiocb64 *const[]'.
18349 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18350 (Status of AIO Operations): Remove erroneous const in aio_return and
18351 aio_return64 prototypes.
18352 (Synchronizing I/O): Fix sync prototype to return void.
18353 * manual/startup.texi (Suboptions): Remove an erroneous const in
18354 getsubopt prototype.
18355 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18356 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18357 use size_t rather than int.
18358 (Scanning All Users): Likewise for getpwent_r.
18359 (Setting Groups): Add missing const to setgroups prototype.
18360 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18361 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18362 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18363 'const void *' rather than 'const char *'.
18364 (Host Address Functions): Likewise for inet_ntop.
18365 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18366 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18367 ssize_t for return value.
18368 (Sending Data): Likewise for send, sendto, sendmsg.
18369 (Socket Option Functions): Add a missing const in setsockopt prototype.
18370 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18371 use wchar_t for the argument.
18372 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18373 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18375 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18376 double/float/long double for second argument.
18377 Fix return types of significand, significandf, significandl.
18378 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18379 argument in fchmod prototype.
18380 (File Owner): Use uid_t and gid_t in fchown prototype.
18381 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18382 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18383 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18384 use 'const struct dirent **' as argument types to CMP function pointer
18386 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18387 (File Times): Fix summary magic @comment for struct utimbuf and utime
18388 to refer to utime.h, not time.h.
18389 * manual/string.texi (Argz Functions): Add missing const in
18390 argz_extract and argz_next prototypes.
18391 (Finding Tokens in a String): Likewise for basename.
18392 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18393 (Copying and Concatenation): Fix typo in wmemmove prototype.
18394 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18395 (Signal Stack): Remove erroneous const in sigstack prototype.
18396 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18398 (Simple Calendar Time): Likewise for stime.
18399 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18401 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18402 say sys/sysctl.h instead.
18403 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18404 and vsyslog prototypes.
18406 2013-02-11 Tom de Vries <tom@codesourcery.com>
18408 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18411 2013-02-11 Roland McGrath <roland@hack.frob.com>
18413 * misc/sys/mman.h: Fix typo in mremap comment.
18415 2013-02-08 Roland McGrath <roland@hack.frob.com>
18417 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18418 the '\0' terminator.
18420 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18423 * debug/segfault.c: Don't include <bp-checks.h>.
18424 * sysdeps/generic/bp-checks.h: Remove file.
18425 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18426 (__GETDENTS): Don't use CHECK_N.
18427 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18428 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18429 (__getgroups): Don't use CHECK_N.
18430 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18431 (setgroups): Don't use CHECK_N.
18432 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18433 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18434 (__libc_msgrcv): Don't use CHECK_N.
18435 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18436 (__libc_msgsnd): Don't use CHECK_N.
18437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18439 (__libc_pread): Don't use CHECK_N.
18440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18441 include <bp-checks.h>.
18442 (__libc_pread64): Don't use CHECK_N.
18443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18444 include <bp-checks.h>.
18445 (__libc_pwrite): Don't use CHECK_N.
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18447 include <bp-checks.h>.
18448 (__libc_pwrite64): Don't use CHECK_N.
18449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18451 (__libc_pread): Don't use CHECK_N.
18452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18453 include <bp-checks.h>.
18454 (__libc_pread64): Don't use CHECK_N.
18455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18456 include <bp-checks.h>.
18457 (__libc_pwrite): Don't use CHECK_N.
18458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18459 include <bp-checks.h>.
18460 (__libc_pwrite64): Don't use CHECK_N.
18461 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18462 (do_pread): Don't use CHECK_N.
18463 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18464 (do_pread64): Don't use CHECK_N.
18465 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18466 (do_pwrite): Don't use CHECK_N.
18467 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18468 (do_pwrite64): Don't use CHECK_N.
18469 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18470 (__libc_readv): Don't use CHECK_N.
18471 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18472 (semop): Don't use CHECK_N.
18473 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18475 (semtimedop): Don't use CHECK_N.
18476 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18477 (__libc_pread): Don't use CHECK_N.
18478 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18480 (__libc_pread64): Don't use CHECK_N.
18481 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18483 (__libc_pwrite): Don't use CHECK_N.
18484 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18486 (__libc_pwrite64): Don't use CHECK_N.
18487 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18489 (__libc_msgrcv): Don't use CHECK_N.
18490 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18491 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18492 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18493 (__libc_writev): Don't use CHECK_N.
18495 2013-02-08 Roland McGrath <roland@hack.frob.com>
18497 * string/strcpy.c: Removed unused variable.
18499 * Makeconfig (+sysdep-includes): Define with := rather than =.
18500 Use an existing include/ subdir of each sysdeps dir before it.
18502 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18504 * nscd/connection.c (register_traced_file): Comment function.
18505 [HAVE_INOTIFY] (union __inev): Define.
18506 [HAVE_INOTIFY] (inotify_check_files): New function.
18507 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18508 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18510 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18512 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18514 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18515 loaded if not already and that a failure is permanent.
18517 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18520 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18521 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18523 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18526 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18527 (CHECK_1_NULL_OK): Likewise.
18528 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18529 (__fxstat): Do not use CHECK_1.
18530 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18532 (___fxstat64): Do not use CHECK_1.
18533 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18535 (__fxstatat): Do not use CHECK_1.
18536 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18538 (__fxstatat64): Do not use CHECK_1.
18539 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18541 (__fxstat): Do not use CHECK_1.
18542 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18544 (__fxstatat): Do not use CHECK_1.
18545 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18547 (__getresgid): Do not use CHECK_1.
18548 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18550 (__getresuid): Do not use CHECK_1.
18551 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18553 (__lxstat): Do not use CHECK_1.
18554 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18556 (__old_msgctl): Do not use CHECK_1.
18557 (__new_msgctl): Likewise.
18558 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18560 (__new_setrlimit): Do not use CHECK_1.
18561 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18563 (__old_shmctl): Do not use CHECK_1.
18564 (__new_shmctl): Likewise.
18565 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18567 (__xstat): Do not use CHECK_1.
18568 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18569 (__lxstat): Do not use CHECK_1.
18570 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18572 (___lxstat64): Do not use CHECK_1.
18573 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18574 (__old_msgctl): Do not use CHECK_1.
18575 (__new_msgctl): Likewise.
18576 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18578 (__gettimeofday): Do not use CHECK_1.
18579 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18580 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18581 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18583 (__gettimeofday): Do not use CHECK_1.
18584 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18585 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18586 (__new_shmctl): Do not use CHECK_1.
18587 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18589 (do_sigtimedwait): Do not use CHECK_1.
18590 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18592 (do_sigwaitinfo): Do not use CHECK_1.
18593 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18595 (msgctl): Do not use CHECK_1.
18596 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18598 (shmctl): Do not use CHECK_1.
18599 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18600 (ustat): Do not use CHECK_1.
18601 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18603 (__fxstat): Do not use CHECK_1.
18604 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18606 (__fxstatat): Do not use CHECK_1.
18607 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18609 (__lxstat): Do not use CHECK_1.
18610 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18612 (__xstat): Do not use CHECK_1.
18613 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18614 (__xstat): Do not use CHECK_1.
18615 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18616 (___xstat64): Do not use CHECK_1.
18619 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18621 (CHECK_BOUNDS_HIGH): Likewise.
18622 * string/strcpy.c: Do not include <bp-checks.h>.
18623 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18625 2013-02-07 Roland McGrath <roland@hack.frob.com>
18627 * nscd/nscd-client.h (__nscd_drop_map_ref):
18628 Add __attribute__ ((unused)).
18629 * nis/nss-nisplus.h (niserr2nss): Likewise.
18631 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18632 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18634 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18635 Remove inline keyword.
18636 * include/rounding-mode.h (round_away): Likewise.
18637 * libio/wfileops.c (adjust_wide_data): Likewise.
18638 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18639 (__m128i_strloadu_tolower): Likewise.
18640 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18641 (__m128i_strloadu_tolower): Likewise.
18642 * time/mktime.c (ydhms_diff): Likewise.
18643 * locale/elem-hash.h (elem_hash): Likewise.
18644 * locale/setlocale.c (setdata): Likewise.
18645 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18646 (re_string_wchar_at): Likewise.
18647 (bitset_not, bitset_merge, bitset_mask): Likewise.
18648 [!(__GNUC__ > 3)] (inline): Remove macro.
18649 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18650 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18651 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18652 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18653 * string/memcmp.c (memcmp_bytes): Likewise.
18654 * locale/programs/locarchive.c (compute_hashval): Likewise.
18655 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18656 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18657 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18658 * nss/getent.c (print_rpc, print_protocols): Likewise.
18659 (print_passwd, print_group, print_aliases): Likewise.
18660 * nis/nss-nisplus.h (niserr2nss): Likewise.
18661 * nscd/connections.c (restart_p): Likewise.
18662 Change return type to bool.
18664 2013-02-05 Roland McGrath <roland@hack.frob.com>
18666 * Makeconfig (all-Depend-files): Add existing
18667 $(sorted-subdirs:=/Depend) files.
18668 (all-subdirs): Remove nss.
18669 * sysdeps/unix/inet/Subdirs: Add it here instead.
18670 * hesiod/Depend: New file.
18672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18673 instead of calling alloca.
18675 * io/lseek.c (__lseek): Rename to __libc_lseek.
18676 Define __lseek as an alias.
18678 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18680 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18682 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18683 else clause and remove check for non-standard endianness.
18685 2013-02-04 David S. Miller <davem@davemloft.net>
18687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18689 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18692 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18693 (__ubp_memchr): Remove prototype.
18694 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18695 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18696 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18697 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18698 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18700 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18701 (__ubp_memchr): Likewise.
18702 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18703 (__ubp_memchr): Likewise.
18704 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18705 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18706 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18707 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18709 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18710 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18711 (__getcwd): Do not use CHECK_STRING.
18712 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18714 (__real_chown): Do not use CHECK_STRING.
18715 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18717 (fchownat): Do not use CHECK_STRING.
18718 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18720 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18722 (__lchown): Do not use CHECK_STRING.
18723 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18724 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18725 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18726 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18728 include <bp-checks.h>.
18729 (truncate64): Do not use CHECK_STRING.
18730 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18732 (__real_chown): Do not use CHECK_STRING.
18733 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18735 (__lchown): Do not use CHECK_STRING.
18736 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18738 (__chown): Do not use CHECK_STRING.
18739 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18741 (truncate64): Do not use CHECK_STRING.
18742 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18744 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18745 (__xmknod): Do not use CHECK_STRING.
18746 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18748 (__xmknodat): Do not use CHECK_STRING.
18749 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18750 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18752 2013-02-04 Andreas Schwab <schwab@suse.de>
18755 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18756 * include/netdb.h: Likewise for h_errno.
18757 * elf/tst-stackguard1.c: Include <tls.h>.
18759 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18761 * elf/link.h (struct link_map): Extend the l_addr comment.
18762 * include/link.h (struct link_map): Likewise.
18764 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18767 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18768 (BOUNDED_1): Remove macro.
18769 * debug/backtrace.c: Don't include <bp-checks.h>.
18770 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18771 (__backtrace): Likewise.
18772 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18774 (__backtrace): Don't use BOUNDED_1.
18775 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18777 (__backtrace): Don't use BOUNDED_1.
18778 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18779 (__backtrace): Don't use BOUNDED_1.
18780 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18781 (shmat): Don't use BOUNDED_N.
18783 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18786 * sysdeps/generic/bp-start.h: Remove file.
18787 * csu/libc-start.c: Don't include <bp-start.h>.
18788 (LIBC_START_MAIN): Set up __environ directly instead of using
18789 INIT_ARGV_and_ENVIRON.
18790 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18794 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18796 (CHECK_FCNTL): Likewise.
18797 (CHECK_N_PAGES): Likewise.
18800 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18802 (CHECK_SIGSET_NULL_OK): Likewise.
18803 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18805 (sigpending): Don't use CHECK_SIGSET.
18806 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18808 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18809 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18811 (do_sigsuspend): Don't use CHECK_SIGSET.
18812 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18814 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18815 (do_sigwait): Don't use CHECK_SIGSET.
18816 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18818 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18819 include <bp-checks.h>.
18820 (sigpending): Don't use CHECK_SIGSET.
18821 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18822 include <bp-checks.h>.
18823 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18824 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18826 (sigpending): Don't use CHECK_SIGSET.
18827 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18829 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18832 * sysdeps/generic/bp-semctl.h: Remove file.
18833 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18834 <bp-checks.h> and <bp-semctl.h>.
18835 (__old_semctl): Don't use CHECK_SEMCTL.
18836 (__new_semctl): Likewise.
18837 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18839 (__old_semctl): Don't use CHECK_SEMCTL.
18840 (__new_semctl): Likewise.
18841 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18842 <bp-checks.h> and <bp-semctl.h>.
18843 (__old_semctl): Don't use CHECK_SEMCTL.
18844 (__new_semctl): Likewise.
18845 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18846 <bp-checks.h> and <bp-semctl.h>.
18847 (semctl): Don't use CHECK_SEMCTL.
18850 * Makerules (elide-bp-thunks): Remove variable.
18851 (elide-routines.oS): Don't use $(elide-bp-thunks).
18852 (elide-routines.os): Likewise.
18853 (elide-routines.o): Likewise.
18854 (elide-routines.op): Likewise.
18855 (elide-routines.og): Likewise.
18856 (objects): Don't use $(bp-thunks).
18857 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18859 (common-generated): Do not add s-proto-bp.d.
18860 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18863 Do not generate makefile rules for bounded-pointer thunks.
18864 * sysdeps/generic/bp-thunks.h: Remove file.
18865 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18866 * sysdeps/unix/s-proto-bp.S: Likewise.
18869 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18870 parts of result separately when argument is not close to line from
18871 -i to i and one part of argument is small.
18872 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18873 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18874 * math/libm-test.inc (cacos_test): Add more tests.
18875 (casin_test): Likewise.
18876 (casinh_test): Likewise.
18877 * sysdeps/i386/fpu/libm-test-ulps: Update.
18878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18880 2013-01-31 David S. Miller <davem@davemloft.net>
18882 * po/de.po: Update from translation team.
18884 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18886 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18888 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18890 * configure.in (_AC_PROG_CC_C89): New definition.
18891 * configure: Regenerate.
18893 * configure.in (AC_PROG_CPP): New definition.
18894 * configure: Regenerate.
18896 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18898 * debug/tst-backtrace.h: New file.
18899 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18900 (ret): Remove variable.
18902 (FAIL): Remove macro.
18903 (NO_INLINE): Likewise.
18904 (fn1): Use match function instead of strstr.
18905 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18906 (ret): Remove variable.
18908 (FAIL): Remove macro.
18909 (NO_INLINE): Likewise.
18910 (fn): Use match function instead of strstr.
18911 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18912 (ret): Remove variable.
18914 (FAIL): Remove macro.
18915 (NO_INLINE): Likewise.
18916 (handle_signal): Use match function instead of strstr.
18917 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18918 (ret): Remove variable.
18920 (FAIL): Remove macro.
18921 (NO_INLINE): Likewise.
18922 (handle_signal): Use match function instead of strstr.
18924 2013-01-23 Roland McGrath <roland@hack.frob.com>
18926 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18928 2013-01-23 David S. Miller <davem@davemloft.net>
18930 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18931 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18932 argument of CAS if possible.
18933 * sysdeps/sparc/sparc64/bits/atomic.h
18934 (__arch_compare_and_exchange_val_32_acq): Likewise.
18935 (__arch_compare_and_exchange_val_64_acq): Likewise.
18937 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18939 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18940 * sysdeps/posix/ulimit.c: ... this.
18941 Include <limits.h>.
18942 * sysdeps/unix/bsd/ulimit.c: Remove file.
18944 2013-01-23 Adam Conrad <adconrad@0c3.net>
18946 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18947 (LDFLAGS-tst-array5): Likewise.
18949 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18952 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18953 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18954 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18955 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18957 2013-01-21 David S. Miller <davem@davemloft.net>
18959 * sysdeps/sparc/backtrace.c: New file.
18960 * sysdeps/sparc/sparc32/backtrace.h: New file.
18961 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18962 * sysdeps/sparc/sparc64/backtrace.h: New file.
18963 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18964 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18967 2013-01-21 Andreas Schwab <schwab@suse.de>
18970 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18973 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18979 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18980 Mark Mitchell <mark@codesourcery.com>
18981 Tom de Vries <tom@codesourcery.com>
18982 Paul Pluzhnikov <ppluzhnikov@google.com>
18984 * debug/tst-backtrace2.c: New file.
18985 * debug/tst-backtrace3.c: Likewise.
18986 * debug/tst-backtrace4.c: Likewise.
18987 * debug/tst-backtrace5.c: Likewise.
18988 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18989 (CFLAGS-tst-backtrace3.c): Likewise.
18990 (CFLAGS-tst-backtrace4.c): Likewise.
18991 (CFLAGS-tst-backtrace5.c): Likewise.
18992 (LDFLAGS-tst-backtrace2): Likewise.
18993 (LDFLAGS-tst-backtrace3): Likewise.
18994 (LDFLAGS-tst-backtrace4): Likewise.
18995 (LDFLAGS-tst-backtrace5): Likewise.
18996 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18997 tst-backtrace4 and tst-backtrace5.
18999 2013-01-18 Anton Blanchard <anton@samba.org>
19000 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19002 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19003 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19004 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19005 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19007 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19008 "+r" and remove output regs list as redundant. Add explicit inline
19009 asm to specify register of return val to work around compiler codegen
19010 bug. Remove (int) cast on return value. Add return type parameter to
19011 use in macro so that this macro does not truncate return value for
19013 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19014 pass to INTERNAL_VSYSCALL_NCS.
19015 (INLINE_VSYSCALL): Add 'long int' as return type to
19016 INTERNAL_VSYSCALL_NCS macro invocation.
19017 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19018 INTERNAL_VSYSCALL_NCS macro invocation.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19021 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19024 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19025 Fix application of SIMD FP exception mask.
19027 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19028 mp_no from a power of two.
19029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19030 __mpexp_twomm1. Use __pow_mp.
19032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19035 2013-01-17 David S. Miller <davem@davemloft.net>
19037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19039 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19042 * include/complex.h: Condition contents on [!_COMPLEX_H].
19043 (__kernel_casinhf): New prototype.
19044 (__kernel_casinh): Likewise.
19045 (__kernel_casinhl): Likewise.
19046 * math/Makefile (libm_calls): Add k_casinh.
19047 * math/k_casinh.c: New file.
19048 * math/k_casinhf.c: Likewise.
19049 * math/k_casinhl.c: Likewise.
19050 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19051 finite nonzero arguments.
19052 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19053 finite nonzero arguments.
19054 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19055 finite nonzero arguments.
19056 * math/s_casinh.c: Do not include <float.h>.
19057 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19058 * math/s_casinhf.c: Do not include <float.h>.
19059 (__casinhf): Move code for finite nonzero arguments to
19061 * math/s_casinhl.c: Do not include <float.h>.
19062 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19064 (__casinhl): Move code for finite nonzero arguments to
19066 * math/libm-test.inc (cacos_test): Add more tests.
19067 * sysdeps/i386/fpu/libm-test-ulps: Update.
19068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19070 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19072 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19073 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19074 [!HAVE_MREMAP]: Remove [defined linux] case.
19075 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19077 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19079 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19081 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19083 * elf/elf.h (R_386_SIZE32): New relocation.
19084 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19086 (elf_machine_rela): Likewise.
19087 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19088 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19090 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19092 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19093 (FP_FAST_FMA): Do not define.
19094 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19095 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19096 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19097 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19098 !_SOFT_FLOAT]: Likewise.
19099 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19100 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19102 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19103 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19104 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19105 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19106 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19107 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19110 2013-01-16 Andreas Schwab <schwab@suse.de>
19113 * include/stdlib.h (__mktemp): Add declaration.
19114 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19115 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19117 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19119 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19121 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19122 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19123 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19125 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19126 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19130 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19131 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19132 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19134 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19135 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19137 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19139 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19141 2013-01-15 David S. Miller <davem@davemloft.net>
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19144 trunc{,f} to libm-sysdep_routes.
19145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19155 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19156 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19157 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19158 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19159 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19160 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19163 nearbyint{,f} to libm-sysdep_routes.
19164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19175 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19181 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19182 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19184 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19185 libc_feholdexcept and libc_fesetenv.
19187 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19189 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19191 2013-01-14 David S. Miller <davem@davemloft.net>
19193 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19194 (SPARC_ASM_VIS2_IFUNC): Likewise.
19195 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19197 use of 'siam' instruction.
19198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19231 routines to libm-sysdep_routines.
19232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19235 fdim/fdimf to libm-sysdep_routines.
19236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19244 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19245 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19246 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19247 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19249 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19251 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19252 to optimize copies.
19254 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19259 local variable MPTWO.
19260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19263 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19265 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19268 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19270 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19272 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19274 * manual/pattern.texi (glob_t): Document gl_flags.
19275 (glob64_t): Likewise.
19277 2013-01-11 David S. Miller <davem@davemloft.net>
19279 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19280 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19281 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19282 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19283 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19284 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19285 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19286 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19287 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19288 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19289 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19290 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19291 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19293 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19294 sparc V9 rather than using V8 code.
19295 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19296 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19298 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19300 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19303 2013-01-11 Roland McGrath <roland@hack.frob.com>
19305 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19306 not in the main loop.
19307 * configure: Regenerated.
19309 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19311 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19312 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19314 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19315 [!__GLIBC_HAVE_LONG_LONG] case.
19316 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19317 condition to just #else.
19318 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19319 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19320 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19321 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19323 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19324 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19325 #elif condition to just #else.
19326 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19327 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19328 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19329 #elif condition to just #else.
19331 2013-01-11 Steve Ellcey <sellcey@mips.com>
19333 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19334 (EF_MIPS_ARCH_64): Fix value.
19335 (EF_MIPS_ARCH_32R2): New.
19336 (EF_MIPS_ARCH_64R2): New.
19338 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19340 * Makeconfig (+link-pie-before-libc): New.
19341 (+link-pie-after-libc): Likewise.
19342 (+link-pie-tests): Likewise.
19343 (+link-pie): Rewritten.
19344 (link-before-libc): Remove $(config-LDFLAGS).
19345 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19346 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19347 (config-LDFLAGS): Renamed to ...
19348 (rtld-LDFLAGS): This.
19349 (rtld-tests-LDFLAGS): New macro.
19350 (link-libc-rpath-link): Likewise.
19351 (link-libc-tests-rpath-link): Likewise.
19352 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19353 (link-libc): Prepand $(link-libc-rpath-link).
19354 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19355 (test-program-prefix): New macro.
19356 (test-via-rtld-prefix): Likewise.
19357 (test-program-cmd): Likewise.
19358 (host-test-program-cmd): Likewise.
19359 * Makefile ($(common-objpfx)testrun.sh): Replace
19360 $(run-program-prefix) with $(test-program-prefix).
19361 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19363 ($(common-objpfx)shlib.lds): Likewise.
19364 (build-module-helper): Likewise.
19365 ($(common-objpfx)format.lds): Likewise.
19366 * Rules (binaries-pie-tests): New.
19367 (binaries-pie-notests): Likewise.
19368 (binaries-pie): Rewritten.
19369 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19370 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19371 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19372 (make-test-out): Replace $(host-built-program-cmd) with
19373 $(host-test-program-cmd).
19374 * config.make.in (build-hardcoded-path-in-tests): New variable.
19375 * configure.in (--enable-hardcoded-path-in-tests): New configure
19377 (hardcoded_path_in_tests): New AC_SUBST.
19378 * configure: Regenerated.
19379 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19380 $(built-program-cmd) with $(test-program-cmd).
19381 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19382 (test_program_cmd): This.
19383 * elf/Makefile ($(objpfx)order.out): Run test with
19384 $(test-program-prefix).
19385 ($(objpfx)order2.out): Likewise.
19386 ($(objpfx)tst-initorder.out): Likewise.
19387 ($(objpfx)tst-initorder2.out): Likewise.
19388 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19389 $(test-program-cmd).
19390 ($(objpfx)tst-array1-static.out): Likewise.
19391 ($(objpfx)tst-array2.out): Likewise.
19392 ($(objpfx)tst-array3.out): Likewise.
19393 ($(objpfx)tst-array4.out): Likewise.
19394 ($(objpfx)tst-array5.out): Likewise.
19395 ($(objpfx)tst-array5-static.out): Likewise.
19396 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19397 $(test-program-cmd).
19398 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19399 $(run-program-prefix) with $(test-program-prefix).
19400 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19401 (test_program_prefix): This.
19402 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19403 $(run-program-prefix) with $(test-program-prefix).
19404 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19405 (test_program_prefix): This.
19406 * iconvdata/tst-tables.sh: Likewise.
19407 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19408 $(run-program-prefix) with $(test-program-prefix).
19409 ($(objpfx)tst-translit.out): Likewise.
19410 ($(objpfx)tst-gettext2.out): Likewise.
19411 ($(objpfx)tst-gettext4.out): Likewise.
19412 ($(objpfx)tst-gettext6.out): Likewise.
19413 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19414 (test_program_prefix): This.
19415 * intl/tst-gettext2.sh: Likewise.
19416 * intl/tst-gettext4.sh Likewise.
19417 * intl/tst-gettext6.sh: Likewise.
19418 * intl/tst-translit.sh: Likewise.
19419 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19420 with $(test-program-cmd).
19421 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19422 $(run-program-prefix) with $(test-program-prefix).
19423 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19424 (test_program_prefix): This.
19425 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19426 $(run-program-prefix) with $(test-program-prefix).
19427 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19428 (test_program_prefix): This.
19429 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19430 * posix/Makefile ($(objpfx)globtest.out): Replace
19431 $(run-via-rtld-prefix) and $(test-wrapper) with
19432 $(test-program-prefix) and $(test-via-rtld-prefix).
19433 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19434 $(test-program-prefix).
19435 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19436 $(host-test-program-cmd).
19437 (tst-spawn-ARGS): Likewise.
19438 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19439 $(test-program-prefix).
19440 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19441 (test_via_rtld_prefix): This.
19442 (test_wrapper): Renamed to ...
19443 (test_program_prefix): This.
19444 (run_program_prefix): Replaced by test_program_prefix.
19445 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19446 (test_program_prefix): This.
19447 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19448 with $(host-test-program-cmd).
19449 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19450 $(run-program-prefix) with $(test-program-prefix).
19451 ($(objpfx)tst-printf.out): Likewise.
19452 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19453 $(test-program-cmd).
19454 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19455 (test_program_prefix): This.
19456 * stdio-common/tst-unbputc.sh: Likewise.
19457 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19458 $(run-program-prefix) with $(test-program-prefix).
19459 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19460 (test_program_prefix): This.
19461 * string/Makefile ($(objpfx)tst-svc.out): Replace
19462 $(built-program-cmd) with $(test-program-cmd).
19464 2013-01-11 Andreas Jaeger <aj@suse.de>
19467 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19468 value. Sync with Linux 3.7.
19470 2013-01-10 David S. Miller <davem@davemloft.net>
19472 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19473 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19474 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19476 2013-01-10 Roland McGrath <roland@hack.frob.com>
19478 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19480 * configure: Regenerated.
19482 2013-01-10 David S. Miller <davem@davemloft.net>
19484 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19485 sparc V9 rather than using V8 code.
19486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19489 2013-01-10 Roland McGrath <roland@hack.frob.com>
19491 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19492 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19493 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19494 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19495 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19496 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19497 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19498 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19499 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19500 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19501 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19502 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19503 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19504 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19505 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19506 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19507 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19508 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19509 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19510 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19511 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19512 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19513 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19514 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19515 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19516 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19517 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19519 2013-01-10 David S. Miller <davem@davemloft.net>
19521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19523 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19525 * posix/Makefile (tests-static): New variable.
19526 (tests): Add $(tests-static).
19527 (tst-exec-static-ARGS): New variable.
19528 (tst-spawn-static-ARGS): Likewise.
19529 * posix/tst-exec-static.c: New file.
19530 * posix/tst-spawn-static.c: Likewise.
19531 * posix/tst-exec.c: Support run directly.
19532 * posix/tst-spawn.c: Likewise.
19534 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19536 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19538 * math/bits/mathcalls.h (llrint): Likewise.
19539 (llround): Likewise.
19540 * stdlib/stdlib.h (struct drand48_data): Likewise.
19541 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19542 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19543 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19545 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19547 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19548 (elf_greg_t): Likewise.
19549 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19550 (__jmp_buf): Likewise.
19551 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19553 (llrint): Likewise, for all definitions.
19554 (llrintl): Likewise.
19556 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19557 Remove [__GNUC__] condition.
19558 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19559 condition to just [__USE_ISOC99].
19560 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19562 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19565 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19566 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19568 (_POSIX_V6_ILP32_OFF32): Likewise.
19569 (_XBS5_ILP32_OFF32): Likewise.
19570 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19571 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19573 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19575 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19578 doubles __mpexp_twomm1. Adjust usage.
19579 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19582 2013-01-10 Andreas Schwab <schwab@suse.de>
19585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19586 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19588 2013-01-09 David S. Miller <davem@davemloft.net>
19591 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19592 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19593 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19594 TCP_FASTOPEN): Define.
19595 (tcp_repair_opt): New structure.
19596 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19598 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19599 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19600 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19601 (tcp_cookie_transactions): New structure.
19603 2013-01-09 Anton Blanchard <anton@samba.org>
19605 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19606 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19607 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19608 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19610 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19612 * include/features.h (__USE_ANSI): Remove.
19614 2013-01-09 Roland McGrath <roland@hack.frob.com>
19616 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19618 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19620 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19622 * sysdeps/s390/fpu/libm-test-ulps: Update.
19624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19626 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19630 (denorm): Likewise.
19631 (__mp_dbl): Likewise.
19632 (__dbl_mp): Likewise.
19633 (add_magnitudes): Likewise.
19634 (sub_magnitudes): Likewise.
19640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19644 (denorm): Likewise.
19645 (__mp_dbl): Likewise.
19646 (__dbl_mp): Likewise.
19647 (add_magnitudes): Likewise.
19648 (sub_magnitudes): Likewise.
19654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19658 (denorm): Likewise.
19659 (__mp_dbl): Likewise.
19660 (__dbl_mp): Likewise.
19661 (add_magnitudes): Likewise.
19662 (sub_magnitudes): Likewise.
19669 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19671 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19672 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19673 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19674 2 && __USE_EXTERN_INLINES]: Likewise.
19676 2013-01-08 Andreas Jaeger <aj@suse.de>
19679 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19681 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19682 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19684 2013-01-07 Anton Blanchard <anton@samba.org>
19686 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19687 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19688 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19689 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19690 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19691 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19692 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19693 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19695 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19696 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19697 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19698 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19700 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19701 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19702 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19703 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19704 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19705 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19706 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19707 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19709 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19710 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19711 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19712 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19713 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19714 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19715 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19716 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19718 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19719 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19720 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19722 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19723 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19724 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19725 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19726 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19727 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19728 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19730 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19732 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19733 (__MALLOC_PMT): Likewise.
19734 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19735 [__GNUC__], only on [_LIBC].
19736 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19737 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19738 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19739 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19740 forward declaration.
19741 (realloc_hook_ini): Likewise.
19742 (memalign_hook_ini): Likewise.
19743 (__libc_memalign): Do not use __MALLOC_PMT in variable
19745 (__libc_valloc): Likewise.
19746 (__libc_pvalloc): Likewise.
19747 (__libc_calloc): Likewise.
19748 (__posix_memalign): Likewise.
19751 * math/s_casinh.c: Include <float.h>.
19752 (__casinh): Do not do computation with squaring and square root
19753 for large arguments.
19754 * math/s_casinhf.c: Include <float.h>.
19755 (__casinhf): Do not do computation with squaring and square root
19756 for large arguments.
19757 * math/s_casinhl.c: Include <float.h>.
19758 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19759 (__casinhl): Do not do computation with squaring and square root
19760 for large arguments.
19761 * math/libm-test.inc (casin_test): Add more tests.
19762 (casinh_test): Likewise.
19763 * sysdeps/i386/fpu/libm-test-ulps: Update.
19764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19766 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19768 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19769 (__x86_64_raw_data_cache_size): Likewise.
19770 (__x86_64_data_cache_size_half): Likewise.
19771 (__x86_64_raw_data_cache_size_half): Likewise.
19772 (__x86_64_shared_cache_size): Likewise.
19773 (__x86_64_raw_shared_cache_size): Likewise.
19774 (__x86_64_shared_cache_size_half): Likewise.
19775 (__x86_64_raw_shared_cache_size_half): Likewise.
19776 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19778 (__x86_data_cache_size): This.
19779 (__x86_64_raw_data_cache_size): Renamed to ...
19780 (__x86_raw_data_cache_size): This.
19781 (__x86_64_data_cache_size_half): Renamed to ...
19782 (__x86_data_cache_size_half): This.
19783 (__x86_64_raw_data_cache_size_half): Renamed to ...
19784 (__x86_raw_data_cache_size_half): This.
19785 (__x86_64_shared_cache_size): Renamed to ...
19786 (__x86_shared_cache_size): This.
19787 (__x86_64_raw_shared_cache_size): Renamed to ...
19788 (__x86_raw_shared_cache_size): This.
19789 (__x86_64_shared_cache_size_half): Renamed to ...
19790 (__x86_shared_cache_size_half): This.
19791 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19792 (__x86_raw_shared_cache_size_half): This.
19793 * sysdeps/x86_64/memcpy.S: Updated.
19794 * sysdeps/x86_64/memset.S: Likewise.
19795 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19796 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19799 2013-01-04 David S. Miller <davem@davemloft.net>
19801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19803 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19805 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19806 1 to avoid redefinition warning.
19807 (__USE_GNU): Don't define.
19808 (init_signaling_nan): Protoize.
19810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19812 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19814 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19816 (__cpymn): Likewise.
19817 (norm): Remove commented code.
19818 (denorm): Likewise.
19819 (__mp_dbl): Likewise.
19821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19822 (__cpymn): Likewise.
19823 (norm): Remove commented code.
19824 (denorm): Likewise.
19825 (__mp_dbl): Likewise.
19828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19829 mp_no value for 1.0 and 2.0.
19830 (norm): Use RADIXI instead of radixi.d.
19831 (denorm): Likewise.
19832 (__mul): Use 0.0 instead of zero.d.
19833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19834 mp_no value for 1.0 and 2.0.
19835 (norm): Use RADIXI instead of radixi.d.
19836 (denorm): Likewise.
19837 (__mul): Use 0.0 instead of zero.d.
19839 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19842 * math/s_casinh.c (__casinh): Reduce finite argument to first
19843 quadrant then set signs of results at the end.
19844 * math/s_casinhf.c (__casinhf): Likewise.
19845 * math/s_casinhl.c (__casinhl): Likewise.
19846 * math/libm-test.inc (casin_test): Add more tests.
19847 (casinh_test): Likewise.
19848 * sysdeps/i386/fpu/libm-test-ulps: Update.
19849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19851 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19853 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19855 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19857 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19859 (denorm): Likewise.
19860 (__mp_dbl): Likewise.
19863 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19864 and adjust the header comment.
19866 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19867 variable name from declaration.
19869 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19872 Initialize COMMON_CPUID_INDEX_7 element.
19873 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19874 (CPUID_RTM): Likewise.
19875 (HAS_RTM): Likewise.
19876 (COMMON_CPUID_INDEX_7): New enum.
19878 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19881 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19882 size is zero, record memory as freed.
19884 2013-01-03 Andreas Jaeger <aj@suse.de>
19886 * po/ia.po: Add new Interlingua translation.
19888 2012-01-03 Allan McRae <allan@archlinux.org>
19890 * locale/programs/localedef.c: Fix description of '--posix' flag.
19892 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19894 * NEWS: Update dates in second copyright notice.
19895 * README: Update copyright dates in example.
19896 * manual/libc.texinfo: Update copyright dates.
19897 * scripts/test-installation.pl: Update copyright date in --version
19900 * hurd/ctty-input.c: Fix copyright notice formatting.
19901 * hurd/ctty-output.c: Likewise.
19902 * hurd/dtable.c: Likewise.
19903 * hurd/hurd-raise.c: Likewise.
19904 * hurd/hurdprio.c: Likewise.
19905 * hurd/msgportdemux.c: Likewise.
19906 * misc/sys/file.h: Likewise.
19907 * misc/sys/ioctl.h: Likewise.
19908 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19909 * sysdeps/mach/hurd/chdir.c: Likewise.
19910 * sysdeps/mach/hurd/fchdir.c: Likewise.
19911 * sysdeps/mach/hurd/rename.c: Likewise.
19912 * sysdeps/mach/hurd/rmdir.c: Likewise.
19913 * sysdeps/mach/hurd/seekdir.c: Likewise.
19914 * sysdeps/mach/hurd/setsid.c: Likewise.
19915 * sysdeps/posix/wait3.c: Likewise.
19917 * All files with FSF copyright notices: Update copyright dates
19918 using scripts/update-copyrights.
19919 * intl/plural.c: Regenerated.
19920 * locale/programs/charmap-kw.h: Likewise.
19921 * locale/programs/locfile-kw.h: Likewise.
19923 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19925 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19928 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19929 calculation loop and add branch prediction.
19931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19932 check access beyond bounds of m1np.
19934 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19936 (__inv): Remove local variable MPTWO to use the global
19938 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19939 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19941 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19942 MP3HALFS static const.
19944 2013-01-01 David S. Miller <davem@davemloft.net>
19946 * po/ca.po: Update from translation team.
19948 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19950 * scripts/update-copyrights: New file.
19951 * Makeconfig: Reformat copyright notice.
19952 * ctype/ctype.h: Likewise.
19953 * debug/swprintf_chk.c: Likewise.
19954 * elf/dl-cache.c: Likewise.
19955 * elf/dl-debug.c: Likewise.
19956 * elf/dl-object.c: Likewise.
19957 * grp/initgroups.c: Likewise.
19958 * hurd/Makefile: Likewise.
19959 * hurd/hurd/signal.h: Likewise.
19960 * hurd/hurdfault.c: Likewise.
19961 * hurd/hurdioctl.c: Likewise.
19962 * hurd/hurdlookup.c: Likewise.
19963 * hurd/intr-msg.c: Likewise.
19964 * iconv/gconv_open.c: Likewise.
19965 * libio/swprintf.c: Likewise.
19966 * locale/lc-ctype.c: Likewise.
19967 * locale/nl_langinfo.c: Likewise.
19968 * mach/Machrules: Likewise.
19969 * mach/Makefile: Likewise.
19970 * malloc/obstack.h: Likewise.
19971 * manual/Makefile: Likewise.
19972 * manual/tsort.awk: Likewise.
19973 * misc/bits/stab.def: Likewise.
19974 * nis/nis_print_group_entry.c: Likewise.
19975 * nis/nis_table.c: Likewise.
19976 * nis/nss_compat/compat-pwd.c: Likewise.
19977 * nis/nss_compat/compat-spwd.c: Likewise.
19978 * po/Makefile: Likewise.
19979 * posix/fnmatch.c: Likewise.
19980 * posix/regex.h: Likewise.
19981 * resolv/Makefile: Likewise.
19982 * resolv/nss_dns/dns-network.c: Likewise.
19983 * resolv/res_hconf.c: Likewise.
19984 * scripts/gen-sorted.awk: Likewise.
19985 * soft-fp/soft-fp.h: Likewise.
19986 * stdio-common/printf.h: Likewise.
19987 * stdlib/monetary.h: Likewise.
19988 * stdlib/random.c: Likewise.
19989 * stdlib/random_r.c: Likewise.
19990 * sysdeps/generic/Makefile: Likewise.
19991 * sysdeps/gnu/Makefile: Likewise.
19992 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19994 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19999 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20000 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20002 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20003 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20004 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20005 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20006 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20007 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20008 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20009 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20010 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20012 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20013 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20014 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20015 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20016 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20018 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20019 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20020 * sysdeps/mach/hurd/errnos.awk: Likewise.
20021 * sysdeps/mach/hurd/fork.c: Likewise.
20022 * sysdeps/mach/hurd/getcwd.c: Likewise.
20023 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20024 * sysdeps/mach/hurd/mmap.c: Likewise.
20025 * sysdeps/mach/hurd/utimes.c: Likewise.
20026 * sysdeps/mach/hurd/xmknod.c: Likewise.
20027 * sysdeps/posix/profil.c: Likewise.
20028 * sysdeps/posix/readdir_r.c: Likewise.
20029 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20030 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20031 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20032 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20034 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20035 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20036 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20038 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20040 * sysdeps/pthread/lio_listio.c: Likewise.
20041 * sysdeps/sparc/dl-procinfo.h: Likewise.
20042 * sysdeps/unix/i386/sysdep.S: Likewise.
20043 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20044 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20045 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20046 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20048 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20049 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20050 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20051 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20052 * sysdeps/wordsize-32/divdi3.c: Likewise.
20053 * time/sys/time.h: Likewise.
20054 * wcsmbs/Makefile: Likewise.
20056 2013-01-01 David S. Miller <davem@davemloft.net>
20058 * po/fr.po: Update from translation team.
20060 * catgets/gencat.c: Update copyright year.
20061 * csu/version.c: Likewise.
20062 * debug/catchsegv.sh: Likewise.
20063 * debug/pcprofiledump.c: Likewise.
20064 * debug/xtrace.sh: Likewise.
20065 * elf/ldconfig.c: Likewise.
20066 * elf/ldd.bash.in: Likewise.
20067 * elf/pldd.c: Likewise.
20068 * elf/sotruss.ksh: Likewise.
20069 * elf/sprof.c: Likewise.
20070 * iconv/iconv_prog.c: Likewise.
20071 * iconv/iconvconfig.c: Likewise.
20072 * locale/programs/locale.c: Likewise.
20073 * locale/programs/localedef.c: Likewise.
20074 * login/programs/pt_chown.c: Likewise.
20075 * malloc/memusage.sh: Likewise.
20076 * malloc/memusagestat.c: Likewise.
20077 * malloc/mtrace.pl: Likewise.
20078 * nscd/nscd.c: Likewise.
20079 * nss/getent.c: Likewise.
20080 * nss/makedb.c: Likewise.
20081 * posix/getconf.c: Likewise.
20083 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20085 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20088 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20090 * math/bits/mathcalls.h (modf): Use __nonnull.
20092 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20094 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20095 (split): Use macro CN instead of the bare value.
20096 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20099 instead of the bare value.
20100 (power1): Likewise.
20102 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20104 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20106 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20108 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20110 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20111 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20112 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20113 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20115 2012-12-28 Andreas Jaeger <aj@suse.de>
20117 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20118 values are from Linux 3.7.
20120 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20121 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20123 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20125 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20128 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20130 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20131 variables with preprocessor constants.
20132 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20133 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20134 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20136 2012-12-27 Bruno Haible <bruno@clisp.org>
20139 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20142 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20145 and use variable directly.
20146 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20148 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20150 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20153 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20155 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20156 include directive. Remove local variable MPONE.
20157 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20158 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20159 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20161 2012-12-25 David S. Miller <davem@davemloft.net>
20163 * version.h (RELEASE): Set to "development".
20164 (VERSION): Set to "2.17.90".
20165 * NEWS: Add 2.18 section.
20167 2012-12-21 David S. Miller <davem@davemloft.net>
20169 * po/hr.po: Update from translation team.
20171 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20173 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20175 2012-12-19 Steve Ellcey <sellcey@mips.com>
20177 * NEWS: Mention new memcpy for MIPS.
20179 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20181 * manual/contrib.texi (Contributors): Spelling correction.
20183 2012-12-15 David S. Miller <davem@davemloft.net>
20185 * po/ru.po: Update from translation team.
20187 2012-12-13 David S. Miller <davem@davemloft.net>
20189 * NEWS: Mention IFUNC testsuite enhancements.
20191 * po/pl.po: Update from translation team.
20192 * po/bg.po: Likewise.
20194 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20195 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20197 2012-12-11 David S. Miller <davem@davemloft.net>
20199 * po/sv.po: Update from translation team.
20201 * po/vi.po: Update from translation team.
20203 * po/cs.po: Update from translation team.
20205 * po/de.po: Update from translation team.
20206 * po/eo.po: Likewise.
20207 * po/nl.po: Likewise.
20209 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20212 * manual/argp.texi (Argp Helper Functions): Move node to follow
20213 Argp Parsing State.
20216 * manual/conf.texi (Limits on File System Capacity): Mention if
20217 terminating null is included in the max size.
20219 2012-12-10 Andreas Jaeger <aj@suse.de>
20221 * po/cs.po: Update from translation team.
20223 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20225 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20226 void pointer and cast to uintptr_t.
20227 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20229 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20230 * sysdeps/s390/s390-64/memset.S: Likewise.
20232 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20235 * menual/message.texi (Message Translation): Fix typos.
20236 (Helper programs for gettext): Likewise.
20238 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20241 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20244 2012-12-07 David S. Miller <davem@davemloft.net>
20246 * po/libc.pot: Update.
20248 2012-12-07 Richard Henderson <rth@redhat.com>
20251 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20252 normal/normal case to before the switch.
20253 (_FP_DIV): Likewise.
20255 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20256 Mike Frysinger <vapier@gentoo.org>
20258 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20259 check for __NR_fadvise64_64.
20261 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20263 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20264 0, not just to plain "0" as a statement.
20265 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20268 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20270 * NEWS: Use sourceware.org in Bugzilla URL.
20272 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20275 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20277 * stdio-common/tst-put-error.c (do_test): Add newline to the
20278 padded test to ensure flush.
20280 2012-12-05 Jeff Law <law@redhat.com>
20282 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20284 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20286 * README: Don't refer to ports add-on as distributed separately.
20287 Mention AArch64 in list of systems supported in the ports add-on.
20289 * LICENSES: Add more non-FSF copyright and license notices.
20291 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20294 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20296 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20297 10000 as width of padded output.
20299 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20301 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20303 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20304 variable LX with __attribute__ ((unused)).
20305 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20307 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20309 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20310 with __attribute__ ((unused)).
20312 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20314 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20316 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20318 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20319 (CFLAGS-nldbl-acos.c): New variable.
20320 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20321 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20322 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20323 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20324 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20325 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20326 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20327 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20328 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20329 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20330 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20331 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20332 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20333 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20334 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20335 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20336 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20337 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20338 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20339 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20340 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20341 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20342 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20343 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20344 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20345 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20361 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20362 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20363 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20364 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20365 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20366 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20367 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20368 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20369 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20370 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20371 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20372 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20373 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20374 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20375 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20376 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20377 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20378 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20379 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20380 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20381 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20382 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20383 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20384 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20385 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20386 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20387 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20388 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20389 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20390 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20391 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20392 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20393 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20394 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20395 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20396 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20397 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20398 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20399 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20400 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20401 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20402 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20403 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20404 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20408 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20409 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20419 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20422 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20423 whole low double instead of just low 47 bits when splitting values
20426 2012-12-03 Allan McRae <allan@archlinux.org>
20428 * manual/stdio.texi (Predefined Printf Handlers): Remove
20429 @hsep and @vsep usage.
20431 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20433 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20434 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20436 2012-12-03 Jeff Law <law@redhat.com>
20438 * time/sys/time.h (settimeofday): Do not mark TV argument
20441 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20443 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20444 when currently writing and seek to current position when not.
20445 * libio/Makefile (tests): Remove bug-fclose1.
20446 * libio/bug-fclose1.c: Delete.
20448 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20450 * manual/arith.texi (feenableexcept): Fix typo.
20451 (fedisableexcept): Likewise.
20453 2012-11-30 Roland McGrath <roland@hack.frob.com>
20455 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20456 second, differently-typed declaration, rather than a cast.
20458 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20460 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20461 * include/rpc/svc.h: ... here.
20463 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20466 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20467 depending n and resplen2 to catch cases where answer
20470 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20472 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20473 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20475 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20479 2012-11-29 Roland McGrath <roland@hack.frob.com>
20481 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20483 2012-11-28 Jeff Law <law@redhat.com>
20486 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20487 dataset_temporary. Track alloca usage into alloca_used.
20488 If dataset is large allocate and release it via malloc/free.
20490 2012-06-04 Florian Weimer <fweimer@redhat.com>
20493 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20495 2012-11-28 David S. Miller <davem@davemloft.net>
20497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20499 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20502 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20503 of pi/2 rounded to nearest to 64 bits.
20504 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20505 nearest to 64 bits.
20506 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20509 2012-11-28 Jeff Law <law@redhat.com>
20510 Martin Osvald <mosvald@redhat.com>
20513 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20514 * sunrpc/svc.c: Include time.h.
20515 (__svc_accept_failed): New function.
20516 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20517 any reason other than EINTR, call __svc_accept_failed.
20518 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20519 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20521 2012-11-28 Andreas Schwab <schwab@suse.de>
20523 * scripts/abilist.awk: Also handle indirect functions in .opd
20526 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20529 * sysdeps/x86/fpu/powl_helper.c: New file.
20530 * sysdeps/x86/fpu/Makefile: Likewise.
20531 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20533 (__ieee754_powl): Use __powl_helper for finite arguments except
20534 integer exponents below 8.
20535 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20537 (__ieee754_powl): Use __powl_helper for finite arguments except
20538 integer exponents below 8.
20539 * math/libm-test.inc (pow_test): Add more tests and enable some
20540 previously disabled tests.
20541 * sysdeps/i386/fpu/libm-test-ulps: Update.
20542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20544 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20545 Carlos O'Donell <carlos_odonell@mentor.com>
20547 * nss/makedb.c (is_prime): Assert that input is odd and greater
20548 than 4. Note that fact in a comment too.
20549 (next_prime): Add 4 to input.
20551 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20554 * libio/Makefile (tests): Add test case tst-fwrite-error.
20555 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20556 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20557 * libio/tst-fwrite-error.c: New test case.
20559 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20561 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20562 before casting to void *.
20563 * include/libc-internal.h (__pointer_type): New macro.
20564 (__integer_if_pointer_type_sub): Likewise.
20565 (__integer_if_pointer_type): Likewise.
20566 (cast_to_integer): Likewise.
20567 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20568 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20569 before casting to atomic64_t.
20570 (atomic_exchange_acq): Likewise.
20571 (__arch_exchange_and_add_body): Likewise.
20572 (__arch_add_body): Likewise.
20573 (atomic_add_negative): Likewise.
20574 (atomic_add_zero): Likewise.
20576 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20578 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20579 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20580 (add_fdes): Likewise.
20581 (linear_search_fdes): Likewise.
20582 (binary_search_unencoded_fdes): Likewise.
20584 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20586 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20588 2012-11-24 Adam Conrad <adconrad@0c3.net>
20590 * configure.in: Autodetect C++ header directories.
20591 * configure: Regenerated.
20593 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20595 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20597 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20601 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20603 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20604 LDBL_MANT_DIG == 106]: Disable some tests.
20605 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20607 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20611 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20612 input for small inputs. Return +/- pi/2 for large inputs.
20613 * math/libm-test.inc (atan_test): Add more tests.
20615 * sysdeps/generic/unwind-dw2-fde-glibc.c
20616 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20617 __attribute__ ((unused)).
20620 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20621 x * y if x and y are nonzero and z is zero.
20624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20625 nonzero exponents with absolute value below 0x1p-117 to +/-
20629 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20630 up arguments below 2**-450, not just those below 2**-500.
20631 * math/libm-test.inc (hypot_test): Add another test.
20634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20635 Return a+b for ratio over 2**120, not 2**60.
20636 * math/libm-test.inc (hypot_test): Add another test.
20638 * math/libm-test.inc (clog_test): Use
20639 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20640 (clog10_test): Likewise.
20643 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20645 2012-11-22 Andreas Schwab <schwab@suse.de>
20647 * sysdeps/i386/fpu/libm-test-ulps: Update.
20649 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20651 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20652 printf output with newline.
20654 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20657 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20658 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20659 -z nodlopen, -z initfirst and -z execstack support.
20660 * configure: Regenerated.
20662 * elf/elf.h (DF_1_NODIRECT): New macro.
20663 (DF_1_IGNMULDEF): Likewise.
20664 (DF_1_NOKSYMS): Likewise.
20665 (DF_1_NOHDR): Likewise.
20666 (DF_1_EDITED): Likewise.
20667 (DF_1_NORELOC): Likewise.
20668 (DF_1_SYMINTPOSE): Likewise.
20669 (DF_1_GLOBAUDIT): Likewise.
20670 (DF_1_SINGLETON): Likewise.
20671 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20672 DT_1_SUPPORTED_MASK bits.
20673 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20675 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20677 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20679 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20681 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20684 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20685 (sendmmsg): Move declarations...
20686 * socket/sys/socket.h: ... here.
20687 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20688 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20690 * socket/recvmmsg.c: ... this new file.
20691 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20692 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20693 definition of __sendmmsg hidden.
20694 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20695 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20696 Move ENOSYS stub into and include it from...
20697 * socket/sendmmsg.c: ... this new file.
20698 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20699 (sysdep_routines): Move recvmmsg and sendmmsg...
20700 * socket/Makefile (routines): ... here.
20701 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20702 (GLIBC_PRIVATE): Add __sendmmsg.
20703 * include/sys/socket.h (__sendmmsg): Add declarations.
20704 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20707 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20710 variable I1 with __attribute__ ((unused)).
20711 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20713 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20715 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20716 DUMMY variables with __attribute__ ((unused)).
20718 * bits/byteswap.h: Include <bits/types.h>.
20719 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20721 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20723 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20724 string_t. Do not manually set errno.
20725 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20726 length with __strnlen. Make sure to both set errno and return it on
20729 2012-11-19 David S. Miller <davem@davemloft.net>
20731 With help from Joseph Myers.
20732 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20733 very large arguments properly.
20734 * math/libm-test.inc (atan_test): New tests.
20735 (atan2_test): New tests.
20736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20739 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20742 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20745 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20746 [POSIX] (EADDRNOTAVAIL): Likewise.
20747 [POSIX] (EAFNOSUPPORT): Likewise.
20748 [POSIX] (EALREADY): Likewise.
20749 [POSIX] (ECONNABORTED): Likewise.
20750 [POSIX] (ECONNREFUSED): Likewise.
20751 [POSIX] (ECONNRESET): Likewise.
20752 [POSIX] (EDESTADDRREQ): Likewise.
20753 [POSIX] (EDQUOT): Likewise.
20754 [POSIX] (EHOSTUNREACH): Likewise.
20755 [POSIX] (EIDRM): Likewise.
20756 [POSIX] (EISCONN): Likewise.
20757 [POSIX] (ELOOP): Likewise.
20758 [POSIX] (EMULTIHOP): Likewise.
20759 [POSIX] (ENETDOWN): Likewise.
20760 [POSIX] (ENETUNREACH): Likewise.
20761 [POSIX] (ENOBUFS): Likewise.
20762 [POSIX] (ENODATA): Likewise.
20763 [POSIX] (ENOLINK): Likewise.
20764 [POSIX] (ENOMSG): Likewise.
20765 [POSIX] (ENOPROTOOPT): Likewise.
20766 [POSIX] (ENOSR): Likewise.
20767 [POSIX] (ENOSTR): Likewise.
20768 [POSIX] (ENOTCONN): Likewise.
20769 [POSIX] (ENOTSOCK): Likewise.
20770 [POSIX] (EOPNOTSUPP): Likewise.
20771 [POSIX] (EOVERFLOW): Likewise.
20772 [POSIX] (EPROTO): Likewise.
20773 [POSIX] (EPROTONOSUPPORT): Likewise.
20774 [POSIX] (EPROTOTYPE): Likewise.
20775 [POSIX] (ESTALE): Likewise.
20776 [POSIX] (ETIME): Likewise.
20777 [POSIX] (ETXTBSY): Likewise.
20778 [POSIX] (EWOULDBLOCK): Likewise.
20779 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20780 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20781 [POSIX] (SEEK_CUR): Likewise.
20782 [POSIX] (SEEK_END): Likewise.
20783 [POSIX || UNIX98] (mode_t): Do not require.
20784 [POSIX] (off_t): Likewise.
20785 [POSIX] (pid_t): Likewise.
20786 [POSIX] (sys/stat.h): Do not allow header.
20787 [POSIX] (unistd.h): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20789 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20791 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20793 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20794 sigevent): Specify elements.
20795 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20797 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20798 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20800 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20801 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20802 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20803 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20804 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20805 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20806 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20807 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20809 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20810 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20811 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20812 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20813 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20815 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20817 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20819 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20821 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20822 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20823 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20824 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20826 Specify lower bound on value.
20827 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20828 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20829 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20830 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20832 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20833 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20834 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20836 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20838 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20839 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20840 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20841 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20842 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20843 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20844 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20845 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20846 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20847 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20849 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20850 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20851 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20852 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20855 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20857 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20858 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20859 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20860 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20861 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20864 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20869 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20870 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20872 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20873 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20875 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20876 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20877 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20878 specify as optional.
20879 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20880 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20881 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20882 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20883 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20884 [XPG3] (NL_LANGMAX): Likewise.
20885 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20886 [POSIX || XPG3] (NL_NMAX): Likewise.
20887 [POSIX || XPG3] (NL_SETMAX): Likewise.
20888 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20889 [XPG3] (NZERO): Likewise.
20890 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20891 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20892 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20893 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20894 (REG_ERANGE): Expect.
20895 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20897 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20898 Use (void) in prototype.
20899 [POSIX] (*_t): Allow.
20900 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20901 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20902 (WRDE_BADVAL): Expect.
20904 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20906 [XPG3 || XPG4] (O_RSYNC): Likewise.
20907 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20909 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20910 [XPG3 || XPG4] (sigqueue): Likewise.
20911 [XPG3 || XPG4] (sigtimedwait): Likewise.
20912 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20913 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20914 [XPG3 || XPG4] (vsnprintf): Likewise.
20915 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20917 [XPG3 || XPG4] (blksize_t): Likewise.
20918 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20920 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20921 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20922 [XPG3 || XPG4] (struct itimerspec): Likewise.
20923 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20924 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20925 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20926 [XPG3 || XPG4] (clockid_t): Likewise.
20927 [XPG3 || XPG4] (timer_t): Likewise.
20928 [XPG3 || XPG4] (clock_getres): Likewise.
20929 [XPG3 || XPG4] (clock_gettime): Likewise.
20930 [XPG3 || XPG4] (clock_settime): Likewise.
20931 [XPG3 || XPG4] (nanosleep): Likewise.
20932 [XPG3 || XPG4] (timer_create): Likewise.
20933 [XPG3 || XPG4] (timer_delete): Likewise.
20934 [XPG3 || XPG4] (timer_gettime): Likewise.
20935 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20936 [XPG3 || XPG4] (timer_settime): Likewise.
20937 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20938 [XPG3 || XPG4] (getlogin_r): Likewise.
20939 [XPG3 || XPG4] (pread): Likewise.
20940 [XPG3 || XPG4] (pthread_atfork): Likewise.
20941 [XPG3 || XPG4] (pwrite): Likewise.
20944 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20947 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20949 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20950 finalizing MALLSTREAM.
20952 * sysdeps/mach/hurd/syncfs.c: New file.
20954 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20957 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20958 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20959 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20960 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20961 (_nss_dns_gethostbyname4_r): Likewise.
20962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20963 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20965 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20968 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20970 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20972 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20973 * elf/cache.c (print_entry): Print ",AArch64" for
20976 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20977 * elf/cache.c (print_entry): Print ",hard-float" for
20980 2012-11-18 David S. Miller <davem@davemloft.net>
20982 With help from Joseph Myers.
20983 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20985 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20987 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20988 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20990 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20991 * math/libm-test.inc (y0_test): New tests.
20992 (y1_test): New tests.
20993 * sysdeps/i386/fpu/libm-test-ulps: Update.
20994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20997 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20999 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21001 * configure: Regenerated.
21003 2012-11-17 David S. Miller <davem@davemloft.net>
21006 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21007 nonzero exponents with absolute value below 0x1p-128 to +/-
21010 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21012 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21014 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21016 * posix/getconf-speclist.c: New file.
21017 * posix/posix-envs.def: Likewise.
21018 * posix/confstr.c (START_ENV_GROUP): New macro.
21019 (END_ENV_GROUP): Likewise.
21020 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21021 (KNOWN_PRESENT_ENV_STRING): Likewise.
21022 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21023 (UNKNOWN_ENVIRONMENT): Likewise.
21024 (confstr): Include posix-envs.def instead of handling
21025 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21026 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21027 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21028 (END_ENV_GROUP): Likewise.
21029 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21030 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21031 (UNKNOWN_ENVIRONMENT): Likewise.
21032 (__sysconf): Include posix-envs.def instead of handling associated
21033 cases directly here.
21034 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21035 preprocessing getconf-speclist.c rather than running getconf or
21036 generating empty file.
21038 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21040 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21042 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21045 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21047 2012-11-16 David S. Miller <davem@davemloft.net>
21049 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21050 smaller than LDBL_EPSILON/2.0L, just return xm1.
21052 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21054 * elf/tst-array1.c (init): Set constructor priority to 1000.
21055 (fini): Set destructor priority to 1000.
21056 * elf/tst-array2dep.c: Likewise.
21058 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21061 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21062 (_IO_new_file_xsputn): Also return EOF if none of the input
21063 data was written when overflow failed.
21064 * libio/iopadn.c (_IO_padn): Likewise.
21065 * libio/iowpadn.c (_IO_wpadn): Likewise.
21066 * stdio-common/tst-put-error.c: Add copyright notice.
21067 (do_test): Add case for printing padded string.
21068 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21069 _IO_padn returned error.
21070 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21071 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21074 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21076 * libio/libioP.h: Add comment note that the references to C++
21077 bits are now obsolete.
21079 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21081 * math/libm-test.inc (check_complex): Use asprintf.
21083 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21085 * debug/pcprofiledump.c (print_version): Update copyright year.
21086 * malloc/memusagestat.c (print_version): Likewise.
21088 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21091 * elf/Makefile (tests): Add tst-audit8.
21092 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21093 ($(objpfx)tst-audit8.out): New target.
21094 (tst-audit8-ENV): New variable.
21095 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21096 audit if l_reloc_result is NULL.
21097 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21098 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21099 * elf/tst-audit8.c: New file.
21101 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21103 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21104 * misc/Makefile (CFLAGS-select.c): Define.
21105 * posix/Makefile (CFLAGS-pause.c): Define.
21107 2012-11-13 David S. Miller <davem@davemloft.net>
21109 * crypt/Makefile: Move test targets after toplevel Rules
21110 inclusion. Grab any necessary sysdep routines when linking.
21111 * crypt/md5.c (md5_process_block): Remove define, we will always
21112 name it __md5_process_block.
21113 (md5_finish_ctx): Update md5_process_block call.
21114 (md5_stream): Likewise.
21115 (md5_process_bytes): Likewise.
21116 (md5_process_block): Rename to __md5_process_block and move to ...
21117 * crypt/md5-block.c: ... here.
21118 * crypt/sha256.c (sha256_process_block): Move to ...
21119 * crypt/sha256-block.c: ... here.
21120 * crypt/sha512.c (sha512_process_block): Move to ...
21121 * crypt/sha512-block.c: ... here.
21122 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21124 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21125 * sysdeps/sparc/sparc64/multiarch/Makefile
21126 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21128 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21129 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21131 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21132 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21133 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21134 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21135 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21136 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21137 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21138 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21139 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21141 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21142 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21144 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21146 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21148 * timezone/tzselect.ksh: Update from tzcode git revision
21149 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21150 * timezone/zdump.c: Likewise.
21151 * timezone/zic.c: Likewise.
21152 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21153 in TZVERSION setting, not $(PKGVERSION).
21154 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21155 REPORT_BUGS_TO settings.
21158 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21161 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21163 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21164 detection to immediately after _FP_ROUND().
21165 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21168 2012-11-11 David S. Miller <davem@davemloft.net>
21170 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21172 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21173 __close rather than their public counterparts.
21175 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21177 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21179 [UNIX98] (sem_timedwait): Do not expect.
21180 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21181 [XPG4 || UNIX98] (sockatmark): Do not expect.
21182 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21183 (clock_getcpuclockid): Do not expect.
21184 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21185 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21187 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21188 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21189 [UNIX98] (vwscanf): Likewise.
21190 [UNIX98] (vswscanf): Likewise.
21192 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21194 * timezone/version.h: Remove file.
21195 * timezone/README: Do not refer to version.h.
21196 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21197 $(objpfx)version.h.
21198 ($(objpfx)zdump.o): Likewise.
21199 ($(objpfx)version.h): New target.
21201 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21203 * timezone/README: Don't mention modification to tzselect.ksh.
21204 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21205 work on unmodified tzselect.ksh. Substitute version numbers in
21208 * Makefile (format-me): Remove.
21209 (INSTALL): Adjust indentation. Use commands directly instead of
21210 using $(format-me).
21212 * aclocal.m4 (ACX_PKGVERSION): New macro.
21213 (ACX_BUGURL): Likewise.
21214 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21215 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21216 (REPORT_BUGS_TO): Likewise.
21217 * configure: Regenerated.
21218 * config.h.in (PKGVERSION): New macro.
21219 (REPORT_BUGS_TO): Likewise.
21220 * config.make.in (PKGVERSION): New variable.
21221 (PKGVERSION_TEXI): Likewise.
21222 (REPORT_BUGS_TO): Likewise.
21223 (REPORT_BUGS_TEXI): Likewise.
21224 * Makefile (format-me): Use -I$(common-objpfx)manual.
21225 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21226 ($(common-objpfx)manual/%): New target.
21227 (manual/%): Remove target.
21228 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21229 (print_version): Use PKGVERSION.
21230 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21231 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21232 and REPORT_BUGS_TO.
21233 ($(objpfx)xtrace): Likewise.
21234 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21235 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21236 (print_version): Use PKGVERSION.
21237 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21238 (do_version): Use PKGVERSION.
21239 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21241 (common-ldd-rewrite): Likewise.
21242 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21243 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21244 (print_version): Use PKGVERSION.
21245 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21246 * elf/pldd.c (argp_program_bug_address): Remove variable.
21247 (more_help): New function.
21248 (argp): Use more_help.
21249 (print_version): Use PKGVERSION.
21250 * elf/sln.c (main): Use PKGVERSION.
21251 (usage): Use REPORT_BUGS_TO.
21252 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21253 (top level): Use PKGVERSION.
21254 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21255 (print_version): Use PKGVERSION.
21256 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21257 (print_version): Use PKGVERSION.
21258 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21259 (print_version): Use PKGVERSION.
21260 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21261 (print_version): Use PKGVERSION.
21262 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21263 (print_version): Use PKGVERSION.
21264 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21265 (print_version): Use PKGVERSION.
21266 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21268 ($(objpfx)memusage): Likewise.
21269 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21270 (do_version): Use PKGVERSION.
21271 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21272 (print_version): Use PKGVERSION.
21273 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21274 ($PKGVERSION): New variable.
21275 ($REPORT_BUGS_TO): Likewise.
21276 (usage): Use $REPORT_BUGS_TO.
21277 (top level): Use $PKGVERSION.
21278 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21279 ($(objpfx)pkgvers.texi): New rule.
21280 ($(objpfx)stamp-pkgvers): Likewise.
21281 * manual/install.texi: Include pkgvers.texi.
21282 (--with-pkgversion): Document new configure option.
21283 (--with-bugurl): Likewise.
21284 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21285 than necessarily for this particular distribution. Use
21286 REPORT_BUGS_TO for where to report bugs.
21287 * INSTALL: Regenerated.
21288 * manual/libc.texinfo: Include pkgvers.texi.
21289 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21290 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21291 (print_version): Use PKGVERSION.
21292 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21293 (print_version): Use PKGVERSION.
21294 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21295 (print_version): Use PKGVERSION.
21296 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21297 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21299 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21300 (print_version): Use PKGVERSION.
21301 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21302 (print_version): Use PKGVERSION.
21303 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21306 * timezone/checktab.awk: Update from tzcode 2012i.
21307 * timezone/ialloc.c: Likewise.
21308 * timezone/private.h: Likewise.
21309 * timezone/scheck.c: Likewise.
21310 * timezone/tzfile.h: Likewise.
21311 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21312 (TZVERSION): Hardcode tzcode version number.
21313 * timezone/zdump.c: Update from tzcode 2012i.
21314 * timezone/zic.c: Likewise.
21315 * timezone/version.h: New file.
21316 * timezone/README: Describe version.h. Update upstream location.
21319 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21320 (mktemp): Enable declaration.
21321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21323 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21338 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21339 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21340 for copies of such integer values.
21341 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21342 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21344 2012-11-09 Andreas Jaeger <aj@suse.de>
21346 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21347 definitions and declarations that are provided by
21348 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21350 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21352 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21353 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21354 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21357 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21359 * elf/elf.h: Update comment before AArch64 relocations.
21361 2012-11-07 David S. Miller <davem@davemloft.net>
21363 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21364 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21365 (__start_context): Declare.
21366 (__makecontext_ret): Delete.
21367 (__makecontext): Hook up __start_context instead of
21369 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21370 (sysdep_routines): Add __start_context when in stdlib.
21372 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21374 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21375 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21376 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21378 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21379 (READELF): New variable. Use it instead of hardcoded "readelf".
21381 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21383 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21384 * sysdeps/x86/Makefile: Here.
21385 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21386 * sysdeps/x86/tst-xmmymm.sh: This.
21388 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21390 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21392 [UNIX98] (pthread_barrier_t): Do not expect.
21393 [UNIX98] (pthread_barrierattr_t): Likewise.
21394 [UNIX98] (pthread_spinlock_t): Likewise.
21395 [UNIX98] (pthread_barrier_destroy): Likewise.
21396 [UNIX98] (pthread_barrier_init): Likewise.
21397 [UNIX98] (pthread_barrier_wait): Likewise.
21398 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21399 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21400 [UNIX98] (pthread_barrierattr_init): Likewise.
21401 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21402 [UNIX98] (pthread_getcpuclockid): Likewise.
21403 [UNIX98] (pthread_mutex_timedlock): Likewise.
21404 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21405 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21406 [UNIX98] (pthread_sigmask): Likewise.
21407 [UNIX98] (pthread_spin_destroy): Likewise.
21408 [UNIX98] (pthread_spin_init): Likewise.
21409 [UNIX98] (pthread_spin_lock): Likewise.
21410 [UNIX98] (pthread_spin_trylock): Likewise.
21411 [UNIX98] (pthread_spin_unlock): Likewise.
21412 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21414 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21415 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21416 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21417 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21418 [XPG3 || XPG4] (pthread_key_t): Likewise.
21419 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21420 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21421 [XPG3 || XPG4] (pthread_once_t): Likewise.
21422 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21423 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21424 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21425 [XPG3 || XPG4] (pthread_t): Likewise.
21427 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21429 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21431 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21432 Change function return type to int.
21434 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21435 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21436 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21437 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21438 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21439 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21440 [!POSIX] (posix_madvise): Likewise.
21441 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21443 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21444 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21445 (mode_t): Likewise.
21446 (posix_mem_offset): Likewise.
21447 (posix_typed_mem_get_info): Likewise.
21448 (posix_typed_mem_open): Likewise.
21450 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21451 Change condition to [XOPEN2K8].
21453 * conform/conformtest.pl: Preprocess allow-header data with -x c
21454 instead of from stdin.
21455 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21456 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21457 [C99-based standards] (cerfc): Likewise.
21458 [C99-based standards] (cexp2): Likewise.
21459 [C99-based standards] (cexpm1): Likewise.
21460 [C99-based standards] (clog10): Likewise.
21461 [C99-based standards] (clog1p): Likewise.
21462 [C99-based standards] (clog2): Likewise.
21463 [C99-based standards] (clgamma): Likewise.
21464 [C99-based standards] (ctgamma): Likewise.
21465 [C99-based standards] (cerff): Likewise.
21466 [C99-based standards] (cerfcf): Likewise.
21467 [C99-based standards] (cexp2f): Likewise.
21468 [C99-based standards] (cexpm1f): Likewise.
21469 [C99-based standards] (clog10f): Likewise.
21470 [C99-based standards] (clog1pf): Likewise.
21471 [C99-based standards] (clog2f): Likewise.
21472 [C99-based standards] (clgammaf): Likewise.
21473 [C99-based standards] (ctgammaf): Likewise.
21474 [C99-based standards] (cerfl): Likewise.
21475 [C99-based standards] (cerfcl): Likewise.
21476 [C99-based standards] (cexp2l): Likewise.
21477 [C99-based standards] (cexpm1l): Likewise.
21478 [C99-based standards] (clog10l): Likewise.
21479 [C99-based standards] (clog1pl): Likewise.
21480 [C99-based standards] (clog2l): Likewise.
21481 [C99-based standards] (clgammal): Likewise.
21482 [C99-based standards] (ctgammal): Likewise.
21483 * conform/data/inttypes.h-data [C99-based standards]: Include
21484 stdint.h-data. Remove all expectations for stdint.h contents.
21485 [C99-based standards] (PRI*): Do not allow.
21486 [C99-based standards] (SCN*): Likewise.
21487 [C99-based standards] (*_t): Likewise.
21488 [C99-based-standards] (PRId8): Expect macro.
21489 [C99-based-standards] (PRIi8): Likewise.
21490 [C99-based-standards] (PRIo8): Likewise.
21491 [C99-based-standards] (PRIu8): Likewise.
21492 [C99-based-standards] (PRIx8): Likewise.
21493 [C99-based-standards] (PRIX8): Likewise.
21494 [C99-based-standards] (SCNd8): Likewise.
21495 [C99-based-standards] (SCNi8): Likewise.
21496 [C99-based-standards] (SCNo8): Likewise.
21497 [C99-based-standards] (SCNu8): Likewise.
21498 [C99-based-standards] (SCNx8): Likewise.
21499 [C99-based-standards] (PRIdLEAST8): Likewise.
21500 [C99-based-standards] (PRIiLEAST8): Likewise.
21501 [C99-based-standards] (PRIoLEAST8): Likewise.
21502 [C99-based-standards] (PRIuLEAST8): Likewise.
21503 [C99-based-standards] (PRIxLEAST8): Likewise.
21504 [C99-based-standards] (PRIXLEAST8): Likewise.
21505 [C99-based-standards] (SCNdLEAST8): Likewise.
21506 [C99-based-standards] (SCNiLEAST8): Likewise.
21507 [C99-based-standards] (SCNoLEAST8): Likewise.
21508 [C99-based-standards] (SCNuLEAST8): Likewise.
21509 [C99-based-standards] (SCNxLEAST8): Likewise.
21510 [C99-based-standards] (PRIdFAST8): Likewise.
21511 [C99-based-standards] (PRIiFAST8): Likewise.
21512 [C99-based-standards] (PRIoFAST8): Likewise.
21513 [C99-based-standards] (PRIuFAST8): Likewise.
21514 [C99-based-standards] (PRIxFAST8): Likewise.
21515 [C99-based-standards] (PRIXFAST8): Likewise.
21516 [C99-based-standards] (SCNdFAST8): Likewise.
21517 [C99-based-standards] (SCNiFAST8): Likewise.
21518 [C99-based-standards] (SCNoFAST8): Likewise.
21519 [C99-based-standards] (SCNuFAST8): Likewise.
21520 [C99-based-standards] (SCNxFAST8): Likewise.
21521 [C99-based-standards] (PRId16): Likewise.
21522 [C99-based-standards] (PRIi16): Likewise.
21523 [C99-based-standards] (PRIo16): Likewise.
21524 [C99-based-standards] (PRIu16): Likewise.
21525 [C99-based-standards] (PRIx16): Likewise.
21526 [C99-based-standards] (PRIX16): Likewise.
21527 [C99-based-standards] (SCNd16): Likewise.
21528 [C99-based-standards] (SCNi16): Likewise.
21529 [C99-based-standards] (SCNo16): Likewise.
21530 [C99-based-standards] (SCNu16): Likewise.
21531 [C99-based-standards] (SCNx16): Likewise.
21532 [C99-based-standards] (PRIdLEAST16): Likewise.
21533 [C99-based-standards] (PRIiLEAST16): Likewise.
21534 [C99-based-standards] (PRIoLEAST16): Likewise.
21535 [C99-based-standards] (PRIuLEAST16): Likewise.
21536 [C99-based-standards] (PRIxLEAST16): Likewise.
21537 [C99-based-standards] (PRIXLEAST16): Likewise.
21538 [C99-based-standards] (SCNdLEAST16): Likewise.
21539 [C99-based-standards] (SCNiLEAST16): Likewise.
21540 [C99-based-standards] (SCNoLEAST16): Likewise.
21541 [C99-based-standards] (SCNuLEAST16): Likewise.
21542 [C99-based-standards] (SCNxLEAST16): Likewise.
21543 [C99-based-standards] (PRIdFAST16): Likewise.
21544 [C99-based-standards] (PRIiFAST16): Likewise.
21545 [C99-based-standards] (PRIoFAST16): Likewise.
21546 [C99-based-standards] (PRIuFAST16): Likewise.
21547 [C99-based-standards] (PRIxFAST16): Likewise.
21548 [C99-based-standards] (PRIXFAST16): Likewise.
21549 [C99-based-standards] (SCNdFAST16): Likewise.
21550 [C99-based-standards] (SCNiFAST16): Likewise.
21551 [C99-based-standards] (SCNoFAST16): Likewise.
21552 [C99-based-standards] (SCNuFAST16): Likewise.
21553 [C99-based-standards] (SCNxFAST16): Likewise.
21554 [C99-based-standards] (PRId32): Likewise.
21555 [C99-based-standards] (PRIi32): Likewise.
21556 [C99-based-standards] (PRIo32): Likewise.
21557 [C99-based-standards] (PRIu32): Likewise.
21558 [C99-based-standards] (PRIx32): Likewise.
21559 [C99-based-standards] (PRIX32): Likewise.
21560 [C99-based-standards] (SCNd32): Likewise.
21561 [C99-based-standards] (SCNi32): Likewise.
21562 [C99-based-standards] (SCNo32): Likewise.
21563 [C99-based-standards] (SCNu32): Likewise.
21564 [C99-based-standards] (SCNx32): Likewise.
21565 [C99-based-standards] (PRIdLEAST32): Likewise.
21566 [C99-based-standards] (PRIiLEAST32): Likewise.
21567 [C99-based-standards] (PRIoLEAST32): Likewise.
21568 [C99-based-standards] (PRIuLEAST32): Likewise.
21569 [C99-based-standards] (PRIxLEAST32): Likewise.
21570 [C99-based-standards] (PRIXLEAST32): Likewise.
21571 [C99-based-standards] (SCNdLEAST32): Likewise.
21572 [C99-based-standards] (SCNiLEAST32): Likewise.
21573 [C99-based-standards] (SCNoLEAST32): Likewise.
21574 [C99-based-standards] (SCNuLEAST32): Likewise.
21575 [C99-based-standards] (SCNxLEAST32): Likewise.
21576 [C99-based-standards] (PRIdFAST32): Likewise.
21577 [C99-based-standards] (PRIiFAST32): Likewise.
21578 [C99-based-standards] (PRIoFAST32): Likewise.
21579 [C99-based-standards] (PRIuFAST32): Likewise.
21580 [C99-based-standards] (PRIxFAST32): Likewise.
21581 [C99-based-standards] (PRIXFAST32): Likewise.
21582 [C99-based-standards] (SCNdFAST32): Likewise.
21583 [C99-based-standards] (SCNiFAST32): Likewise.
21584 [C99-based-standards] (SCNoFAST32): Likewise.
21585 [C99-based-standards] (SCNuFAST32): Likewise.
21586 [C99-based-standards] (SCNxFAST32): Likewise.
21587 [C99-based-standards] (PRId64): Likewise.
21588 [C99-based-standards] (PRIi64): Likewise.
21589 [C99-based-standards] (PRIo64): Likewise.
21590 [C99-based-standards] (PRIu64): Likewise.
21591 [C99-based-standards] (PRIx64): Likewise.
21592 [C99-based-standards] (PRIX64): Likewise.
21593 [C99-based-standards] (SCNd64): Likewise.
21594 [C99-based-standards] (SCNi64): Likewise.
21595 [C99-based-standards] (SCNo64): Likewise.
21596 [C99-based-standards] (SCNu64): Likewise.
21597 [C99-based-standards] (SCNx64): Likewise.
21598 [C99-based-standards] (PRIdLEAST64): Likewise.
21599 [C99-based-standards] (PRIiLEAST64): Likewise.
21600 [C99-based-standards] (PRIoLEAST64): Likewise.
21601 [C99-based-standards] (PRIuLEAST64): Likewise.
21602 [C99-based-standards] (PRIxLEAST64): Likewise.
21603 [C99-based-standards] (PRIXLEAST64): Likewise.
21604 [C99-based-standards] (SCNdLEAST64): Likewise.
21605 [C99-based-standards] (SCNiLEAST64): Likewise.
21606 [C99-based-standards] (SCNoLEAST64): Likewise.
21607 [C99-based-standards] (SCNuLEAST64): Likewise.
21608 [C99-based-standards] (SCNxLEAST64): Likewise.
21609 [C99-based-standards] (PRIdFAST64): Likewise.
21610 [C99-based-standards] (PRIiFAST64): Likewise.
21611 [C99-based-standards] (PRIoFAST64): Likewise.
21612 [C99-based-standards] (PRIuFAST64): Likewise.
21613 [C99-based-standards] (PRIxFAST64): Likewise.
21614 [C99-based-standards] (PRIXFAST64): Likewise.
21615 [C99-based-standards] (SCNdFAST64): Likewise.
21616 [C99-based-standards] (SCNiFAST64): Likewise.
21617 [C99-based-standards] (SCNoFAST64): Likewise.
21618 [C99-based-standards] (SCNuFAST64): Likewise.
21619 [C99-based-standards] (SCNxFAST64): Likewise.
21620 [C99-based-standards] (PRIdMAX): Likewise.
21621 [C99-based-standards] (PRIiMAX): Likewise.
21622 [C99-based-standards] (PRIoMAX): Likewise.
21623 [C99-based-standards] (PRIuMAX): Likewise.
21624 [C99-based-standards] (PRIxMAX): Likewise.
21625 [C99-based-standards] (PRIXMAX): Likewise.
21626 [C99-based-standards] (SCNdMAX): Likewise.
21627 [C99-based-standards] (SCNiMAX): Likewise.
21628 [C99-based-standards] (SCNoMAX): Likewise.
21629 [C99-based-standards] (SCNuMAX): Likewise.
21630 [C99-based-standards] (SCNxMAX): Likewise.
21631 [C99-based-standards] (PRIdPTR): Likewise.
21632 [C99-based-standards] (PRIiPTR): Likewise.
21633 [C99-based-standards] (PRIoPTR): Likewise.
21634 [C99-based-standards] (PRIuPTR): Likewise.
21635 [C99-based-standards] (PRIxPTR): Likewise.
21636 [C99-based-standards] (PRIXPTR): Likewise.
21637 [C99-based-standards] (SCNdPTR): Likewise.
21638 [C99-based-standards] (SCNiPTR): Likewise.
21639 [C99-based-standards] (SCNoPTR): Likewise.
21640 [C99-based-standards] (SCNuPTR): Likewise.
21641 [C99-based-standards] (SCNxPTR): Likewise.
21642 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21644 * conform/data/stdint.h-data: Update comments to clarify
21646 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21648 [C99-based standards] (INT8_MAX): Likewise.
21649 [C99-based standards] (INT16_MIN): Likewise.
21650 [C99-based standards] (INT16_MAX): Likewise.
21651 [C99-based standards] (INT32_MIN): Likewise.
21652 [C99-based standards] (INT32_MAX): Likewise.
21653 [C99-based standards] (INT64_MIN): Likewise.
21654 [C99-based standards] (INT64_MAX): Likewise.
21655 [C99-based standards] (UINT8_MAX): Likewise.
21656 [C99-based standards] (UINT16_MAX): Likewise.
21657 [C99-based standards] (UINT32_MAX): Likewise.
21658 [C99-based standards] (UINT64_MAX): Likewise.
21659 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21660 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21661 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21662 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21663 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21664 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21665 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21666 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21667 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21668 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21669 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21670 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21671 [C99-based standards] (INT_FAST8_MIN): Likewise.
21672 [C99-based standards] (INT_FAST8_MAX): Likewise.
21673 [C99-based standards] (INT_FAST16_MIN): Likewise.
21674 [C99-based standards] (INT_FAST16_MAX): Likewise.
21675 [C99-based standards] (INT_FAST32_MIN): Likewise.
21676 [C99-based standards] (INT_FAST32_MAX): Likewise.
21677 [C99-based standards] (INT_FAST64_MIN): Likewise.
21678 [C99-based standards] (INT_FAST64_MAX): Likewise.
21679 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21680 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21681 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21682 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21683 [C99-based standards] (INTPTR_MIN): Likewise.
21684 [C99-based standards] (INTPTR_MAX): Likewise.
21685 [C99-based standards] (UINTPTR_MAX): Likewise.
21686 [C99-based standards] (INTMAX_MIN): Likewise.
21687 [C99-based standards] (INTMAX_MAX): Likewise.
21688 [C99-based standards] (UINTMAX_MAX): Likewise.
21689 [C99-based standards] (PTRDIFF_MIN): Likewise.
21690 [C99-based standards] (PTRDIFF_MAX): Likewise.
21691 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21692 [C99-based standards] (SIZE_MAX): Likewise.
21693 [C99-based standards] (WCHAR_MAX): Likewise.
21694 [C99-based standards] (WINT_MAX): Likewise.
21695 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21696 constraint on value.
21697 [C99-based standards] (WCHAR_MIN): Likewise.
21698 [C99-based standards] (WINT_MIN): Likewise.
21699 [C99-based standards] (*_t): Allow.
21700 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21701 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21702 Include math.h-data and complex.h-data. Remove all expectations
21703 of math.h and complex.h contents.
21704 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21706 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21707 (struct tm): Expect tag.
21708 [C99-based-standards] (wcstof): Expect function.
21709 [C99-based-standards] (wcstold): Likewise.
21710 [C99-based-standards] (wcstoll): Likewise.
21711 [C99-based-standards] (wcstoull): Likewise.
21712 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21713 macro-int-constant. Specify type.
21714 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21715 constraint on value.
21716 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21718 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21720 [ISO C standards]: Do not allow headers.
21721 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21722 wcs[abcdefghijklmnopqrstuvwxyz]*.
21723 [ISO C standards] (*_t): Do not allow.
21724 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21726 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21727 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21729 [ISO C standards]: Do not allow headers.
21730 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21731 is[abcdefghijklmnopqrstuvwxyz]*.
21732 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21733 to[abcdefghijklmnopqrstuvwxyz]*.
21734 [ISO C standards] (*_t): Do not allow.
21735 * conform/data/stdalign.h-data: New file.
21736 * conform/data/stdbool.h-data: Likewise.
21737 * conform/data/stdnoreturn.h-data: Likewise.
21739 2012-11-07 Roland McGrath <roland@hack.frob.com>
21742 * manual/filesys.texi (Directory Entries): Typo fix.
21743 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21745 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21747 * elf/elf.h (EM_AARCH64): New macro.
21748 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21749 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21750 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21751 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21752 (R_AARCH64_TLSDESC): Likewise.
21753 (NT_ARM_TLS): Likewise.
21754 (NT_ARM_HW_BREAK): Likewise.
21755 (NT_ARM_HW_WATCH): Likewise.
21757 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21760 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21761 (__ieee754_powl): Saturate nonzero exponents with absolute value
21762 below 0x1p-79 to +/- 0x1p-79.
21763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21764 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21765 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21766 nonzero exponents with absolute value below 0x1p-32 to +/-
21768 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21769 (__ieee754_powl): Saturate nonzero exponents with absolute value
21770 below 0x1p-79 to +/- 0x1p-79.
21771 * math/libm-test.inc (pow_test): Add more tests.
21773 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21775 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21776 _dl_s390_cap_flags with kernel. Increase string length.
21777 (_dl_s390_platforms): Add z196 and zEC12.
21779 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21781 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21782 Change XOPEN21K to XOPEN2K.
21784 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21786 * string/memmove.c: Use memcpy when possible.
21788 2012-11-06 Andreas Jaeger <aj@suse.de>
21790 * po/eo.po: Update from translation team.
21792 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21796 exponent and small x and y exponents, scale x or y up. Increase
21797 by 2 the exponent used in scaling up.
21798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21800 * math/libm-test.inc (fma_test): Add more tests.
21801 (fma_test_towardzero): Likewise.
21802 (fma_test_downward): Likewise.
21803 (fma_test_upward): Likewise.
21805 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21808 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21812 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21813 namespace for names of struct fields.
21814 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21816 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21817 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21819 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21822 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21824 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21826 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21830 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21833 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21837 definitely overflow as x * y not x * y + z.
21838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21840 * math/libm-test.inc (fma_test): Add more tests.
21841 (fma_test_towardzero): Likewise.
21842 (fma_test_downward): Likewise.
21843 (fma_test_upward): Likewise.
21845 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21849 * include/stub-tag.h: Remove file.
21850 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21852 * manual/maint.texi (Porting): Don't reference it.
21853 * Makerules ($(objpfx)stubs): Likewise.
21854 * dirent/closedir.c: Don't include <stub-tag.h>.
21855 * dirent/dirfd.c: Likewise.
21856 * dirent/fdopendir.c: Likewise.
21857 * dirent/getdents.c: Likewise.
21858 * dirent/getdents64.c: Likewise.
21859 * dirent/opendir.c: Likewise.
21860 * dirent/readdir.c: Likewise.
21861 * dirent/readdir64.c: Likewise.
21862 * dirent/readdir64_r.c: Likewise.
21863 * dirent/readdir_r.c: Likewise.
21864 * dirent/rewinddir.c: Likewise.
21865 * dirent/seekdir.c: Likewise.
21866 * dirent/telldir.c: Likewise.
21867 * gmon/profil.c: Likewise.
21868 * grp/setgroups.c: Likewise.
21869 * inet/if_index.c: Likewise.
21870 * io/access.c: Likewise.
21871 * io/chdir.c: Likewise.
21872 * io/chmod.c: Likewise.
21873 * io/chown.c: Likewise.
21874 * io/close.c: Likewise.
21875 * io/dup.c: Likewise.
21876 * io/dup2.c: Likewise.
21877 * io/dup3.c: Likewise.
21878 * io/euidaccess.c: Likewise.
21879 * io/faccessat.c: Likewise.
21880 * io/fchdir.c: Likewise.
21881 * io/fchmod.c: Likewise.
21882 * io/fchmodat.c: Likewise.
21883 * io/fchown.c: Likewise.
21884 * io/fchownat.c: Likewise.
21885 * io/fcntl.c: Likewise.
21886 * io/flock.c: Likewise.
21887 * io/fstatfs.c: Likewise.
21888 * io/fstatfs64.c: Likewise.
21889 * io/fstatvfs.c: Likewise.
21890 * io/fstatvfs64.c: Likewise.
21891 * io/futimens.c: Likewise.
21892 * io/fxstat.c: Likewise.
21893 * io/fxstat64.c: Likewise.
21894 * io/fxstatat.c: Likewise.
21895 * io/fxstatat64.c: Likewise.
21896 * io/getcwd.c: Likewise.
21897 * io/isatty.c: Likewise.
21898 * io/lchmod.c: Likewise.
21899 * io/lchown.c: Likewise.
21900 * io/link.c: Likewise.
21901 * io/linkat.c: Likewise.
21902 * io/lseek.c: Likewise.
21903 * io/lseek64.c: Likewise.
21904 * io/lxstat64.c: Likewise.
21905 * io/mkdir.c: Likewise.
21906 * io/mkdirat.c: Likewise.
21907 * io/mkfifo.c: Likewise.
21908 * io/mkfifoat.c: Likewise.
21909 * io/open.c: Likewise.
21910 * io/open64.c: Likewise.
21911 * io/openat.c: Likewise.
21912 * io/openat64.c: Likewise.
21913 * io/pipe.c: Likewise.
21914 * io/pipe2.c: Likewise.
21915 * io/poll.c: Likewise.
21916 * io/posix_fadvise.c: Likewise.
21917 * io/posix_fadvise64.c: Likewise.
21918 * io/posix_fallocate.c: Likewise.
21919 * io/posix_fallocate64.c: Likewise.
21920 * io/read.c: Likewise.
21921 * io/readlink.c: Likewise.
21922 * io/readlinkat.c: Likewise.
21923 * io/rmdir.c: Likewise.
21924 * io/sendfile.c: Likewise.
21925 * io/sendfile64.c: Likewise.
21926 * io/statfs.c: Likewise.
21927 * io/statfs64.c: Likewise.
21928 * io/statvfs.c: Likewise.
21929 * io/statvfs64.c: Likewise.
21930 * io/symlink.c: Likewise.
21931 * io/symlinkat.c: Likewise.
21932 * io/ttyname.c: Likewise.
21933 * io/ttyname_r.c: Likewise.
21934 * io/umask.c: Likewise.
21935 * io/unlink.c: Likewise.
21936 * io/unlinkat.c: Likewise.
21937 * io/utime.c: Likewise.
21938 * io/utimensat.c: Likewise.
21939 * io/write.c: Likewise.
21940 * io/xmknod.c: Likewise.
21941 * io/xmknodat.c: Likewise.
21942 * io/xstat.c: Likewise.
21943 * io/xstat64.c: Likewise.
21944 * login/getpt.c: Likewise.
21945 * login/grantpt.c: Likewise.
21946 * login/unlockpt.c: Likewise.
21947 * math/e_acoshl.c: Likewise.
21948 * math/e_acosl.c: Likewise.
21949 * math/e_asinl.c: Likewise.
21950 * math/e_atan2l.c: Likewise.
21951 * math/e_atanhl.c: Likewise.
21952 * math/e_coshl.c: Likewise.
21953 * math/e_expl.c: Likewise.
21954 * math/e_fmodl.c: Likewise.
21955 * math/e_gammal_r.c: Likewise.
21956 * math/e_hypotl.c: Likewise.
21957 * math/e_j0l.c: Likewise.
21958 * math/e_j1l.c: Likewise.
21959 * math/e_jnl.c: Likewise.
21960 * math/e_lgammal_r.c: Likewise.
21961 * math/e_log10l.c: Likewise.
21962 * math/e_log2l.c: Likewise.
21963 * math/e_logl.c: Likewise.
21964 * math/e_powl.c: Likewise.
21965 * math/e_rem_pio2l.c: Likewise.
21966 * math/e_sinhl.c: Likewise.
21967 * math/e_sqrtl.c: Likewise.
21968 * math/fclrexcpt.c: Likewise.
21969 * math/fedisblxcpt.c: Likewise.
21970 * math/feenablxcpt.c: Likewise.
21971 * math/fegetenv.c: Likewise.
21972 * math/fegetexcept.c: Likewise.
21973 * math/fegetround.c: Likewise.
21974 * math/feholdexcpt.c: Likewise.
21975 * math/fesetenv.c: Likewise.
21976 * math/fesetround.c: Likewise.
21977 * math/feupdateenv.c: Likewise.
21978 * math/fgetexcptflg.c: Likewise.
21979 * math/fraiseexcpt.c: Likewise.
21980 * math/fsetexcptflg.c: Likewise.
21981 * math/ftestexcept.c: Likewise.
21982 * math/k_cosl.c: Likewise.
21983 * math/k_rem_pio2l.c: Likewise.
21984 * math/k_sinl.c: Likewise.
21985 * math/k_tanl.c: Likewise.
21986 * math/s_asinhl.c: Likewise.
21987 * math/s_atanl.c: Likewise.
21988 * math/s_cbrtl.c: Likewise.
21989 * math/s_erfl.c: Likewise.
21990 * math/s_expm1l.c: Likewise.
21991 * math/s_log1pl.c: Likewise.
21992 * math/s_tanhl.c: Likewise.
21993 * misc/acct.c: Likewise.
21994 * misc/brk.c: Likewise.
21995 * misc/chflags.c: Likewise.
21996 * misc/chroot.c: Likewise.
21997 * misc/fchflags.c: Likewise.
21998 * misc/fgetxattr.c: Likewise.
21999 * misc/flistxattr.c: Likewise.
22000 * misc/fremovexattr.c: Likewise.
22001 * misc/fsetxattr.c: Likewise.
22002 * misc/fsync.c: Likewise.
22003 * misc/ftruncate.c: Likewise.
22004 * misc/futimes.c: Likewise.
22005 * misc/futimesat.c: Likewise.
22006 * misc/getdomain.c: Likewise.
22007 * misc/getdtsz.c: Likewise.
22008 * misc/gethostid.c: Likewise.
22009 * misc/gethostname.c: Likewise.
22010 * misc/getloadavg.c: Likewise.
22011 * misc/getpagesize.c: Likewise.
22012 * misc/getsysstats.c: Likewise.
22013 * misc/getxattr.c: Likewise.
22014 * misc/gtty.c: Likewise.
22015 * misc/ioctl.c: Likewise.
22016 * misc/lgetxattr.c: Likewise.
22017 * misc/listxattr.c: Likewise.
22018 * misc/llistxattr.c: Likewise.
22019 * misc/lremovexattr.c: Likewise.
22020 * misc/lsetxattr.c: Likewise.
22021 * misc/lutimes.c: Likewise.
22022 * misc/madvise.c: Likewise.
22023 * misc/mincore.c: Likewise.
22024 * misc/mlock.c: Likewise.
22025 * misc/mlockall.c: Likewise.
22026 * misc/mmap.c: Likewise.
22027 * misc/mprotect.c: Likewise.
22028 * misc/msync.c: Likewise.
22029 * misc/munlock.c: Likewise.
22030 * misc/munlockall.c: Likewise.
22031 * misc/munmap.c: Likewise.
22032 * misc/preadv.c: Likewise.
22033 * misc/preadv64.c: Likewise.
22034 * misc/ptrace.c: Likewise.
22035 * misc/pwritev.c: Likewise.
22036 * misc/pwritev64.c: Likewise.
22037 * misc/readv.c: Likewise.
22038 * misc/reboot.c: Likewise.
22039 * misc/remap_file_pages.c: Likewise.
22040 * misc/removexattr.c: Likewise.
22041 * misc/revoke.c: Likewise.
22042 * misc/select.c: Likewise.
22043 * misc/setdomain.c: Likewise.
22044 * misc/setegid.c: Likewise.
22045 * misc/seteuid.c: Likewise.
22046 * misc/sethostid.c: Likewise.
22047 * misc/sethostname.c: Likewise.
22048 * misc/setregid.c: Likewise.
22049 * misc/setreuid.c: Likewise.
22050 * misc/setxattr.c: Likewise.
22051 * misc/sstk.c: Likewise.
22052 * misc/stty.c: Likewise.
22053 * misc/swapoff.c: Likewise.
22054 * misc/swapon.c: Likewise.
22055 * misc/sync.c: Likewise.
22056 * misc/syncfs.c: Likewise.
22057 * misc/syscall.c: Likewise.
22058 * misc/truncate.c: Likewise.
22059 * misc/ualarm.c: Likewise.
22060 * misc/usleep.c: Likewise.
22061 * misc/ustat.c: Likewise.
22062 * misc/utimes.c: Likewise.
22063 * misc/vhangup.c: Likewise.
22064 * misc/writev.c: Likewise.
22065 * posix/_exit.c: Likewise.
22066 * posix/alarm.c: Likewise.
22067 * posix/execve.c: Likewise.
22068 * posix/fexecve.c: Likewise.
22069 * posix/fork.c: Likewise.
22070 * posix/fpathconf.c: Likewise.
22071 * posix/getaddrinfo.c: Likewise.
22072 * posix/getegid.c: Likewise.
22073 * posix/geteuid.c: Likewise.
22074 * posix/getgid.c: Likewise.
22075 * posix/getgroups.c: Likewise.
22076 * posix/getlogin.c: Likewise.
22077 * posix/getlogin_r.c: Likewise.
22078 * posix/getpgid.c: Likewise.
22079 * posix/getpid.c: Likewise.
22080 * posix/getppid.c: Likewise.
22081 * posix/getresgid.c: Likewise.
22082 * posix/getresuid.c: Likewise.
22083 * posix/getsid.c: Likewise.
22084 * posix/getuid.c: Likewise.
22085 * posix/glob64.c: Likewise.
22086 * posix/nanosleep.c: Likewise.
22087 * posix/pathconf.c: Likewise.
22088 * posix/pause.c: Likewise.
22089 * posix/posix_madvise.c: Likewise.
22090 * posix/pread.c: Likewise.
22091 * posix/pread64.c: Likewise.
22092 * posix/pwrite.c: Likewise.
22093 * posix/pwrite64.c: Likewise.
22094 * posix/sched_getaffinity.c: Likewise.
22095 * posix/sched_getp.c: Likewise.
22096 * posix/sched_gets.c: Likewise.
22097 * posix/sched_primax.c: Likewise.
22098 * posix/sched_primin.c: Likewise.
22099 * posix/sched_rr_gi.c: Likewise.
22100 * posix/sched_setaffinity.c: Likewise.
22101 * posix/sched_setp.c: Likewise.
22102 * posix/sched_sets.c: Likewise.
22103 * posix/sched_yield.c: Likewise.
22104 * posix/setgid.c: Likewise.
22105 * posix/setlogin.c: Likewise.
22106 * posix/setpgid.c: Likewise.
22107 * posix/setresgid.c: Likewise.
22108 * posix/setresuid.c: Likewise.
22109 * posix/setsid.c: Likewise.
22110 * posix/setuid.c: Likewise.
22111 * posix/sleep.c: Likewise.
22112 * posix/spawni.c: Likewise.
22113 * posix/sysconf.c: Likewise.
22114 * posix/times.c: Likewise.
22115 * posix/wait.c: Likewise.
22116 * posix/wait3.c: Likewise.
22117 * posix/wait4.c: Likewise.
22118 * posix/waitpid.c: Likewise.
22119 * resolv/gai_sigqueue.c: Likewise.
22120 * resource/getpriority.c: Likewise.
22121 * resource/getrlimit.c: Likewise.
22122 * resource/getrusage.c: Likewise.
22123 * resource/nice.c: Likewise.
22124 * resource/setpriority.c: Likewise.
22125 * resource/setrlimit.c: Likewise.
22126 * resource/ulimit.c: Likewise.
22127 * rt/aio_cancel.c: Likewise.
22128 * rt/aio_fsync.c: Likewise.
22129 * rt/aio_read.c: Likewise.
22130 * rt/aio_sigqueue.c: Likewise.
22131 * rt/aio_suspend.c: Likewise.
22132 * rt/aio_write.c: Likewise.
22133 * rt/clock_getres.c: Likewise.
22134 * rt/clock_gettime.c: Likewise.
22135 * rt/clock_nanosleep.c: Likewise.
22136 * rt/clock_settime.c: Likewise.
22137 * rt/lio_listio.c: Likewise.
22138 * rt/mq_close.c: Likewise.
22139 * rt/mq_getattr.c: Likewise.
22140 * rt/mq_notify.c: Likewise.
22141 * rt/mq_open.c: Likewise.
22142 * rt/mq_receive.c: Likewise.
22143 * rt/mq_send.c: Likewise.
22144 * rt/mq_setattr.c: Likewise.
22145 * rt/mq_timedreceive.c: Likewise.
22146 * rt/mq_timedsend.c: Likewise.
22147 * rt/mq_unlink.c: Likewise.
22148 * rt/shm_open.c: Likewise.
22149 * rt/shm_unlink.c: Likewise.
22150 * rt/timer_create.c: Likewise.
22151 * rt/timer_delete.c: Likewise.
22152 * rt/timer_getoverr.c: Likewise.
22153 * rt/timer_gettime.c: Likewise.
22154 * rt/timer_settime.c: Likewise.
22155 * setjmp/__longjmp.c: Likewise.
22156 * setjmp/setjmp.c: Likewise.
22157 * signal/kill.c: Likewise.
22158 * signal/killpg.c: Likewise.
22159 * signal/raise.c: Likewise.
22160 * signal/sigaction.c: Likewise.
22161 * signal/sigaltstack.c: Likewise.
22162 * signal/sigblock.c: Likewise.
22163 * signal/sigignore.c: Likewise.
22164 * signal/sigintr.c: Likewise.
22165 * signal/signal.c: Likewise.
22166 * signal/sigpause.c: Likewise.
22167 * signal/sigpending.c: Likewise.
22168 * signal/sigqueue.c: Likewise.
22169 * signal/sigreturn.c: Likewise.
22170 * signal/sigset.c: Likewise.
22171 * signal/sigsetmask.c: Likewise.
22172 * signal/sigstack.c: Likewise.
22173 * signal/sigsuspend.c: Likewise.
22174 * signal/sigtimedwait.c: Likewise.
22175 * signal/sigvec.c: Likewise.
22176 * signal/sigwait.c: Likewise.
22177 * signal/sigwaitinfo.c: Likewise.
22178 * signal/sysv_signal.c: Likewise.
22179 * socket/accept.c: Likewise.
22180 * socket/accept4.c: Likewise.
22181 * socket/bind.c: Likewise.
22182 * socket/connect.c: Likewise.
22183 * socket/getpeername.c: Likewise.
22184 * socket/getsockname.c: Likewise.
22185 * socket/getsockopt.c: Likewise.
22186 * socket/isfdtype.c: Likewise.
22187 * socket/listen.c: Likewise.
22188 * socket/recv.c: Likewise.
22189 * socket/recvfrom.c: Likewise.
22190 * socket/recvmsg.c: Likewise.
22191 * socket/send.c: Likewise.
22192 * socket/sendmsg.c: Likewise.
22193 * socket/sendto.c: Likewise.
22194 * socket/setsockopt.c: Likewise.
22195 * socket/shutdown.c: Likewise.
22196 * socket/sockatmark.c: Likewise.
22197 * socket/socket.c: Likewise.
22198 * socket/socketpair.c: Likewise.
22199 * stdio-common/ctermid.c: Likewise.
22200 * stdio-common/cuserid.c: Likewise.
22201 * stdio-common/remove.c: Likewise.
22202 * stdio-common/rename.c: Likewise.
22203 * stdio-common/renameat.c: Likewise.
22204 * stdio-common/tempname.c: Likewise.
22205 * stdlib/getcontext.c: Likewise.
22206 * stdlib/makecontext.c: Likewise.
22207 * stdlib/setcontext.c: Likewise.
22208 * stdlib/swapcontext.c: Likewise.
22209 * stdlib/system.c: Likewise.
22210 * streams/fattach.c: Likewise.
22211 * streams/fdetach.c: Likewise.
22212 * streams/getmsg.c: Likewise.
22213 * streams/getpmsg.c: Likewise.
22214 * streams/putmsg.c: Likewise.
22215 * streams/putpmsg.c: Likewise.
22216 * sysdeps/unix/bsd/getpt.c: Likewise.
22217 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22218 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22219 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22222 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22223 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22224 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22225 * sysvipc/msgctl.c: Likewise.
22226 * sysvipc/msgget.c: Likewise.
22227 * sysvipc/msgrcv.c: Likewise.
22228 * sysvipc/msgsnd.c: Likewise.
22229 * sysvipc/semctl.c: Likewise.
22230 * sysvipc/semget.c: Likewise.
22231 * sysvipc/semop.c: Likewise.
22232 * sysvipc/semtimedop.c: Likewise.
22233 * sysvipc/shmat.c: Likewise.
22234 * sysvipc/shmctl.c: Likewise.
22235 * sysvipc/shmdt.c: Likewise.
22236 * sysvipc/shmget.c: Likewise.
22237 * termios/tcdrain.c: Likewise.
22238 * termios/tcflow.c: Likewise.
22239 * termios/tcflush.c: Likewise.
22240 * termios/tcgetattr.c: Likewise.
22241 * termios/tcgetpgrp.c: Likewise.
22242 * termios/tcsendbrk.c: Likewise.
22243 * termios/tcsetattr.c: Likewise.
22244 * termios/tcsetpgrp.c: Likewise.
22245 * time/adjtime.c: Likewise.
22246 * time/clock.c: Likewise.
22247 * time/getitimer.c: Likewise.
22248 * time/gettimeofday.c: Likewise.
22249 * time/setitimer.c: Likewise.
22250 * time/settimeofday.c: Likewise.
22251 * time/stime.c: Likewise.
22252 * time/time.c: Likewise.
22254 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22256 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22259 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22261 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22263 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22267 FE_TONEAREST before applying Dekker multiplication and Knuth
22268 addition. Clear inexact exceptions and check for exact zero
22269 results afterwards.
22270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22271 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22273 * math/libm-test.inc (fma_test): Add more tests.
22274 (fma_test_towardzero): Likewise.
22275 (fma_test_downward): Likewise.
22276 (fma_test_upward): Likewise.
22277 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22279 (libc_fesetround): New macro.
22280 (libc_fesetroundf): Likewise.
22281 (libc_fesetroundl): Likewise.
22282 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22284 (libc_fesetround_387): Likewise.
22285 (libc_fesetroundf): New macro.
22286 (libc_fesetround): Likewise.
22287 (libc_fesetroundl): Likewise.
22288 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22290 (libc_fesetroundf): New macro.
22291 (libc_fesetround): Likewise.
22292 (libc_fesetroundl): Likewise.
22293 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22294 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22295 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22297 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22298 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22300 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22301 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22303 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22307 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22308 integer constant usable in #if and use that to give value to enum
22310 (FE_DIVBYZERO): Likewise.
22311 (FE_UNDERFLOW): Likewise.
22312 (FE_OVERFLOW): Likewise.
22313 (FE_INVALID): Likewise.
22314 (FE_INVALID_SNAN): Likewise.
22315 (FE_INVALID_ISI): Likewise.
22316 (FE_INVALID_IDI): Likewise.
22317 (FE_INVALID_ZDZ): Likewise.
22318 (FE_INVALID_IMZ): Likewise.
22319 (FE_INVALID_COMPARE): Likewise.
22320 (FE_INVALID_SOFTWARE): Likewise.
22321 (FE_INVALID_SQRT): Likewise.
22322 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22323 (FE_TONEAREST): Likewise.
22324 (FE_TOWARDZERO): Likewise.
22325 (FE_UPWARD): Likewise.
22326 (FE_DOWNWARD): Likewise.
22327 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22328 (FE_DIVBYZERO): Likewise.
22329 (FE_OVERFLOW): Likewise.
22330 (FE_UNDERFLOW): Likewise.
22331 (FE_INEXACT): Likewise.
22332 (FE_TONEAREST): Likewise.
22333 (FE_DOWNWARD): Likewise.
22334 (FE_UPWARD): Likewise.
22335 (FE_TOWARDZERO): Likewise.
22336 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22337 (FE_UNDERFLOW): Likewise.
22338 (FE_OVERFLOW): Likewise.
22339 (FE_DIVBYZERO): Likewise.
22340 (FE_INVALID): Likewise.
22341 (FE_TONEAREST): Likewise.
22342 (FE_TOWARDZERO): Likewise.
22343 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22344 (FE_OVERFLOW): Likewise.
22345 (FE_UNDERFLOW): Likewise.
22346 (FE_DIVBYZERO): Likewise.
22347 (FE_INEXACT): Likewise.
22348 (FE_TONEAREST): Likewise.
22349 (FE_TOWARDZERO): Likewise.
22350 (FE_UPWARD): Likewise.
22351 (FE_DOWNWARD): Likewise.
22352 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22353 (FE_DIVBYZERO): Likewise.
22354 (FE_OVERFLOW): Likewise.
22355 (FE_UNDERFLOW): Likewise.
22356 (FE_INEXACT): Likewise.
22357 (FE_TONEAREST): Likewise.
22358 (FE_DOWNWARD): Likewise.
22359 (FE_UPWARD): Likewise.
22360 (FE_TOWARDZERO): Likewise.
22362 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22364 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22366 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22368 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22369 commands. Quote $PWD.
22370 (blacklist_exports): Don't use remove_newlines. Replace "declare
22372 (remove_newlines): Remove.
22374 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22376 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22377 * stdlib/stdlib.h (atof): Moved to ...
22378 * include/bits/stdlib-float.h: Here. New file.
22379 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22380 * stdlib/bits/stdlib-float.h: New file.
22381 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22383 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22386 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22388 * conform/conformtest.pl (@headers): Add fenv.h.
22389 * conform/data/fenv.h-data: New file.
22390 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22391 include of <math/fenv.h>.
22393 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22394 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22395 && !UNIX98]. Enables tests for XOPEN2K8.
22396 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22397 POSIX2008]: Likewise.
22399 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22400 (struct rusage): Do not expect type or its members.
22403 * math/math.h (FP_NAN): Define macro to integer constant usable in
22404 #if and use that to give value to enum constant.
22405 (FP_INFINITE): Likewise.
22406 (FP_ZERO): Likewise.
22407 (FP_SUBNORMAL): Likewise.
22408 (FP_NORMAL): Likewise.
22410 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22412 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22413 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22416 2012-11-02 Roland McGrath <roland@hack.frob.com>
22418 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22419 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22420 autoconf-time if not.
22421 * configure.in: Remove AC_PREREQ.
22423 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22425 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22426 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22427 of the internal implementation.
22429 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22431 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22432 except include of <misc/sys/syslog.h>.
22434 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22437 function returns with a NULL context exit with zero.
22439 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22441 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22443 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22445 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22446 (run_program_cmd): This.
22447 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22448 (tst_langinfo): New variable. Use it.
22450 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22452 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22453 floating point opcodes.
22455 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22457 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22460 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22462 * sysdeps/mach/hurd/powerpc: Remove directory.
22463 * sysdeps/mach/powerpc: Likewise.
22465 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22467 * scripts/check-local-headers.sh: Ignore c++ headers.
22469 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22471 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22472 __libc_cleanup_region_start argument.
22474 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22479 x * y using scaling, not as x * y + z.
22480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22482 * math/libm-test.inc (fma_test): Add more tests.
22483 (fma_test_towardzero): Likewise.
22484 (fma_test_downward): Likewise.
22485 (fma_test_upward): Likewise.
22487 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22489 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22491 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22493 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22496 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22498 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22500 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22507 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22510 Fix the order of the list for glibc 2.17.
22511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22514 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22518 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22521 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22522 for low part of x being zero before using __atanl (y).
22523 * math/libm-test.inc (atan2_test): Add another test.
22525 * manual/install.texi (Configuring and compiling): Document
22526 general use of test-wrapper and test-wrapper-env.
22527 * INSTALL: Regenerated.
22529 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22530 (__fma): Do not extract and scale down low bits on after-rounding
22531 systems when result rounded to normal precision would have normal
22533 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22534 (__fmal): Do not extract and scale down low bits on after-rounding
22535 systems when result rounded to normal precision would have normal
22537 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22538 (__fmal): Do not extract and scale down low bits on after-rounding
22539 systems when result rounded to normal precision would have normal
22541 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22543 (fma_test): Add more tests.
22544 (fma_test_towardzero): Likewise.
22545 (fma_test_downward): Likewise.
22546 (fma_test_upward): Likewise.
22548 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22550 * sysdeps/i386/tininess.h: Renamed to ...
22551 * sysdeps/x86/tininess.h: This.
22552 * sysdeps/x86_64/tininess.h: Removed.
22554 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22556 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22557 input. Use $(build-program-cmd).
22558 ($(objpfx)tst-array1-static.out): Likewise.
22559 ($(objpfx)tst-array2.out): Likewise.
22560 ($(objpfx)tst-array3.out): Likewise.
22561 ($(objpfx)tst-array4.out): Likewise.
22562 ($(objpfx)tst-array5.out): Likewise.
22563 ($(objpfx)tst-array5-static.out): Likewise.
22565 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22567 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22570 * nss/nsswitch.h (nss_interface_function): Provide new
22571 macro for use with NSS functions.
22572 * grp/initgroups.c: Use new macro.
22573 * nss/getXXbyYY.c: Likewise.
22574 * nss/getXXbyYY_r.c: Likewise.
22575 * nss/getXXent.c: Likewise.
22576 * nss/getXXent_r.c: Likewise.
22577 * sysdeps/posix/getaddrinfo.c: Likewise.
22579 2012-10-30 Andreas Jaeger <aj@suse.de>
22581 * po/ru.po: Update Russion translation from translation project.
22583 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22588 result and shift together with sticky bit instead of replicating
22589 round-to-nearest rounding.
22590 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22592 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22593 missing underflow exceptions.
22594 (fma_test_towardzero): Add more tests.
22595 (fma_test_downward): Likewise.
22596 (fma_test_upward): Likewise.
22599 * sysdeps/generic/tininess.h: New file.
22600 * sysdeps/i386/tininess.h: Likewise.
22601 * sysdeps/sh/tininess.h: Likewise.
22602 * sysdeps/x86_64/tininess.h: Likewise.
22603 * stdlib/tst-strtod-underflow.c: Likewise.
22604 * stdlib/tst-tininess.c: Likewise.
22605 * stdlib/strtod_l.c: Include <tininess.h>.
22606 (round_and_return): Do not set errno for exact underflow cases.
22607 Force an underflow exception when setting errno for underflow.
22608 Determine underflow based on rounding to normal precision if
22609 TININESS_AFTER_ROUNDING.
22610 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22611 ERANGE for exact underflow cases.
22612 * stdlib/Makefile (tests): Add tst-tininess and
22613 tst-strtod-underflow.
22614 ($(objpfx)tst-tininess): Use $(link-libm).
22615 ($(objpfx)tst-strtod-underflow): Likewise.
22617 2012-10-30 Andreas Jaeger <aj@suse.de>
22620 * elf/Makefile (tests): Remove conditional for have-initfini-array
22621 since this is now always required and the variable does not exist
22623 (tests-static): Likewise.
22624 (modules-names): Likewise.
22626 * po/eo.po: Add Esperanto translation from translation project.
22628 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22629 merged with constructor/destructor.
22630 (init_array): Likewise.
22631 * elf/tst-array2dep.c (fini_array): Likewise.
22632 (init_array): Likewise.
22634 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22636 * manual/message.texi: Delete @cartouche tags.
22638 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22640 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22642 * sysdeps/mach/hurd/fsync.c: Likewise.
22644 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22645 [_POSIX_REALTIME_SIGNALS]: Change condition to
22646 [_POSIX_REALTIME_SIGNALS > 0].
22648 2012-10-27 Andreas Jaeger <aj@suse.de>
22650 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22651 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22653 [__WORDSIZE != 64]: Likewise.
22655 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22657 * iconvdata/tst-table.sh: Remove ${SHELL}.
22658 * iconvdata/tst-tables.sh: Likewise.
22660 2012-10-25 David S. Miller <davem@davemloft.net>
22662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22663 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22668 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22669 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22670 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22673 2012-10-25 Roland McGrath <roland@hack.frob.com>
22675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22676 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22679 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22680 Jim Blandy <jimb@codesourcery.com>
22682 * scripts/cross-test-ssh.sh: New file.
22683 * manual/install.texi (Configuring and compiling): Document use of
22685 * INSTALL: Regenerated.
22687 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22689 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22692 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22694 * Makeconfig (run-program-prefix): Fix comment.
22696 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22697 Jim Blandy <jimb@codesourcery.com>
22699 * Makeconfig (test-wrapper): New variable,
22700 (test-wrapper-env): Likewise.
22701 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22702 (run-built-tests): Define to yes.
22703 (run-program-prefix): Use $(test-wrapper).
22704 (built-program-cmd): Likewise.
22705 * Rules (make-test-out): Use $(test-wrapper-env) and
22706 $(host-built-program-cmd).
22707 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22708 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22710 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22711 $(test-wrapper-env) to tst-rtld-load-self.sh.
22712 ($(objpfx)order2.out): Use $(test-wrapper).
22713 ($(objpfx)tst-initorder.out): Likewise.
22714 ($(objpfx)tst-initorder2.out): Likewise.
22715 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22716 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22717 (test_wrapper_env): New variable. Use it to run ld.so.
22718 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22719 Use it to run ld.so.
22720 (test_wrapper_env): Likewise.
22721 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22722 $(test-wrapper) to run-iconv-test.sh.
22723 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22724 (ICONV): Use $test_wrapper.
22725 * posix/Makefile ($(objpfx)globtest.out): Pass
22726 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22727 globtest.sh, not $(run-program-prefix).
22728 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22729 (test_wrapper): Likewise.
22730 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22731 set together with run_via_rtld_prefix.
22732 (run_program_prefix): Define in terms of test_wrapper and
22733 run_via_rtld_prefix.
22735 2012-10-24 Roland McGrath <roland@hack.frob.com>
22737 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22738 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22742 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22743 Declare __clock_getres, __clock_gettime, __clock_settime,
22744 __clock_nanosleep, and __clock_getcpuclockid.
22745 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22746 Remove librt_hidden_def (clock_gettime).
22747 * sysdeps/unix/clock_gettime.c: Likewise.
22748 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22749 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22750 * rt/clock_getres.c: Define __clock_getres as an alias.
22751 * sysdeps/posix/clock_getres.c: Likewise.
22752 * rt/clock_settime.c: Define __clock_settime as an alias.
22753 * sysdeps/unix/clock_settime.c: Likewise.
22754 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22755 * sysdeps/unix/clock_nanosleep.c: Likewise.
22756 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22757 * rt/clock-compat.c: New file.
22758 * rt/Makefile (librt-routines): Add clock-compat and move
22759 $(clock-routines) to ...
22760 (routines): ... here, new variable.
22761 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22762 Don't add get_clockfreq here.
22763 * rt/Versions (libc: GLIBC_2.17): New version set.
22764 Add clock_* symbols here.
22765 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22766 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22767 (GLIBC_2.17): Add clock_* symbols.
22768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22770 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22779 * NEWS: Mention the move.
22781 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22782 Use __open, __read, __close rather than their public counterparts.
22783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22784 (__get_clockfreq_via_cpuinfo): Likewise.
22785 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22786 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22788 * config.h.in (HAVE_IFUNC): New #undef.
22789 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22791 * configure: Regenerated.
22793 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22795 * configure.in: Move READELF check to start of file.
22796 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22797 libc_cv_asm_gnu_indirect_function in the process.
22798 * configure: Regenerated.
22800 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22802 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22803 send the output to /dev/null.
22804 (libc_cv_cc_with_libunwind): Likewise.
22805 (libc_cv_as_noexecstack): Likewise.
22806 * configure: Regenerate.
22808 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22810 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22812 * posix/globtest.sh (TMPDIR): Do not set.
22813 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22814 (testout): Likewise.
22816 2012-10-24 Andreas Jaeger <aj@suse.de>
22818 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22819 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22820 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22821 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22822 posix_fadvise64, posix_fallocate64.
22824 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22825 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22826 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22828 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22830 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22833 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22834 <bits/fcntl-linux.h>.
22835 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22838 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22839 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22840 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22841 [__WORDSIZE != 64]: Likewise.
22843 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22845 * Makeconfig (run-built-tests): New variable.
22846 * Rules [$(cross-compiling) = yes]: Change condition to
22847 [$(run-built-tests) = no].
22848 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22849 to [$(run-built-tests) = yes].
22850 * elf/Makefile [$(cross-compiling) = no]: Likewise
22851 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22852 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22853 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22854 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22855 * io/Makefile [$(cross-compiling) = no]: Likewise.
22856 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22857 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22858 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22859 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22860 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22861 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22862 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22863 * string/Makefile [$(cross-compiling) = no]: Likewise.
22865 * posix/Makefile ($(objpfx)globtest.out): Pass
22866 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22867 $(rtld-installed-name).
22868 * posix/globtest.sh (elf_objpfx): Remove variable.
22869 (rtld_installed_name): Likewise.
22870 (library_path): Likewise.
22871 (run_program_prefix): New variable. Use for running globtest
22874 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22875 Joseph Myers <joseph@codesourcery.com>
22877 * Makeconfig (host-built-program-cmd): New variable.
22878 * elf/Makefile (tst-stackguard1-ARGS): Use
22879 $(host-built-program-cmd).
22880 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22881 (tst-spawn-ARGS): Likewise.
22882 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22884 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22885 Jim Blandy <jimb@codesourcery.com>
22887 * Makeconfig (run-via-rtld-prefix): New variable.
22888 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22889 (built-program-cmd): Likewise.
22891 2012-10-22 Andreas Jaeger <aj@suse.de>
22893 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22894 __O_RSYNC if it exists, otherwise to O_SYNC.
22896 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22897 Joseph Myers <joseph@codesourcery.com>
22899 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22901 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22903 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22906 2012-10-22 Andreas Jaeger <aj@suse.de>
22908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22913 bits/fcntl-linux.h.
22915 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22916 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22923 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22924 Joseph Myers <joseph@codesourcery.com>
22926 * config.make.in (NM): New variable.
22928 2012-10-21 Andreas Jaeger <aj@suse.de>
22930 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22931 definitions and declarations that are provided by
22932 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22934 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22937 * elf/Makefile (tests-static): Add tst-leaks1-static.
22938 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22939 ($(objpfx)tst-leaks1-static): New rule.
22940 ($(objpfx)tst-leaks1-static-mem): Likewise.
22941 (tst-leaks1-static-ENV): New macro.
22942 * elf/dl-open.c (dl_open_worker): Check the main application
22943 only if SHARED is defined.
22944 * elf/tst-leaks1-static.c: New file.
22946 2012-10-20 Andreas Jaeger <aj@suse.de>
22948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22949 generic values for Linux.
22950 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22951 and declarations that are provided by <bits/fcntl-linux.h> and
22952 include <bits/fcntl-linux.h>.
22953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22956 2012-10-20 Roland McGrath <roland@hack.frob.com>
22958 * io/fcntl.h: Move include of <bits/types.h> to the top and
22959 include it unconditionally.
22961 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22963 * wcsmbs/Makefile (tests-ifunc): New variable.
22964 (tests): Add $(tests-ifunc).
22965 * wcsmbs/test-wcschr-ifunc.c: New file.
22966 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22967 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22968 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22969 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22970 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22972 * string/Makefile (tests-ifunc): New variable.
22973 (tests): Add $(tests-ifunc).
22974 * string/test-memccpy.c (TEST_NAME): New macro.
22975 * string/test-memchr.c (TEST_NAME): Likewise.
22976 * string/test-memcmp.c (TEST_NAME): Likewise.
22977 * string/test-memcpy.c (TEST_NAME): Likewise.
22978 * string/test-memmem.c (TEST_NAME): Likewise.
22979 * string/test-memmove.c (TEST_NAME): Likewise.
22980 * string/test-memset.c (TEST_NAME): Likewise.
22981 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22982 * string/test-stpcpy.c (TEST_NAME): Likewise.
22983 * string/test-stpncpy.c (TEST_NAME): Likewise.
22984 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22985 * string/test-strcasestr.c (TEST_NAME): Likewise.
22986 * string/test-strcat.c (TEST_NAME): Likewise.
22987 * string/test-strchr.c (TEST_NAME): Likewise.
22988 * string/test-strcmp.c(TEST_NAME): Likewise.
22989 * string/test-strcpy.c (TEST_NAME): Likewise.
22990 * string/test-strcspn.c (TEST_NAME): Likewise.
22991 * string/test-strlen.c (TEST_NAME): Likewise.
22992 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22993 * string/test-strncmp.c (TEST_NAME): Likewise.
22994 * string/test-strncpy.c (TEST_NAME): Likewise.
22995 * string/test-strnlen.c (TEST_NAME): Likewise.
22996 * string/test-strpbrk.c (TEST_NAME): Likewise.
22997 * string/test-strrchr.c (TEST_NAME): Likewise.
22998 * string/test-strspn.c (TEST_NAME): Likewise.
22999 * string/test-strstr.c (TEST_NAME): Likewise.
23000 * string/test-bcopy-ifunc.c: New file.
23001 * string/test-bzero-ifunc.c: Likewise.
23002 * string/test-memccpy-ifunc.c: Likewise.
23003 * string/test-memchr-ifunc.c: Likewise.
23004 * string/test-memcmp-ifunc.c: Likewise.
23005 * string/test-memcpy-ifunc.c: Likewise.
23006 * string/test-memmem-ifunc.c: Likewise.
23007 * string/test-memmove-ifunc.c: Likewise.
23008 * string/test-mempcpy-ifunc.c: Likewise.
23009 * string/test-memset-ifunc.c: Likewise.
23010 * string/test-rawmemchr-ifunc.c: Likewise.
23011 * string/test-stpcpy-ifunc.c: Likewise.
23012 * string/test-stpncpy-ifunc.c: Likewise.
23013 * string/test-strcasecmp-ifunc.c: Likewise.
23014 * string/test-strcasestr-ifunc.c: Likewise.
23015 * string/test-strcat-ifunc.c: Likewise.
23016 * string/test-strchr-ifunc.c: Likewise.
23017 * string/test-strchrnul-ifunc.c: Likewise.
23018 * string/test-strcmp-ifunc.c: Likewise.
23019 * string/test-strcpy-ifunc.c: Likewise.
23020 * string/test-strcspn-ifunc.c: Likewise.
23021 * string/test-strlen-ifunc.c: Likewise.
23022 * string/test-strncasecmp-ifunc.c: Likewise.
23023 * string/test-strncat-ifunc.c: Likewise.
23024 * string/test-strncmp-ifunc.c: Likewise.
23025 * string/test-strncpy-ifunc.c: Likewise.
23026 * string/test-strnlen-ifunc.c: Likewise.
23027 * string/test-strpbrk-ifunc.c: Likewise.
23028 * string/test-strrchr-ifunc.c: Likewise.
23029 * string/test-strspn-ifunc.c: Likewise.
23030 * string/test-strstr-ifunc.c: Likewise.
23032 * debug/Makefile (tests-ifunc): New variable.
23033 (tests): Add $(tests-ifunc).
23034 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23035 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23036 * debug/test-stpcpy_chk-ifunc.c: New file.
23037 * debug/test-strcpy_chk-ifunc.c: Likewise.
23039 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23042 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23043 header is not read in.
23045 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23047 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23048 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23049 directly. Pass built executable to script as
23050 $(built-program-cmd).
23051 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23052 $testprogram without using LD_LIBRARY_PATH and $ldso.
23054 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23055 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23056 $(rtld-installed-name).
23057 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23058 (rtld_installed_name): Likewise.
23059 (library_path): Likewise.
23060 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23061 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23062 $(run-program-prefix) to tst-tables.sh.
23063 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23064 it to run tst-table-from and tst-table-to.
23065 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23066 Pass it to tst-table.sh.
23067 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23068 $(run-program-prefix) to tst-gettext.sh.
23069 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23071 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23073 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23074 to run tst-gettext.
23075 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23076 to run tst-gettext2.
23077 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23078 to run tst-translit.
23079 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23080 $(run-program-prefix) to tst-mtrace.sh.
23081 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23083 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23084 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23085 $(rtld-installed-name).
23086 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23087 (rtld_installed_name): Likewise.
23088 (run_program_prefix): New variable. Use it to run wordexp-test.
23090 * Makeconfig (ARCH): Remove all definitions.
23091 (machine): Likewise.
23092 [ARCH]: Remove conditional code.
23093 [!objdir]: Give error.
23094 [!objdir] (objpfx): Remove.
23095 [!objdir] (common-objpfx): Likewise.
23096 [!objdir] (common-objdir): Likewise.
23097 * configure.in (config_makefile): Remove. Hardcode Makefile in
23098 AC_CONFIG_FILES call.
23099 * configure: Regenerated.
23102 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23104 (testout): Likewise.
23106 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23107 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23108 $(rtld-installed-name).
23109 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23110 (rtld_installed_name): Likwise.
23111 (runit): Remove function.
23112 (run_getconf): New variable, Use it for running getconf binary.
23114 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23117 * string/test-memmem.c (check_result): New function.
23118 (do_one_test): Use it.
23119 (check1): New function.
23120 (test_main): Use it.
23122 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23124 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23126 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23128 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23129 (_G_LSEEK64): Likewise.
23130 (_G_MMAP64): Likewise.
23131 (_G_FSTAT64): Likewise.
23132 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23133 (_G_LSEEK64): Likewise.
23134 (_G_MMAP64): Likewise.
23135 (_G_FSTAT64): Likewise.
23136 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23137 unconditional. Call __mmap64 directly.
23138 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23139 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23140 __lseek64 directly.
23141 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23142 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23144 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23145 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23146 __lseek64 directly.
23147 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23148 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23149 __lseek64 directly.
23150 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23151 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23152 __lseek64 directly.
23153 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23154 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23155 __fxstat64 directly.
23156 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23157 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23159 (freopen64) [!_G_OPEN64]: Remove conditional code.
23160 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23162 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23163 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23165 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23166 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23168 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23169 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23171 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23172 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23174 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23175 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23177 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23178 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23180 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23182 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23185 * manual/memory.texi (Malloc Tunable Parameters): Add note
23186 about free list pointers overwriting some perturb bytes.
23187 Wording suggested by Roland McGrath.
23189 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23191 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23192 (lgamma_test): Likewise.
23193 (tgamma_test): Likewise.
23195 2012-10-16 Florian Weimer <fweimer@redhat.com>
23198 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23199 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23201 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23203 * NEWS: Mention BZ #14716.
23204 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23205 when removing AVAILABLE1_USES_J macro.
23207 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23209 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23210 (__bswap_64): __uint64_t for unsigned 64-bit int.
23212 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23214 * include/string.h (memmem): Declare libc hidden alias.
23215 * string/memmem.c (memmem): Define libc hidden alias.
23216 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23217 __read, __close instead of open, read, close.
23219 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23222 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23224 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23225 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23226 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23228 (__rawmemchr_sse2): Likewise.
23229 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23230 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23231 (__strchr_sse2): Likewise.
23232 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23233 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23234 (__strcasecmp_sse2): Likewise.
23235 (__strncasecmp_sse2): Likewise.
23236 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23237 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23238 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23239 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23240 (__strrchr_sse2): Likewise.
23241 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23243 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23244 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23245 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23246 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23247 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23248 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23249 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23250 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23251 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23252 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23253 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23254 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23255 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23256 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23257 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23258 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23259 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23260 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23261 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23262 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23263 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23264 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23265 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23266 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23267 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23268 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23269 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23270 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23271 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23272 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23274 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23276 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23277 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23278 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23279 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23281 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23283 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23284 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23285 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23286 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23288 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23289 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23290 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23291 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23292 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23293 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23294 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23295 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23296 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23297 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23298 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23299 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23300 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23301 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23302 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23303 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23304 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23305 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23306 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23307 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23308 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23309 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23310 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23311 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23312 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23313 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23314 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23315 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23316 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23317 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23318 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23319 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23320 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23321 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23323 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23324 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23325 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23326 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23327 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23328 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23330 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23331 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23332 * include/ifunc-impl-list.h: New file.
23333 * misc/ifunc-impl-list.c: Likewise.
23334 * misc/Makefile (routines): Add ifunc-impl-list.
23335 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23336 * string/test-string.h: Include <ifunc-impl-list.h>.
23337 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23338 impl_array): New variables.
23339 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23341 (test_init): Call __libc_ifunc_impl_list to initialize
23342 func_list if TEST_IFUNC and TEST_NAME are defined.
23344 * string/Makefile (strop-tests): Add bcopy and bzero.
23345 * string/test-bcopy.c: New file.
23346 * string/test-bzero.c: Likewise.
23347 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23349 * string/test-memset.c: Support bzero test if TEST_BZERO is
23351 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23353 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23355 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23358 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23360 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23361 * configure: Regenerated.
23363 * Makeconfig (+link-static-before-libc): Don't include
23364 $(link-static-libc).
23366 * libio/libio.h (_IO_pos_t): Remove.
23368 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23370 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23373 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23375 * crypt/crypt-entry.c: Include fips-private.h.
23376 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23377 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23378 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23379 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23381 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23383 * crypt/crypt-private.h: Include stdbool.h.
23384 (_ufc_setup_salt_r): Return bool.
23385 * crypt/crypt-entry.c: Include errno.h.
23386 (__crypt_r): Return NULL with EINVAL for bad salt.
23387 * crypt/crypt_util.c (bad_for_salt): New.
23388 (_ufc_setup_salt_r): Check that salt is long enough and within
23389 the specified alphabet.
23390 * crypt/badsalttest.c: New file.
23391 * crypt/Makefile (tests): Add it.
23392 ($(objpfx)badsalttest): New.
23394 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23396 * NEWS: Add entry for BZ #14602.
23398 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23400 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23402 * math/libm-test.inc: Update comment listing what functions and
23404 (isgreater_test): New function.
23405 (isgreaterequal_test): Likewise.
23406 (isless_test): Likewise.
23407 (islessequal_test): Likewise.
23408 (islessgreater_test): Likewise.
23409 (isunordered_test): Likewise.
23410 (main): Call the new functions.
23412 2012-10-09 Roland McGrath <roland@hack.frob.com>
23414 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23415 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23416 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23417 * sysdeps/i386/configure: Regenerated.
23418 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23419 * sysdeps/mach/configure: Regenerated.
23420 * sysdeps/mach/hurd/configure: Regenerated.
23421 * sysdeps/powerpc/configure: Regenerated.
23422 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23423 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23424 * sysdeps/s390/s390-32/configure: Regenerated.
23425 * sysdeps/s390/s390-64/configure: Regenerated.
23426 * sysdeps/sh/configure: Regenerated.
23427 * sysdeps/sparc/configure: Regenerated.
23428 * sysdeps/unix/sysv/linux/configure: Regenerated.
23429 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23430 * sysdeps/x86_64/configure: Regenerated.
23432 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23433 defined. Don't check if MAP is NULL.
23435 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23437 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23438 (_G_stat64): Likewise.
23439 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23440 (_G_stat64): Likewise.
23441 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23442 instead of struct _G_stat64.
23443 * libio/fileops.c (mmap_remap_check): Likewise.
23444 (decide_maybe_mmap): Likewise.
23445 (_IO_new_file_seekoff): Likewise.
23446 (_IO_file_stat): Likewise.
23447 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23449 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23450 instead of struct _G_stat64.
23451 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23453 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23456 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23458 (CHECK_EOL): New macro.
23459 (two_way_short_needle): Check beginning of haystack for EOL. Use
23461 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23462 Replace with CHECK_EOL.
23463 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23464 Replace with CHECK_EOL.
23466 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23468 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23470 * math/libm-test.inc: Update comment listing what functions and
23472 (finite_test): New function.
23473 (isinf_test): Likewise.
23474 (isnan_test): Likewise.
23475 (fpclassify_test): Test subnormal input.
23476 (isfinite_test): Likewise.
23477 (isnormal_test): Likewise.
23478 (main): Call the new functions.
23480 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23483 * Makerules (%.dynsym): Force C locale when running
23484 $(OBJDUMP) --dynamic-syms.
23486 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23488 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23491 2012-10-06 David S. Miller <davem@davemloft.net>
23493 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23494 upper 32-bits of the length value in %o2 since we use branch-on-register
23495 tests which consider the entire 64-bit register.
23497 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23499 * string/test-strstr.c (check2): Add a test for page boundary.
23501 2012-10-05 David S. Miller <davem@davemloft.net>
23503 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23504 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23506 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23508 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23509 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23510 and bzero when HWCAP_SPARC_CRYPTO is present.
23512 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23515 * string/test-strstr.c (check2): New function.
23516 (test_main): Call check2.
23518 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23520 * string/bug-strcasestr1.c (do_test): Moved to ...
23521 * string/test-strcasestr.c (check1): Here. New function.
23522 (do_one_test): Break out result checking code into ...
23523 (check_result): This. New function.
23524 (do_one_test): Call check_result.
23525 (test_main): Call check1.
23526 * string/bug-strchr1.c (do_test): Moved to ...
23527 * string/test-strchr.c (check1): Here. New function.
23528 (do_one_test): Break out result checking code into ...
23529 (check_result): This. New function.
23530 (do_one_test): Call check_result.
23531 (test_main): Call check1.
23532 * string/bug-strstr1.c (main): Moved to ...
23533 * string/test-strstr.c (check1): Here. New function.
23534 (do_one_test): Break out result checking code into ...
23535 (check_result): This. New function.
23536 (do_one_test): Call check_result.
23537 (test_main): Call check1.
23538 * string/bug-strcasestr1.c: Removed.
23539 * string/bug-strchr1.c: Likewise.
23540 * string/bug-strstr1.c: Likewise.
23542 * elf/Makefile (dl-routines): Add hwcaps.
23543 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23544 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23545 (_dl_important_hwcaps): Moved to ...
23546 * elf/dl-hwcaps.c: Here. New file.
23547 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23550 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23551 if IS_IN_rtld isn't defined.
23553 * elf/dl-support.c (_dl_sysinfo_map): New.
23554 Include "get-dynamic-info.h" and "setup-vdso.h".
23555 (_dl_non_dynamic_init): Call setup_vdso.
23556 * elf/dynamic-link.h: Don't include <assert.h>.
23557 (elf_get_dynamic_info): Moved to ...
23558 * elf/get-dynamic-info.h: Here. New file.
23559 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23560 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23561 * elf/setup-vdso.h: Here. New file.
23562 * elf/rtld.c: Include "setup-vdso.h".
23563 (dl_main): Call setup_vdso.
23565 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23567 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23568 creal in comment listing functions tested. List finite, isinf,
23569 isnan, isless, islessequal, isgreater, isgreaterequal,
23570 islessgreater, isunordered, lgamma_r and pow10 as functions and
23571 macros not tested. Mention which functions not tested are aliases
23572 for other functions. Fix typo. Note that signs of NaNs are not
23575 * scripts/config.guess: Update from config.git.
23576 * scripts/config.sub: Likewise.
23578 2012-10-04 Roland McGrath <roland@hack.frob.com>
23580 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23581 * misc/madvise.c (madvise): Renamed to __madvise.
23582 Make madvise a weak alias.
23583 * include/sys/mman.h: Declare __madvise.
23584 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23585 * sysdeps/unix/syscalls.list
23586 (madvise): Make __madvise the strong name, and madvise a weak alias.
23587 * sysdeps/unix/sysv/linux/syscalls.list
23588 (madvise, mmap): Remove redundant entries.
23589 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23590 * malloc/malloc.c (mtrim): Likewise.
23591 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23593 2012-10-03 Roland McGrath <roland@hack.frob.com>
23595 * sysdeps/mach/hurd/dl-cache.c: File removed.
23596 * config.h.in (USE_LDCONFIG): New #undef.
23597 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23598 * configure: Regenerated.
23599 * elf/Makefile (dl-routines): Add dl-cache only under
23600 [$(use-ldconfig) = yes].
23601 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23602 cache on [USE_LDCONFIG].
23603 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23605 * elf/rtld.c (dl_main): Likewise.
23607 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23609 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23610 _SC_LEVEL4_CACHE_LINESIZE.
23612 2012-10-03 Roland McGrath <roland@hack.frob.com>
23614 * sysdeps/unix/bsd/confstr.h: File removed.
23616 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23618 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23621 2012-10-02 Roland McGrath <roland@hack.frob.com>
23623 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23624 Make 'mapoff' field ElfW(Off) rather than off_t.
23626 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23628 * nscd/Makefile: Remove nscd-cflags and all its users.
23629 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23630 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23633 * malloc.c (malloc_printerr): Clarify error message.
23635 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23639 Set bit_FMA_Usable if FMA is supported.
23640 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23642 (bit_FMA4_Usable): Updated.
23643 (index_FMA_Usable): New macro.
23644 (CPUID_FMA): Likewise
23645 (HAS_FMA): Defined with bit_FMA_Usable.
23647 2012-10-01 Roland McGrath <roland@hack.frob.com>
23649 * bits/types.h (__swblk_t): Type removed.
23650 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23651 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23653 (__SWBLK_T_TYPE): Likewise.
23654 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23655 (__SWBLK_T_TYPE): Likewise.
23656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23657 (__SWBLK_T_TYPE): Likewise.
23658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23659 (__SWBLK_T_TYPE): Likewise.
23661 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23662 Honza Horak <hhorak@redhat.com>
23664 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23665 (xdr_mapname): Use YPMAXMAP as maxsize.
23666 (xdr_peername): Use YPMAXPEER as maxsize.
23667 (xdr_keydat): Use YPAXRECORD as maxsize.
23668 (xdr_valdat): Use YPMAXRECORD as maxsize.
23670 2012-10-01 Roland McGrath <roland@hack.frob.com>
23672 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23674 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23675 * csu/init-first.c: ... here.
23676 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23677 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23678 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23679 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23680 * sysdeps/i386/init-first.c: File removed.
23681 * sysdeps/sh/init-first.c: File removed.
23683 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23687 if x * y might underflow to zero and z is zero.
23688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23690 * math/libm-test.inc (min_subnorm_value): New variable.
23691 (fma_test): Add more tests.
23692 (fma_test_towardzero): Likewise.
23693 (fma_test_downward): Likewise
23694 (fma_test_upward): Likewise.
23695 (initialize): Set min_subnorm_value.
23697 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23702 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23703 mode for addition resulting in exact zero.
23704 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23705 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23707 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23709 * math/libm-test.inc (fma_test): Add more tests.
23710 (fma_test_towardzero): New function.
23711 (fma_test_downward): Likewise.
23712 (fma_test_upward): Likewise.
23713 (main): Call the new functions.
23715 2012-09-28 David S. Miller <davem@davemloft.net>
23717 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23719 2012-09-28 Roland McGrath <roland@hack.frob.com>
23721 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23722 instead of SIGALRM.
23724 * sysdeps/gnu/_G_config.h: Moved to ...
23725 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23726 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23727 * sysdeps/generic/_G_config.h: ... here.
23729 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23731 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23733 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23734 Conditionalize target on [libnss_test1.so-version].
23736 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23738 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23739 (elfobjdir): Move out of conditionals.
23741 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23742 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23743 (__nss_lookup_function): Conditionalize label remove_from_tree on
23744 [!DO_STATIC_NSS || SHARED], matching its only use.
23746 2012-09-28 David S. Miller <davem@davemloft.net>
23748 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23749 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23751 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23753 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23755 when HWCAP_SPARC_CRYPTO is present.
23757 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23759 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23761 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23764 * stdio-common/vfprintf.c (process_string_arg): Revert
23767 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23769 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23771 * stdio-common/tst-sprintf.c: Include <locale.h>
23772 (main): Test sprintf's handling of incomplete multibyte
23775 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23777 * elf/dl-runtime.c (VERSYMIDX): Removed.
23778 * elf/dl-version.c (VERSYMIDX): Likewise.
23779 * elf/do-rel.h (VERSYMIDX): Likewise.
23780 (VALIDX): Likewise.
23781 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23782 * elf/rtld.c (VALIDX): Likewise.
23783 (ADDRIDX): Likewise.
23784 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23785 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23786 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23787 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23788 (VALIDX): Likewise.
23789 (ADDRIDX): Likewise.
23791 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23793 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23795 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23798 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23800 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23801 addresses are in the same scope as 192.0.2/24.
23802 * posix/gai.conf: Document new scope table defaults.
23804 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23807 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23808 for ftell. Compute offsets from write pointers instead.
23809 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23811 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23814 * libio/Makefile (tests): New test case tst-fseek.
23815 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23816 combination works in wide mode.
23817 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23818 state when the external buffer state changes.
23820 2012-09-27 David S. Miller <davem@davemloft.net>
23823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23824 pass reloc->r_addend in as the 'high' argument to
23825 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23829 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23831 * rt/tst-aio2.c: Include <pthread.h>.
23832 * rt/tst-aio3.c: Likewise.
23834 2012-09-27 Steve Ellcey <sellcey@mips.com>
23836 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23838 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23840 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23841 contents on [SHARED].
23843 2012-09-26 Marek Polacek <polacek@redhat.com>
23847 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23848 for C++ and GCC <4.3 as well as for non GCC compilers.
23850 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23854 2012-09-25 Roland McGrath <roland@hack.frob.com>
23856 * Makefile.in (all, install): Declare with .PHONY.
23857 Reported by Michael Hope <michael.hope@linaro.org>.
23859 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23861 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23862 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23864 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23866 (sydep_routines): Add the new and the internal functions.
23867 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23868 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23870 (GLIBC_2.17): Add the new function.
23871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23872 (GLIBC_2.17): Likewise.
23873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23874 (GLIBC_2.17): Likewise.
23875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23876 (GLIBC_2.17): Likewise.
23877 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23879 2012-09-25 Alan Modra <amodra@gmail.com>
23881 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23882 Add release barrier before setting once_control to say
23883 initialisation is done. Add hints on lwarx. Use macro in
23885 (clear_once_control): Add release barrier.
23887 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23890 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23892 * math/s_clog10.c (__clog10): Likewise.
23893 * math/s_clog10f.c (__clog10f): Likewise.
23894 * math/s_clog10l.c (__clog10l): Likewise.
23895 * math/s_clogf.c (__clogf): Likewise.
23896 * math/s_clogl.c (__clogl): Likewise.
23897 * math/Makefile (libm-calls): Add x2y2m1.
23898 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23899 (__x2y2m1): Likewise.
23900 (__x2y2m1l): Likewise.
23901 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23902 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23904 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23905 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23906 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23907 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23908 * sysdeps/i386/fpu/libm-test-ulps: Update.
23909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23912 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23913 int as type of variable DEPTH.
23914 (glob): Use size_t instead of int as type of variables NEWCOUNT
23917 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23919 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23920 Add s_sincosf-sse2.
23921 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23922 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23923 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23924 macros for using routine as __sincosf_ia32.
23925 Use macro for function declaration and weak_alias.
23926 * sysdeps/i386/fpu/libm-test-ulps: Update.
23928 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23931 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23932 subnormal argument.
23933 * math/s_cexpf.c (__cexpf): Likewise.
23934 * math/s_csinf.c (__csinf): Likewise.
23935 * math/s_csinhf.c (__csinhf): Likewise.
23936 * math/s_ctanf.c (__ctanf): Likewise.
23937 * math/s_ctanhf.c (__ctanhf): Likewise.
23938 * math/s_ccosh.c (__ccoshf): Likewise.
23939 * math/s_cexp.c (__cexpl): Likewise.
23940 * math/s_csin.c (__csin): Likewise.
23941 * math/s_csinh.c (__csinh): Likewise.
23942 * math/s_ctan.c (__ctan): Likewise.
23943 * math/s_ctanh.c (ctanh): Likewise.
23944 * math/s_ccoshl.c (__ccoshl): Likewise.
23945 * math/s_cexpl.c (__cexpl): Likewise.
23946 * math/s_csinl.c (__csinl): Likewise.
23947 * math/s_csinhl.c (__csinhl): Likewise.
23948 * math/s_ctanl.c (__ctanl): Likewise.
23949 * math/s_ctanhl.c (__ctanhl): Likewise.
23951 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23953 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23954 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23955 (_IO_off_t): Define to __off_t, not _G_off_t.
23956 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23957 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23958 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23959 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23960 type of __dummy and __dummy2 fields.
23961 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23962 (_G_ssize_t): Likewise.
23963 (_G_off_t): Likewise.
23964 (_G_pid_t): Likewise.
23965 (_G_uid_t): Likewise.
23966 (_G_wchar_t): Likewise.
23967 (_G_wint_t): Likewise.
23968 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23969 (_G_ssize_t): Likewise.
23970 (_G_off_t): Likewise.
23971 (_G_pid_t): Likewise.
23972 (_G_uid_t): Likewise.
23973 (_G_wchar_t): Likewise.
23974 (_G_wint_t): Likewise.
23975 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23976 (_G_ssize_t): Likewise.
23977 (_G_off_t): Likewise.
23978 (_G_pid_t): Likewise.
23979 (_G_uid_t): Likewise.
23980 (_G_wchar_t): Likewise.
23981 (_G_wint_t): Likewise.
23983 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23985 * malloc/arena.c: Include malloc-sysdep.h.
23986 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23987 is sufficient to shrink the heap or an unmap is needed.
23988 * sysdeps/generic/malloc-sysdep.h: New file. Define
23989 new function check_may_shrink_heap.
23990 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23991 new function check_may_shrink_heap.
23993 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23995 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23998 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24000 * catgets/test-gencat.sh: Add "set -e".
24001 * elf/tst-pathopt.sh: Likewise.
24002 * grp/tst_fgetgrent.sh: Likewise.
24003 * iconvdata/run-iconv-test.sh: Likewise.
24004 * intl/tst-gettext.sh: Likewise.
24005 * intl/tst-gettext2.sh: Likewise.
24006 * intl/tst-gettext4.sh: Likewise.
24007 * intl/tst-gettext6.sh: Likewise.
24008 * intl/tst-translit.sh: Likewise.
24009 * io/ftwtest-sh: Likewise.
24010 * libio/test-freopen.sh: Likewise.
24011 * malloc/tst-mtrace.sh: Likewise.
24012 * posix/globtest.sh: Likewise.
24013 * posix/tst-getconf.sh: Likewise.
24014 * posix/wordexp-tst.sh: Likewise.
24015 * stdio-common/tst-printf.sh: Likewise.
24016 * stdio-common/tst-unbputc.sh: Likewise.
24017 * stdlib/tst-fmtmsg.sh: Likewise.
24018 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24019 * catgets/Makefile: Do not specify -e option when running
24020 testsuite shell scripts.
24021 * elf/Makefile: Likewise.
24022 * grp/Makefile: Likewise.
24023 * iconvdata/Makefile: Likewise.
24024 * intl/Makefile: Likewise.
24025 * io/Makefile: Likewise.
24026 * libio/Makefile: Likewise.
24027 * malloc/Makefile: Likewise.
24028 * posix/Makefile: Likewise.
24029 * stdio-common/Makefile: Likewise.
24030 * stdlib/Makefile: Likewise.
24031 * sysdeps/x86_64/Makefile: Likewise.
24033 * io/ftwtest-sh: Add copyright header.
24034 * posix/globtest.sh: Likewise.
24035 * posix/tst-getconf.sh: Likewise.
24036 * posix/wordexp-tst.sh: Likewise.
24037 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24039 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24042 * Makeconfig (+link): Defined as $(+link-static) if
24043 $(build-shared) isn't yes.
24044 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24046 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24048 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24051 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24052 new chunk size with MALLOC_ALIGN_MASK.
24054 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24057 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24059 (__printf_fphex): Determine rounding using get_rounding_mode and
24061 * stdio-common/tst-printf-round.c (struct hex_test): New
24063 (hex_tests): New variable.
24064 (test_hex_in_one_mode): New function.
24065 (do_test): Also run tests for hex float output.
24067 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24069 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24070 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24071 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24072 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24073 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24074 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24075 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24076 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24078 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24080 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24081 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24082 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24083 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24085 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24088 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24090 * elf/tst-rtld-load-self.sh: New test.
24091 * elf/Makefile: Run it.
24093 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24095 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24096 (tst-writev-ENV): Remove.
24097 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24099 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24101 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24103 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24105 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24107 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24109 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24110 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24111 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24114 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24117 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24118 * config.make.in (have-cpp-asm-debuginfo): Removed.
24119 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24120 * configure: Regenerated.
24122 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24125 * stdio-common/printf_fp.c: Include <stdbool.h> and
24127 (___printf_fp): Determine rounding using get_rounding_mode and
24129 * stdio-common/tst-printf-round.c: New file.
24130 * stdio-common/Makefile (tests): Add tst-printf-round.
24131 (link-libm): New variable.
24132 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24134 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24137 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24138 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24140 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24143 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24145 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24146 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24147 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24148 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24150 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24153 * include/rounding-mode.h: New file.
24154 * sysdeps/generic/get-rounding-mode.h: Likewise.
24155 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24156 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24157 (MAX_VALUE): New macro.
24158 (MIN_VALUE): Likewise.
24159 (overflow_value): New function.
24160 (underflow_value): Likewise.
24161 (round_and_return): Use overflow_value and underflow_value to
24162 determine return values in overflow and underflow cases. Use
24163 round_away to determine rounding depending on rounding mode.
24164 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24165 determine return values in overflow and underflow cases.
24166 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24167 (struct test_results): New structure.
24168 (struct test): Use struct test_results to store expected results
24169 for all rounding modes.
24170 (TEST): Include expected results for all rounding modes.
24171 (test_in_one_mode): New function.
24172 (do_test): Use test_in_one_mode to compute and check results.
24173 Check results for all rounding modes.
24174 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24177 2012-12-09 Allan McRae <allan@archlinux.org>
24179 * sysdeps/i386/fpu/libm-test-ulps: Update
24181 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24183 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24184 (_G_int32_t): Likewise.
24185 (_G_uint16_t): Likewise.
24186 (_G_uint32_t): Likewise.
24187 (_G_HAVE_BOOL): Likewise.
24188 (_G_HAVE_ATEXIT): Likewise.
24189 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24190 (_G_HAVE_IO_FILE_OPEN): Likewise.
24191 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24192 (_G_int32_t): Likewise.
24193 (_G_uint16_t): Likewise.
24194 (_G_uint32_t): Likewise.
24195 (_G_HAVE_BOOL): Likewise.
24196 (_G_HAVE_ATEXIT): Likewise.
24197 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24198 (_G_HAVE_IO_FILE_OPEN): Likewise.
24199 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24200 (_G_int32_t): Likewise.
24201 (_G_uint16_t): Likewise.
24202 (_G_uint32_t): Likewise.
24203 (_G_HAVE_BOOL): Likewise.
24204 (_G_HAVE_ATEXIT): Likewise.
24205 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24206 (_G_HAVE_IO_FILE_OPEN): Likewise.
24208 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24210 * csu/libc-tls.c: Update copyright years.
24212 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24214 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24215 [!_G_USING_THUNKS]: Remove conditional code.
24216 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24217 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24219 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24220 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24221 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24222 (_G_VTABLE_LABEL_PREFIX): Likewise.
24223 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24224 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24225 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24226 (_G_VTABLE_LABEL_PREFIX): Likewise.
24227 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24228 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24229 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24230 (_G_VTABLE_LABEL_PREFIX): Likewise.
24231 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24233 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24235 * libio/Makefile: Include ../Makeconfig before tests.
24236 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24237 only if $(build-shared) is yes.
24239 * iconv/gconv_db.c: Update copyright years.
24241 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24243 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24244 unwind info if defined PIC. Fix special cases description.
24245 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24247 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24249 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24251 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24253 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24255 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24258 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24259 (LDLIBS-tst-chk4): This.
24260 (LDFLAGS-tst-chk5): Renamed to ...
24261 (LDLIBS-tst-chk5): This.
24262 (LDFLAGS-tst-chk6): Renamed to ...
24263 (LDLIBS-tst-chk6): This.
24264 (LDFLAGS-tst-lfschk4): Renamed to ...
24265 (LDLIBS-tst-lfschk4): This.
24266 (LDFLAGS-tst-lfschk5): Renamed to ...
24267 (LDLIBS-tst-lfschk5): This.
24268 (LDFLAGS-tst-lfschk6): Renamed to ...
24269 (LDLIBS-tst-lfschk6): This.
24271 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24272 on $(common-objpfx)soversions.mk.
24274 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24277 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24280 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24282 * malloc/arena.c (arena_get_retry): New function that gets
24283 another arena for the caller to try its request on.
24284 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24285 current arena cannot fulfill the request.
24286 (__libc_memalign): Likewise.
24287 (__libc_memalign): Likewise.
24288 (__libc_pvalloc): Likewise.
24289 (__libc_calloc): Likewise.
24291 2012-09-05 John Tobey <john.tobey@gmail.com>
24294 * manual/arith.texi (Operations on Complex): Fix description
24295 of carg branch cut.
24297 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24300 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24304 * manual/memory.texi (Memory): Make order of menu items match
24307 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24309 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24310 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24311 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24313 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24315 * csu/libc-tls.c (static_dtv): Renamed to ...
24316 (_dl_static_dtv): This. Make it global.
24317 (_dl_initial_dtv): Removed.
24318 (__libc_setup_tls): Updated.
24319 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24320 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24323 2012-09-06 Petr Machata <pmachata@redhat.com>
24325 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24326 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24327 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24328 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24330 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24333 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24334 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24337 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24340 * Makeconfig (link-static-before-libc): Replace $(+prector)
24342 (link-static-after-libc): Replace $(+postctor) with
24344 (link-bounded): Replace $(+prector)/$(+postctor) with
24345 $(+prectorT)/$(+postctorT).
24346 (+prectorT): New macro.
24347 (+postctorT): Likewise.
24349 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24351 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24352 (round_str): Handle values above the maximum for IBM long double
24354 * stdlib/tst-strtod-round.c (tests): Regenerated.
24356 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24358 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24360 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24361 zarch_nohighgprs around the zarch optimized routines.
24362 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24363 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24364 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24367 2012-09-05 David S. Miller <davem@davemloft.net>
24369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24371 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24372 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24373 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24374 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24377 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24379 * malloc/arena.c: Fold copyright years.
24380 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24382 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24384 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24386 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24388 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24390 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24392 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24393 change internal state upon failure.
24395 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24397 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24398 * malloc/memusage.c (mmap): Likewise.
24399 (mmap64, mremap): Likewise. Adjust name in comment.
24401 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24403 * libio/fileops.c: Fix typos in comments.
24404 * libio/oldfileops.c: Likewise.
24405 * libio/wfileops.c: Likewise.
24407 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24410 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24411 (tst-malloc-usable-ENV): Set environment for test case.
24412 * malloc/hooks.c (malloc_check_get_size): New function to get
24414 * malloc/malloc.c (musable): Use malloc_check_get_size.
24415 * malloc/tst-malloc-usable.c: New test case.
24417 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24419 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24421 2012-09-05 Allan McRae <allan@archlinux.org>
24424 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24425 determine header location.
24426 * configure: Regenerated.
24428 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24430 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24432 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24433 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24435 (test): Regenerate.
24437 2012-09-04 David S. Miller <davem@davemloft.net>
24439 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24440 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24441 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24443 2012-09-04 Florian Weimer <fweimer@redhat.com>
24445 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24448 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24450 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24453 * libio/iogetdelim.c: Include <limits.h>.
24454 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24455 + len + 1 would overflow.
24457 2012-09-03 Andreas Jaeger <aj@suse.de>
24459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24460 * sysdeps/i386/fpu/libm-test-ulps: Update.
24462 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24464 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24465 Add s_sinf-sse2, s_conf-sse2.
24467 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24468 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24469 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24470 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24472 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24473 for using routine as __sinf_ia32.
24474 Use macro for function declaration and weak_alias.
24475 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24476 for using routine as __cosf_ia32.
24477 Use macro for function declaration and weak_alias.
24479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24480 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24482 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24483 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24486 * math/libm-test.inc (cos_test): Add more test cases.
24487 (sin_test): Likewise.
24488 (sincos_test): Likewise.
24490 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24492 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24493 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24495 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24497 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24500 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24501 first element of the GOT.
24502 (elf_machine_load_address): Return the difference between
24503 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24505 2012-09-01 Allan McRae <allan@archlinux.org>
24508 * configure.in (AWK): Require gawk version 3.0 or later.
24509 * configure: Regenerated.
24511 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24513 * sysdeps/unix/sysv/linux/kernel-features.h
24514 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24516 [__NR_clock_getres]: Make code unconditional.
24517 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24518 (clock_getcpuclockid): Remove code left unreachable by removal of
24520 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24521 code unconditional.
24522 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24523 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24524 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24525 Make code unconditional.
24526 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24527 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24528 * sysdeps/unix/sysv/linux/clock_settime.c
24529 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24531 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24532 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24534 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24537 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24538 scripts/test-installation.pl.
24540 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24541 and $ld_so_version if it is set.
24543 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24546 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24547 failure if reading from procfs failed.
24548 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24550 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24552 * sysdeps/unix/sysv/linux/kernel-features.h
24553 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24554 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24555 Remove conditional code.
24556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24557 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24558 Remove conditional code.
24559 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24560 * sysdeps/unix/sysv/linux/i386/fxstat.c
24561 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24562 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24563 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24564 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24565 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24566 * sysdeps/unix/sysv/linux/i386/lxstat.c
24567 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24568 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24569 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24570 Remove conditional code.
24571 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24572 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24573 Remove conditional code.
24574 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24575 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24576 <kernel-features.h>.
24577 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24579 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24580 Remove conditional code.
24581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24582 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24583 Remove conditional.
24585 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24588 * NEWS: Add fixed bug number.
24590 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24593 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24594 underflowing exponent in case of negative sign.
24595 * stdlib/tst-strtod-round-data: Add more tests.
24596 * stdlib/tst-strtod-round.c (tests): Regenerated.
24599 * stdlib/strtod_l.c (NDIG): Remove.
24600 (HEXNDIG): Likewise.
24601 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24602 smallest representable value.
24603 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24604 lie within an exact representation of 1/2 ulp of the result.
24605 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24607 (TENS_P9_IDX): Define unconditionally.
24608 (TENS_P9_SIZE): Likewise.
24609 (TENS_P10_IDX): Likewise.
24610 (TENS_P10_SIZE): Likewise.
24611 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24612 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24613 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24614 entries for 10^2^13 and 10^2^14.
24615 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24616 (TENS_P13_IDX): Define.
24617 (TENS_P13_SIZE): Likewise.
24618 (TENS_P14_IDX): Likewise.
24619 (TENS_P14_SIZE): Likewise.
24620 (_fpioconst_pow10): Change array size to
24621 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24623 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24624 1024]: Add entries for 10^2^13 and 10^2^14.
24625 [LAST_POW10 > _LAST_POW10]: Remove #error.
24626 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24627 (_fpioconst_pow10): Change array size to
24628 FPIOCONST_POW10_ARRAY_SIZE.
24629 * stdlib/gen-fpioconst.c: New file.
24630 * stdlib/gen-tst-strtod-round.c: Likewise.
24631 * stdlib/tst-strtod-round-data: Likewise.
24632 * stdlib/tst-strtod-round.c: Likewise.
24633 * stdlib/Makefile (tests): Add tst-strtod-round.
24636 * stdlib/strtod_l.c: Include <stdint.h>.
24637 (NDEBUG): Do not define.
24638 (round_and_return): Change EXPONENT parameter to type intmax_t.
24639 Rearrange calculations to avoid internal overflow possibilities.
24640 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24641 Rearrange calculations to avoid internal overflow possibilities.
24642 Assert that number fits inside MPNSIZE limbs.
24643 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24644 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24645 calculations and add assertions to avoid internal overflow
24646 possibilities. Add casts to avoid signed/unsigned operations.
24647 * stdlib/tst-strtod-overflow.c: New file.
24648 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24650 2012-08-25 Marek Polacek <polacek@redhat.com>
24652 * time/time.h: Fix some typos in comments.
24654 2012-08-23 Roland McGrath <roland@hack.frob.com>
24656 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24657 * posix/tst-rfc3484-2.c: Likewise.
24658 * posix/tst-rfc3484-3.c: Likewise.
24660 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24662 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24663 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24665 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24667 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24668 #include of fxstatat64.c.
24670 2012-08-22 Roland McGrath <roland@hack.frob.com>
24672 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24673 * shadow/getspent_r.c: Likewise.
24674 * shadow/getspnam.c: Likewise.
24675 * shadow/getspnam_r.c: Likewise.
24676 * gshadow/getsgent.c: Likewise.
24677 * gshadow/getsgent_r.c: Likewise.
24678 * gshadow/getsgnam.c: Likewise.
24679 * gshadow/getsgnam_r.c: Likewise.
24680 * inet/getnetbyad.c: Likewise.
24681 * inet/getnetbyad_r.c: Likewise.
24682 * inet/getnetbynm.c: Likewise.
24683 * inet/getnetbynm_r.c: Likewise.
24684 * inet/getnetent.c: Likewise.
24685 * inet/getnetent_r.c: Likewise.
24686 * inet/getproto.c: Likewise.
24687 * inet/getproto_r.c: Likewise.
24688 * inet/getprtent.c: Likewise.
24689 * inet/getprtent_r.c: Likewise.
24690 * inet/getprtname.c: Likewise.
24691 * inet/getprtname_r.c: Likewise.
24692 * inet/getrpcbyname.c: Likewise.
24693 * inet/getrpcbyname_r.c: Likewise.
24694 * inet/getrpcbynumber.c: Likewise.
24695 * inet/getrpcbynumber_r.c: Likewise.
24696 * inet/getrpcent.c: Likewise.
24697 * inet/getrpcent_r.c: Likewise.
24698 * inet/getaliasent.c: Likewise.
24699 * inet/getaliasent_r.c: Likewise.
24700 * inet/getaliasname.c: Likewise.
24701 * inet/getaliasname_r.c: Likewise.
24702 * nscd/getgrgid_r.c: Likewise.
24703 * nscd/getgrnam_r.c: Likewise.
24704 * nscd/gethstbyad_r.c: Likewise.
24705 * nscd/gethstbynm3_r.c: Likewise.
24706 * nscd/getpwnam_r.c: Likewise.
24707 * nscd/getpwuid_r.c: Likewise.
24708 * nscd/getsrvbynm_r.c: Likewise.
24709 * nscd/getsrvbypt_r.c: Likewise.
24710 * nscd/gai.c: Likewise.
24712 * configure.in (build_nscd): New substituted variable, set
24713 by --disable-build-nscd and defaults to $use_nscd.
24714 * configure: Regenerated.
24715 * config.make.in (build-nscd): New substituted variable.
24716 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24717 Change conditional to require [$(build-nscd) = yes] as well.
24718 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24721 * configure.in (use_nscd): New substituted variable, set by
24722 --disable-nscd. If enabled, define USE_NSCD.
24723 * configure: Regenerated.
24724 * config.h.in: Add USE_NSCD.
24725 * config.make.in (use-nscd): New substituted variable.
24726 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24727 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24728 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24729 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24730 (CFLAGS-getgrnam_r.c): Likewise.
24731 (CFLAGS-initgroups.c): Likewise.
24732 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24733 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24735 * inet/getnetgrent_r.c
24736 (nscd_setnetgrent): New function, broken out of ...
24737 (setnetgrent): ... here. Call it.
24738 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24739 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24740 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24741 * nscd/Makefile (routines, aux): Move definitions after include of
24742 Makeconfig. Conditionalize on [$(use-nscd) != no].
24743 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24744 Conditionalize on [USE_NSCD].
24745 (is_nscd, nscd_init_cb): Likewise.
24746 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24747 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24748 * nss/nss_db/db-init.c: Likewise.
24749 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24751 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24752 (make_request): Use it.
24753 (cache_valid_p): New function.
24754 (__check_pf): Use it.
24755 * NEWS: Add item for --disable-nscd.
24757 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24759 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24760 to support sed >= 4.2.1-20-ga9bf076.
24761 * configure: Regenerated.
24763 2012-08-22 Roland McGrath <roland@hack.frob.com>
24765 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24766 Conditionalize whole body on [IREL].
24768 2012-08-22 Jeff Law <law@redhat.com>
24771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24772 if the family is PF_UNSPEC.
24774 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24776 * Makerules (lib-version): Rename from V.
24777 (install-lib-nosubdir): Change V to lib-version.
24779 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24782 * powerpc32/power6/wcschr.c: New file.
24783 * powerpc32/power6/wcscpy.c: New file.
24784 * powerpc32/power6/wcsrchr.c: New file.
24785 * powerpc64/power6/wcschr.c: New file.
24786 * powerpc64/power6/wcscpy.c: New file.
24787 * powerpc64/power6/wcsrchr.c: New file.
24789 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24791 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24792 (two_way_short_needle): Use it.
24793 * string/strstr.c (AVAILABLE1_USES_J): Define.
24794 * string/strcasestr.c: Likewise.
24796 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24798 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24801 * NEWS: Add an entry.
24802 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24803 define their defaults.
24804 (two_way_short_needle): Detect end-of-string on-the-fly.
24805 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24806 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24807 * string/bug-strcasestr1.c: New test.
24808 * string/Makefile: Run it.
24810 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24813 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24814 the first character.
24816 2012-08-21 Roland McGrath <roland@hack.frob.com>
24818 * csu/elf-init.c (__libc_csu_irel): Function removed.
24819 * csu/libc-start.c (apply_irel): New function.
24820 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24822 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24824 * sysdeps/unix/sysv/linux/kernel-features.h
24825 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24826 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24827 <kernel-features.h>.
24828 [__NR_fadvise64_64]: Make code unconditional.
24829 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24830 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24831 !__NR_fadvise64_64)]: Likewise.
24832 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24833 !__NR_fadvise64_64))]: Likewise.
24834 [__NR_fadvise64]: Make code unconditional.
24835 [!__NR_fadvise64]: Remove conditional code.
24836 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24837 <kernel-features.h>.
24838 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24840 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24843 not include <kernel-features.h>.
24844 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24846 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24848 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24849 include <kernel-features.h>.
24850 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24852 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24855 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24857 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24858 slight instruction rearrangements per scrollpipe analysis.
24859 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24861 2012-08-20 Roland McGrath <roland@hack.frob.com>
24863 * manual/syslog.texi (syslog; vsyslog, closelog):
24864 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24865 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24867 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24868 DSOCAPS to match condition on defining it.
24870 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24872 * sysdeps/unix/sysv/linux/kernel-features.h
24873 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24875 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24876 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24878 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24879 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24881 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24882 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24884 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24885 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24887 * sysdeps/unix/sysv/linux/kernel-features.h
24888 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24889 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24891 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24892 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24893 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24894 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24895 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24896 Make code unconditional.
24897 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24898 (__mmap64) [!__NR_mmap2]: Likewise.
24899 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24900 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24901 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24902 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24903 [__NR_mmap2]: Make code unconditional.
24904 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24905 (__mmap64) [!__NR_mmap2]: Likewise.
24907 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24909 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24911 2012-08-18 Andreas Jaeger <aj@suse.de>
24913 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24915 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24917 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24918 * include/unistd.h (__have_sock_cloexec): Likewise.
24919 (__have_pipe2): Likewise.
24920 (__have_dup3): Likewise.
24922 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24925 * include/unistd.h (__have_pipe2): Change define into an extern int.
24926 (__have_dup3): Likewise.
24927 * socket/have_sock_cloexec.c: Include fcntl.h.
24928 (__have_pipe2): New variable.
24929 (__have_dup3): Likewise.
24931 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24933 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24935 2012-08-17 Marek Polacek <polacek@redhat.com>
24937 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24938 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24940 2012-08-17 Roland McGrath <roland@hack.frob.com>
24942 * configure.in: Add AC_SUBST for sysheaders.
24943 * configure: Regenerated.
24944 * config.make.in (sysheaders): New substituted variable.
24946 * sysdeps/unix/mkfifo.c: Moved ...
24947 * sysdeps/posix/mkfifo.c: ... here.
24948 * sysdeps/unix/mkfifoat.c: Moved ...
24949 * sysdeps/posix/mkfifoat.c: ... here.
24951 * sysdeps/unix/utime.c: Moved ...
24952 * sysdeps/posix/utime.c: ... here.
24954 * sysdeps/unix/time.c: Moved ...
24955 * sysdeps/posix/time.c: ... here.
24956 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24957 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24959 * sysdeps/unix/nice.c: Moved ...
24960 * sysdeps/posix/nice.c: ... here.
24962 * sysdeps/unix/alarm.c: Moved ...
24963 * sysdeps/posix/alarm.c: ... here.
24965 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24967 2012-08-17 Jeff Law <law@redhat.com>
24969 * intl/Makefile (codeset_mo): New variable.
24970 ($(codeset_mo)): New target.
24971 (tst-codeset.out): Depend on that. Remove explicit rule.
24972 (tst-gettext3.out, tst-gettext5.out): Likewise.
24973 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24974 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24975 * intl/tst-codeset.sh: Remove.
24976 * intl/tst-gettext3.sh: Likewise.
24977 * intl/tst-gettext5.sh: Likewise.
24979 2012-08-17 Roland McGrath <roland@hack.frob.com>
24981 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24982 * sysdeps/unix/syscalls.list: ... here.
24984 * sysdeps/posix/getaddrinfo.c
24985 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24986 (gaiconf_init, gaiconf_reload): Use them.
24987 [!_STATBUF_ST_NSEC]
24988 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24989 Define using time_t rather than struct timespec.
24991 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24992 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24994 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24996 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24997 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25000 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25001 __libc_cleanup_push argument.
25003 * bits/param.h: New file.
25004 * misc/sys/param.h: New file.
25005 * include/sys/param.h: New file.
25006 * misc/Makefile (headers): Add bits/param.h.
25007 * sysdeps/generic/sys/param.h: File removed.
25008 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25009 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25010 * sysdeps/mach/hurd/bits/param.h: New file.
25011 * sysdeps/mach/hurd/sys/param.h: File removed.
25013 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25016 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25018 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25019 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25022 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25023 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25024 rather than -D_IO_MTSAFE_IO conditionally.
25025 * stdio-common/Makefile (CPPFLAGS): Likewise.
25026 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25027 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25028 Use $(libio-mtsafe).
25029 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25030 of -D_IO_MTSAFE_IO.
25031 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25032 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25033 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25034 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25035 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25036 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25037 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25038 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25039 (CFLAGS-fread_u_chk.c): Likewise.
25040 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25041 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25042 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25043 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25044 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25045 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25046 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25047 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25048 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25050 * libio/Makefile: Test [$(libc-reentrant) = yes]
25051 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25054 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25055 * sysdeps/pthread/configure: File removed.
25056 * sysdeps/pthread/Makeconfig: New file.
25057 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25058 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25060 2012-08-16 Gary Benson <gbenson@redhat.com>
25062 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25063 unmapping the first object in a namespace.
25065 2012-08-16 Roland McGrath <roland@hack.frob.com>
25067 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25068 (__internal_setnetgrent): ... this. Add internal_function to
25069 definition. Add libc_hidden_def.
25070 (setnetgrent): Update caller.
25071 (internal_endnetgrent): Renamed to ...
25072 (__internal_endnetgrent): ... this. Add internal_function to
25073 definition. Add libc_hidden_def.
25074 (endnetgrent): Update caller.
25075 (internal_getnetgrent_r): Renamed to ...
25076 (__internal_getnetgrent_r): ... this. Add internal_function to
25077 definition. Add libc_hidden_def.
25078 (__getnetgrent_r): Update caller.
25079 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25081 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25083 * stdlib/longlong.h: Update from GCC.
25085 2012-08-16 Roland McGrath <roland@hack.frob.com>
25087 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25088 on _QL, which is set by umul_ppmm but never used.
25089 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25090 variables, which are set by GMP macros but never used.
25091 * stdio-common/_itowa.c (_itowa): Likewise.
25092 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25093 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25095 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25097 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25098 struct La_sh_regs is not constant.
25099 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25100 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25101 and struct La_sparc64_regs are not constant.
25103 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25105 * sysdeps/unix/sysv/linux/kernel-features.h
25106 (__ASSUME_POSIX_TIMERS): Remove.
25107 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25108 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25109 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25110 Make code unconditional.
25111 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25112 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25113 Make code unconditional.
25114 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25115 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25116 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25117 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25118 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25119 Make code unconditional.
25120 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25121 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25122 (__libc_missing_posix_timers): Remove.
25124 2012-08-15 Roland McGrath <roland@hack.frob.com>
25126 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25127 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25129 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25131 * elf/dl-sym.c: Include <stdlib.h>.
25133 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25134 constants, which avoids warnings in 32-bit builds.
25136 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25137 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25139 * misc/lseek.c: File moved to ...
25140 * io/lseek.c: ... here.
25142 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25144 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25145 shifting LEN more than 31 bits at once.
25147 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25150 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25151 segmentation fault for a case of two empty input strings.
25152 * string/test-strncasecmp.c (check1): Renamed to...
25153 (bz12205): ...this.
25154 (bz14195): Add new testcase for two empty input strings and N > 0.
25155 (test_main): Call new testcase, adapt for renamed function.
25157 2012-08-15 Andreas Jaeger <aj@suse.de>
25160 * crypt/md5test2.c: New test, based on test supplied by Serge
25161 Belyshev <belyshev@depni.sinp.msu.ru>.
25162 * crypt/Makefile (xtests): Add md5test-giant..
25163 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25165 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25168 * crypt/md5.c (md5_process_block): Don't assume the buffer
25169 length is less than 2**32.
25170 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25171 length is less than 2**64.
25173 2012-08-15 Roland McGrath <roland@hack.frob.com>
25175 * string/str-two-way.h: Include <sys/param.h>.
25176 (MAX): Macro removed.
25178 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25179 Move #define and #undef of memmove to just before and after
25180 including <string.h>.
25182 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25183 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25184 and after including <string.h>. Move declarations of
25185 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25186 to before #include "string/memmove.c".
25188 * include/dirent.h: Declare __getdirentries.
25190 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25191 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25193 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25195 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25196 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25197 * sysdeps/i386/configure: Regenerated.
25198 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25199 STABS_CURRENT_FILE, and STABS_FUN.
25200 (END): Remove call to STABS_FUN_END.
25201 (STABS_CURRENT_FILE1): Delete.
25202 (STABS_CURRENT_FILE): Likewise.
25203 (STABS_FUN): Likewise.
25204 (STABS_FUN_END): Likewise.
25205 (STABS_FUN2): Likewise.
25206 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25207 * sysdeps/x86_64/configure: Regenerated.
25209 2012-08-14 Roland McGrath <roland@hack.frob.com>
25211 * elf/dl-open.c: Include <atomic.h>.
25212 * elf/dl-lookup.c: Likewise.
25214 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25216 * sysdeps/unix/sysv/linux/kernel-features.h
25217 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25218 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25220 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25222 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25223 condition on __ASSUME_CLONE_THREAD_FLAGS.
25225 2012-08-14 Andreas Jaeger <aj@suse.de>
25227 * sysdeps/i386/fpu/libm-test-ulps: Update.
25229 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25231 * include/atomic.h (atomic_exchange_and_add): Split into ...
25232 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25235 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25239 2012-08-13 Jeff Law <law@redhat.com>
25241 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25242 null byte in the output string.
25244 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25246 * sysdeps/unix/sysv/linux/kernel-features.h
25247 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25248 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25249 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25250 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25251 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25252 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25253 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25255 2012-08-09 Jeff Law <law@redhat.com>
25258 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25259 When avoid_arena is set, don't retry in the that arena. Pick the
25260 next one, whatever it might be.
25261 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25262 (arena_lock): Pass in new parameter to arena_get2.
25263 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25265 (__libc_malloc): Unify retrying after main arena failure with
25266 __libc_memalign version.
25267 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25269 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25272 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25273 to __redirect_strstr.
25274 (__strstr_sse42): Use typeof __redirect_strstr.
25275 (__strstr_ia32): Likewise.
25276 (__libc_strstr): New prototype.
25277 (strstr): Renamed to ...
25278 (__libc_strstr): This.
25279 (strstr): New strong alias of __libc_strstr.
25280 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25281 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25284 (__libc_time): New prototype.
25285 (time_ifunc): Replace time with __libc_time.
25286 (time): New strong alias and hidden definition of __libc_time.
25287 (__GI_time): Remove strong alias.
25288 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25289 Include <stddef.h>.
25290 (memmove): Redefined to __redirect_memmove.
25291 (__memmove_sse2): Use typeof __redirect_memmove.
25292 (__memmove_ssse3): Likewise.
25293 (__memmove_ssse3_back): Likewise.
25294 (__libc_memmove): New prototype.
25295 (memmove): Renamed to ...
25296 (__libc_memmove): This.
25297 (memmove): New strong alias of __libc_memmove.
25299 2012-08-08 Mark Salter <msalter@redhat.com>
25302 (R_MN10300_TLS_GD): Define.
25303 (R_MN10300_TLS_LD): Likewise.
25304 (R_MN10300_TLS_LDO): Likewise.
25305 (R_MN10300_TLS_GOTIE): Likewise.
25306 (R_MN10300_TLS_IE): Likewise.
25307 (R_MN10300_TLS_LE): Likewise.
25308 (R_MN10300_TLS_DTPMOD): Likewise.
25309 (R_MN10300_TLS_DTPOFF): Likewise.
25310 (R_MN10300_TLS_TPOFF): Likewise.
25311 (R_MN10300_SYM_DIFF): Likewise.
25312 (R_MN10300_ALIGN): Likewise.
25313 (R_MN10300_NUM): Update.
25315 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25320 2012-08-08 Roland McGrath <roland@hack.frob.com>
25322 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25324 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25325 sysdeps/unix -> sysdeps/posix move.
25326 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25328 2012-08-07 Allan McRae <allan@archlinux.org>
25331 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25332 (SUNOS_CPP): Likewise.
25333 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25335 (open_input): Call CPP using execvp.
25337 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25339 * sysdeps/unix/sysv/linux/kernel-features.h
25340 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25341 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25342 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25343 (__ASSUME_WAITID_SYSCALL): Likewise.
25344 * sysdeps/unix/sysv/linux/dl-execstack.c
25345 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25346 code unconditional.
25347 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25350 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25351 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25353 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25355 [__ASSUME_WAITID_SYSCALL]: Likewise.
25356 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25358 2012-08-07 Roland McGrath <roland@hack.frob.com>
25360 * sysdeps/unix/closedir.c: Renamed to ...
25361 * sysdeps/posix/closedir.c: ... here.
25362 * sysdeps/unix/dirfd.c: Renamed to ...
25363 * sysdeps/posix/dirfd.c: ... here.
25364 * sysdeps/unix/dirstream.h: Renamed to ...
25365 * sysdeps/posix/dirstream.h: ... here.
25366 * sysdeps/unix/fdopendir.c: Renamed to ...
25367 * sysdeps/posix/fdopendir.c: ... here.
25368 * sysdeps/unix/opendir.c: Renamed to ...
25369 * sysdeps/posix/opendir.c: ... here.
25370 * sysdeps/unix/readdir.c: Renamed to ...
25371 * sysdeps/posix/readdir.c: ... here.
25372 * sysdeps/unix/readdir_r.c: Renamed to ...
25373 * sysdeps/posix/readdir_r.c: ... here.
25374 * sysdeps/unix/rewinddir.c: Renamed to ...
25375 * sysdeps/posix/rewinddir.c: ... here.
25376 * sysdeps/unix/seekdir.c: Renamed to ...
25377 * sysdeps/posix/seekdir.c: ... here.
25378 * sysdeps/unix/telldir.c: Renamed to ...
25379 * sysdeps/posix/telldir.c: ... here.
25380 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25381 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25382 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25383 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25385 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25386 * bits/fcntl.h: ... here.
25388 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25390 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25391 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25392 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25393 (struct flock): Move l_start, l_len to the beginning.
25394 Use __pid_t for l_pid.
25395 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25396 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25397 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25398 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25399 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25400 [__USE_LARGEFILE64] (struct flock64): New type.
25401 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25403 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25404 * bits/dirent.h: ... here.
25406 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25407 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25409 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25412 Change from 2.6.0 to 2.6.16.
25413 * sysdeps/unix/sysv/linux/configure: Regenerated.
25414 * sysdeps/unix/sysv/linux/kernel-features.h
25415 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25416 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25418 (__ASSUME_UTIMES): Likewise.
25419 (__ASSUME_CLONE_STOPPED): Remove.
25420 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25421 architectures, not kernel version.
25422 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25423 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25424 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25425 (__ASSUME_WAITID_SYSCALL): Likewise.
25426 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25427 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25428 * README: State 2.6.16 as minimum Linux kernel version. Do not
25429 refer to older versions.
25431 2012-08-06 Roland McGrath <roland@hack.frob.com>
25433 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25434 Define alphasort64 as an alias.
25435 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25436 Define versionsort64 as an alias.
25437 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25438 Define scandir64 as an alias.
25439 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25440 Define scandirat64 as an alias.
25441 * dirent/alphasort64.c (alphasort64):
25442 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25443 * dirent/versionsort64.c: Likewise.
25444 * dirent/scandir64.c: Likewise.
25445 * dirent/scandirat64.c: Likewise.
25446 * sysdeps/wordsize-64/alphasort.c: File removed.
25447 * sysdeps/wordsize-64/alphasort64.c: File removed.
25448 * sysdeps/wordsize-64/scandir.c: File removed.
25449 * sysdeps/wordsize-64/scandir64.c: File removed.
25450 * sysdeps/wordsize-64/scandirat.c: File removed.
25451 * sysdeps/wordsize-64/scandirat64.c: File removed.
25452 * sysdeps/wordsize-64/versionsort.c: File removed.
25453 * sysdeps/wordsize-64/versionsort64.c: File removed.
25454 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25455 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25456 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25457 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25458 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25459 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25460 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25461 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25463 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25465 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25467 [defined __arch64__ || defined __sparcv9]
25468 (__INO_T_MATCHES_INO64_T): New macro.
25469 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25470 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25471 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25472 * sysdeps/unix/sysv/linux/bits/dirent.h
25473 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25474 (_DIRENT_MATCHES_DIRENT64): New macro.
25476 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25477 Define lockf64 as an alias.
25478 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25479 Define fseeko64 as an alias.
25480 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25481 Define ftello64 as an alias.
25482 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25483 Define _IO_fgetpos64 and fgetpos64 as aliases.
25484 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25485 Define _IO_fsetpos64 and fsetpos64 as aliases.
25486 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25487 Conditionalize body on this.
25488 * libio/fseeko64.c: Likewise.
25489 * libio/ftello64.c: Likewise.
25490 * libio/iofgetpos64.c: Likewise.
25491 * libio/iofsetpos64.c: Likewise.
25492 * sysdeps/wordsize-64/lockf.c: File removed.
25493 * sysdeps/wordsize-64/lockf64.c: File removed.
25494 * sysdeps/wordsize-64/fseeko.c: File removed.
25495 * sysdeps/wordsize-64/fseeko64.c: File removed.
25496 * sysdeps/wordsize-64/ftello.c: File removed.
25497 * sysdeps/wordsize-64/ftello64.c: File removed.
25498 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25499 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25500 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25501 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25502 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25503 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25504 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25505 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25506 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25507 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25508 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25509 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25510 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25511 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25513 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25515 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25517 [defined __arch64__ || defined __sparcv9]
25518 (__OFF_T_MATCHES_OFF64_T): New macro.
25519 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25520 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25522 (__OFF_T_MATCHES_OFF64_T): New macro.
25524 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25526 * stdlib/secure-getenv.c (__secure_getenv): Replace
25527 GLIBC_2_16 with GLIBC_2_17.
25529 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25531 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25532 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25534 2012-08-03 David S. Miller <davem@davemloft.net>
25536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25538 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25542 (__ASSUME_CORRECT_SI_PID): Likewise.
25543 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25544 (__ASSUME_TMPFS_NAME): Likewise.
25545 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25546 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25547 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25548 (HAVE_AUX_SECURE): Make definition unconditional.
25549 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25550 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25552 2012-08-03 Roland McGrath <roland@hack.frob.com>
25554 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25555 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25556 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25557 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25558 __eloop_threshold instead of SYMLOOP_MAX.
25560 * sysdeps/generic/eloop-threshold.h: New file.
25561 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25563 * elf/chroot_canon.c (chroot_canon): Likewise.
25565 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25568 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25569 Change to 2.6.0 everywhere.
25570 * sysdeps/unix/sysv/linux/configure: Regenerated.
25571 * sysdeps/unix/sysv/linux/kernel-features.h
25572 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25573 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25575 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25576 (__ASSUME_FUTEX_REQUEUE): Remove.
25577 (__ASSUME_STATFS64): Define unconditionally.
25578 (__ASSUME_AT_SECURE): Likewise.
25579 (__ASSUME_CORRECT_SI_PID): Likewise.
25580 (__ASSUME_TGKILL): Define without depending on kernel version for
25582 (__ASSUME_UTIMES): Likewise.
25583 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25585 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25586 (__ASSUME_TMPFS_NAME): Likewise.
25587 * README: Update reference to Linux kernel versions.
25589 2012-08-02 Marek Polacek <polacek@redhat.com>
25592 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25593 libc_cv_asm_type_prefix with %.
25594 * configure: Regenerated.
25595 * include/libc-symbols.h: Remove comment about
25596 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25597 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25598 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25599 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25600 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25601 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25602 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25603 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25604 * elf/tst-unique2mod1.c: Likewise.
25605 * elf/tst-unique1mod2.c: Likewise.
25606 * elf/tst-unique1mod1.c: Likewise.
25607 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25608 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25609 Replace ASM_TYPE_DIRECTIVE with .type.
25610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25611 * sysdeps/i386/sysdep.h: Likewise.
25612 * sysdeps/x86_64/sysdep.h: Likewise.
25613 * sysdeps/sh/sysdep.h: Likewise.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25615 Do not define ASM_TYPE_DIRECTIVE.
25616 * sysdeps/powerpc/sysdep.h: Likewise.
25617 * sysdeps/powerpc/powerpc32/sysdep.h:
25618 Replace ASM_TYPE_DIRECTIVE with .type.
25619 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25620 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25621 * sysdeps/i386/fpu/e_powf.S: Likewise.
25622 * sysdeps/i386/fpu/e_expl.S: Likewise.
25623 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25624 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25625 * sysdeps/i386/fpu/e_pow.S: Likewise.
25626 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25627 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25628 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25629 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25630 * sysdeps/i386/fpu/e_log2.S: Likewise.
25631 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25632 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25633 * sysdeps/i386/fpu/e_powl.S: Likewise.
25634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25635 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25636 * sysdeps/i386/fpu/e_logl.S: Likewise.
25637 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25638 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25639 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25640 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25641 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25642 * sysdeps/i386/fpu/e_log.S: Likewise.
25643 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25644 * sysdeps/i386/fpu/e_logf.S: Likewise.
25645 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25646 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25647 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25648 * sysdeps/i386/fpu/e_log10.S: Likewise.
25649 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25650 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25651 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25652 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25653 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25654 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25655 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25656 * sysdeps/i386/i686/strtok.S: Likewise.
25657 * sysdeps/i386/i386-mcount.S: Likewise.
25658 * sysdeps/i386/strtok.S: Likewise.
25659 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25660 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25661 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25662 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25663 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25664 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25665 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25666 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25668 * sysdeps/x86_64/_mcount.S: Likewise.
25669 * sysdeps/x86_64/strtok.S: Likewise.
25670 * sysdeps/sh/_mcount.S: Likewise.
25672 2012-08-01 Roland McGrath <roland@hack.frob.com>
25674 * libio/iofopen.c: Include <fcntl.h>.
25675 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25676 (_IO_fopen64, fopen64): Define as aliases.
25677 * libio/iofopen64.c: Include <fcntl.h>.
25678 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25679 Conditionalize body on this.
25680 * sysdeps/wordsize-64/iofopen.c: File removed.
25681 * sysdeps/wordsize-64/iofopen64.c: File removed.
25683 2012-08-01 Marek Polacek <polacek@redhat.com>
25685 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25686 Use dlfcn directly instead of a variable.
25687 (binfmt-subdir): Do not define.
25690 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25692 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25693 Remove all definitions.
25694 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25695 <kernel-features.h>.
25696 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25697 (miss_F_GETOWN_EX): Remove all definitions.
25698 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25700 [!__ASSUME_FCNTL64]: Remove conditional code.
25701 [__ASSUME_FCNTL64]: Make code unconditional.
25702 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25703 <kernel-features.h>.
25704 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25705 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25706 (lockf64) [__NR_fcntl64]: Make code unconditional.
25707 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25709 * sysdeps/unix/sysv/linux/kernel-features.h
25710 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25711 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25712 Make code unconditional.
25713 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25714 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25716 [__NR_vfork]: Make code unconditional.
25717 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25718 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25720 [__NR_vfork]: Make code unconditional.
25721 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25722 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25724 2012-08-01 Roland McGrath <roland@hack.frob.com>
25726 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25727 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25729 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25730 Define mkstemp64 as an alias.
25731 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25732 Define mkstemps64 as an alias.
25733 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25734 Define mkostemp64 as an alias.
25735 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25736 Define mkostemps64 as an alias.
25737 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25738 Conditionalize body on this.
25739 * misc/mkostemp64.c: Likewise.
25740 * misc/mkostemps64.c: Likewise.
25741 * misc/mkstemps64.c: Likewise.
25742 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25743 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25744 * sysdeps/wordsize-64/mkostemp.c: File removed.
25745 * sysdeps/wordsize-64/mkstemp.c: File removed.
25746 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25747 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25748 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25749 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25752 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25753 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25754 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25755 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25757 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25758 compat_symbol macros from <shlib-compat.h> rather than the underlying
25759 default_symbol_version and symbol_version macros, so that DEFAULT
25760 lines in shlib-versions are respected.
25761 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25763 2012-08-01 Florian Weimer <fweimer@redhat.com>
25765 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25766 Declare with warn_unused_result.
25767 (setgid, setregid, setegid, setresgid): Likewise.
25768 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25770 * WUR-REPORT: Remove set*id functions.
25772 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25774 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25776 2012-07-31 Roland McGrath <roland@hack.frob.com>
25779 * include/sys/socket.h (__libc_accept, __libc_accept4):
25780 Add attribute_hidden.
25781 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25783 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25785 * inet/getnetgrent_r.c (setup): Likewise.
25787 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25789 2012-07-31 David S. Miller <davem@davemloft.net>
25791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25793 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25796 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25797 value between 1.0 and 2.0 and smaller part has absolute value less
25799 * math/s_clog10.c (__clog10): Likewise.
25800 * math/s_clog10f.c (__clog10f): Likewise.
25801 * math/s_clog10l.c (__clog10l): Likewise.
25802 * math/s_clogf.c (__clogf): Likewise.
25803 * math/s_clogl.c (__clogl): Likewise.
25804 * math/libm-test.inc (clog_test): Add more tests.
25805 (clog10_test): Likewise.
25806 * sysdeps/i386/fpu/libm-test-ulps: Update.
25807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25809 2012-07-31 Florian Weimer <fweimer@redhat.com>
25811 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25812 Exit with zero in case no suitable GID is found, and write a
25813 message to standard error.
25815 2012-07-30 Roland McGrath <roland@hack.frob.com>
25817 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25819 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25820 (MAXPATHLEN): Removed.
25821 (NOGROUP, NODEV): New macros.
25822 (setbit, clrbit, isset, isclr): New macros.
25823 (howmany, roundup, powerof2): New macros.
25824 (DEV_BSIZE): New macro.
25826 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25827 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25829 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25830 definition on [!__NO_LONG_DOUBLE_MATH].
25832 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25833 PTR_MANGLE and PTR_DEMANGLE.
25835 * socket/accept4.c (accept4): Rename to __libc_accept4.
25836 Define accept4 as a weak alias.
25838 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25839 on [_DIRENT_HAVE_D_TYPE].
25840 * io/ftw.c (ftw_dir): Likewise.
25842 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25844 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25846 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25847 Use the BSD numbers rather than the arbitrary ones we had.
25848 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25849 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25850 (SIGXCPU, SIGXFSZ): New macros.
25853 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25854 initializer on [_LIBC_REENTRANT].
25856 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25857 definitions inside [_POSIX_MAPPED_FILES].
25859 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25861 * dirent/opendir.c: Include <fcntl.h>.
25863 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25864 (__libc_getspecific): Likewise.
25865 (__libc_key_create): Likewise.
25867 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25868 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25869 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25870 (tmpfile64): Define as alias.
25871 * sysdeps/wordsize-64/tmpfile.c: File removed.
25872 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25873 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25874 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25876 * stdio-common/vfscanf.c: Include <stdbool.h>.
25877 * nss/makedb.c: Likewise.
25878 * stdio-common/_i18n_number.h: Likewise.
25879 * argp/argp-help.c: Likewise.
25880 * posix/wordexp.c: Likewise.
25881 * sysdeps/posix/spawni.c: Likewise.
25882 * nss/nss_files/files-initgroups.c: Likewise.
25883 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25884 * nss/nss_files/files-initgroups.c: Likewise.
25885 * nss/nss_db/db-netgrp.c: Likewise.
25886 * nss/nss_db/db-initgroups.c: Likewise.
25887 * io/fchmodat.c: Include <sys/stat.h>.
25889 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25890 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25892 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25895 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25896 Add multiple inclusion protection.
25898 2012-07-27 David S. Miller <davem@davemloft.net>
25900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25902 2012-07-27 Gary Benson <gbenson@redhat.com>
25905 * elf/rtld.c: Include <stap-probe.h>.
25906 (dl_main): Added static probes "init_start" and "init_complete".
25907 * elf/dl-load.c: Include <stap-probe.h>.
25908 (lose): Take new parameter "nsid".
25909 Added static probe "map_failed".
25910 (_dl_map_object_from_fd): Pass namespace id to lose.
25911 Added static probe "map_start".
25912 (open_verify): Pass namespace id to lose.
25913 * elf/dl-open.c: Include <stap-probe.h>.
25914 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25915 and "reloc_complete".
25916 * elf/dl-close.c: Include <stap-probe.h>.
25917 (_dl_close_worker): Added static probes "unmap_start" and
25919 * elf/rtld-debugger-interface.txt: New file documenting the above.
25921 2012-07-26 Roland McGrath <roland@hack.frob.com>
25923 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25924 rather than a string variable.
25925 * sunrpc/rpc_main.c (h_output): Likewise.
25926 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25928 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25930 * inet/check_native.c: New file.
25932 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25935 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25936 if larger part has absolute value 1.0.
25937 * math/s_clog10.c (__clog10): Likewise.
25938 * math/s_clog10f.c (__clog10f): Likewise.
25939 * math/s_clog10l.c (__clog10l): Likewise.
25940 * math/s_clogf.c (__clogf): Likewise.
25941 * math/s_clogl.c (__clogl): Likewise.
25942 * math/libm-test.inc (clog_test): Add more tests.
25943 (clog10_test): Likewise.
25944 * sysdeps/i386/fpu/libm-test-ulps: Update.
25945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25947 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25948 (pltexit): Likewise.
25949 (La_regs): Likewise.
25950 (La_retval): Likewise.
25951 (int_retval): Likewise.
25952 Update #error for removed macros to refer only to definitions in
25954 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25956 (pltexit): Likewise.
25957 (La_regs): Likewise.
25958 (La_retval): Likewise.
25959 (int_retval): Likewise.
25960 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25962 (pltexit): Likewise.
25963 (La_regs): Likewise.
25964 (La_retval): Likewise.
25965 (int_retval): Likewise.
25966 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25968 (pltexit): Likewise.
25969 (La_regs): Likewise.
25970 (La_retval): Likewise.
25971 (int_retval): Likewise.
25972 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25974 (pltexit): Likewise.
25975 (La_regs): Likewise.
25976 (La_retval): Likewise.
25977 (int_retval): Likewise.
25978 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25980 (pltexit): Likewise.
25981 (La_regs): Likewise.
25982 (La_retval): Likewise.
25983 (int_retval): Likewise.
25984 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25986 (pltexit): Likewise.
25987 (La_regs): Likewise.
25988 (La_retval): Likewise.
25989 (int_retval): Likewise.
25990 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25991 macro definitions in tst-audit.h.
25992 * sysdeps/i386/tst-audit.h: New file.
25993 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25994 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25995 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25996 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25997 * sysdeps/sh/tst-audit.h: Likewise.
25998 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25999 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26000 * sysdeps/x86_64/tst-audit.h: Likewise.
26002 2012-07-26 Andreas Jaeger <aj@suse.de>
26004 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26007 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26008 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26009 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26011 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26012 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26013 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26015 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26018 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26020 (si_call_addr, si_syscall, si_arch): Define new macro.
26021 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26023 (si_call_addr, si_syscall, si_arch): Define new marcro.
26024 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26026 (si_call_addr, si_syscall, si_arch): Define new macro.
26027 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26029 (si_call_addr, si_syscall, si_arch): Define new macro.
26031 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26035 Change to 2.4.21 where previously 2.4.1.
26036 * sysdeps/unix/sysv/linux/configure: Regenerated.
26037 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26038 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26039 Linux kernel version.
26040 (__ASSUME_STD_AUXV): Remove.
26041 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26043 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26044 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26045 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26046 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26047 (__ASSUME_NETLINK_SUPPORT): Likewise.
26048 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26049 (__no_netlink_support): Remove conditional definition.
26050 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26052 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26053 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26054 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26055 (if_nameindex_ioctl): Remove.
26056 (if_nameindex_netlink): Do not handle __no_netlink_support.
26057 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26059 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26060 Remove conditional code.
26061 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26063 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26065 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26066 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26067 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26069 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26070 [!__ASSUME_STD_AUXV]: Remove conditional code.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26072 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26073 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26075 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26076 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26078 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26080 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26081 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26083 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26085 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26088 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26091 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26092 code unconditional.
26093 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26095 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26097 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26100 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26102 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26105 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26106 code unconditional.
26107 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26109 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26111 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26114 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26115 code unconditional.
26116 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26118 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26120 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26123 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26125 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26126 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26127 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26128 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26129 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26130 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26131 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26132 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26133 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26134 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26135 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26136 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26137 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26138 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26139 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26140 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26141 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26143 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26145 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26146 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26147 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26149 2012-07-25 Florian Weimer <fweimer@redhat.com>
26151 * Versions.def: Add GLIBC_2.17.
26152 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26153 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26154 Introduce __libc_secure_getenv.
26155 * stdlib/Versions (2.17): Add secure_getenv
26156 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26157 * stdlib/secure-getenv.c: Rename __secure_getenv to
26158 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26159 symbol __secure_getenv for GLIBC_2.0.
26160 * stdlib/tst-secure-getenv.c: New.
26161 * stdlib/Makefile (tests): Add testcase.
26162 * manual/startup.texi (Environment Access): Document
26164 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26165 __libc_secure_getenv.
26166 * inet/ruserpass.c (ruserpass): Likewise.
26167 * malloc/mtrace.c (mtrace): Likewise.
26168 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26169 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26170 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26171 * sysdeps/posix/tempname.c: Likewise. Evaluate
26172 HAVE_SECURE_GETENV.
26173 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26174 __secure_getenv to __libc_secure_getenv.
26175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26188 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26190 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26191 (struct La_i86_retval): Likewise.
26192 (struct La_x86_64_regs): Likewise.
26193 (struct La_x86_64_retval): Likewise.
26194 (struct La_x32_regs): Likewise.
26195 (struct La_x32_retval): Likewise.
26196 (struct La_ppc32_regs): Likewise.
26197 (struct La_ppc32_retval): Likewise.
26198 (struct La_ppc64_regs): Likewise.
26199 (struct La_ppc64_retval): Likewise.
26200 (struct La_sh_regs): Likewise.
26201 (struct La_sh_retval): Likewise.
26202 (struct La_s390_32_regs): Likewise.
26203 (struct La_s390_32_retval): Likewise.
26204 (struct La_s390_64_regs): Likewise.
26205 (struct La_s390_64_retval): Likewise.
26206 (struct La_sparc32_regs): Likewise.
26207 (struct La_sparc32_retval): Likewise.
26208 (struct La_sparc64_regs): Likewise.
26209 (struct La_sparc64_retval): Likewise.
26210 (struct audit_ifaces): Remove architecture-specific pltenter and
26212 * sysdeps/i386/ldsodefs.h: New file.
26213 * sysdeps/powerpc/ldsodefs.h: Likewise.
26214 * sysdeps/s390/ldsodefs.h: Likewise.
26215 * sysdeps/sh/ldsodefs.h: Likewise.
26216 * sysdeps/sparc/ldsodefs.h: Likewise.
26217 * sysdeps/x86_64/ldsodefs.h: Likewise.
26219 2012-07-25 Marek Polacek <polacek@redhat.com>
26222 * math/libm-test.inc (yn_test): Add another test.
26223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26224 to ERANGE when the result is +-Inf.
26225 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26226 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26227 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26228 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26230 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26232 * conform/data/time.h-data (NULL): Use macro-constant. Require
26234 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26236 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26238 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26240 * configure.in <sysdeps resolving>: Correct printing
26242 * configure: Regenerate.
26244 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26246 * math/w_ilogb.c: Include <limits.h>.
26247 * math/w_ilogbl.c: Likewise.
26249 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26251 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26252 va_copy. Document allowing for unavailable va_copy only as
26253 pre-C99 compatibility.
26254 * manual/string.texi (Copying and Concatenation): Use va_copy
26255 instead of __va_copy in concat example.
26257 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26259 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26260 (__sendto): Use create_address_port. Initialize APORT and deallocate
26263 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26264 with O_NOLINK passed to __file_name_lookup.
26266 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26267 with O_NOLINK passed to __file_name_lookup.
26269 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26270 negative N or less than NGIDS.
26272 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26273 type to string_t. Set ERANGE as errno and return it if NAME is not big
26274 enough. Use memcpy instead of strncpy.
26276 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26278 * elf/Makefile (check-data): Remove.
26279 (localplt.data): New vpath directive.
26280 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26281 instead of $(check-data).
26282 * scripts/data/localplt-generic.data: Move to ...
26283 * sysdeps/generic/localplt.data: ... here.
26284 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26285 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26286 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26289 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26292 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26295 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26298 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26301 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26305 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26307 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26308 PPC32 and PPC64 files.
26309 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26310 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26312 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26314 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26315 __makecontext_ret to ...
26316 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26317 ... here and call exit if uc_link is NULL. New file.
26318 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26319 __makecontext_ret.S.
26320 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26321 __makecontext_ret to ...
26322 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26323 ... here and call exit if uc_link is NULL. New file.
26324 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26325 __makecontext_ret.S.
26327 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26329 * elf/elf.h (R_390_IRELATIVE): New definition.
26330 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26331 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26332 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26333 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26334 (elf_machine_lazy_rel): Likewise.
26335 * sysdeps/s390/dl-irel.h: New file.
26336 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26337 * sysdeps/s390/s390-64/memset.S: New asm code.
26338 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26339 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26340 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26341 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26342 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26343 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26344 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26345 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26346 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26347 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26348 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26349 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26350 * sysdeps/s390/s390-32/memset.S: New asm code.
26351 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26353 2012-07-17 Marek Polacek <polacek@redhat.com>
26356 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26357 * sysdeps/s390/s390-64/configure.in: Likewise.
26358 * sysdeps/sparc/configure.in: Likewise.
26359 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26360 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26361 * sysdeps/i386/configure.in: Likewise.
26362 * sysdeps/x86_64/configure.in: Likewise.
26363 * sysdeps/sh/configure.in: Likewise.
26364 * sysdeps/s390/s390-32/configure: Regenerated.
26365 * sysdeps/s390/s390-64/configure: Likewise.
26366 * sysdeps/x86_64/configure: Likewise.
26367 * sysdeps/sh/configure: Likewise.
26368 * sysdeps/powerpc/powerpc64/configure: Likewise.
26369 * sysdeps/powerpc/powerpc32/configure: Likewise.
26370 * sysdeps/sparc/configure: Likwise.
26371 * sysdeps/i386/configure: Likewise.
26373 * elf/dl-open.c: Comment fixes.
26375 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26377 * Makefile [CXX] (check-data): Remove.
26378 [CXX] (c++-types.data): New vpath directive.
26379 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26380 vpath. Do not allow for C++ type data being missing.
26381 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26382 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26383 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26384 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26385 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26386 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26387 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26390 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26393 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26396 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26399 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26402 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26405 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26408 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26411 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26412 definitions to architecture-specific files.
26413 (TLS_IE): Likewise.
26414 (TLS_LD): Likewise.
26415 (TLS_GD): Likewise.
26416 * sysdeps/i386/tls-macros.h: New file.
26417 * sysdeps/powerpc/tls-macros.h: Likewise.
26418 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26419 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26420 * sysdeps/sh/tls-macros.h: Likewise.
26421 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26422 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26423 * sysdeps/x86_64/tls-macros.h: Likewise.
26425 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26427 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26428 zero value for regular exit case.
26430 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26431 (__start_context): Preserve zero value for regular exit case.
26433 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26434 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26436 * manual/setjmp.texi (setcontext): Clarify normal process
26437 termination when uc_link is the null pointer.
26438 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26441 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26443 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26444 preprocessor. Test for each exception mask separately.
26446 2012-07-16 Andreas Jaeger <aj@suse.de>
26448 * po/ru.po: Update from translation team.
26450 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26452 * conform/data/string.h-data (NULL): Use macro-constant. Require
26454 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26455 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26456 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26457 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26458 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26460 2012-07-13 Andreas Jaeger <aj@suse.de>
26462 * po/fr.po: Update from translation team.
26464 2012-07-12 Marek Polacek <polacek@redhat.com>
26467 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26468 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26471 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26474 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26475 Change to 2.4.1 where previously 2.4.0.
26476 * sysdeps/unix/sysv/linux/configure: Regenerated.
26477 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26478 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26480 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26481 (__ASSUME_AT_CLKTCK): Remove.
26482 (__ASSUME_AT_PAGESIZE): Likewise.
26483 (__ASSUME_AT_XID): Likewise.
26484 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26485 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26486 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26488 (HAVE_AUX_PAGESIZE): Likewise.
26489 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26490 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26491 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26493 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26497 the temporary buffer used to invoke __gethostbyname2_r,
26498 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26499 host_data / struct gaih_addrtuple.
26500 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26501 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26502 header file nss/nsswitch.h.
26503 * nss/nsswitch.h (global scope): Add definition of implementation
26504 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26505 resolv/nss_dns/dns-host.c).
26507 2012-07-11 Andreas Jaeger <aj@suse.de>
26509 * po/fr.po: Update from translation team.
26511 * po/sv.po: Update from translation team
26512 * po/fr.po: Another update from translation team.
26514 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26516 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26517 for subnormals or multiply small sinh result by itself.
26518 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26521 2012-07-11 David S. Miller <davem@davemloft.net>
26523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26525 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26528 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26529 (INTERNAL_MARK): Shift it here.
26531 2012-07-10 Marek Polacek <polacek@redhat.com>
26534 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26535 libc_cv_asm_global_directive with .globl.
26536 * configure: Regenerated.
26537 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26539 * sysdeps/i386/configure: Regenerated.
26540 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26542 * sysdeps/x86_64/configure: Regenerated.
26543 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26544 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26545 * elf/tst-unique2mod2.c: Likewise.
26546 * elf/tst-unique2mod1.c: Likewise.
26547 * elf/tst-unique1mod2.c: Likewise.
26548 * elf/tst-unique1mod1.c: Likewise.
26549 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26550 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26551 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26552 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26553 * sysdeps/mach/sysdep.h: Likewise.
26554 * sysdeps/i386/sysdep.h: Likewise.
26555 * sysdeps/i386/i386-mcount.S: Likewise.
26556 * sysdeps/x86_64/_mcount.S: Likewise.
26557 * sysdeps/x86_64/sysdep.h: Likewise.
26558 * sysdeps/sh/_mcount.S: Likewise.
26559 * sysdeps/sh/sysdep.h: Likewise.
26560 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26561 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26562 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26563 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26564 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26565 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26566 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26567 * locale/localeinfo.h: Likewise.
26568 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26569 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26571 2012-07-09 Roland McGrath <roland@hack.frob.com>
26574 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26576 * manual/message.texi (The Uniforum approach): Likewise.
26577 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26578 (glibc iconv Implementation): Likewise.
26580 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26583 * math/s_clog.c (__clog): Avoid scaling a value down where that
26584 could result in underflow.
26585 * math/s_clog10.c (__clog10): Likewise.
26586 * math/s_clog10f.c (__clog10f): Likewise.
26587 * math/s_clog10l.c (__clog10l): Likewise.
26588 * math/s_clogf.c (__clogf): Likewise.
26589 * math/s_clogl.c (__clogl): Likewise.
26590 * math/libm-test.inc (clog_test): Add more tests.
26591 (clog10_test): Likewise.
26592 * sysdeps/i386/fpu/libm-test-ulps: Update.
26593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26598 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26599 by 7 not 8 to examine high bit of fractional part.
26602 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26603 for call to __mcount_internal.
26604 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26605 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26606 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26608 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26611 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26612 approximation for values within 0x1p-13f of an odd multiple of
26614 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26615 exception. Add more tests.
26616 * sysdeps/i386/fpu/libm-test-ulps: Update.
26619 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26620 inputs and return -1 for them. Do not check for +Inf in case not
26621 reachable for +Inf.
26622 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26623 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26624 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26625 and return -1 for them. Do not check for +Inf in case not
26626 reachable for +Inf.
26627 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26630 and return -1 for them. Do not check for +Inf in case not
26631 reachable for +Inf.
26632 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26633 spurious underflow.
26634 * sysdeps/i386/fpu/libm-test-ulps: Update.
26635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26637 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26639 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26641 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26645 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26646 could result in spurious underflow. Scale down values above
26647 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26648 * math/s_csqrtf.c (__csqrtf): Likewise.
26649 * math/s_csqrtl.c (__csqrtl): Likewise.
26650 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26651 spurious underflow.
26652 * sysdeps/i386/fpu/libm-test-ulps: Update.
26653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26655 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26657 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26659 * catgets/xopen-msg.awk: New file.
26660 * catgets/xopen-msg.sed: Removed.
26662 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26664 * intl/po2test.awk: New file.
26665 * intl/po2test.sed: Removed.
26667 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26670 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26671 or multiply small sinh result by itself.
26672 * math/s_ctanf.c (__ctanf): Likewise.
26673 * math/s_ctanh.c (__ctanh): Likewise.
26674 * math/s_ctanhf.c (__ctanhf): Likewise.
26675 * math/s_ctanhl.c (__ctanhl): Likewise.
26676 * math/s_ctanl.c (__ctanl): Likewise.
26677 * math/libm-test.inc (ctan_test_tonearest): New function.
26678 (ctan_test_towardzero): Likewise.
26679 (ctan_test_downward): Likewise.
26680 (ctan_test_upward): Likewise.
26681 (ctanh_test_tonearest): Likewise.
26682 (ctanh_test_towardzero): Likewise.
26683 (ctanh_test_downward): Likewise.
26684 (ctanh_test_upward): Likewise.
26685 (main): Call these new functions.
26686 * sysdeps/i386/fpu/libm-test-ulps: Update.
26687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26689 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26691 * .gitignore: Delete /ports entry.
26693 2012-07-03 Andreas Jaeger <aj@suse.de>
26695 * po/bg.po: Update from translation team.
26696 * po/cs.po: Likewise.
26697 * po/de.po: Likewise.
26698 * po/hr.po: Likewise.
26699 * po/nl.pl: Likewise.
26700 * po/pl.po: Likewise.
26701 * po/vi.po: Likewise.
26703 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26705 * Makeconfig [!+link] (+link-before-libc): New variable.
26706 [!+link] (+link-after-libc): Likewise.
26707 [!+link] (+link-tests): Likewise.
26708 [!+link] (+link): Define in terms of $(+link-before-libc) and
26709 $(+link-after-libc).
26710 [!+link-static] (+link-static-before-libc): New variable.
26711 [!+link-static] (+link-static-after-libc): Likewise.
26712 [!+link-static] (+link-static-tests): Likewise.
26713 [!+link-static] (+link-static): Define in terms of
26714 $(+link-static-before-libc) and $(+link-static-after-libc).
26715 [build-shared] (link-libc-before-gnulib): New variable.
26716 [build-shared] (link-libc-tests): Likewise.
26717 [build-shared] (link-libc): Define in terms of
26718 $(link-libc-before-gnulib).
26719 [!build-shared] (link-libc-tests): New variable.
26720 (link-libc-static-tests): New variable.
26721 [!gnulib] (gnulib-arch): New variable.
26722 [!gnulib] (gnulib-tests): Likewise.
26723 [!gnulib] (static-gnulib-arch): Likewise.
26724 [!gnulib] (static-gnulib-tests): Likewise.
26725 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26726 Define with "=" instead of ":=".
26727 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26728 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26729 * Rules (binaries-all-notests): New variable.
26730 (binaries-all-tests): Likewise.
26731 (binaries-static-notests): Likewise.
26732 (binaries-static-tests): Likewise.
26733 (binaries-all): Define using $(binaries-all-notests) and
26734 $(binaries-all-tests).
26735 (binaries-static): Define using $(binaries-static-notests) and
26736 $(binaries-static-tests).
26737 (binaries-shared-tests): New variable.
26738 (binaries-shared-notests): Likewise.
26739 (binaries-shared): Remove variable.
26740 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26741 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26742 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26743 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26744 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26745 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26746 * elf/Makefile (sln-modules): New variable.
26747 (extra-objs): Add $(sln-modules:=.o).
26748 (ldconfig-modules): Add static-stubs.
26749 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26750 * elf/static-stubs.c: New file.
26753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26754 by 7 not 8 to examine high bit of fractional part. Use volatile
26755 variables when splitting into final array of floats if
26756 __FLT_EVAL_METHOD__ != 0.
26757 * math/libm-test.inc (cos_test): Add another test.
26758 (sin_test): Likewise.
26759 * sysdeps/i386/fpu/libm-test-ulps: Update.
26762 * math/libm-test.inc (cosh_test): Add more tests.
26764 * version.h (RELEASE): Set to "development".
26765 (VERSION): Set to "2.16.90".
26767 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26769 * NEWS: Update copyright. Remove last-updated date.
26770 Mention math library bug fixes and timezone data changes.
26771 * README: Mention GNU/Hurd, x32, and HPPA support status.
26773 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26775 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26777 2012-06-27 Andreas Jaeger <aj@suse.de>
26779 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26781 2012-06-25 Andreas Jaeger <aj@suse.de>
26783 * sysdeps/s390/fpu/libm-test-ulps: Update.
26785 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26786 Thomas Schwinge <thomas@codesourcery.com>
26788 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26789 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26793 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26795 * sysdeps/mach/start.c: Remove file.
26796 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26797 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26798 * sysdeps/sh/init-first.c: Likewise.
26800 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26801 registers for frame unwinding purposes, add CFI directives.
26802 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26803 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26804 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26807 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26808 __fortify_fail returning.
26809 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26811 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26812 sysdeps/sh/____longjmp_chk.S.
26813 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26814 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26815 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26816 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26818 * sysdeps/sh/abort-instr.h: New file.
26819 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26820 process in case exit returns.
26822 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26823 initialize the GOT register before use.
26825 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26826 calculation of ARGC > 4.
26828 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26829 meaningful names to some local labels.
26831 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26832 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26834 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26835 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26836 (__arch_compare_and_exchange_val_16_acq): Likewise.
26837 (__arch_compare_and_exchange_val_32_acq): Likewise.
26838 (atomic_exchange_and_add): Fix gUSA sequence.
26839 (atomic_add): Likewise.
26840 (atomic_add_negative): Likewise.
26841 (atomic_add_zero): Likewise.
26842 (atomic_bit_test_set): Likewise.
26844 2012-06-22 Andreas Schwab <schwab@redhat.com>
26847 * include/link.h (struct link_map): Add l_free_initfini.
26848 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26850 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26851 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26852 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26855 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26857 * configure.in: Use AC_LANG_SOURCE.
26858 * configure: Regenerate.
26860 2012-06-22 Roland McGrath <roland@hack.frob.com>
26862 * configure.in (libc_cv_localstatedir): New substituted variable.
26863 * configure: Regenerated.
26864 * config.make.in (localstatedir): New variable, substituted from
26865 libc_cv_localstatedir.
26866 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26867 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26868 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26869 * sysdeps/gnu/configure: Regenerated.
26871 2012-06-21 Jeff Law <law@redhat.com>
26874 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26875 free. Simplify list management for _LIBC case.
26877 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26880 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26881 Clear sign bit of 64-bit integer value before comparing against
26884 * sysdeps/mach/configure: Regenerated.
26886 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26889 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26891 2012-06-21 Jeff Law <law@redhat.com>
26894 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26895 uint16_t for elements in the "seen" array to avoid char overflows.
26896 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26897 * elf/dl-open.c (dl_open_worker): Likewise.
26899 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26901 * scripts/list-sources.sh: Scan PORTS for translations.
26902 * po/libc.pot: Regenerated.
26904 2012-06-21 Andreas Jaeger <aj@suse.de>
26907 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26909 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26910 * bits/byteswap-16.h (__bswap_16): Likewise.
26911 * bits/byteswap.h (__bswap_constant_16): Likewise.
26913 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26916 * sysdeps/i386/fpu_control.h: Removed.
26917 * sysdeps/x86_64/fpu_control.h: Moved to ...
26918 * sysdeps/x86/fpu_control.h: Here.
26920 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26921 (_FPU_SETCW): Likewise.
26923 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26926 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26927 * sysdeps/x86/fpu/bits/mathinline.h: This.
26928 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26932 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26933 functions if __x86_64__ is defined.
26935 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26937 * string/endian.h: Add !__ASSEMBLER__ condition for including
26938 conversion interfaces.
26940 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26944 of ABS(x) in calculating zero to negative powers other than odd
26946 * math/libm-test.inc (pow_test): Add more tests.
26948 2012-06-15 Andreas Jaeger <aj@suse.de>
26950 * manual/contrib.texi (Contributors): Update entry of Liubov
26951 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26954 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26956 * string/string.h: Add __wur to GNU version of strerror_r.
26958 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26961 * string/Makefile (tests): Add tst-strtok_r.
26962 * string/tst-strtok_r.c: New file.
26963 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26964 RAX_LP/RDX_LP on SAVE_PTR.
26966 2012-06-14 Roland McGrath <roland@hack.frob.com>
26968 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26970 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26972 * libm_test.inc (csqrt_test): Allow more spurious underflow
26974 (j0_test): Likewise.
26975 (j1_test): Likewise.
26976 (y0_test): Likewise.
26977 (y1_test): Likewise.
26979 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26981 * po/Makefile (libc.pot): Use UTF-8 charset.
26983 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26986 Suppress sign-conversion warning from FD_SET.
26987 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26988 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26989 not unsigned long int.
26990 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26992 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26996 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26997 __extern_always_inline instead of __extern_inline.
26998 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26999 (__signbit): Likewise.
27000 (__signbitl): Support C++ namespace.
27001 (lrintf): New inline function.
27003 (llrintf): Likewise.
27004 (llrint): Likewise.
27014 (floorf): Likewise.
27015 (nearbyint): Likewise.
27016 (nearbyintf): Likewise.
27018 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27020 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27021 non-default versions.
27023 2012-06-11 Roland McGrath <roland@hack.frob.com>
27026 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27028 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27030 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27031 (FE_UPWARD, FE_DOWNWARD): Don't define.
27032 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27033 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27035 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27037 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27038 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27040 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27042 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27044 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27045 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27047 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27050 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27051 * sysdeps/i386/fpu/Implies: New file.
27052 * sysdeps/x86_64/fpu/Implies: Likewise.
27053 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27054 * sysdeps/x86/fpu/bits/fenv.h: This.
27056 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27059 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27062 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27063 character 0xffff that matches the last element of the
27066 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27068 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27071 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27073 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27074 values higher than 25.6283.
27076 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27079 subnormal exponent extraction and add some __builtin_expect.
27080 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27081 Fix for subnormal mantissa calculation.
27083 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27085 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27086 cpu2 is -1 and errno is not ENOSYS.
27088 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27091 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27092 * sysdeps/x86/bits/string.h: This.
27093 * sysdeps/x86_64/bits/string.h: Removed.
27095 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27096 if not compiling for x86-64, but compiling for >= i486.
27098 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27099 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27101 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27102 New macro from Linux kernel 3.4.0.
27103 (FP_XSTATE_MAGIC2): Likewise.
27104 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27105 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27106 (struct _fpx_sw_bytes): New struct.
27107 (struct _xsave_hdr): Likewise.
27108 (struct _ymmh_state): Likewise.
27109 (struct _xstate): Likewise.
27111 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27112 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27113 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27114 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27115 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27116 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27118 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27119 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27120 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27121 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27122 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27123 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27125 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27128 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27129 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27130 (sysdep_headers): Include sys/platform/ppc.h.
27131 * sysdeps/powerpc/test-gettimebase.c: Test for
27132 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27133 * manual/Makefile (appendices): Include platform.texi.
27134 * manual/contrib.texi (Contributors): Update @node pointers.
27135 * manual/maint.texi (Maintenance): Likewise.
27136 (Platform): New node.
27137 * manual/platform.texi: New file. Document the new features.
27139 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27140 Jakub Jelinek <jakub@redhat.com>
27143 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27144 where __builtin_expect is unavailable.
27146 2012-06-03 David S. Miller <davem@davemloft.net>
27148 * stdlib/longlong.h: Updated from GCC.
27150 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27153 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27154 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27157 (GLIBC_2.16): Likewise.
27159 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27161 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27163 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27166 (default-abi): New variable.
27167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27168 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27170 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27172 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27174 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27177 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27178 definition. Document in comment.
27180 2012-06-01 David S. Miller <davem@davemloft.net>
27182 * stdlib/longlong.h: Updated from GCC.
27184 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27187 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27188 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27189 sys/debugreg.h sys/io.h here.
27190 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27191 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27193 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27194 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27195 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27196 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27197 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27198 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27200 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27201 Define only if __x86_64__ is defined.
27203 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27206 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27207 Use int64_t for variable i.
27208 * math/libm-test.inc (fmod_test): Add more tests.
27210 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27211 z computation is not scheduled after fetestexcept.
27212 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27213 Use math_force_eval instead of asm to ensure calculation scheduled
27214 before exception test.
27215 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27216 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27218 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27221 computation is not scheduled after fetestexcept.
27223 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27226 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27227 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27229 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27231 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27232 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27234 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27237 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27239 (__WCHAR_MIN): Support __WORDSIZE == 64.
27240 (__WCHAR_MAX): Likewise.
27242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27243 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27247 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27250 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27251 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27253 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27254 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27256 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27257 Defined to 1 if __x86_64__ isn't defined.
27258 (_STAT_VER_LINUX_OLD): New.
27259 (st_atime): Remove duplicate.
27260 (st_mtime): Likewise.
27261 (st_ctime): Likewise.
27263 2012-05-31 David S. Miller <davem@davemloft.net>
27265 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27268 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27270 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27274 * elf/dl-reloc.c: Include <_itoa.h>.
27275 (_dl_reloc_bad_type): Remove use of INTUSE.
27276 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27277 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27278 * stdio-common/psiginfo.c (psiginfo): Likewise.
27279 * stdio-common/psignal.c (psignal): Likewise.
27280 * string/strsignal.c (strsignal): Likewise.
27281 * include/signal.h (_sys_siglist): Declare hidden proto.
27282 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27283 INTVARDEF with libc_hidden_data_def.
27284 * stdio-common/itoa-udigits.c: Likewise.
27285 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27286 (_itoa_lower_digits_internal): Remove declaration.
27287 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27288 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27289 (_sys_sigabbrev_internal): Remove aliases.
27290 (_sys_siglist): Define hidden alias.
27292 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27297 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27300 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27301 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27303 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27304 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27305 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27306 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27307 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27308 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27310 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27311 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27312 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27314 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27322 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27323 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27324 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27326 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27327 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27328 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27329 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27330 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27331 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27333 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27334 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27336 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27337 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27340 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27343 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27344 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27346 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27348 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27349 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27350 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27352 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27354 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27356 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27358 * math/math.h (M_El): Use two more decimal places.
27359 (M_LOG2El): Likewise.
27360 (M_LOG10El): Likewise.
27361 (M_LN2l): Likewise.
27362 (M_LN10l): Likewise.
27364 (M_PI_2l): Likewise.
27365 (M_PI_4l): Likewise.
27366 (M_1_PIl): Likewise.
27367 (M_2_PIl): Likewise.
27368 (M_2_SQRTPIl): Likewise.
27369 (M_SQRT2l): Likewise.
27370 (M_SQRT1_2l): Likewise.
27372 2012-05-31 David S. Miller <davem@davemloft.net>
27374 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27375 values between float registers.
27376 * sysdeps/sparc/sparc64/memset.S: Likewise.
27377 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27379 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27381 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27382 -D_FORTIFY_SOURCE=1.
27383 (CPPFLAGS-tst-longjmp_chk.c): Define.
27384 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27385 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27386 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27387 CFLAGS-tst-wchar-h.c.
27389 2012-05-31 Marek Polacek <polacek@redhat.com>
27392 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27393 __endmntent_internal): Remove declaration.
27394 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27395 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27396 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27398 2012-05-30 David S. Miller <davem@davemloft.net>
27400 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27401 (___Q_simulate_exceptions): Use real FP ops rather than writing
27403 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27406 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27409 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27410 * sysdeps/x86/bits/xtitypes.h: This.
27412 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27413 * sysdeps/x86/bits/wordsize.h: This.
27415 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27416 * sysdeps/x86/bits/huge_vall.h: This.
27418 * sysdeps/i386/bits/select.h: Removed.
27419 * sysdeps/x86_64/bits/select.h: Renamed to ...
27420 * sysdeps/x86/bits/select.h: This.
27422 * sysdeps/i386/bits/setjmp.h: Removed.
27423 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27424 * sysdeps/x86/bits/setjmp.h: This.
27426 * sysdeps/i386/bits/mathdef.h: Removed.
27427 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27428 * sysdeps/x86/bits/mathdef.h: This.
27430 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27433 * include/sys/socket.h (__connect_internal)
27434 (__libc_sa_len_internal): Remove declaration.
27435 (__connect, __libc_sa_len): Declare hidden_proto.
27436 (SA_LEN): Remove use of INTUSE.
27437 * socket/connect.c: Add libc_hidden_def.
27438 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27439 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27440 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27442 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27443 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27444 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27445 of adding _internal alias.
27447 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27450 * sysdeps/i386/bits/link.h: Removed.
27451 * sysdeps/i386/bits/linkmap.h: Likewise.
27452 * sysdeps/x86_64/bits/link.h: Renamed to ...
27453 * sysdeps/x86/bits/link.h: This.
27454 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27455 * sysdeps/x86/bits/linkmap.h: This.
27457 * sysdeps/i386/bits/endian.h: Removed.
27458 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27459 * sysdeps/x86/bits/endian.h: This.
27461 * sysdeps/i386/bits/byteswap.h: Removed.
27462 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27463 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27464 * sysdeps/x86/bits/byteswap.h: This.
27465 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27466 * sysdeps/x86/bits/byteswap-16.h: This.
27467 * sysdeps/i386/Implies: Add x86.
27468 * sysdeps/x86_64/Implies: Likewise.
27470 2012-05-30 David S. Miller <davem@davemloft.net>
27472 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27473 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27474 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27475 (FP_TRAPPING_EXCEPTIONS): Define.
27476 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27477 (FP_TRAPPING_EXCEPTIONS): Define.
27478 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27479 subnormals only when inexact has been signalled or underflow
27480 exceptions are enabled.
27481 (_FP_PACK_CANONICAL): Likewise.
27483 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27487 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27489 2012-05-30 Richard Henderson <rth@twiddle.net>
27491 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27492 with #ifndef NOT_IN_libc.
27494 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27495 marked to avoid plt entry.
27497 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27500 * Makeconfig (default-abi): New macro.
27501 (abi-includes): Likewise.
27502 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27503 $(abi-$(default-abi)-lib-soname) for soname if defined.
27504 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27506 * Makefile (installed-stubs): Likewise.
27507 * include/stubs-biarch.h: Removed.
27508 * scripts/lib-names.awk: Only handle one library at a time.
27509 * scripts/soversions.awk: Remove WORDSIZE support.
27510 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27512 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27514 (syscall-list-default-condition): Likewise.
27515 (syscall-list-default-condition): Likewise.
27516 (syscall-list-includes): Likewise.
27517 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27518 syscall-list-* with abi-*. Handle undefined abi-variants.
27519 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27520 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27521 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27522 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27523 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27524 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27526 (syscall-list-32-options): Likewise.
27527 (syscall-list-32-condition): Likewise.
27528 (syscall-list-64-options): Likewise.
27529 (syscall-list-64-condition): Likewise.
27530 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27532 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27535 (abi-64-ld-soname): New macro.
27536 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27537 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27540 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27541 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27543 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27545 * sysdeps/unix/sysv/linux/kernel-features.h
27546 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27547 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27548 include <kernel-features.h>.
27549 [!__NR_ftruncate64]: Remove conditional code.
27550 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27551 [__NR_ftruncate64]: Make code unconditional.
27552 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27553 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27554 include <kernel-features.h>.
27555 [!__NR_ftruncate64]: Remove conditional code.
27556 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27557 [__NR_ftruncate64]: Make code unconditional.
27558 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27560 include <kernel-features.h>.
27561 [!__NR_ftruncate64]: Remove conditional code.
27562 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27563 [__NR_ftruncate64]: Make code unconditional.
27564 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27566 include <kernel-features.h>.
27567 [!__NR_ftruncate64]: Remove conditional code.
27568 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27569 [__NR_ftruncate64]: Make code unconditional.
27570 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27572 * configure.in (libc_cv_fpie): Weaken to a compile test using
27573 LIBC_TRY_CC_OPTION.
27574 * configure: Regenerated.
27576 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27591 2012-05-27 David S. Miller <davem@davemloft.net>
27593 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27595 (__Q_simulate_exceptions): Return void. Change to simulate
27596 exceptions by writing into the %fsr.
27597 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27598 (__Qp_handle_exceptions): Likewise.
27600 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27601 __Qp_handle_exceptions.
27602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27603 __Qp_handle_exceptions.
27604 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27605 as unused and give dummy FP_RND_NEAREST initializer.
27606 (FP_INHIBIT_RESULTS): Define.
27607 (___Q_simulate_exceptions): Update declaration.
27608 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27610 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27611 as unused and give dummy FP_RND_NEAREST initializer.
27612 (__Qp_handle_exceptions): Update declaration.
27613 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27616 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27618 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27619 the temporary FPU control word.
27620 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27621 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27622 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27623 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27624 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27625 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27626 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27627 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27628 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27629 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27630 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27632 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27634 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27637 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27639 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27640 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27641 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27642 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27644 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27645 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27648 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27650 * po/h.po: Update from translation team.
27652 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27654 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27656 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27657 handling of denormals.
27658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27659 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27660 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27661 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27662 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27667 2012-05-26 Marek Polacek <polacek@redhat.com>
27670 * math/libm-test.inc (fma_test): Don't always expect underflow
27673 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27676 * elf/tst-execstack.c: Include stackinfo.h.
27677 (do_test): Adjust test case to ensure that pthread_getattr_np
27678 behaviour remains the same after marking stack executable.
27680 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27682 * sysdeps/unix/sysv/linux/kernel-features.h
27683 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27684 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27686 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27687 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27688 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27690 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27691 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27693 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27695 * configure.in: Define the default includes to being none.
27696 * configure: Regenerated.
27698 2012-05-25 Roland McGrath <roland@hack.frob.com>
27700 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27701 * sysdeps/x86_64/setjmp.S: Likewise.
27702 * sysdeps/i386/bsd-setjmp.S: Likewise.
27703 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27704 * sysdeps/i386/setjmp.S: Likewise.
27705 * sysdeps/i386/__longjmp.S: Likewise.
27706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27707 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27709 * include/stap-probe.h: New file.
27710 * configure.in: Handle --enable-systemtap.
27711 * configure: Regenerated.
27712 * config.h.in (USE_STAP_PROBE): New #undef.
27713 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27714 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27715 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27717 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27720 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27721 to 2.4.0 where earlier.
27722 * sysdeps/unix/sysv/linux/configure: Regenerated.
27723 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27724 <kernel-features.h>.
27725 [__ASSUME_32BITUIDS]: Make code unconditional.
27726 [!__ASSUME_32BITUIDS]: Remove conditional code.
27727 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27728 <kernel-features.h>.
27729 [__ASSUME_32BITUIDS]: Make code unconditional.
27730 [!__ASSUME_32BITUIDS]: Remove conditional code.
27731 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27732 [__ASSUME_32BITUIDS]: Make code unconditional.
27733 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27734 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27735 <kernel-features.h>.
27736 [__ASSUME_32BITUIDS]: Make code unconditional.
27737 [!__ASSUME_32BITUIDS]: Remove conditional code.
27738 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27739 <kernel-features.h>.
27740 [__ASSUME_32BITUIDS]: Make code unconditional.
27741 [!__ASSUME_32BITUIDS]: Remove conditional code.
27742 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27743 <kernel-features.h>.
27744 [__ASSUME_32BITUIDS]: Make code unconditional.
27745 [!__ASSUME_32BITUIDS]: Remove conditional code.
27746 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27747 <kernel-features.h>.
27748 [__ASSUME_32BITUIDS]: Make code unconditional.
27749 [!__ASSUME_32BITUIDS]: Remove conditional code.
27750 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27751 <kernel-features.h>.
27752 [__ASSUME_32BITUIDS]: Make code unconditional.
27753 [!__ASSUME_32BITUIDS]: Remove conditional code.
27754 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27755 <kernel-features.h>.
27756 [__ASSUME_32BITUIDS]: Make code unconditional.
27757 [!__ASSUME_32BITUIDS]: Remove conditional code.
27758 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27759 <kernel-features.h>.
27760 [__ASSUME_32BITUIDS]: Make code unconditional.
27761 [!__ASSUME_32BITUIDS]: Remove conditional code.
27762 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27763 <kernel-features.h>.
27764 [__ASSUME_32BITUIDS]: Make code unconditional.
27765 [!__ASSUME_32BITUIDS]: Remove conditional code.
27766 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27767 <kernel-features.h>.
27768 [__ASSUME_32BITUIDS]: Make code unconditional.
27769 [!__ASSUME_32BITUIDS]: Remove conditional code.
27770 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27771 <kernel-features.h>.
27772 [__ASSUME_32BITUIDS]: Make code unconditional.
27773 [!__ASSUME_32BITUIDS]: Remove conditional code.
27774 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27775 <kernel-features.h>.
27776 [__NR_setresgid] (__setresgid): Do not declare.
27777 [__ASSUME_32BITUIDS]: Make code unconditional.
27778 [!__ASSUME_32BITUIDS]: Remove conditional code.
27779 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27780 <kernel-features.h>.
27781 [__NR_setresuid] (__setresuid): Do not declare.
27782 [__ASSUME_32BITUIDS]: Make code unconditional.
27783 [!__ASSUME_32BITUIDS]: Remove conditional code.
27784 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27785 <kernel-features.h>.
27786 [__ASSUME_32BITUIDS]: Make code unconditional.
27787 [!__ASSUME_32BITUIDS]: Remove conditional code.
27788 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27789 <kernel-features.h>.
27790 [__ASSUME_32BITUIDS]: Make code unconditional.
27791 [!__ASSUME_32BITUIDS]: Remove conditional code.
27792 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27793 <kernel-features.h>.
27794 [__ASSUME_32BITUIDS]: Make code unconditional.
27795 [!__ASSUME_32BITUIDS]: Remove conditional code.
27796 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27797 <kernel-features.h>.
27798 [__ASSUME_32BITUIDS]: Make code unconditional.
27799 [!__ASSUME_32BITUIDS]: Remove conditional code.
27800 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27801 <kernel-features.h>.
27802 [__ASSUME_32BITUIDS]: Make code unconditional.
27803 [!__ASSUME_32BITUIDS]: Remove conditional code.
27804 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27805 <kernel-features.h>.
27806 [__ASSUME_32BITUIDS]: Make code unconditional.
27807 [!__ASSUME_32BITUIDS]: Remove conditional code.
27808 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27809 <kernel-features.h>.
27810 [__ASSUME_32BITUIDS]: Make code unconditional.
27811 [!__ASSUME_32BITUIDS]: Remove conditional code.
27812 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27813 <kernel-features.h>.
27814 [__ASSUME_32BITUIDS]: Make code unconditional.
27815 [!__ASSUME_32BITUIDS]: Remove conditional code.
27816 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27817 <kernel-features.h>.
27818 [__ASSUME_32BITUIDS]: Make code unconditional.
27819 [!__ASSUME_32BITUIDS]: Remove conditional code.
27820 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27821 <kernel-features.h>.
27822 [__ASSUME_32BITUIDS]: Make code unconditional.
27823 [!__ASSUME_32BITUIDS]: Remove conditional code.
27824 * sysdeps/unix/sysv/linux/kernel-features.h
27825 (__ASSUME_SETRESUID_SYSCALL): Remove.
27826 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27827 (__ASSUME_32BITUIDS): Likewise.
27828 (__ASSUME_LDT_WORKS): Likewise.
27829 (__ASSUME_O_DIRECTORY): Likewise.
27830 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27831 architecture but not kernel version.
27832 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27833 (__ASSUME_MMAP2_SYSCALL): Likewise.
27834 (__ASSUME_STAT64_SYSCALL): Likewise.
27835 (__ASSUME_IPC64): Likewise.
27836 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27837 <kernel-features.h>.
27838 [__ASSUME_32BITUIDS]: Make code unconditional.
27839 [!__ASSUME_32BITUIDS]: Remove conditional code.
27840 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27841 <kernel-features.h>.
27842 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27843 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27844 132096]: Remove conditional code.
27845 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27846 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
27855 <kernel-features.h>.
27856 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27858 (__setresgid): Do not declare.
27859 [__ASSUME_32BITUIDS]: Make code unconditional.
27860 [!__ASSUME_32BITUIDS]: Remove conditional code.
27861 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27862 <kernel-features.h>.
27863 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27865 (__setresuid): Do not declare.
27866 [__ASSUME_32BITUIDS]: Make code unconditional.
27867 [!__ASSUME_32BITUIDS]: Remove conditional code.
27868 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
27873 <kernel-features.h>.
27874 [__ASSUME_32BITUIDS]: Make code unconditional.
27875 [!__ASSUME_32BITUIDS]: Remove conditional code.
27877 2012-05-25 Richard Henderson <rth@twiddle.net>
27879 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27880 dl_hwcap to ifunc resolver.
27881 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27883 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27884 dl_hwcap to ifunc resolver.
27885 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27887 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27890 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27891 for |x| <= 2**-26, not 2**-57.
27892 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27895 2012-05-24 Jeff Law <law@redhat.com>
27897 * stdio-common/Makefile (tests): Add bug25.
27898 * stdio-common/bug25.c: New test.
27900 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27903 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27904 multiple of MALLOC_ALIGNMENT in size.
27905 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27907 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27909 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27911 (FILENAME_MAX): Use macro-int-constant.
27912 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27913 (_IOFBF): Use macro-int-constant.
27914 (_IOLBF): Likewise.
27915 (_IONBF): Likewise.
27916 (SEEK_CUR): Likewise.
27917 (SEEK_END): Likewise.
27918 (SEEK_SET): Likewise.
27919 (TMP_MAX): Likewise.
27920 (EOF): Use macro-int-constant. Require < 0.
27921 (NULL): Use macro-constant. Require == 0.
27922 (stdin): Require type to be FILE *.
27923 (stdout): Likewise.
27924 (stderr): Likewise.
27925 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27926 macro-int-constant.
27927 (EXIT_SUCCESS): Likewise.
27928 (NULL): Use macro-constant. Require == 0.
27929 (RAND_MAX): Use macro-int-constant.
27930 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27931 [C99-based standards] (strtof): Require function.
27932 [C99-based standards] (strtold): Likewise.
27933 [C99-based standards] (strtoll): Likewise.
27934 [C99-based standards] (strtoull): Likewise.
27935 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27936 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27937 [ISO || ISO99 || ISO11] (math.h): Likewise.
27938 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27939 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27942 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27945 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27946 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27947 * intl/dgettext.c (DCGETTEXT): Likewise.
27948 * intl/gettext.c (DCGETTEXT): Likewise.
27949 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27950 * posix/regex_internal.h (gettext): Likewise.
27951 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27952 Remove declaration.
27953 * include/argz.h (__argz_count_internal)
27954 (__argz_stringify_internal): Remove declaration.
27955 (__argz_count, __argz_stringify): Declare hidden proto.
27956 * intl/dcgettext.c: Remove use of INTDEF.
27957 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27958 * string/argz-stringify.c: Likewise.
27959 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27960 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27961 Declare hidden proto.
27962 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27963 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27964 Declare hidden proto.
27965 * include/stdio.h (__asprintf_internal): Don't declare.
27966 (__asprintf): Don't define as macro. Declare hidden proto.
27967 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27968 (__fsetlocking): Declare hidden proto.
27969 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27970 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27972 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27973 (_IO_setlinebuf): Remove use of INTUSE.
27974 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27975 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27976 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27977 Remove declaration.
27978 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27979 (_IO_do_flush): Remove use of INTUSE.
27980 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27981 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27982 (_IO_adjust_column, _IO_least_wmarker)
27983 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27984 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27985 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27986 (_IO_default_doallocate, _IO_wdefault_doallocate)
27987 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27988 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27989 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27990 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27991 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27992 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27993 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27994 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27995 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27996 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27997 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27998 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27999 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28001 (_IO_flush_all_internal, _IO_adjust_column_internal)
28002 (_IO_default_uflow_internal, _IO_default_finish_internal)
28003 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28004 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28005 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28006 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28007 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28008 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28009 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28010 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28011 (_IO_file_close_internal, _IO_file_close_it_internal)
28012 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28013 (_IO_file_init_internal, _IO_file_attach_internal)
28014 (_IO_file_fopen_internal, _IO_file_read_internal)
28015 (_IO_file_sync_internal, _IO_file_seek_internal)
28016 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28017 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28018 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28019 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28020 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28021 (_IO_list_all_internal, _IO_link_in_internal)
28022 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28023 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28024 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28025 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28026 (_IO_do_write_internal, _IO_padn_internal)
28027 (_IO_getline_info_internal, _IO_getline_internal)
28028 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28029 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28030 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28031 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28032 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28033 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28034 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28035 with libc_hidden_ver, remove use of INTUSE.
28036 * libio/genops.c: Likewise.
28037 * libio/freopen.c: Likewise.
28038 * libio/freopen64.c: Likewise.
28039 * libio/iofclose.c: Likewise.
28040 * libio/iofdopen.c: Likewise.
28041 * libio/iofflush.c: Likewise.
28042 * libio/iofflush_u.c: Likewise.
28043 * libio/iofgets.c: Likewise.
28044 * libio/iofgets_u.c: Likewise.
28045 * libio/iofopen.c: Likewise.
28046 * libio/iofopncook.c: Likewise.
28047 * libio/iofread.c: Likewise.
28048 * libio/iofread_u.c: Likewise.
28049 * libio/ioftell.c: Likewise.
28050 * libio/iofwrite.c: Likewise.
28051 * libio/iogetline.c: Likewise.
28052 * libio/iogets.c: Likewise.
28053 * libio/iogetwline.c: Likewise.
28054 * libio/iopadn.c: Likewise.
28055 * libio/iopopen.c: Likewise.
28056 * libio/ioseekoff.c: Likewise.
28057 * libio/ioseekpos.c: Likewise.
28058 * libio/iosetbuffer.c: Likewise.
28059 * libio/iosetvbuf.c: Likewise.
28060 * libio/ioungetc.c: Likewise.
28061 * libio/ioungetwc.c: Likewise.
28062 * libio/iovdprintf.c: Likewise.
28063 * libio/iovsprintf.c: Likewise.
28064 * libio/iovsscanf.c: Likewise.
28065 * libio/memstream.c: Likewise.
28066 * libio/obprintf.c: Likewise.
28067 * libio/oldfileops.c: Likewise.
28068 * libio/oldiofclose.c: Likewise.
28069 * libio/oldiofdopen.c: Likewise.
28070 * libio/oldiofopen.c: Likewise.
28071 * libio/oldiopopen.c: Likewise.
28072 * libio/oldstdfiles.c: Likewise.
28073 * libio/putc.c: Likewise.
28074 * libio/setbuf.c: Likewise.
28075 * libio/setlinebuf.c: Likewise.
28076 * libio/stdfiles.c: Likewise.
28077 * libio/strops.c: Likewise.
28078 * libio/vasprintf.c: Likewise.
28079 * libio/vscanf.c: Likewise.
28080 * libio/vsnprintf.c: Likewise.
28081 * libio/vswprintf.c: Likewise.
28082 * libio/wfiledoalloc.c: Likewise.
28083 * libio/wfileops.c: Likewise.
28084 * libio/wgenops.c: Likewise.
28085 * libio/wmemstream.c: Likewise.
28086 * libio/wstrops.c: Likewise.
28087 * libio/__fpurge.c: Likewise.
28088 * libio/__fsetlocking.c: Likewise.
28089 * assert/assert.c: Likewise.
28090 * debug/fgets_chk.c: Likewise.
28091 * debug/fgets_u_chk.c: Likewise.
28092 * debug/fread_chk.c: Likewise.
28093 * debug/fread_u_chk.c: Likewise.
28094 * debug/gets_chk.c: Likewise.
28095 * debug/obprintf_chk.c: Likewise.
28096 * debug/vasprintf_chk.c: Likewise.
28097 * debug/vdprintf_chk.c: Likewise.
28098 * debug/vsnprintf_chk.c: Likewise.
28099 * debug/vsprintf_chk.c: Likewise.
28100 * malloc/mtrace.c: Likewise.
28101 * misc/error.c: Likewise.
28102 * misc/syslog.c: Likewise.
28103 * stdio-common/asprintf.c: Likewise.
28104 * stdio-common/fxprintf.c: Likewise.
28105 * stdio-common/getw.c: Likewise.
28106 * stdio-common/isoc99_fscanf.c: Likewise.
28107 * stdio-common/isoc99_scanf.c: Likewise.
28108 * stdio-common/isoc99_vfscanf.c: Likewise.
28109 * stdio-common/isoc99_vscanf.c: Likewise.
28110 * stdio-common/isoc99_vsscanf.c: Likewise.
28111 * stdio-common/printf-prs.c: Likewise.
28112 * stdio-common/printf_fp.c: Likewise.
28113 * stdio-common/printf_fphex.c: Likewise.
28114 * stdio-common/printf_size.c: Likewise.
28115 * stdio-common/putw.c: Likewise.
28116 * stdio-common/scanf.c: Likewise.
28117 * stdio-common/sprintf.c: Likewise.
28118 * stdio-common/tmpfile.c: Likewise.
28119 * stdio-common/vfprintf.c: Likewise.
28120 * stdio-common/vfscanf.c: Likewise.
28121 * stdlib/strfmon_l.c: Likewise.
28122 * sunrpc/openchild.c: Likewise.
28123 * sunrpc/xdr_stdio.c: Likewise.
28124 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28125 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28127 2012-05-24 Roland McGrath <roland@hack.frob.com>
28129 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28131 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28132 in the third column, to generate for the shared library an IFUNC
28133 that uses _dl_vdso_vsym.
28134 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28135 * Makeconfig (object-suffixes-noshared): New variable.
28137 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28138 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28139 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28140 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28143 * include/sys/time.h (__gettimeofday): Remove macro.
28144 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28145 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28147 (__gettimeofday): Add libc_hidden_def.
28148 (gettimeofday): Add libc_hidden_weak.
28149 * sysdeps/mach/gettimeofday.c: Likewise.
28150 * sysdeps/posix/gettimeofday.c: Likewise.
28151 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28152 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28154 (__gettimeofday_internal): Remove strong_alias.
28155 (__gettimeofday): Add libc_hidden_def.
28156 (gettimeofday): Add libc_hidden_weak.
28157 * sysdeps/unix/syscalls.list (gettimeofday):
28158 Remove __gettimeofday_internal alias.
28160 2012-05-24 Daniel Jacobowitz <drow@false.org>
28161 H.J. Lu <hongjiu.lu@intel.com>
28164 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28165 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28166 (largebin_index_32_big): New.
28167 (largebin_index): Use it for 16-byte alignment.
28168 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28169 correction with front_misalign.
28171 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28199 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28200 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28202 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28206 * math/libm-test.inc (exp_test): Add test from bug 14036.
28207 (pow_test): Add test from bug 10846.
28209 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28211 (special_function): Do not include flags in test name.
28212 (parse_args): Likewise.
28213 * sysdeps/i386/fpu/libm-test-ulps: Update.
28214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28215 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28216 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28219 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28221 * math/libm-test.inc ("Philosophy"): Update comment about
28223 (UNDERFLOW_EXCEPTION): New macro.
28224 (UNDERFLOW_EXCEPTION_OK): Likewise.
28225 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28226 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28227 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28228 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28229 (INVALID_EXCEPTION_OK): Update value.
28230 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28231 (OVERFLOW_EXCEPTION_OK): Likewise.
28232 (IGNORE_ZERO_INF_SIGN): Likewise.
28233 (test_exceptions): Handle underflow exceptions.
28234 (acos_test): Update for underflow exception expectations.
28235 (cexp_test): Likewise.
28236 (clog_test): Likewise.
28237 (clog10_test): Likewise.
28238 (csqrt_test): Likewise.
28239 (ctan_test): Likewise.
28240 (ctanh_test): Likewise.
28241 (exp_test): Likewise.
28242 (exp10_test): Likewise.
28243 (exp2_test): Likewise.
28244 (expm1_test): Likewise.
28245 (fma_test): Likewise.
28246 (j0_test): Likewise.
28247 (jn_test): Likewise.
28248 (nexttoward_test): Likewise.
28249 (pow_test): Likewise.
28250 (scalbn_test): Likewise.
28251 (scalbln_test): Likewise.
28252 (tan_test): Likewise.
28253 (y1_test): Likewise.
28254 * sysdeps/i386/fpu/libm-test-ulps: Update.
28255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28257 2012-05-23 David S. Miller <davem@davemloft.net>
28259 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28260 (__libc_sigaction): Remove unused local variables.
28262 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28264 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28266 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28268 mktime: avoid signed integer overflow
28269 * time/mktime.c (__mktime_internal): Do not mishandle the case
28270 where diff == INT_MIN.
28272 mktime: simplify computation of average
28273 * time/mktime.c (ranged_convert): Use new time_t_avg function
28274 instead of rolling our own (probably-slower) code.
28276 mktime: do not assume signed right shift propagates sign bit
28277 * time/mktime.c (isdst_differ): New static function.
28278 (__mktime_internal): No need to normalize tm_isdst now.
28279 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28282 mktime: merge another wrapv change from gnulib
28283 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28284 from some compilers.
28286 mktime: remove incorrect attempt at unusual arithmetics
28287 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28288 The code didn't really work on such machines anyway.
28289 (TYPE_MINIMUM): Assume two's complement.
28290 (twos_complement_arithmetic): Verify that long_int and time_t
28291 are two's complement (or unsigned, in the latter case).
28293 mktime: check signed shifts on long_int and time_t, too
28294 * time/mktime.c (SHR): Check that shifts work as desired
28295 on the types long_int and time_t too, as SHR is used on
28298 mktime: do not assume 'long' is wide enough
28299 * time/mktime.c (verify): Move decl up.
28300 (long_int): New type.
28301 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28302 to remove assumption in the code that 'long' is wide enough to
28303 store year values. This assumption is not true on x32 and on
28304 some non-glibc platforms.
28306 mktime: merge wrapv change from gnulib
28307 * time/mktime.c (WRAPV): New macro.
28308 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28309 (guess_time_tm, __mktime_internal): Do not assume that signed
28310 integer overflow wraps around; modern compilers generate code
28311 where this assumption is no longer valid.
28313 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28315 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28316 Replace "jmp L(pseudo_end)" with "ret".
28317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28320 2012-05-23 Andreas Jaeger <aj@suse.de>
28322 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28323 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28325 2012-05-23 Andreas Jaeger <aj@suse.de>
28326 Maximilian Attems <max@stro.at>
28328 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28331 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28334 code so that pseudo_end is just ret and the stack pointer is
28335 correct also for static library in error case.
28337 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28339 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28340 move to syscalls.list.
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28346 * manual/install.texi (Running make install): Do not mention Linux
28347 kernel version for which pt_chown is not needed.
28348 (Linux): Do not mention problems with nscd with 2.0 kernels.
28349 * INSTALL: Regenerated.
28351 2012-05-23 Andreas Jaeger <aj@suse.de>
28353 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28354 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28356 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28357 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28358 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28359 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28360 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28362 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28363 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28366 * sysdeps/unix/sysv/linux/bits/in.h
28367 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28369 2012-05-22 Roland McGrath <roland@hack.frob.com>
28371 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28372 (PREPARE_VERSION): Just use assert instead, it will be elided
28373 under [NDEBUG] anyway.
28375 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28377 * sysdeps/unix/sysv/linux/Makefile: Include
28378 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28379 (sysdep_routines): Remove sysctl.
28380 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28381 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28382 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28383 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28384 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28386 2012-05-22 Andreas Jaeger <aj@suse.de>
28388 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28389 that pseudo_end is just ret and the stack pointer is correct also
28390 for static library in error case.
28392 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28395 * nss/nsswitch.c (defconfig_entries): New variable.
28396 (__nss_database_lookup): Don't leak defconfig entries.
28397 (nss_parse_service_list): Don't leak on error paths.
28398 (free_database_entries): New function.
28399 (free_defconfig): New function.
28400 (free_mem): Move common code to free_database_entries.
28402 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28404 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28406 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28408 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28409 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28412 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28413 (INTERNAL_SYSCALL_TYPES): Likewise.
28414 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28415 (LOAD_REGS_TYPES_[1-6]): Likewise.
28416 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28417 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28419 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28422 copysignl for GLIBC_2_0.
28423 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28424 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28425 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28426 logbl for GLIBC_2_0.
28427 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28428 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28430 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28433 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28435 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28438 * time/mktime.c: Update copyright years.
28440 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28442 mktime: merge comment-quoting-style change from gnulib
28443 * time/mktime.c: Quote 'like this' in comments.
28444 The GNU coding standards suggest that we no longer quote `like this',
28445 as "`" and "'" are typically rendered asymmetrically nowadays.
28446 The typical gnulib style is to quote 'like this' when quoting
28447 code, and "like this" when quoting English.
28449 * time/mktime.c (compile-command): Add "-I.".
28451 mktime: merge mktime-internal.h change from gnulib
28452 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28454 mktime: merge time_r change from gnulib
28455 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28457 mktime: merge DEBUG change from gnulib
28458 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28459 case system <time.h> has a #define.
28461 mktime: merge <sys/types.h> change from gnulib
28462 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28463 since <time.t> is now guaranteed to define time_t.
28465 mktime: merge HAVE_CONFIG_H change from gnulib
28466 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28468 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28473 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28475 (struct rusage): Use anonymous union to pad each field to
28478 2012-05-21 David S. Miller <davem@davemloft.net>
28480 * Makefules (o-iterator): Remove .s cases.
28481 (compile-command.s): Delete.
28482 (COMPILE.s): Delete.
28483 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28485 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28487 * configure.in (libc_cv_predef_stack_protector): Only consider
28488 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28489 * configure: Regenerated.
28491 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28494 New macro. Use R*LP on int and pointer.
28495 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28496 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28497 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28498 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28500 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28501 [__WORDSIZE_TIME64_COMPAT32] instead of
28502 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28503 (struct utmp): Likewise.
28504 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28505 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28507 (__WORDSIZE_TIME64_COMPAT32): This.
28508 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28509 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28510 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28511 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28512 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28513 (__WORDSIZE_TIME64_COMPAT32): New macro.
28515 2012-05-21 Andreas Jaeger <aj@suse.de>
28517 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28518 only if [SHARED]. Add prototype for __wcschr_ia32.
28520 2012-05-21 Roland McGrath <roland@hack.frob.com>
28522 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28523 of %rbp unmolested in the jmp_buf while mangling the low bits.
28524 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28525 unmolested high bits of %rbp while demangling the low bits.
28526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28528 2012-05-21 Andreas Jaeger <aj@suse.de>
28530 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28531 * sunrpc/svc_simple.c: Use it for registerrpc.
28532 * sunrpc/xcrypt.c: Use it for passwd2des.
28534 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28536 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28538 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28539 Don't define if [__SYSCALL_WORDSIZE != 32].
28540 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28543 2012-05-21 Bruno Haible <bruno@clisp.org>
28544 Andreas Jaeger <aj@suse.de>
28546 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28547 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28548 inptr and inend for must_buffer_ch.
28549 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28550 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28551 * stdio-common/Makefile (tests): Remove bug15.
28552 (bug15-ENV): Remove macro.
28553 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28556 2012-05-19 Andreas Jaeger <aj@suse.de>
28557 Roland McGrath <roland@hack.frob.com>
28559 * manual/contrib.texi: Completely rewritten. It contains now an
28560 alphabetical list of contributors and their contributions.
28562 2012-05-21 Richard Henderson <rth@twiddle.net>
28564 * misc/getauxval.c (__getauxval): Use unsigned long int.
28565 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28566 (getauxval): Use unsigned long int.
28568 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28570 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28572 2012-05-21 Roland McGrath <roland@hack.frob.com>
28574 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28575 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28576 __alignof__ (long double).
28578 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28582 2012-05-20 Richard Henderson <rth@twiddle.net>
28584 * misc/getauxval.c: New file.
28585 * misc/sys/auxv.h: New file.
28586 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28587 (routines): Add getauxval.
28588 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28589 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28590 * elf/dl-sysdep.c (_dl_auxv): Remove.
28591 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28592 * elf/dl-support.c (_dl_auxv): New variable.
28593 (_dl_aux_init): Initialize it.
28594 * manual/startup.texi (Auxiliary Vector): New node.
28595 * sysdeps/generic/bits/hwcap.h: New file.
28596 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28597 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28598 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28599 * sysdeps/sparc/sysdep.h: ... here. Include it.
28600 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28601 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28613 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28617 2012-05-19 David S. Miller <davem@davemloft.net>
28619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28621 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28624 * math/s_ccosh.c: Include <float.h>
28625 (__ccosh): Avoid internal overflow calculating sinh and cosh
28626 values before multiplying by sin and cos values.
28627 * math/s_ccoshf.c: Likewise.
28628 * math/s_ccoshl.c: Likewise.
28629 * math/s_csin.c: Likewise.
28630 * math/s_csinf.c: Likewise.
28631 * math/s_csinl.c: Likewise.
28632 * math/s_csinh.c: Likewise.
28633 * math/s_csinhf.c: Likewise.
28634 * math/s_csinhl.c: Likewise.
28635 * math/libm-test.inc (ccos_test): Add more tests.
28636 (ccosh_test): Likewise.
28637 (csin_test): Likewise.
28638 (csinh_test): Likewise.
28639 * sysdeps/i386/fpu/libm-test-ulps: Update.
28640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28642 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28644 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28645 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28647 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28649 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28651 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28652 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28653 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28654 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28655 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28656 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28657 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28658 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28659 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28660 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28661 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28662 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28663 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28664 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28665 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28666 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28667 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28668 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28669 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28670 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28671 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28672 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28673 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28674 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28675 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28676 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28677 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28678 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28679 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28680 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28681 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28683 2012-05-18 Andreas Jaeger <aj@suse.de>
28685 * csu/.gitignore: Delete.
28687 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28689 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28690 (timex): Use __syscall_slong_t.
28692 2012-05-18 Andreas Jaeger <aj@suse.de>
28693 Carlos O'Donell <carlos_odonell@mentor.com>
28695 * manual/install.texi (Configuring and compiling): Update
28696 description about files modified in the source directory.
28697 * INSTALL: Regenerated.
28699 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28701 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28702 value. Use "or" to set return value to -1.
28703 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28704 negate return value.
28706 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28708 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28709 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28710 failure if the compiler has Graphite support disabled.
28711 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28713 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28714 CFLAGS-memmove.c): Likewise.
28715 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28718 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/x86_64/x32/_itoa.h: New file.
28722 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28723 getdents system call only if kernel and user dirents have the
28724 same d_ino and d_off.
28726 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28727 LLONG_MAX != LONG_MAX.
28728 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28729 (_fitoa_word): Likewise.
28731 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28733 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28734 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28735 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28737 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28738 include <bits/wordsize.h>. Check __x86_64__ instead of
28740 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28741 if __x86_64__ is defined. Use anonymous union on fpstate.
28743 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28746 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28748 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28749 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28750 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28751 Refer to _rtld_local_ro instead of _rtld_global_ro.
28752 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28754 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28756 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28758 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28759 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28760 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28762 * sysdeps/powerpc/powerpc32/dl-machine.c
28763 (__elf_machine_runtime_setup) [PROF]: Don't reference
28766 2012-05-18 Andreas Jaeger <aj@suse.de>
28768 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28769 function only available for GCCs before 3.4 since GCC 3.4
28770 introduced a builtin.
28772 (llrintf): Likewise.
28773 (llrint): Likewise.
28780 (nearbyint): Likewise.
28781 (nearbyintf): Likewise.
28785 (floorf): Likewise.
28787 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28789 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28790 on both fields and cast pointer to __syscall_ulong_t.
28792 * bits/types.h (__fsword_t): New type.
28793 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28794 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28795 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28796 (__FSWORD_T_TYPE): Likewise.
28797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28798 (__FSWORD_T_TYPE): Likewise.
28799 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28800 (__FSWORD_T_TYPE): Likewise.
28801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28802 (__FSWORD_T_TYPE): Likewise.
28803 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28804 __SWORD_TYPE with __fsword_t.
28805 (statfs64): Likewise.
28807 2012-05-17 David S. Miller <davem@davemloft.net>
28809 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28811 2012-05-17 Andreas Jaeger <aj@suse.de>
28813 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28816 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28818 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28820 2012-05-17 Andreas Jaeger <aj@suse.de>
28822 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28825 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28827 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28829 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28831 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28832 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28834 2012-05-17 Andreas Jaeger <aj@suse.de>
28835 Carlos O'Donell <carlos_odonell@mentor.com>
28838 * sysdeps/x86_64/multiarch/init-arch.h
28839 (bit_YMM_Usable): Rename to...
28840 (bit_AVX_Usable): ... this.
28841 (bit_FMA4_Usable): New macro.
28842 (bit_XMM_state): New macro.
28843 (bit_YMM_state): New macro.
28844 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28845 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28846 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28847 (CPUID_OSXSAVE): New macro.
28848 (CPUID_AVX): New macro.
28849 (CPUID_FMA4): New macro.
28850 (index_YMM_Usable): Rename to...
28851 (index_AVX_Usable): ... this.
28852 (HAS_AVX): Use HAS_ARCH_FEATURE.
28853 (HAS_FMA4): Likewise.
28854 (HAS_YMM_USABLE): Remove.
28855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28856 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28858 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28859 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28860 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28861 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28862 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28864 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28866 * math/libm-test.c: Support platforms without multiple rounding modes.
28867 * math/bug-nextafter.c: Support platforms without FP exceptions.
28868 * math/bug-nexttoward.c: Likewise.
28869 * math/test-fenv.c: Likewise.
28870 * math/test-misc.c: Likewise.
28871 * stdlib/bug-getcontext.c: Likewise.
28873 2012-05-17 Andreas Jaeger <aj@suse.de>
28875 * manual/examples/search.c (critter_cmp): Change signature to
28877 * manual/string.texi (Collation Functions): Likewise.
28879 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28881 * bits/types.h: Fold copyright years.
28882 * bits/typesizes.h: Likewise.
28883 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28885 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28887 * time/time.h: Likewise.
28889 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28892 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28893 in instead of returning them. Return void.
28894 (__libc_mallinfo): Accumulate over all arenas.
28895 (__malloc_stats): Adjust for change in int_mallinfo interface.
28897 2012-05-16 Roland McGrath <roland@hack.frob.com>
28900 * configure.in (NM): Add AC_CHECK_TOOL for it.
28901 (libc_extra_cflags): New substituted variable.
28902 Check for -fstack-protector being used implicitly.
28903 * configure: Regenerated.
28904 * config.make.in (config-extra-cflags): New variable,
28905 gets @libc_extra_cflags@.
28906 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28909 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28910 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28911 * configure: Regenerated.
28912 * config.make.in (CPPUNDEFS): New substituted variable.
28913 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28914 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28915 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28917 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28919 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28920 (mq_attr): Use __syscall_slong_t.
28922 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28924 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28925 Check __x86_64__ instead of __WORDSIZE.
28926 (_STAT_VER_LINUX): Likewise.
28927 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28928 __syscall_ulong_t and __syscall_slong_t.
28929 (stat64): Likewise.
28931 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28933 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28935 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28937 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28941 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28944 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28945 include <bits/wordsize.h>. Check __x86_64__ instead of
28947 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28949 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28952 include <bits/wordsize.h>. Check __x86_64__ instead of
28954 (user_regs_struct): Use "__extension__ unsigned long long"
28955 instead of "unsigned long" if __x86_64__ is defined.
28956 (user): Likewise. Pad after pointer field if __ILP32__ is
28959 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28961 * configure.in (makeinfo): Require version 4.5 or later. Allow
28963 * configure: Regenerated.
28964 * manual/install.texi (texinfo): Increase version requirement to
28966 * INSTALL: Regenerated.
28968 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28970 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28972 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28974 * sysdeps/x86_64/x32/ffs.c: New file.
28976 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28978 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28979 defined. Use __syscall_ulong_t.
28980 (shminfo): Use __syscall_ulong_t.
28981 (shm_info): Likewise.
28983 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28986 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28988 (msgqnum_t): Use __syscall_ulong_t.
28989 (msglen_t): Likewise.
28990 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28993 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28994 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28996 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28998 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28999 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29001 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29004 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29005 include <bits/wordsize.h>. Check __x86_64__ instead of
29008 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29009 "unsigned long long int" if __x86_64__ is defined.
29010 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29012 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29013 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29014 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29016 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29018 (GET_PC): Cast to uintptr_t first.
29019 (GET_FRAME): Likewise.
29020 (GET_STACK): Likewise.
29022 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29023 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29024 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29025 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29026 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29027 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29028 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29029 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29030 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29031 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29032 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29033 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29034 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29035 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29036 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29037 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29038 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29039 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29040 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29041 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29042 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29043 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29044 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29045 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29046 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29047 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29048 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29050 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29052 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29054 * Makerules (+depfiles): Also collect depfiles from .oS in
29056 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29057 .oS, $(libnldbl-routines)).
29059 * Makerules (native-compile-mkdep-flags): Define.
29060 * sunrpc/Makefile (extra-objs): Add $(addprefix
29061 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29062 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29063 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29064 calling $(make-target-directory).
29066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29068 * bits/types.h (__snseconds_t): Removed.
29069 * time/time.h (struct timespec): Replace __snseconds_t with
29071 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29072 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29075 (__SNSECONDS_T_TYPE): Likewise.
29076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29077 (__SNSECONDS_T_TYPE): Likewise.
29078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29079 (__SNSECONDS_T_TYPE): Likewise.
29081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29083 * sysdeps/mach/hurd/bits/typesizes.h
29084 (__SYSCALL_SLONG_TYPE): New macro.
29085 (__SYSCALL_ULONG_TYPE): Likewise.
29087 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29089 * bits/types.h (__syscall_slong_t): New type.
29090 (__syscall_ulong_t): Likewise.
29092 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29093 (__SYSCALL_ULONG_TYPE): Likewise.
29094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29095 (__SYSCALL_SLONG_TYPE): Likewise.
29096 (__SYSCALL_ULONG_TYPE): Likewise.
29097 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29098 (__SYSCALL_SLONG_TYPE): Likewise.
29099 (__SYSCALL_ULONG_TYPE): Likewise.
29100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29101 (__SYSCALL_SLONG_TYPE): Likewise.
29102 (__SYSCALL_ULONG_TYPE): Likewise.
29104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29106 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29107 Add sigaltstack-offsets.sym.
29108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29109 <sigaltstack-offsets.h>.
29110 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29111 longjmp_msg pointer.
29112 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29113 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29115 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29117 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29119 * elf/stackguard-macros.h: Remove file.
29120 * sysdeps/generic/stackguard-macros.h: New file.
29121 * sysdeps/i386/stackguard-macros.h: Likewise.
29122 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29123 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29124 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29125 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29126 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29127 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29128 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29129 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29130 <elf/stackguard-macros.h>.
29133 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29134 __aligned__ in attribute.
29135 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29136 (gregset_t): Likewise.
29138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29140 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29141 * sysdeps/x86_64/64/Implies-after: Here. New file.
29142 * sysdeps/x86_64/x32/Implies-after: New file.
29144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29146 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29147 and access return value for _dl_profile_fixup. Use R10_LP to
29150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29152 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29156 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29157 * sysdeps/x86_64/x32/sysdep.h: New file.
29159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29161 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29162 * sysdeps/x86_64/setjmp.S: Likewise.
29164 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29166 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29167 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29168 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29169 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29170 remove unused global constant.
29172 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29174 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29175 include of <not-cancel.h>.
29177 2012-05-15 Roland McGrath <roland@hack.frob.com>
29179 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29181 2012-05-15 Jeff Law <law@redhat.com>
29182 Andreas Jaeger <aj@suse.de>
29185 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29187 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29188 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29189 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29190 code changing __hst_map_handle.map.
29192 2012-05-15 Roland McGrath <roland@hack.frob.com>
29194 * configure.in (sysnames): Look for Implies-before and Implies-after
29196 * configure: Regenerated.
29198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29200 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29201 8-byte data alignment with LP_SIZE alignment.
29203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29205 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29210 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29214 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29215 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29218 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29222 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29223 (stackinfo_sub_sp): Likewise.
29225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29227 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29232 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29237 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29242 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29246 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29247 into R11_LP and load __x86_64_shared_cache_size_half into
29250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29252 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29255 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29263 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29264 powerpc32/power7/fpu/s_logb.c via #include.
29265 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29266 powerpc32/power7/fpu/s_logbf.c via #include.
29267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29268 powerpc32/power7/fpu/s_logbl.c via #include.
29270 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29272 * README.libm: Remove file.
29274 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29276 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29277 count for x32. Use R*_LP and omit operand-size suffix.
29279 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29281 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29282 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29283 * sysdeps/x86_64/x32/shlib-versions: New file.
29285 2012-05-14 Roland McGrath <roland@hack.frob.com>
29287 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29288 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29289 Use _dl_fatal_printf instead.
29291 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29293 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29294 set if not set by the user. Do not allow for being unset.
29295 * sysdeps/unix/sysv/linux/configure: Regenerated.
29297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29299 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29300 the `q' suffix from lea and replace .quad with ASM_ADDR.
29302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29305 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29307 (PTR_DEMANGLE): Likewise.
29309 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29311 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29313 (ASM_ADDR): Likewise.
29314 (RAX_LP): Likewise.
29315 (RBP_LP): Likewise.
29316 (RBX_LP): Likewise.
29317 (RCX_LP): Likewise.
29318 (RDI_LP): Likewise.
29319 (RSI_LP): Likewise.
29320 (RSP_LP): Likewise.
29323 (R10_LP): Likewise.
29324 (R10_LP): Likewise.
29325 (R11_LP): Likewise.
29326 (R12_LP): Likewise.
29327 (R13_LP): Likewise.
29328 (R14_LP): Likewise.
29329 (R15_LP): Likewise.
29331 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29333 * sysdeps/x86_64/x32/dl-machine.h: New file.
29335 2012-05-14 Andreas Jaeger <aj@suse.de>
29337 * manual/Makefile (subdir): Remove export of subdir.
29338 (all): Remove target.
29339 (.PHONY): Remove all from list.
29340 (mkinstalldirs): Remove.
29341 (.PHONY): Remove installdirs from list.
29342 ($(inst_infodir)/libc.info): Use make-target-directory.
29343 (installdirs): Remove.
29344 (subdir_%): Remove.
29345 (glibc-targets): Remove.
29348 ($(objpfx)stubs ../po/manual.pot): Remove.
29349 ($(objpfx)stamp%): Remove.
29350 (make-target-directory): Remove.
29351 (subdir_install): Remove.
29352 (routines): Remove.
29359 * manual/.gitignore: Remove, it's not needed anymore.
29360 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29362 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29364 (texis): Renamed to $(objpfx)texis.
29365 (texis-path): New, contains path to generated files.
29366 (chapters.%): Use texis-path for complete path, add extra argument
29368 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29369 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29370 (summary,texi, stamp-summary): Use complete path of
29371 files. Generate files in build dir.
29372 (dir-add.texi): Build in build dir.
29373 (libm-err.texi,stamp-libm-err): Likewise.
29374 (version.texi, stamp-version): Likewise.
29375 (.%c.texi): Likewise.
29376 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29377 (mostlyclean): Remove target.
29378 (realclean): Remove target.
29379 (generated): Add new variable with contents from mostlyclean and
29380 realclean, remove entries duplicated in common-mostlyclean, add
29381 stamp-libm-err and stamp-version.
29382 (generated-dirs): Add libc directory.
29383 ($(inst_infodir)/libc.info): Install files from build dir.
29385 * manual/install.texi (Configuring and compiling): Adjust since
29386 the info files are not part of the tar ball anymore.
29388 2012-05-14 Andreas Jaeger <aj@suse.de>
29390 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29393 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29396 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29397 to 2.2.0 where earlier.
29398 * sysdeps/unix/sysv/linux/configure: Regenerated.
29399 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29400 Remove conditional code.
29401 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29402 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29403 Remove conditional code.
29404 [!__NR_lchown]: Likewise.
29405 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29406 [__NR_lchown]: Likewise.
29407 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29408 comment referencing __ASSUME_LCHOWN_SYSCALL.
29409 * sysdeps/unix/sysv/linux/i386/sigaction.c
29410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29412 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29413 Remove conditional code.
29414 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29415 (__protocol_available): Remove #if 0 code.
29416 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29418 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29419 * sysdeps/unix/sysv/linux/kernel-features.h
29420 (__ASSUME_GETCWD_SYSCALL): Don't define.
29421 (__ASSUME_REALTIME_SIGNALS): Likewise.
29422 (__ASSUME_PREAD_SYSCALL): Likewise.
29423 (__ASSUME_PWRITE_SYSCALL): Likewise.
29424 (__ASSUME_POLL_SYSCALL): Likewise.
29425 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29426 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29428 (__ASSUME_SIOCGIFNAME): Don't define.
29429 (__ASSUME_MSG_NOSIGNAL): Likewise.
29430 (__ASSUME_SENDFILE): Define unconditionally.
29431 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29432 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29434 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29435 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29436 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29437 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29438 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29439 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29440 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29442 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29443 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29445 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29446 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29448 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29449 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29451 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29452 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29454 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29455 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29457 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29458 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29460 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29461 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29463 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29465 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29466 Remove conditional code.
29467 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29468 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29469 Remove conditional code.
29470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29471 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29472 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29473 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29474 Remove conditional code.
29475 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29476 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29477 Remove conditional code.
29478 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29479 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29480 Remove conditional code.
29481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29482 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29483 Remove conditional code.
29484 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29485 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29486 Remove conditional code.
29487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29488 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29489 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29490 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29491 * sysdeps/unix/sysv/linux/sigaction.c
29492 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29493 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29494 * sysdeps/unix/sysv/linux/sigpending.c
29495 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29496 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29497 * sysdeps/unix/sysv/linux/sigprocmask.c
29498 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29499 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29500 * sysdeps/unix/sysv/linux/sigsuspend.c
29501 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29502 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29503 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29504 (__libc_missing_rt_sigs): Remove.
29505 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29506 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29507 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29508 Remove conditional code.
29509 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29510 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29513 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29514 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29515 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29517 2012-05-14 Andreas Jaeger <aj@suse.de>
29519 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29520 it's not used in glibc.
29521 (__coshm1): Likewise.
29522 (__acosh1p): Likewise.
29525 * manual/string.texi (Copying and Concatenation): Add missing
29526 variable in concat example.
29527 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29529 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29533 __builtin_clzl with __builtin_clzll.
29535 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29538 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29541 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29543 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29544 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29545 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29546 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29548 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29550 * NEWS: Update ia64 info.
29552 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29554 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29557 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29559 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29560 * sysdeps/unix/syscalls.list (dup3): Likewise.
29561 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29562 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29564 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29566 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29567 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29569 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29571 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29573 (TLS_IE): Use mov/add instead of movq/addq to load thread
29575 (TLS_GD_PREFIX): New.
29578 2012-05-11 David S. Miller <davem@davemloft.net>
29580 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29581 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29582 (_FPU_SETCW): Likewise.
29584 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29586 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29587 is 32-byte aligned.
29589 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29592 * iconvdata/gb18030.c: Update tables.
29593 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29594 characters specially.
29595 (BODY for TO_LOOP): Add encoding of missing ranges.
29597 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29600 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29601 * sysdeps/mach/hurd/dup3.c: Likewise.
29602 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29603 * sysdeps/powerpc/memmove.c:: Likewise.
29605 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29608 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29610 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29612 * elf/elf.h (R_X86_64_RELATIVE64): New.
29613 (R_X86_64_NUM): Updated.
29614 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29615 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29616 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29617 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29618 tst-quad1pie tst-quad2pie
29619 (modules-names): Add tst-quadmod1 tst-quadmod2.
29620 ($(objpfx)tst-quad1): New dependency.
29621 ($(objpfx)tst-quad2): Likewise.
29622 ($(objpfx)tst-quad1pie): Likewise.
29623 ($(objpfx)tst-quad2pie): Likewise.
29624 * sysdeps/x86_64/tst-quad1.c: New file.
29625 * sysdeps/x86_64/tst-quad1pie.c: New file.
29626 * sysdeps/x86_64/tst-quad2.c: Likewise.
29627 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29628 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29629 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29630 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29631 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29635 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29636 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29637 * streams/stropts.h (t_scalar_t): Define type.
29639 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29640 (_PATH_PRESERVE): Set to "/var/lib".
29641 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29643 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29646 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29647 if __dir_mkfile succeeded.
29649 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29650 checking for _hurd_dtablesize. Unlock it right after having
29651 finished _hurd_dtable allocation.
29653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29655 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29656 * sysdeps/mach/hurd/configure: Regenerated.
29657 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29658 special-casing to...
29659 * sysdeps/gnu/configure.in: ... this new file.
29660 * sysdeps/unix/sysv/linux/configure: Regenerated.
29661 * sysdeps/gnu/configure: New generated file.
29663 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29664 for Linux: use nsec instead of usec, as well as:
29665 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29666 members of type struct timespec.
29667 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29669 (struct stat64): Likewise.
29670 (_STATBUF_ST_NSEC): New macro.
29671 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29673 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29674 __strtoul_internal rather than strtoul.
29676 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29678 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29683 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29684 which preserves existing values.
29685 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29687 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29689 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29690 TIMEOUT values. Return EINVAL for NFDS values either negative or
29691 greater than FD_SETSIZE.
29693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29695 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29696 allocated, call __vm_protect to finish enabling the existing space, and
29697 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29698 allocate the remainder.
29700 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29702 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29703 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29705 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29707 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29708 sysdeps/mach/hurd/readlink.c.
29710 * posix/tst-sysconf.c (posix_options): Only use
29711 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29712 _POSIX_SYNCHRONIZED_IO when they are defined
29713 * sysdeps/mach/hurd/bits/posix_opt.h:
29714 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29715 (_XOPEN_REALTIME): Undefine macro.
29716 (_XOPEN_REALTIME_THREADS): Undefine macro.
29717 (_XOPEN_SHM): Undefine macro.
29718 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29720 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29722 (_POSIX_ASYNC_IO): Undefine macro.
29723 (_POSIX_PRIORITIZED_IO): Undefine macro.
29724 (_POSIX_SPIN_LOCKS): Define macro to -1.
29726 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29727 SA_NODEFER, SA_RESETHAND.
29728 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29729 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29734 * elf/Makefile (pldd-modules): Define unconditionally.
29736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29738 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29742 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29743 Return ENOENT when name is empty.
29744 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29746 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29748 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29750 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29754 Fix mlock in all cases except non-readable pages.
29755 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29756 instead of VM_PROT_ALL as parameter to __vm_wire function.
29758 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29759 (__mkdir): When path is `/', just fail with EEXIST.
29760 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29764 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29765 <sys/uio.h> (for writev).
29766 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29767 and <sys/param.h> (for MIN).
29769 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29771 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29772 REQUESTED_TIME. Properly set the remaining time and return EINTR
29775 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29777 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29778 Depend on against $(link-rpcuserlibs).
29780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29782 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29783 (__libc_stack_end): Do not use attribute_relro.
29784 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29785 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29786 to libthread-provided value.
29787 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29790 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29793 * bits/libc-lock.h (__libc_once_get): New macro.
29794 * sysdeps/mach/bits/libc-lock.h: Likewise.
29795 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29797 instead of using implementation details.
29799 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29800 * libio/freopen.c: Likewise.
29801 * libio/freopen64.c: Likewise.
29802 * misc/syslog.c: Likewise.
29803 * nscd/connections.c: Likewise.
29804 * nscd/netgroupcache.c: Likewise.
29805 * sysdeps/posix/getcwd.c: Likewise.
29807 2012-05-10 Roland McGrath <roland@hack.frob.com>
29809 * math/w_ilogbf.c: Add #include <limits.h>.
29811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29813 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29814 path instead of returning without unlocking.
29816 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29817 immediate-write ioctls.
29818 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29820 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29822 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29823 __builtin_frame_address instead of making assumptions about the
29824 location of the return address relative to DATA. Force early load of
29825 the return address.
29826 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29827 __builtin_frame_address.
29830 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29831 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29832 implement dup3 and do some further code clean-ups.
29833 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29834 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29838 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29840 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29841 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29842 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29843 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29844 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29847 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29848 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29849 when handler == SIG_ERR, not when handler != SIG_ERR.
29851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29853 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29854 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29857 accept4 for GNU Hurd.
29858 * include/sys/socket.h (__libc_accept4): New prototype.
29859 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29860 to implement __libc_accept4.
29861 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29863 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29865 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29866 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29867 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29868 signal-defines.sym.
29870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29872 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29874 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29876 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29877 assertion on O_CLOEXEC flag.
29878 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29879 * hurd/intern-fd.c: Likewise.
29880 * hurd/port2fd.c: Likewise.
29882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29885 * bits/in.h (IPV6_PKTINFO): Define new macro.
29886 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29888 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29893 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29895 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29896 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29897 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29898 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29899 * math/libm-test.inc (logb_test) : Additional logb tests.
29901 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29902 Andreas Jaeger <aj@suse.de>
29904 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29905 * configure: Regenerated.
29906 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29907 * config.make.in (link-obsolete-rpc): New substituted variable.
29908 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29909 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29910 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29911 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29912 so that libc.a contains the symbols.
29913 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29914 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29915 * sunrpc/auth_none.c: Likewise.
29916 * sunrpc/auth_unix.c: Likewise.
29917 * sunrpc/authdes_prot.c: Likewise.
29918 * sunrpc/authuxprot.c: Likewise.
29919 * sunrpc/clnt_gen.c: Likewise.
29920 * sunrpc/clnt_perr.c: Likewise.
29921 * sunrpc/clnt_raw.c: Likewise.
29922 * sunrpc/clnt_simp.c: Likewise.
29923 * sunrpc/clnt_tcp.c: Likewise.
29924 * sunrpc/clnt_udp.c: Likewise.
29925 * sunrpc/clnt_unix.c: Likewise.
29926 * sunrpc/des_crypt.c: Likewise.
29927 * sunrpc/des_soft.c: Likewise.
29928 * sunrpc/get_myaddr.c: Likewise.
29929 * sunrpc/key_call.c: Likewise.
29930 * sunrpc/key_prot.c: Likewise.
29931 * sunrpc/netname.c: Likewise.
29932 * sunrpc/pm_getmaps.c: Likewise.
29933 * sunrpc/pm_getport.c: Likewise.
29934 * sunrpc/pmap_clnt.c: Likewise.
29935 * sunrpc/pmap_prot.c: Likewise.
29936 * sunrpc/pmap_prot2.c: Likewise.
29937 * sunrpc/pmap_rmt.c: Likewise.
29938 * sunrpc/publickey.c: Likewise.
29939 * sunrpc/rpc_cmsg.c: Likewise.
29940 * sunrpc/rpc_common.c: Likewise.
29941 * sunrpc/rpc_dtable.c: Likewise.
29942 * sunrpc/rpc_prot.c: Likewise.
29943 * sunrpc/rpc_thread.c: Likewise.
29944 * sunrpc/rtime.c: Likewise.
29945 * sunrpc/svc.c: Likewise.
29946 * sunrpc/svc_auth.c: Likewise.
29947 * sunrpc/svc_raw.c: Likewise.
29948 * sunrpc/svc_run.c: Likewise.
29949 * sunrpc/svc_tcp.c: Likewise.
29950 * sunrpc/svc_udp.c: Likewise.
29951 * sunrpc/svc_unix.c: Likewise.
29952 * sunrpc/svcauth_des.c: Likewise.
29953 * sunrpc/xcrypt.c: Likewise.
29954 * sunrpc/xdr.c: Likewise.
29955 * sunrpc/xdr_array.c: Likewise.
29956 * sunrpc/xdr_float.c: Likewise.
29957 * sunrpc/xdr_intXX_t.c: Likewise.
29958 * sunrpc/xdr_mem.c: Likewise.
29959 * sunrpc/xdr_rec.c: Likewise.
29960 * sunrpc/xdr_ref.c: Likewise.
29961 * sunrpc/xdr_sizeof.c: Likewise.
29962 * sunrpc/xdr_stdio.c: Likewise.
29964 2012-05-10 Roland McGrath <roland@hack.frob.com>
29966 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29967 change. Update copyright years.
29969 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29971 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29973 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29974 Joseph Myers <joseph@codesourcery.com>
29975 Paul Pluzhnikov <ppluzhnikov@google.com>
29978 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29980 [cross-compiling] (extra-libs): Likewise.
29981 [cross-compiling] (extra-libs-others): Likewise.
29982 [cross-compiling] (librpcsvc-routines): Likewise.
29983 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29984 [cross-compiling] (omit-deps): Likewise.
29985 (sunrpc-CPPFLAGS): New variable.
29986 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29987 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29988 (cross-rpcgen-objs): New variable.
29989 (extra-objs): Append $(cross-rpcgen-objs).
29990 ($(cross-rpcgen-objs)): New rule.
29991 ($(objpfx)cross-rpcgen): Likewise.
29992 (rpcgen-cmd): Define to use $(built-program-file). Expand
29994 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29995 ($(objpfx)x%.stmp): Likewise.
29996 * sunrpc/proto.h [IS_IN_build] (_): Define.
29997 [IS_IN_build] (_libc_intl_domainname): Likewise.
29999 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30001 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30002 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30003 and R_X86_64_TPOFF64.
30005 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30007 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30008 sysdeps/unix/sysv/syscalls.list.
30011 * sysdeps/unix/sysv/syscalls.list: Remove file.
30013 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30016 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30017 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30018 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30019 (__LC_IDENTIFICATION): Make these macros useful in #if
30020 expressions, as required by C99.
30022 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30024 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30025 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30028 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30030 * stdlib/longlong.h: Updated from GCC.
30032 2012-05-09 Andreas Jaeger <aj@suse.de>
30034 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30035 default is first entry.
30036 (run_mode): Set type.
30037 (main): Remove informal message about syslog.
30038 (options): Fix typo.
30041 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30044 (llrintf): Likewise.
30045 (llrint): Likewise.
30048 (nearbyint): Likewise.
30049 (nearbyintf): Likewise.
30051 2012-05-09 Andreas Jaeger <aj@suse.de>
30052 Pedro Alves <palves@redhat.com>
30054 * nscd/nscd.c (run_mode): Use enum.
30055 (main): Cleanup coding style issue.
30057 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30058 Andreas Jaeger <aj@suse.de>
30060 * nscd/nscd.c (go_background): Replaced with...
30061 (run_mode): ... this.
30062 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30063 (options): Add -F --foreground.
30064 (main): Implement it.
30065 (parse_opt): Parse it.
30067 2012-05-09 Andreas Jaeger <aj@suse.de>
30070 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30071 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30072 -Wconversion warning.
30073 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30076 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30078 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30080 (LC_ALL): Use macro-int-constant.
30081 (LC_COLLATE): Likewise.
30082 (LC_CTYPE): Likewise.
30083 (LC_MESSAGES): Likewise.
30084 (LC_MONETARY): Likewise.
30085 (LC_NUMERIC): Likewise.
30086 (LC_TIME): Likewise.
30087 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30088 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30090 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30092 [C99-based standards] (float_t): Expect type.
30093 [C99-based standards] (double_t): Expect type.
30094 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30096 [C99-based standards] (HUGE_VALL): Likewise.
30097 [C99-based standards] (INFINITY): Likewise.
30098 [C99-based standards] (NAN): Likewise.
30099 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30100 [C99-based standards] (FP_NAN): Likewise.
30101 [C99-based standards] (FP_NORMAL): Likewise.
30102 [C99-based standards] (FP_SUBNORMAL): Likewise.
30103 [C99-based standards] (FP_ZERO): Likewise.
30104 [C99-based standards] (FP_FAST_FMA): Use
30105 optional-macro-int-constant. Specify type. Require == 1.
30106 [C99-based standards] (FP_FAST_FMAF): Likewise.
30107 [C99-based standards] (FP_FAST_FMAL): Likewise.
30108 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30109 [C99-based standards] (FP_ILOGBNAN): Likewise.
30110 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30112 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30113 [C99-based standards] (math_errhandling): Specify type.
30114 [ISO99 || ISO11] (signgam): Do not allow.
30115 [non-C99-based standards] (copysignf): Do not allow.
30116 [non-C99-based standards] (exp2f): Likewise.
30117 [non-C99-based standards] (log2f): Likewise.
30118 [non-C99-based standards] (modff): Allow.
30119 [non-C99-based standards] (erff): Do not allow.
30120 [non-C99-based standards] (erfcf): Likewise.
30121 [non-C99-based standards] (gammaf): Likewise.
30122 [non-C99-based standards] (hypotf): Likewise.
30123 [non-C99-based standards] (j0f): Likewise.
30124 [non-C99-based standards] (j1f): Likewise.
30125 [non-C99-based standards] (jnf): Likewise.
30126 [non-C99-based standards] (lgammaf): Likewise.
30127 [non-C99-based standards] (tgammaf): Likewise.
30128 [non-C99-based standards] (y0f): Likewise.
30129 [non-C99-based standards] (y1f): Likewise.
30130 [non-C99-based standards] (ynf): Likewise.
30131 [non-C99-based standards] (isnanf): Likewise.
30132 [non-C99-based standards] (acoshf): Likewise.
30133 [non-C99-based standards] (asinhf): Likewise.
30134 [non-C99-based standards] (atanhf): Likewise.
30135 [non-C99-based standards] (cbrtf): Likewise.
30136 [non-C99-based standards] (expm1f): Likewise.
30137 [non-C99-based standards] (ilogbf): Likewise.
30138 [non-C99-based standards] (log1pf): Likewise.
30139 [non-C99-based standards] (logbf): Likewise.
30140 [non-C99-based standards] (nextafterf): Likewise.
30141 [non-C99-based standards] (remainderf): Likewise.
30142 [non-C99-based standards] (rintf): Likewise.
30143 [non-C99-based standards] (scalbf): Likewise.
30144 [non-C99-based standards] (copysignl): Likewise.
30145 [non-C99-based standards] (exp2l): Likewise.
30146 [non-C99-based standards] (log2l): Likewise.
30147 [non-C99-based standards] (modfl): Allow.
30148 [non-C99-based standards] (erfl): Do not allow.
30149 [non-C99-based standards] (erfcl): Likewise.
30150 [non-C99-based standards] (gammal): Likewise.
30151 [non-C99-based standards] (hypotl): Likewise.
30152 [non-C99-based standards] (j0l): Likewise.
30153 [non-C99-based standards] (j1l): Likewise.
30154 [non-C99-based standards] (jnl): Likewise.
30155 [non-C99-based standards] (lgammal): Likewise.
30156 [non-C99-based standards] (tgammal): Likewise.
30157 [non-C99-based standards] (y0l): Likewise.
30158 [non-C99-based standards] (y1l): Likewise.
30159 [non-C99-based standards] (ynl): Likewise.
30160 [non-C99-based standards] (isnanl): Likewise.
30161 [non-C99-based standards] (acoshl): Likewise.
30162 [non-C99-based standards] (asinhl): Likewise.
30163 [non-C99-based standards] (atanhl): Likewise.
30164 [non-C99-based standards] (cbrtl): Likewise.
30165 [non-C99-based standards] (expm1l): Likewise.
30166 [non-C99-based standards] (ilogbl): Likewise.
30167 [non-C99-based standards] (log1pl): Likewise.
30168 [non-C99-based standards] (logbl): Likewise.
30169 [non-C99-based standards] (nextafterl): Likewise.
30170 [non-C99-based standards] (remainderl): Likewise.
30171 [non-C99-based standards] (rintl): Likewise.
30172 [non-C99-based standards] (scalbl): Likewise.
30173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30174 [non-C99-based standards] (FP_*): Do not allow.
30175 [C99-based standards] (FP_*): Change to
30176 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30177 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30179 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30180 (SIG_ERR): Likewise.
30181 [X/Open-based standards] (SIG_HOLD): Likewise.
30182 (SIG_IGN): Likewise.
30183 (SIGABRT): Use macro-int-constant. Specify type. Require
30185 (SIGFPE): Likewise.
30186 (SIGILL): Likewise.
30187 (SIGINT): Likewise.
30188 (SIGSEGV): Likewise.
30189 (SIGTER): Likewise.
30190 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30191 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30192 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30193 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30194 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30195 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30196 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30197 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30198 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30199 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30200 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30201 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30202 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30203 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30204 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30205 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30206 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30207 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30208 [X/Open-based standards] (SIGTRAP): Likewise.
30209 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30210 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30211 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30212 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30213 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30216 2012-05-08 Ian Wienand <ianw@vmware.com>
30219 * time/tzset.c (__tzset_parse_tz): Update default rules for
30220 daylight time changes in the Energy Policy Act of 2005.
30222 2012-05-09 Andreas Jaeger <aj@suse.de>
30225 * elf/ldconfig.c (parse_conf): Change string to make clear that
30226 ldconfig only issued a warning if ld.so.conf does not exist.
30228 2012-05-08 David S. Miller <davem@davemloft.net>
30230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30231 movxtod instead of popping the value on the stack.
30233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30235 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30237 * config.h.in: Add HAVE_ARM_PCS_VFP.
30239 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30242 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30243 checking but the checks are disabled for any reason.
30245 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30247 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30248 and ELF64_R_TYPE with ELFW(R_TYPE).
30250 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30252 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30253 (ulimit): Likewise.
30255 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30256 (settimeofday): Likewise.
30258 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30260 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30261 a struct th_u2 inside the union, and move tu_block/tu_code into
30262 a new th_u3 union of tu_block/tu_code inside of that. Move
30263 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30264 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30265 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30266 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30267 (th_stuff): Change to th_u1.tu_stuff.
30269 (th_msg): Change to th_u1.th_u2.tu_data.
30271 2012-05-07 David S. Miller <davem@davemloft.net>
30273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30276 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30277 (SETUP_PIC_REG): Use it.
30278 (SETUP_PIC_REG_LEAF): Use it.
30280 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30284 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30286 (EXPL_FINITE): Likewise.
30287 (FLDLOG): Likewise.
30288 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30289 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30291 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30293 (EXPL_FINITE): Likewise.
30294 (FLDLOG): Likewise.
30295 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30296 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30298 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30299 test of -max_value argument for long double.
30300 * sysdeps/i386/fpu/libm-test-ulps: Update.
30301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30303 2012-05-06 David S. Miller <davem@davemloft.net>
30305 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30306 quad soft-float symbols whose references which are compiler
30308 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30310 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30314 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30316 (EXPL_FINITE): Likewise.
30317 (FLDLOG): Likewise.
30320 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30321 Adjust comments for base varying.
30322 (__expl_finite): Change alias to EXPL_FINITE.
30323 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30325 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30326 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30328 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30329 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30331 (EXPL_FINITE): Likewise.
30332 (FLDLOG): Likewise.
30335 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30336 Adjust comments for base varying.
30337 (__expl_finite): Change alias to EXPL_FINITE.
30338 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30343 * math/libm-test.inc (check_float_internal): Correct ulp
30344 calculation for subnormal expected results.
30346 2012-05-06 Andreas Jaeger <aj@suse.de>
30348 * Makeconfig (+math-flags): New, set to -frounding-math.
30349 (+cflags): Add +math-flags so that all of glibc gets compiled with
30352 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30354 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30356 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30362 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30363 (__ieee754_expl): Allow for and saturate large arguments.
30364 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30365 (u_threshold): Likewise.
30366 (__exp): Call __ieee754_exp before checking for overflow and
30368 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30369 (u_threshold): Likewise.
30370 (__expf): Call __ieee754_expf before checking for overflow and
30372 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30373 (u_threshold): Likewise.
30374 (__expl): Call __ieee754_expl before checking for overflow and
30376 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30377 (__ieee754_expl): Allow for and saturate large arguments.
30378 * math/libm-test.inc (exp_test): Add another test. Do not allow
30379 missing overflow exception on overflow.
30380 (expm1_test): Do not allow missing overflow exception on overflow.
30382 * sysdeps/i386/fpu/e_expl.c: Move to ...
30383 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30384 rather than using inline asm.
30385 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30386 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30387 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30389 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30392 (signal): Likewise.
30396 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30398 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30399 sysdeps/unix/common/syscalls.list.
30400 (fchmod): Likewise.
30401 (fchown): Likewise.
30402 (ftruncate): Likewise.
30403 (getrusage): Likewise.
30404 (gettimeofday): Likewise.
30405 (setpgid): Likewise.
30406 (setregid): Likewise.
30407 (setreuid): Likewise.
30408 (sigaction): Likewise.
30409 (truncate): Likewise.
30410 (vhangup): Likewise.
30411 * sysdeps/unix/common/syscalls.list: Remove file.
30412 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30413 * sysdeps/unix/sysv/linux/Implies: Likewise.
30415 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30417 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30419 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30423 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30426 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30429 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30432 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30435 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30438 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30441 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30445 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30449 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30452 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30456 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30460 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30462 * sysdeps/unix/common/bits/dirent.h: Remove file.
30463 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30465 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30466 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30467 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30468 * sysdeps/unix/bsd/isatty.c: Likewise.
30469 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30470 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30471 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30473 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30477 long double comparison inaccuracies.
30478 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30481 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30483 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30484 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30486 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30489 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30490 nonzero digits before rounding a hex value.
30491 * stdlib/tst-strtod.c (tests): Add another test.
30493 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30495 * sysdeps/s390/fpu/libm-test-ulps: Update.
30497 2012-05-03 Andreas Jaeger <aj@suse.de>
30499 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30500 does not get optimized out.
30501 (malloc_opt_barrier): New.
30503 2012-05-03 Andreas Jaeger <aj@suse.de>
30504 Roland McGrath <roland@hack.frob.com>
30506 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30507 intermediate file deletion.
30508 (generated): Add .symlist files.
30510 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30513 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30514 Redirect under this condition.
30515 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30516 [__USE_GNU] (__dprintf_chk): Not under this condition.
30517 [__USE_GNU] (__vdprintf_chk): Likewise.
30518 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30519 under this condition.
30520 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30521 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30522 [__USE_XOPEN2K8] (vdprintf): Likewise.
30523 [__USE_GNU] (__dprintf_chk): Not under this condition.
30524 [__USE_GNU] (__vdprintf_chk): Likewise.
30525 [__USE_GNU] (dprintf): Likewise.
30526 [__USE_GNU] (vdprintf): Likewise.
30528 2012-05-03 Roland McGrath <roland@hack.frob.com>
30530 * elf/Makefile (common-generated): Set this instead of generated for
30531 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30532 $(all-built-dso)-derived lists.
30534 2012-05-03 Andreas Jaeger <aj@suse.de>
30536 * sysdeps/i386/fpu/libm-test-ulps: Update.
30539 * FAQ.in: Likewise.
30540 * scripts/gen-FAQ.pl: Likewise.
30541 * manual/install.texi (Installation): Point to online location of
30543 * Makefile (files-for-dist): Remove FAQ.
30546 2012-05-02 Allan McRae <allan@archlinux.org>
30548 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30549 (LDFLAGS-reldepmod5.so): Likewise.
30550 (LDFLAGS-reldep6mod1.so): Likewise.
30551 (LDFLAGS-reldep6mod4.so): Likewise.
30552 (LDFLAGS-reldep8mod3.so): Likewise.
30553 (LDFLAGS-unload4mod1.so): Likewise.
30554 (LDFLAGS-unload4mod2.so): Likewise.
30555 (LDFLAGS-tst-initorder): Likewise.
30556 (LDFLAGS-tst-initordera2.so): Likewise.
30557 (LDFLAGS-tst-initordera3.so): Likewise.
30558 (LDFLAGS-tst-initordera4.so): Likewise.
30559 (LDFLAGS-tst-initorderb2.so): Likewise.
30560 (LDFLAGS-noload): Likewise.
30561 (LDFLAGS-next): Likewise.
30562 (LDFLAGS-order2mod1.so): Likewise.
30563 (LDFLAGS-order2mod2.so): Likewise.
30564 (LDFLAGS-tst-initorder2): Likewise.
30565 (LDFLAGS-tst-initorder2a.so): Likewise.
30566 (LDFLAGS-tst-initorder2b.so): Likewise.
30567 (LDFLAGS-tst-initorder2c.so): Likewise.
30568 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30570 2012-05-02 David S. Miller <davem@davemloft.net>
30572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30574 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30577 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30579 2012-05-02 Andreas Jaeger <aj@suse.de>
30581 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30582 since we manipulate rounding mode.
30583 (CPPFLAGS-test-idouble.c): Likewise.
30584 (CPPFLAGS-test-ifloat.c): Likewise.
30585 (CFLAGS-test-ldouble.c): Likewise.
30586 (CFLAGS-test-double.c): Likewise.
30587 (CFLAGS-test-float.c): Likewise.
30588 (CFLAGS-test-misc.c): Likewise.
30589 (CFLAGS-test-test-fenv.c): Likewise.
30591 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30595 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30596 comparisons to determine direction to adjust input.
30598 2012-05-01 Roland McGrath <roland@hack.frob.com>
30600 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30601 output to the target.
30603 * scripts/localplt.awk: New file.
30604 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30605 (check-localplt-CFLAGS): Variable removed.
30606 ($(all-built-dso:=.jmprel)): New static pattern rule.
30607 (generated): Add those targets.
30608 (localplt-built-dso): New variable.
30609 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30611 * elf/check-localplt.c: File removed.
30613 * scripts/check-execstack.awk: New file.
30614 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30615 (check-execstack-CFLAGS): Variable removed.
30616 ($(objpfx)check-execstack.h): Target removed.
30617 ($(objpfx)execstack-default): New target.
30618 (generated): Add that instead of check-execstack.h.
30619 ($(all-built-dso:=.phdr)): New static pattern rule.
30620 (generated): Add those targets.
30621 * elf/check-execstack.c: File removed.
30623 * scripts/check-textrel.awk: New file.
30624 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30625 (check-textrel-CFLAGS): Variable removed.
30626 (all-built-dso): Use := to define.o
30627 ($(all-built-dso:=.dyn)): New static pattern rule.
30628 (generated): Add those targets.
30629 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30630 * config.make.in (READELF): New substituted variable.
30631 * elf/check-textrel.c: File removed.
30633 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30635 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30637 * conform/data/ctype.h-data [C99-based standards] (isblank):
30639 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30640 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30642 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30643 Specify type. Require positive value.
30644 (EILSEQ): Likewise.
30645 (ERANGE): Likewise.
30646 [ISO || POSIX] (EILSEQ): Do not expect.
30647 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30648 Specify type. Require positive value.
30649 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30650 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30651 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30652 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30653 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30654 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30655 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30656 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30657 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30658 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30659 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30660 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30661 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30662 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30663 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30664 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30665 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30682 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30683 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30684 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30685 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30686 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30687 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30688 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30689 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30690 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30691 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30692 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30693 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30694 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30695 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30696 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30697 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30698 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30699 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30700 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30701 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30702 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30703 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30704 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30705 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30706 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30707 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30711 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30712 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30713 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30714 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30715 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30716 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30717 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30718 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30719 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30720 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30721 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30723 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30724 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30725 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30727 (FLT_ROUNDS): Expect as macro, not constant.
30728 (FLT_MANT_DIG): Use macro-int-constant.
30729 (DBL_MANT_DIG): Likewise.
30730 (LDBL_MANT_DIG): Likewise.
30731 (FLT_DIG): Likewise.
30732 (DBL_DIG): Likewise.
30733 (LDBL_DIG): Likewise.
30734 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30735 (DBL_MIN_EXP): Likewise.
30736 (LDBL_MIN_EXP): Likewise.
30737 (FLT_MAX_EXP): Use macro-int-constant.
30738 (DBL_MAX_EXP): Likewise.
30739 (LDBL_MAX_EXP): Likewise.
30740 (FLT_MAX_10_EXP): Likewise.
30741 (DBL_MAX_10_EXP): Likewise.
30742 (LDBL_MAX_10_EXP): Likewise.
30743 (FLT_MAX): Use macro-constant.
30744 (DBL_MAX): Likewise.
30745 (LDBL_MAX): Likewise.
30746 (FLT_EPSILON): Use macro-constant. Give upper bound.
30747 (DBL_EPSILON): Likewise.
30748 (LDBL_EPSILON): Likewise.
30749 (FLT_MIN): Likewise.
30750 (DBL_MIN): Likewise.
30751 (LDBL_MIN): Likewise.
30752 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30753 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30754 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30755 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30756 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30757 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30758 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30759 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30760 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30761 [ISO11] (FLT_TRUE_MIN): Likewise.
30762 [ISO11] (LDBL_TRUE_MIN): Likewise.
30763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30764 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30765 (SCHAR_MIN): Use macro-int-constant. Specify type.
30766 (SCHAR_MAX): Likewise.
30767 (UCHAR_MAX): Likewise.
30768 (CHAR_MIN): Likewise.
30769 (CHAR_MAX): Likewise.
30770 (MB_LEN_MAX): Use macro-int-constant.
30771 (SHRT_MIN): Use macro-int-constant. Specify type.
30772 (SHRT_MAX): Likewise.
30773 (USHRT_MAX): Likewise.
30774 (INT_MAX): Likewise.
30775 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30777 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30779 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30781 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30782 bound negative. Suffix upper bound with "L".
30783 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30785 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30787 [C99-based standards] (LLONG_MAX): Likewise.
30788 [C99-based standards] (ULLONG_MAX): Likewise.
30789 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30791 [ISO11] (max_align_t): Require type.
30792 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30794 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30795 from $CFLAGS, without defining away __attribute__ calls.
30796 (checknamespace): Use $CFLAGS_namespace.
30798 * conform/conformtest.pl (@keywords): Only include C99 keywords
30799 for standards based on C99 or C11.
30801 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30803 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30806 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30807 usability of symbols in #if.
30809 * conform/conformtest.pl: If macro or constant types start
30810 "promoted:", expect the symbol to be of the following type
30811 promoted by the integer promotions.
30813 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30814 in one place. Also handle "macro-constant".
30816 * conform/conformtest.pl: Only accept expected macro values with
30817 "==". Parse all "macro" lines in one place.
30818 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30820 * conform/conformtest.pl: Handle braced types on "constant" lines
30821 instead of handling "typed-constant".
30822 * conform/data/signal.h-data: Use "constant" instead of
30825 * conform/conformtest.pl: Handle "optional-" at start of lines in
30826 one place rather than duplicating several cases. Handle each
30827 format of "macro" line with initial "optional-".
30829 * conform/conformtest.pl: Only accept expected constant or
30830 optional-constant values with "==". Parse all "constant" lines in
30831 one place. Parse all "optional-constant" lines in one place.
30832 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30833 * conform/data/fmtmsg.h-data: Likewise.
30834 * conform/data/netinet/in.h-data: Likewise.
30835 * conform/data/tar.h-data: Likewise.
30836 * conform/data/limits.h-data: Use "==" form on "constant" and
30837 "optional-constant" lines.
30839 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30840 Use -std=c99 for XOPEN2K.
30841 (@knownproblems): Remove.
30842 (newtoken): Don't check %isknown.
30844 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30845 Do not expect macro.
30846 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30858 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30859 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30876 [XPG3] (acosh): Likewise.
30877 [XPG3] (asinh): Likewise.
30878 [XPG3] (atanh): Likewise.
30879 [XPG3] (cbrt): Likewise.
30880 [XPG3] (expm1): Likewise.
30881 [XPG3] (ilogb): Likewise.
30882 [XPG3] (log1p): Likewise.
30883 [XPG3] (logb): Likewise.
30884 [XPG3] (nextafter): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30887 [XPG3] (remainder): Likewise.
30888 [XPG3] (rint): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30896 [UNIX98 || XOPEN2K] (scalb): Expect.
30897 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30898 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31035 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31036 _XOPEN_SOURCE_EXTENDED for XPG4.
31038 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31040 * Makeconfig (localtime): Remove variable.
31041 (inst_localtime-file): Likewise.
31043 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31064 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31068 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31069 comparisons to determine direction to adjust input.
31070 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31071 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31074 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31076 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31078 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31079 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31081 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31083 * math/libm-test.inc (nexttoward_test): Add more tests.
31085 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31089 in version GLIBC_2.1, not GLIBC_2.0.
31090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31093 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31096 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31098 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31099 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31100 * math/libm-test.inc (acos_test): Add more tests.
31101 (asin_test): Likewise.
31102 * sysdeps/i386/fpu/libm-test-ulps: Update.
31103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31106 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31108 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31109 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31110 * math/libm-test.inc (acos_test_tonearest): New function.
31111 (acos_test_towardzero): Likewise.
31112 (acos_test_downward): Likewise.
31113 (acos_test_upward): Likewise.
31114 (asin_test_tonearest): Likewise.
31115 (asin_test_towardzero): Likewise.
31116 (asin_test_downward): Likewise.
31117 (asin_test_upward): Likewise.
31118 (main): Call the new functions.
31119 * sysdeps/i386/fpu/libm-test-ulps: Update.
31120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31124 * math/e_exp10.c: Include <float.h>.
31125 (__ieee754_exp10): Handle underflow here rather than multiplying
31126 large negative argument by M_LN10.
31127 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31129 * math/e_exp10l.c: Include <float.h>.
31130 (__ieee754_exp10l): Handle underflow here rather than multiplying
31131 large negative argument by M_LN10l.
31132 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31133 spurious overflow exception on underflow.
31135 2012-04-29 Marek Polacek <polacek@redhat.com>
31137 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31138 (__fortify_function): New macro.
31139 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31140 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31141 __extern_always_inline.
31142 * libio/bits/stdio2.h: Likewise.
31143 * libio/bits/stdio.h: Likewise.
31144 * string/string.h: Likewise.
31145 * string/bits/string3.h: Likewise.
31146 * include/stdio.h: Likewise.
31147 * stdlib/bits/stdlib.h: Likewise.
31148 * stdlib/stdlib.h: Likewise.
31149 * rt/bits/mqueue2.h: Likewise.
31150 * rt/mqueue.h: Likewise.
31151 * posix/bits/unistd.h: Likewise.
31152 * posix/unistd.h: Likewise.
31153 * io/bits/poll2.h: Likewise.
31154 * io/bits/fcntl2.h: Likewise.
31155 * io/fcntl.h: Likewise.
31156 * io/sys/poll.h: Likewise.
31157 * misc/bits/syslog.h: Likewise.
31158 * misc/bits/syslog-ldbl.h: Likewise.
31159 * misc/sys/syslog.h: Likewise.
31160 * socket/bits/socket2.h: Likewise.
31161 * socket/sys/socket.h: Likewise.
31162 * debug/tst-chk1.c: Likewise.
31163 * wcsmbs/bits/wchar2.h: Likewise.
31164 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31165 * wcsmbs/wchar.h: Likewise.
31167 2012-04-29 Andreas Jaeger <aj@suse.de>
31169 * Makerules (tests): Remove enable-check-abi protection.
31170 (check-abi-warn): Remove.
31171 (check-abi-%): Remove check-abi-warn usage.
31173 * configure.in: Remove check-abi configure option.
31174 * configure: Regenerated.
31175 * config.make.in (enable-check-abi): Remove.
31177 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31180 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31181 double functions to double *_finite functions.
31184 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31185 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31187 * stdio-common/Makefile (tests): Add tst-sprintf3.
31188 * stdio-common/tst-sprintf3.c: New file.
31190 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31191 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31193 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31195 * conform/conformtest.pl: Remove duplicate typed-constant
31198 2012-04-28 David S. Miller <davem@davemloft.net>
31200 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31201 (check-abi-%): Remove AWK script prerequisite and explicit
31203 (check-abi): Rewrite to just diff the symlist with the abilist.
31204 (config-tls, config-abi-config): Delete, no longer used.
31205 (update-abi-%): Remove AWK script and explicit abilist directory.
31206 (update-abi): Rewrite to simply compare and conditionally copy the
31207 symlist and the sysdep abilist file. Remove update-abi-config
31209 * abilist/ld.abilist: Remove.
31210 * abilist/libBrokenLocale.abilist: Remove.
31211 * abilist/libanl.abilist: Remove.
31212 * abilist/libcrypt.abilist: Remove.
31213 * abilist/libdl.abilist: Remove.
31214 * abilist/librt.abilist: Remove.
31215 * abilist/libthread_db.abilist: Remove.
31216 * abilist/libutil.abilist: Remove.
31217 * scripts/extract-abilist.awk: Remove.
31218 * scripts/merge-abilist.awk: Remove.
31219 * sysdeps/generic/libcidn.abilist: New file.
31220 * sysdeps/generic/libnss_compat.abilist: New file.
31221 * sysdeps/generic/libnss_db.abilist: New file.
31222 * sysdeps/generic/libnss_dns.abilist: New file.
31223 * sysdeps/generic/libnss_files.abilist: New file.
31224 * sysdeps/generic/libnss_hesiod.abilist: New file.
31225 * sysdeps/generic/libnss_nis.abilist: New file.
31226 * sysdeps/generic/libnss_nisplus.abilist: New file.
31227 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31228 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31229 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31232 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31233 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31234 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31235 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31236 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31237 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31238 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31239 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31241 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31242 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31243 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31244 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31246 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31247 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31248 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31249 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31250 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31251 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31253 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31254 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31255 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31257 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31360 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31361 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31362 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31364 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31365 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31366 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31367 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31368 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31369 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31370 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31371 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31372 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31373 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31425 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31427 * conform/conformtest.pl: Fix typo in handling typed-constant from
31430 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31432 * README: Cut down references to pre-2.6 Linux kernels and
31433 Linuxthreads. Update lists of configurations in libc and ports
31434 and sort alphabetically. Say "or newer" with Linux kernel version
31437 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31439 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31442 * math/libm-test.inc (logb_test_downward): New test to expose
31443 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31446 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31449 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31451 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31452 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31454 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31456 * sysdeps/unix/i386/brk.S: Remove file.
31457 * sysdeps/unix/i386/dl-brk.S: Likewise.
31458 * sysdeps/unix/i386/pipe.S: Likewise.
31459 * sysdeps/unix/i386/sigreturn.S: Likewise.
31460 * sysdeps/unix/i386/syscall.S: Likewise.
31461 * sysdeps/unix/i386/vfork.S: Likewise.
31462 * sysdeps/unix/i386/wait.S: Likewise.
31464 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31465 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31467 * configure.in (arm*-none*): Do not allow without
31468 --enable-hacker-mode.
31469 (netbsd*): Remove case setting base_os.
31470 (386bsd*): Likewise.
31471 (freebsd*): Likewise.
31474 (sunos*): Likewise.
31475 (ultrix*): Likewise.
31476 (newsos*): Likewise.
31477 (dynix*): Likewise.
31483 (minix*): Likewise.
31484 (irix4*): Likewise.
31485 (irix6*): Likewise.
31486 (solaris[2-9]*): Likewise.
31488 * configure: Regenerated.
31490 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31493 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31494 overflow or cancellation in calculating denominator.
31495 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31496 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31497 down expression to avoid unexpected rounding in newer GCCs.
31498 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31500 2012-04-26 David S. Miller <davem@davemloft.net>
31502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31503 long-double compat symbols.
31504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31518 2012-04-25 David S. Miller <davem@davemloft.net>
31520 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31521 HWCAP_* values only after the memory barriers have been defined.
31522 (atomic_full_barrier): Define.
31523 (atomic_read_barrier): Define.
31524 (atomic_write_barrier): Define.
31526 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31528 * shlib-versions: Add libgcc_s version information.
31529 * sysdeps/generic/libgcc_s.h: Remove.
31530 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31532 * sysdeps/gnu/unwind-resume.c: Likewise.
31533 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31535 2012-04-25 David S. Miller <davem@davemloft.net>
31537 * sysdeps/unix/sparc/brk.S: Delete.
31538 * sysdeps/unix/sparc/dl-brk.S: Delete.
31539 * sysdeps/unix/sparc/pipe.S: Delete.
31540 * sysdeps/unix/sparc/sysdep.S: Delete.
31541 * sysdeps/unix/sparc/sysdep.h: Delete.
31542 * sysdeps/unix/sparc/vfork.S: Delete.
31543 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31544 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31545 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31546 ret_ERRVAL, r0, r1, MOVE): Define.
31547 (JUMPTARGET): Remove.
31548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31549 sysdeps/unix/sparc/sysdep.h
31550 (ENTRY, END): Remove.
31551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31553 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31555 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31556 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31559 * timezone/README: Update upstream location and email address for
31561 * timezone/zdump.c: Update from tzcode 2012b.
31562 * timezone/zic.c: Likewise.
31564 * configure.in (libc_cv_as_needed): Remove test.
31565 * configure: Regenerated.
31566 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31567 conditional definition.
31568 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31569 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31570 * config.make.in (have-as-needed): Remove variable.
31572 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31573 Paul Pluzhnikov <ppluzhnikov@google.com>
31575 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31578 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31580 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31581 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31582 * sysdeps/sh/strlen.S: Likewise.
31584 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31586 * sysdeps/unix/fork.S: Remove file.
31587 * sysdeps/unix/i386/fork.S: Likewise.
31588 * sysdeps/unix/sparc/fork.S: Likewise.
31590 * sysdeps/unix/system.c: Remove file.
31591 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31593 * sysdeps/unix/getegid.S: Remove file.
31594 * sysdeps/unix/geteuid.S: Likewise.
31596 2012-04-24 Roland McGrath <roland@hack.frob.com>
31598 * scripts/check-localplt.awk: New file.
31599 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31601 * scripts/data/localplt-generic.data: Add a comment.
31603 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31604 NODE when __dir_mkfile failed.
31605 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31606 Reported by Ludovic Courtès <ludo@gnu.org>.
31608 2012-04-24 Andreas Jaeger <aj@suse.de>
31610 * Makerules (common-clean): Also remove gen-as-const-headers
31613 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31615 * Makerules (native-compile): Do not change working directory for
31616 build. Use $(OUTPUT_OPTION) in command.
31617 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31619 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31622 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31623 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31624 * math/libm-test.inc (floor_test): Add more tests.
31625 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31627 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31629 * sysdeps/unix/getdents.c: Remove file.
31630 * sysdeps/unix/sysv/getdents.c: Likewise.
31631 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31633 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31634 sysdeps/unix/mman/syscalls.list.
31636 (mprotect): Likewise.
31638 (munmap): Likewise.
31639 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31640 * sysdeps/unix/mman/syscalls.list: Remove.
31641 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31643 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31644 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31645 * configure: Regenerated.
31646 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31647 $(libgcc_s_suffix).
31648 * config.make.in (libgcc_s_suffix): Remove variable.
31650 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31652 * sysdeps/unix/sysv/gethostname.c: Move to ...
31653 * sysdeps/posix/gethostname.c: ... here.
31655 * sysdeps/unix/execve.S: Remove file.
31657 * sysdeps/unix/_exit.S: Remove file.
31659 2012-04-23 Andreas Jaeger <aj@suse.de>
31662 * manual/Makefile: Remove make dist support, there's no
31663 need for a stand-alone documentation tar ball.
31664 (TEXI2DVI): Define always, it's not in Makeconfig.
31667 (edition): Removed.
31668 (glibc-doc-$(edition).tar): Removed
31672 (ETAGS): Remove, it's in Makeconfig.
31673 (move-if-change): Remove, it's in Makeconfig.
31675 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31678 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31679 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31680 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31681 (strtod_l, strtof_l, strtold_l): Remove __wur.
31682 It is not necessarily an error to ignore strtol's return value.
31683 One can reliably look at the stored endptr to decide whether
31684 the number had valid syntax.
31686 2012-04-21 Andreas Jaeger <aj@suse.de>
31689 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31691 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31693 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31694 * sysdeps/unix/sysv/Versions: Remove file.
31696 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31701 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31705 version from __vm86.
31707 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31709 * sysdeps/unix/common/lxstat.c: Remove file.
31710 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31712 * sysdeps/unix/sysv/Makefile: Remove file.
31714 * sysdeps/unix/sysv/direct.h: Remove file.
31716 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31717 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31718 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31719 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31720 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31721 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31722 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31724 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31726 * sysdeps/unix/xmknod.c: Remove file.
31727 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31729 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31731 * sysdeps/unix/sysv/i386/time.S: Remove file.
31733 * sysdeps/unix/fxstat.c: Remove file.
31734 * sysdeps/unix/xstat.c: Likewise.
31735 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31737 * sysdeps/unix/sysv/sigaction.c: Remove file.
31739 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31740 (sysdep_headers): Remove variable.
31741 [termio.h not in sysdep_headers] (generated): Likewise.
31742 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31743 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31744 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31745 * sysdeps/unix/sysv/tcflow.c: Likewise.
31746 * sysdeps/unix/sysv/tcflush.c: Likewise.
31747 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31748 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31749 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31750 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31751 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31753 * sysdeps/unix/siglist.c: Remove file.
31755 * sysdeps/unix/getppid.S: Remove file.
31757 * sysdeps/unix/mkdir.c: Remove file.
31758 * sysdeps/unix/rmdir.c: Likewise.
31760 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31762 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31764 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31765 errlist-compat value.
31767 2012-04-18 David S. Miller <davem@davemloft.net>
31769 * sysdeps/generic/memcopy.h (reg_char): Delete.
31770 * debug/strcat_chk.c: Use char, not reg_char.
31771 * debug/strcpy_chk.c: Likewise.
31772 * debug/strncat_chk.c: Likewise.
31773 * debug/strncpy_chk.c: Likewise.
31774 * string/memchr.c: Likewise.
31775 * string/memrchr.c: Likewise.
31776 * string/rawmemchr.c: Likewise.
31777 * string/strcat.c: Likewise.
31778 * string/strchr.c: Likewise.
31779 * string/strchrnul.c: Likewise.
31780 * string/strcmp.c: Likewise.
31781 * string/strcpy.c: Likewise.
31782 * string/strncat.c: Likewise.
31783 * string/strncmp.c: Likewise.
31784 * string/strncpy.c: Likewise.
31786 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31788 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31789 __builtin_memcopy is called when src and dest ranges are known to not
31792 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31794 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31795 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31796 fwd_align_merge macro call.
31797 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31798 bwd_align_merge macro call.
31799 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31801 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31803 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31804 bwd_align_merge macros.
31805 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31806 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31807 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31809 2012-04-18 David S. Miller <davem@davemloft.net>
31811 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31813 2012-04-18 Andreas Jaeger <aj@suse.de>
31816 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31817 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31818 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31820 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31821 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31822 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31824 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31825 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31826 Adjust for changed ldbl-128 files.
31828 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31829 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31830 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31832 2012-04-17 David S. Miller <davem@davemloft.net>
31834 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31836 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31838 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31839 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31840 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31841 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31842 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31843 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31845 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31848 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31849 * math/libm-test.inc: Add ilogb errno and exception tests.
31850 * math/w_ilogb.c: New file: ilogb wrapper.
31851 * math/w_ilogbf.c: New file: ilogbf wrapper.
31852 * math/w_ilogbl.c: New file: ilogbl wrapper.
31853 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31854 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31855 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31856 exception being thrown with 0.0 as argument.
31857 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31858 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31859 exception being thrown with 0.0 as argument.
31860 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31861 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31862 exception being thrown with 0.0 as argument.
31863 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31864 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31865 exception being thrown with 0.0 as argument.
31866 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31867 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31868 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31869 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31870 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31871 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31872 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31873 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31874 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31876 2012-04-17 Petr Baudis <pasky@ucw.cz>
31878 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31881 2012-04-16 Marek Polacek <polacek@redhat.com>
31883 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31885 2012-04-16 Marek Polacek <polacek@redhat.com>
31887 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31888 operands of fdivp instruction.
31890 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31892 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31893 * elf/tst-auditmod3b.c: Likewise.
31894 * elf/tst-auditmod4b.c: Likewise.
31895 * elf/tst-auditmod5b.c: Likewise.
31896 * elf/tst-auditmod6b.c: Likewise.
31897 * elf/tst-auditmod6c.c: Likewise.
31898 * elf/tst-auditmod7b.c: Likewise.
31899 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31900 * sysdeps/x86_64/preconfigure.in: Likewise.
31901 * sysdeps/x86_64/preconfigure: Regenerated.
31903 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31905 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31908 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31911 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31913 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31916 * locale/iso-639.def: Fix gl language name. Spotted by
31919 2012-04-12 Roland McGrath <roland@hack.frob.com>
31922 * libio/libio.h (__io_write_fn): Update comment.
31924 2012-04-12 Petr Baudis <pasky@ucw.cz>
31927 * stdio.texi (Hook Functions): The user provided writer function
31928 is not allowed to return -1.
31930 2012-04-11 David S. Miller <davem@davemloft.net>
31932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31934 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31936 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31937 Add a leading slash to rtkaio.
31939 2012-04-11 Jim Meyering <meyering@redhat.com>
31942 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31943 It is not necessarily an error to ignore fwrite's return
31944 value. One can reliably use ferror to test for errors after
31947 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31949 * bits/types.h (__snseconds_t): New type.
31950 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31952 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31954 (__SNSECONDS_T_TYPE): Likewise.
31955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31956 (__SNSECONDS_T_TYPE): Likewise.
31957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31958 (__SNSECONDS_T_TYPE): Likewise.
31960 2012-04-10 Andreas Jaeger <aj@suse.de>
31963 * manual/time.texi (Processor Time): Return type of times is
31964 elapsed real time since an arbitrary point in the past.
31965 (CPU Time): Move CLK_TCK from here...
31966 (Processor Time): ...to here. Correct description.
31967 * manual/conf.texi (Constants for Sysconf): Correct description of
31970 2012-04-10 David S. Miller <davem@davemloft.net>
31973 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31974 where the is a gap between DT_REL(A) and DT_JMPREL.
31976 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31978 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31979 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31980 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31982 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31984 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31985 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31986 (dl_main): Handle --inhibit-cache.
31987 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31989 * elf/dl-load.c (_dl_map_object): Use it.
31990 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31992 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31995 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31996 (__ieee754_powl): Saturate large exponents rather than testing for
31997 overflow of y*log2(x).
31998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31999 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32003 * math/s_ctan.c: Include <float.h>.
32004 (__ctan): Avoid internal overflow or cancellation in calculating
32006 * math/s_ctanf.c: Likewise.
32007 * math/s_ctanl.c: Likewise.
32008 * math/s_ctanh.c: Likewise.
32009 * math/s_ctanhf.c: Likewise.
32010 * math/s_ctanhl.c: Likewise.
32011 * math/libm-test.inc (ctan_test): Add more tests.
32012 (ctanh_test): Likewise.
32013 * sysdeps/i386/fpu/libm-test-ulps: Update.
32014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32016 2012-04-09 Andreas Jaeger <aj@suse.de>
32019 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32020 is an optional BSD extension.
32023 * manual/stdio.texi (Opening Streams): Document additional fopen
32026 2012-04-09 Roland McGrath <roland@hack.frob.com>
32028 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32029 %eax without telling the compiler.
32031 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32034 * manual/install.texi: Use sourceware.org.
32036 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32039 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32040 (__ieee754_pow): Generate overflow and underflow using huge*huge
32041 and tiny*tiny rather than just returning constant infinity or zero
32042 for large exponents.
32043 * math/libm-test.inc (pow_test): Require overflow exceptions for
32044 applicable cases of large exponents.
32047 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32048 (__ieee754_pow): Use iterative multiplication algorithm only for
32049 integer exponents with absolute value below 1024. Check for odd
32050 integer exponents when using algorithm for real exponents.
32051 * math/libm-test.inc (pow_test): Add more tests.
32052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32054 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32057 * math/libm-test.inc (exp_test): Do not allow overflow exception
32060 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32063 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32064 instead of __kernel_standard_f.
32066 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32068 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32069 * sysdeps/x86_64/memset_chk.S: Likewise.
32071 2012-04-08 Andreas Jaeger <aj@suse.de>
32074 * manual/startup.texi (Environment Access): Describe return value
32075 for putenv and setenv.
32078 * manual/filesys.texi (Directory Entries): Add description for
32082 * manual/filesys.texi (Directory Entries): Clarify that it's file
32083 system not operating system in the description of DT_UNKNOWN.
32086 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32088 2012-04-08 Stephen Compall <s11@member.fsf.org>
32091 * manual/llio.texi (Opening and Closing Files): Add cross
32092 reference to explain mode argument.
32094 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32096 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32097 * sysdeps/x86_64/memset_chk.S: Likewise.
32099 2012-04-07 David S. Miller <davem@davemloft.net>
32101 * elf/elf.h (R_SPARC_WDISP10): Define.
32102 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32104 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32105 R_SPARC_SIZE64 and R_SPARC_H34.
32107 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32109 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32110 conditions and remove no longer applicable assertion.
32112 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32114 * bits/byteswap.h: Include <features.h>.
32115 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32116 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32118 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32120 * bits/byteswap.h (__bswap_16): Removed.
32121 Include <bits/byteswap-16.h> to get __bswap_16.
32122 * sysdeps/i386/bits/byteswap.h: Likewise.
32123 * sysdeps/s390/bits/byteswap.h: Likewise.
32124 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32125 * bits/byteswap-16.h: New file.
32126 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32127 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32128 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32129 * string/Makefile (headers): Add bits/byteswap-16.h.
32131 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32134 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32136 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32137 * nss/tst-nss-static.c: New.
32139 2012-04-06 Robert Millan <rmh@gnu.org>
32142 * manual/llio.texi (File Position Primitive): lseek
32143 refers to WHENCE when it really means OFFSET.
32145 2012-04-06 Andreas Jaeger <aj@suse.de>
32147 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32148 strncmp declarations.
32150 * abilist/libc.abilist: Add __poll and __ppoll.
32152 2012-04-05 David S. Miller <davem@davemloft.net>
32154 * scripts/check-local-headers.sh: Accept a host triplet in the
32155 path matched by the exclude regexp.
32157 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32159 * sysdeps/powerpc/powerpc32/dl-machine.h
32160 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32161 * sysdeps/s390/s390-32/dl-machine.h
32162 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32163 * sysdeps/sparc/sparc32/dl-machine.h
32164 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32165 * sysdeps/sparc/sparc64/dl-machine.h
32166 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32168 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32170 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32171 undefined symbol errors.
32173 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32176 2012-04-05 Michael Matz <matz@suse.de>
32179 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32181 2012-04-05 Andreas Jaeger <aj@suse.de>
32184 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32187 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32189 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32190 which ROUND is no valid rounding mode.
32192 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32194 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32196 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32198 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32200 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32201 an exception using FPU order intentionally.
32203 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32205 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32206 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32207 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32208 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32210 2012-04-05 Simon Josefsson <simon@josefsson.org>
32213 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32214 EINVAL when BUFLEN is too smal.
32216 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32219 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32220 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32222 2012-04-03 Andreas Jaeger <aj@suse.de>
32225 * manual/setjmp.texi (System V contexts): Fix sentence.
32228 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32229 New macro for this case.
32230 [!__GNUC__] (__bswap_64): New inline function for this case.
32231 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32232 * bits/byteswap.h: Likewise.
32233 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32234 ull, guard with __GLIBC_HAVE_LONG_LONG.
32236 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32237 __GLIBC_HAVE_LONG_LONG.
32239 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32240 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32242 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32245 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32246 inptr and inend, rather than using last_ch.
32248 2012-04-02 David S. Miller <davem@davemloft.net>
32250 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32251 * stdio-common/printf-parse.h (read_int): Change return type to
32252 'int', return -1 on INT_MAX overflow.
32253 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32254 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32255 overflows INT_MAX. Check for overflow of in-format-string precision
32256 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32257 SIZE_MAX not INT_MAX for integer overflow test.
32258 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32259 skip the construct in the format string but do not record anything.
32260 * stdio-common/bug22.c: Adjust to test both width/prevision
32261 INT_MAX overflow as well as total length INT_MAX overflow. Check
32262 explicitly for proper errno values.
32264 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32266 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32268 * string/test-strcmp.c [! WIDE]: Likewise.
32269 * time/tst-mktime2.c: Likewise for INT_MAX.
32270 * string/test-string.h: #include <sys/param.h> for MIN.
32272 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32273 * sysdeps/i386/init-first.c (init): Likewise.
32274 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32275 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32276 * sysdeps/sh/init-first.c (init): Likewise.
32278 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32280 * po/ru.po: Update from translation team.
32281 * po/vi.po: Likewise.
32283 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32285 * resolv/nss_dns/dns-host.c: Merge copyright years.
32287 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32290 Optimize memcpy with prefetch if
32291 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32292 src, dst pointers have unequal 16 byte alignments.
32294 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32297 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32298 from a CNAME entry and return the minimum ttl for the query.
32299 (gaih_getanswer_slice): Likewise.
32301 2012-03-30 Jeff Law <law@redhat.com>
32303 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32305 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32306 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32308 * resolv/nss_dns/dns-host.c: Update copyright year.
32310 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32312 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32313 requests to save a system call. Fix check that all bytes are sent.
32315 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32316 comments for sendmmsg.
32318 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32321 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32322 with only 1 character between 0x0041 and 0x01b0.
32323 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32324 * wcsmbs/tst-mbsnrtowcs.c: New file.
32326 2012-03-29 David S. Miller <davem@davemloft.net>
32328 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32329 small copies by hand.
32331 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32334 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32335 _nss_compat_initgroups_dyn): Fall back to malloc/free
32336 for large group memberships.
32338 2012-03-28 David S. Miller <davem@davemloft.net>
32340 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32341 that branches into memcpy.
32342 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32345 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32348 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32349 implementation too.
32350 * sysdeps/sparc/mempcpy.S: New file.
32352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32353 the IFUNC routine in the libc case.
32354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32356 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32357 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32358 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32359 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32360 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32361 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32362 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32363 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32365 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32366 loop to 256 bytes instead of 64 bytes and fix test signedness.
32368 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32369 * sysdeps/sparc/sparc32/Makefile: rather than here...
32370 * sysdeps/sparc/sparc64/Makefile: and here.
32372 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32374 * malloc/mallocbug.c: Avoid warnings about unused variables.
32376 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32379 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32380 in the right place. Discard and retry query if response is
32381 larger than input buffer size.
32383 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32388 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32389 x for large integer exponent.
32390 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32391 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32392 sign of result as needed afterwards.
32393 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32394 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32395 result for underflowing pow the same as for overflow.
32396 (__kernel_standard_l): Handle powl overflow and underflow here
32397 rather than calling __kernel_standard.
32398 * math/libm-test.inc (pow_test): Add more tests.
32413 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32414 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32415 (__kernel_standard_l): New function.
32416 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32418 * math/w_acosl.c (__acosl): Likewise.
32419 * math/w_asinl.c (__asinl): Likewise.
32420 * math/w_atan2l.c (__atan2l): Likewise.
32421 * math/w_atanhl.c (__atanhl): Likewise.
32422 * math/w_coshl.c (__coshl): Likewise.
32423 * math/w_exp10l.c (__exp10l): Likewise.
32424 * math/w_exp2l.c (__exp2l): Likewise.
32425 * math/w_fmodl.c (__fmodl): Likewise.
32426 * math/w_hypotl.c (__hypotl): Likewise.
32427 * math/w_j0l.c (__j0l, __y0l): Likewise.
32428 * math/w_j1l.c (__j1l, __y1l): Likewise.
32429 * math/w_jnl.c (__jnl, __ynl): Likewise.
32430 * math/w_lgammal.c (__lgammal): Likewise.
32431 * math/w_log10l.c (__log10l): Likewise.
32432 * math/w_log2l.c (__log2l): Likewise.
32433 * math/w_logl.c (__logl): Likewise.
32434 * math/w_powl.c (__powl): Likewise.
32435 * math/w_remainderl.c (__remainderl): Likewise.
32436 * math/w_scalbl.c (sysv_scalbl): Likewise.
32437 * math/w_sinhl.c (__sinhl): Likewise.
32438 * math/w_sqrtl.c (__sqrtl): Likewise.
32439 * math/w_tgammal.c (__tgammal): Likewise.
32440 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32441 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32442 * math/libm-test.inc (acos_test): Add more tests.
32443 (acosh_test): Likewise.
32444 (asin_test): Likewise.
32445 (atanh_test): Likewise.
32446 (exp_test): Likewise.
32447 (exp10_test): Likewise.
32448 (exp2_test): Likewise.
32449 (expm1_test): Likewise.
32450 (lgamma_test): Likewise.
32451 (log_test): Likewise.
32452 (log10_test): Likewise.
32453 (log1p_test): Likewise.
32454 (log2_test): Likewise.
32455 (pow_test): Do not allow some spurious overflow exceptions.
32456 (sqrt_test): Add more tests.
32457 (tgamma_test): Likewise.
32458 (y0_test): Likewise.
32459 (y1_test): Likewise.
32460 (yn_test): Likewise.
32462 2012-03-27 Anton Blanchard <anton@samba.org>
32464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32466 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32467 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32470 2012-03-27 David S. Miller <davem@davemloft.net>
32472 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32474 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32475 have-as-vis3 check.
32477 2012-03-27 Andreas Jaeger <aj@suse.de>
32479 * sysdeps/x86_64/elf/configure.in: Moved to ...
32480 * sysdeps/x86_64/configure.in: ... here.
32481 * sysdeps/x86_64/elf/start.S: Moved to ...
32482 * sysdeps/x86_64/start.S: ... here.
32483 * sysdeps/x86_64/elf/configure: Delete.
32485 * sysdeps/x86_64/configure.in: Merge contents from
32486 sysdeps/i386/configure.in (without i686 check).
32488 * sysdeps/i386/elf/Versions: Merge into ...
32489 * sysdeps/i386/Versions: ... this.
32490 * sysdeps/i386/elf/Versions: Delete file.
32491 * sysdeps/i386/elf/start.S: Moved to ...
32492 * sysdeps/i386/start.S: ...here.
32493 * sysdeps/i386/elf/configure.in: Merge into...
32494 * sysdeps/i386/configure.in: ...here.
32495 * sysdeps/i386/elf/configure.in: Delete file.
32496 * sysdeps/i386/elf/configure: Delete file.
32498 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32499 * debug/backtracesyms.c: ... here.
32500 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32501 * debug/backtracesymsfd.c: ... here.
32502 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32503 * sysdeps/generic/ifunc-sel.h: ... here.
32505 * sysdeps/unix/i386/start.c: Delete file.
32506 * sysdeps/unix/sparc/start.c: Delete file.
32507 * sysdeps/unix/start.c: Delete file.
32509 * sysdeps/sh/elf/configure.in: Moved to ...
32510 * sysdeps/sh/configure.in: ... here.
32511 * sysdeps/sh/elf/start.S: Moved to ...
32512 * sysdeps/sh/start.S: ... here.
32513 * sysdeps/sh/elf/configure: Delete file.
32515 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32516 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32517 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32518 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32519 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32520 * sysdeps/powerpc/powerpc64/start.S: here.
32521 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32522 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32523 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32524 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32525 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32527 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32528 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32529 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32530 * sysdeps/powerpc/powerpc32/start.S: ... here.
32531 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32532 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32533 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32535 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32536 * sysdeps/powerpc/ifunc-sel.h: ... here.
32537 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32538 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32540 * sysdeps/sparc/elf/configure.in: Moved to ...
32541 * sysdeps/sparc/configure.in: ... here.
32542 * sysdeps/sparc/elf/configure: Delete file.
32543 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32544 * sysdeps/sparc/sparc32/start.S: ... here.
32545 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32546 * sysdeps/sparc/sparc64/start.S: ... here.
32547 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32548 * sysdeps/sparc/sparc32/Makefile: ... this.
32549 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32550 * sysdeps/sparc/sparc64/Makefile: ... this.
32552 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32553 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32554 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32555 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32556 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32557 * sysdeps/s390/s390-32/setjmp.S: ... here.
32558 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32559 * sysdeps/s390/s390-32/configure.in: ... here.
32560 * sysdeps/s390/s390-32/elf/configure: Delete file.
32561 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32562 * sysdeps/s390/s390-32/start.S: ... here.
32564 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32565 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32566 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32567 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32568 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32569 * sysdeps/s390/s390-64/setjmp.S: ... here.
32570 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32571 * sysdeps/s390/s390-64/configure.in: ... here
32572 * sysdeps/s390/s390-64/elf/configure: Delete file.
32573 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32574 * sysdeps/s390/s390-64/start.S: ... here.
32575 * sysdeps/s390/s390-64/elf/configure: Delete.
32577 * configure.in: Remove support for elf directories in sysdeps.
32579 * configure: Regenerated.
32580 * sysdeps/i386/configure: Regenerated.
32581 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32582 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32583 * sysdeps/s390/s390-32/configure: Regenerated.
32584 * sysdeps/s390/s390-64/configure: Regenerated.
32585 * sysdeps/sh/configure: Regenerated.
32586 * sysdeps/sparc/configure: Regenerated.
32587 * sysdeps/x86_64/configure: Regenerated.
32589 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32593 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32594 denormal result into account.
32596 2012-03-25 Roland McGrath <roland@hack.frob.com>
32598 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32599 Reported by Allan McRae <allan@archlinux.org>.
32601 2012-03-23 Jeff Law <law@redhat.com>
32603 * nss/getnssent.c (__nss_getent): Fix typo.
32605 2012-03-23 David S. Miller <davem@davemloft.net>
32607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32609 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32611 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32612 to pad to uint64_t for each field.
32613 (dl_tls_index): Replace unsigned long with uint64_t.
32615 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32616 Paul Pluzhnikov <ppluzhnikov@google.com>
32619 * grp/Makefile (otherlibs): Don't set it.
32620 * inet/Makefile (otherlibs): Likewise.
32621 * login/Makefile (otherlibs): Likewise.
32622 * nscd/Makefile (otherlibs): Likewise.
32623 * posix/Makefile (otherlibs): Likewise.
32624 * pwd/Makefile (otherlibs): Likewise.
32625 * rt/Makefile (otherlibs): Likewise.
32626 * sunrpc/Makefile (otherlibs): Likewise.
32627 * nss/Makefile (otherlibs): Likewise.
32628 Add libnss_files to routines and static-only-routines.
32629 ($(objpfx)getent): Remove rule.
32630 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32631 static-only-routines.
32633 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32636 * math/s_cexp.c: Include <float.h>.
32637 (__cexp): Handle exp result overflowing not necessarily
32638 overflowing both real and imaginary parts of result.
32639 * math/s_cexpf.c: Likewise.
32640 * math/s_cexpl.c: Likewise.
32641 * math/libm-test.inc (cexp_test): Add more tests.
32642 * sysdeps/i386/fpu/libm-test-ulps: Update.
32643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32645 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32647 * include/link.h (ELFW): New macro.
32648 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32649 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32651 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32653 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32656 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32658 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32660 (struct La_x32_retval): Likewise.
32662 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32664 * sysdeps/x86_64/preconfigure.in: New file.
32665 * sysdeps/x86_64/preconfigure: New generated file.
32667 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32670 * math/e_exp2l.c: Include <float.h>.
32671 (__ieee754_exp2l): Handle overflow and underflow cases
32672 separately. Only pass fractional part of argument to
32674 * math/libm-test.inc (exp2_test): Add more tests.
32676 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32677 negating x to take absolute value.
32678 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32680 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32681 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32683 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32684 computing low part if x was negated.
32685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32687 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32689 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32690 la_x32_gnu_pltexit.
32691 (pltexit): Cast int_retval to ptrdiff_t.
32692 * elf/tst-auditmod3b.c: Likewise.
32693 * elf/tst-auditmod4b.c: Likewise.
32694 * elf/tst-auditmod5b.c: Likewise.
32695 * elf/tst-auditmod6b.c: Likewise.
32696 * elf/tst-auditmod6c.c: Likewise.
32697 * elf/tst-auditmod7b.c: Likewise.
32699 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32700 and x32_gnu_pltexit.
32702 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32703 __ELF_NATIVE_CLASS.
32704 (La_x32_regs): New macro.
32705 (La_x32_retval): Likewise.
32706 (la_x32_gnu_pltenter): New function prototype.
32707 (la_x32_gnu_pltexit): Likewise.
32709 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32716 * configure.in (libc_cv_cc_nofma): Check for option to disable
32717 generation of FMA instructions.
32718 * configure: Regenerate.
32719 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32720 * sysdeps/ieee754/dbl-64/Makefile: New file.
32721 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32722 Remove brandred-fma4.
32723 (CFLAGS-brandred-fma4.c): Remove.
32724 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32725 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32727 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32730 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32732 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32733 LLONG_MAX != LONG_MAX.
32734 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32735 (_fitoa_word): Likewise.
32736 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32737 LLONG_MAX != LONG_MAX.
32738 * stdio-common/_itowa.h: Include <_itoa.h>.
32739 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32740 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32741 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32742 only if not defined.
32743 (_ITOA_WORD_TYPE): Likewise.
32744 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32745 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32747 2012-03-21 David S. Miller <davem@davemloft.net>
32749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32751 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32753 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32754 of x86_64 when setting libc_cv_slibdir, libdir and
32756 * sysdeps/unix/sysv/linux/configure: Regenerated.
32758 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32760 * manual/lang.texi (Old Varargs): Remove section.
32761 (How Variadic): Update menu.
32762 (va_start): Do not mention varargs.h.
32764 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32765 Joseph Myers <joseph@codesourcery.com>
32767 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32769 * configure: Regenerated.
32771 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32773 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32774 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32777 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32780 * Makefile (files-for-dist): Remove NOTES.
32781 (NOTES): Remove rule.
32782 * README: Don't refer to NOTES.
32783 * manual/creature.texi: Don't include macros.texi.
32784 * manual/intro.texi (creature.texi): Remove comment referring to
32787 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32788 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32789 * configure: Regenerated.
32790 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32791 LIBC_TRY_CC_OPTION.
32792 (libc_cv_as_i686): Likewise.
32793 (libc_cv_cc_avx): Likewise.
32794 (libc_cv_cc_sse2avx): Likewise.
32795 (libc_cv_cc_fma4): Likewise.
32796 (libc_cv_cc_novzeroupper): Likewise.
32797 * sysdeps/i386/configure: Regenerated.
32800 * sysdeps/i386/fpu/s_cexp.S: Remove.
32801 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32802 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32803 * math/libm-test.inc (cexp_test): Add more tests.
32804 * sysdeps/i386/fpu/libm-test-ulps: Update.
32805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32807 2012-03-21 Allan McRae <allan@archlinux.org>
32809 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32811 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32814 * math/w_exp2.c: Do not include <float.h>.
32815 (o_threshold, u_threshold): Remove.
32816 (__exp2): Calculate result before checking finiteness and calling
32818 * math/w_exp2f.c: Likewise.
32819 * math/w_exp2l.c: Likewise.
32820 * math/libm-test.inc (exp2_test): Require overflow exception for
32824 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32825 range of signed 64-bit integers before using fistpll. Remove
32826 checks for whether integers fit in mantissa bits.
32827 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32828 the range of signed 32-bit integers before using fistpl. Remove
32829 checks for whether integers fit in mantissa bits.
32830 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32831 (__ieee754_powl): Test for y outside the range of signed 64-bit
32832 integers before using fistpll. Reduce 64-bit values to 63-bit
32834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32835 divide-by-zero is raised for zero to large negative powers.
32836 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32837 (__ieee754_powl): Test for y outside the range of signed 64-bit
32838 integers before using fistpll. Reduce 64-bit values to 63-bit
32840 * math/libm-test.inc (pow_test): Add more tests.
32842 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32844 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32845 <stdio-common/_itoa.h>.
32846 * debug/segfault.c: Likewise.
32847 * elf/dl-cache.c: Likewise.
32848 * elf/dl-minimal.c: Likewise.
32849 * elf/dl-misc.c: Likewise.
32850 * elf/dl-sysdep.c: Likewise.
32851 * elf/dl-version.c: Likewise.
32852 * elf/rtld.c: Likewise.
32853 * hurd/hurdsock.c: Likewise.
32854 * hurd/lookup-retry.c: Likewise.
32855 * malloc/malloc.c: Likewise.
32856 * malloc/mtrace.c: Likewise.
32857 * nscd/nscd_getgr_r.c: Likewise.
32858 * nscd/nscd_getpw_r.c: Likewise.
32859 * nscd/nscd_getserv_r.c: Likewise.
32860 * posix/getopt_init.c: Likewise.
32861 * posix/wordexp.c: Likewise.
32862 * stdio-common/_itoa.c: Likewise.
32863 * stdio-common/printf_fphex.c: Likewise.
32864 * stdio-common/vfprintf.c: Likewise.
32865 * string/_strerror.c: Likewise.
32866 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32867 * sysdeps/i386/i686/hp-timing.h: Likewise.
32868 * sysdeps/mach/_strerror.c: Likewise.
32869 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32870 * sysdeps/mach/hurd/sethostid.c: Likewise.
32871 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32872 * sysdeps/mach/xpg-strerror.c: Likewise.
32873 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32874 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32875 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32876 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32877 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32878 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32879 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32880 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32881 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32882 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32883 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32884 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32885 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32886 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32887 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32888 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32889 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32890 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32891 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32892 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32893 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32895 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32897 * stdio-common/_itoa.h: Moved to ...
32898 * sysdeps/generic/_itoa.h: Here.
32900 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32902 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32903 instead of "_itoa.h" and "_itowa.h".
32904 * stdio-common/vfprintf.: Likewise.
32906 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32908 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32910 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32911 (__signbit): Likwise.
32912 (llrintf): Likwise.
32915 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32917 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32920 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32922 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32923 OVERFLOW_EXCEPTION_OK.
32924 * math/libm-test.inc ("Philosophy"): Update comment about
32926 (OVERFLOW_EXCEPTION): Define.
32927 (OVERFLOW_EXCEPTION_OK): Likewise.
32928 (INVALID_EXCEPTION_OK): Renumber.
32929 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32930 (IGNORE_ZERO_INF_SIGN): Likewise.
32931 (test_exceptions): Handle FE_OVERFLOW.
32932 (exp10_test): Expect overflow exceptions.
32933 (exp2_test): Likewise.
32934 (expm1_test): Likewise.
32935 (nextafter_test): Likewise.
32936 (pow_test): Likewise.
32937 (scalbn_test): Likewise.
32938 (scalbln_test): Likewise.
32940 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32942 * sysdeps/x86_64/bits/atomic.h
32943 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32945 (atomic_exchange_acq): Likewise.
32946 (__arch_exchange_and_add_body): Likewise.
32947 (__arch_add_body): Likewise.
32948 (atomic_add_negative): Likewise.
32949 (atomic_add_zero): Likewise.
32951 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32953 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32954 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32956 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32958 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32959 Check __x86_64__ instead of __WORDSIZE.
32961 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32963 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32965 2012-03-19 David S. Miller <davem@davemloft.net>
32967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32969 * sysdeps/sparc/fpu/fenv_private.h: New file.
32970 * sysdeps/sparc/fpu/math_private.h: Use it.
32971 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32973 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32974 (libc_feholdexcept_setroundl): Remove.
32975 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32977 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32978 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32980 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32982 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32983 int64_t instead of long int.
32984 (INSERT_WORDS64): Likwise.
32986 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32988 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32989 _Unwind_GetCFA return to _Unwind_Ptr first.
32991 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32994 * math/s_clog.c: Include <float.h>.
32995 (__clog): Scale large or subnormal inputs.
32996 * math/s_clogf.c: Likewise.
32997 * math/s_clogl.c: Likewise.
32998 * math/s_clog10.c: Include <float.h>.
32999 (M_LOG10_2): Define.
33000 (__clog10): Scale large or subnormal inputs.
33001 * math/s_clog10f.c: Likewise.
33002 * math/s_clog10l.c: Likewise.
33003 * math/libm-test.inc (clog_test): Add more tests.
33004 (clog10_test): Likewise.
33005 * sysdeps/i386/fpu/libm-test-ulps: Update.
33006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33009 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33011 * math/libm-test.inc (atan2_test): Add another test.
33013 * Makerules (common-objdir-compile): Remove.
33014 * sysdeps/unix/Makefile (config-generated): Do not add
33015 $(unix-generated) to variable.
33016 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33017 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33019 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33021 [generic bits/local_lim.h] (before-compile): Do not append to
33023 [generic bits/local_lim.h] (common-generated): Likewise.
33024 [generic sys/param.h] (before-compile): Do not append to variable.
33025 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33026 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33027 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33028 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33030 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33031 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33032 [generic sys/param.h] ($(addprefix
33033 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33034 [generic sys/param.h] (common-generated): Do not append to
33036 [generic sys/param.h] (sysdep_headers): Likewise.
33037 [generic bits/errno.h] (before-compile): Do not append to
33039 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33041 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33042 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33043 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33044 [generic bits/errno.h] (common-generated): Do not append to
33046 [generic bits/ioctls.h] (before-compile): Do not append to
33048 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33050 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33051 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33052 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33054 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33055 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33056 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33057 [generic bits/ioctls.h] (common-generated): Do not append to
33059 [generic sys/syscall.h] (syscall.h): Remove variable.
33060 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33062 [generic sys/syscall.h] (before-compile): Do not append to
33064 [generic sys/syscall.h] (common-generated): Likewise.
33065 * sysdeps/unix/errnos-tmpl.c: Remove file.
33066 * sysdeps/unix/errnos.awk: Likewise.
33067 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33068 * sysdeps/unix/ioctls.awk: Likewise.
33069 * sysdeps/unix/mk-local_lim.c: Likewise.
33070 * sysdeps/unix/snarf-ioctls: Likewise.
33072 2012-03-19 Richard Henderson <rth@twiddle.net>
33074 * sysdeps/i386/fpu/fenv_private.h: New file.
33075 * sysdeps/i386/fpu/math_private.h: Use it.
33076 (math_opt_barrier, math_force_eval): Remove.
33077 (libc_feholdexcept_setround_53bit): Remove.
33078 (libc_feupdateenv_53bit): Remove.
33079 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33080 (math_opt_barrier, math_force_eval): Remove.
33081 (libc_feholdexcept): Remove.
33082 (libc_feholdexcept_setround): Remove.
33083 (libc_fetestexcept, libc_fesetenv): Remove.
33084 (libc_feupdateenv_test): Remove.
33085 (libc_feupdateenv, libc_feholdsetround): Remove.
33086 (libc_feresetround): Remove.
33088 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33089 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33091 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33092 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33093 (libc_feupdateenv_testl): New.
33094 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33095 (libc_feupdateenv_testf): New.
33096 (libc_feupdateenv): Use libc_feupdateenv_test.
33097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33098 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33100 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33101 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33102 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33103 (libc_feresetround_noex): New.
33104 (libc_feresetround_noexf): New.
33105 (libc_feresetround_noexl): New.
33106 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33107 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33108 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33109 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33114 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33115 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33116 SET_RESTORE_ROUND_NOEX.
33117 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33118 SET_RESTORE_ROUND_NOEXF.
33119 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33120 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33121 (libc_feholdsetroundf): New.
33122 (libc_feresetround, libc_feresetroundf): New.
33124 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33125 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33126 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33128 * sysdeps/generic/math_private.h: Include <fenv.h>.
33129 (default_libc_feholdexcept): New.
33130 (default_libc_feholdexcept_setround): New.
33131 (default_libc_fesetenv, default_libc_feupdateenv): New.
33132 (libc_feholdexcept): Only define if undefined.
33133 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33134 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33135 (libc_feholdexcept_setroundl): Likewise.
33136 (libc_feholdexcept_setround_53bit): Likewise.
33137 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33138 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33139 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33140 (libc_feupdateenv_53bit): Likewise.
33141 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33142 (libc_feholdexcept): Convert from macro to inline function.
33143 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33144 (libc_fesetenv, libc_feupdateenv): Likewise.
33146 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33147 not previously defined.
33148 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33149 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33150 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33151 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33152 * sysdeps/ieee754/flt-32/math_private.h: New file.
33153 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33154 math_private.h below SET_FLOAT_WORD.
33155 (__isnan, __isinf_ns, __finite): Remove.
33156 (__isnanf, __isinf_nsf, __finitef): Remove.
33158 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33162 2012-03-17 David S. Miller <davem@davemloft.net>
33165 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33168 2012-03-16 David S. Miller <davem@davemloft.net>
33170 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33174 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33176 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33177 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33178 sysdep_routines when subdir is sysvipc.
33179 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33180 __getshmlba helper.
33182 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33184 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33186 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33189 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33191 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33192 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33193 (__lround): Renamed to ...
33194 (__llround): This. Replace long int with long long int.
33195 Define lround functions as aliases of llround functions.
33196 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33198 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33200 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33201 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33202 adresses to uintptr_t. Replace "long int" and "unsigned long
33203 int" with "greg_t" on va_arg.
33205 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33207 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33208 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33210 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33211 Move e_machine check before EI_CLASS check. Handle x32
33212 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33213 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33214 SKIP_EM_IA_64 and include
33215 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33217 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33218 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33219 (add_system_dir): New macro.
33221 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33222 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33224 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33235 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33237 * math/w_j0f.c (j0f): Likewise.
33239 * math/w_j0l.c (__j0l): Likewise.
33241 * math/w_j1.c (j1): Likewise.
33243 * math/w_j1f.c (j1f): Likewise.
33245 * math/w_j1l.c (__j1l): Likewise.
33247 * math/w_jn.c (jn): Likewise.
33249 * math/w_jnf.c (jnf): Likewise.
33251 * math/w_jnl.c (__jnl): Likewise.
33253 * math/libm-test.inc (j0_test): Add more tests.
33254 (j1_test): Likewise.
33255 (jn_test): Likewise. Add trailing semicolon to existing test.
33256 (y0_test): Likewise.
33257 (y1_test): Likewise.
33258 * sysdeps/i386/fpu/libm-test-ulps: Update.
33259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33263 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33264 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33265 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33266 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33267 (__tanl): Set errno for infinite argument.
33268 * sysdeps/i386/fpu/mptan.c: Remove.
33269 * sysdeps/i386/fpu/s_tan.S: Likewise.
33270 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33271 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33272 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33273 * math/libm-test.inc (tan_test): Add more tests and enable more
33274 tests for double and long double.
33275 * sysdeps/i386/fpu/libm-test-ulps: Update.
33276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33278 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33280 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33281 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33283 2012-03-16 Roland McGrath <roland@hack.frob.com>
33285 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33286 * configure.in: Use it for both main tree and add-ons.
33287 * configure: Regenerated.
33289 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33291 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33293 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33295 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33299 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33300 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33301 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33302 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33303 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33305 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33307 != 0 for prec == 2.
33308 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33309 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33310 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33311 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33312 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33313 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33314 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33315 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33316 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33317 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33318 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33319 * math/libm-test.inc (cos_test): Add more tests and enable more
33320 tests for long double.
33321 (sin_test): Likewise.
33322 (sincos_test): Likewise.
33323 * sysdeps/i386/fpu/libm-test-ulps: Update.
33324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33326 2012-03-16 David S. Miller <davem@davemloft.net>
33328 * sysdeps/sparc/fpu/math_private.h: New file.
33330 2012-03-15 David S. Miller <davem@davemloft.net>
33332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33346 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33347 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33349 * sysdeps/sparc/sparc-ifunc.h: New file.
33350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33376 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33395 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33397 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33401 2012-03-15 Andreas Jaeger <aj@suse.de>
33404 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33405 ieee754/flt-32 implementation for sin, cos and sincos.
33406 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33407 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33408 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33409 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33410 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33411 ieee754/flt-32 implementation for tan.
33413 * math/libm-test.inc (cos_test): Enable some large input tests for
33415 (sin_test): Likewise.
33416 (sincos_test): Likewise.
33417 (tan_test): Add tests for large input.
33419 * sysdeps/i386/fpu/libm-test-ulps: Update.
33421 2012-03-15 Andreas Jaeger <aj@suse.de>
33424 * math/libm-test.inc (cos_test): Add more test cases.
33425 (sin_test): Likewise.
33426 (sincos_test): Likewise.
33428 2012-03-15 Andreas Jaeger <aj@suse.de>
33431 * math/libm-test.inc (cos_test): Add a test case for large input
33433 (sin_test): Likewise.
33434 (sincos_test): Likewise.
33436 2012-03-15 Andreas Jaeger <aj@suse.de>,
33437 Joseph Myers <joseph@codesourcery.com>
33440 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33441 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33442 * sysdeps/i386/fpu/branred.c: Likewise.
33443 * sysdeps/i386/fpu/dosincos.c: Likewise.
33444 * sysdeps/i386/fpu/mpa.c: Likewise.
33445 * sysdeps/i386/fpu/s_cos.S: Likewise.
33446 * sysdeps/i386/fpu/s_sin.S: Likewise.
33447 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33448 * sysdeps/i386/fpu/sincos32.c: Likewise.
33450 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33452 (libc_feupdateenv_53bit): Define.
33453 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33455 (libc_feupdateenv_53bit): Define.
33457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33458 53 bit (without extend i386 double precision).
33460 * math/libm-test.inc (sincos_test): Add tests for large input.
33464 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33466 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33470 2012-03-15 David S. Miller <davem@davemloft.net>
33472 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33473 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33474 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33475 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33500 fmin/fmax sysdep routines.
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33503 2012-03-14 David S. Miller <davem@davemloft.net>
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33509 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33511 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33512 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33530 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33531 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33577 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33582 * sysdeps/sparc/configure.in: New file.
33583 * sysdeps/sparc/configure: Generate.
33584 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33585 * configure: Regenerate.
33586 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33587 * config.make.in (have-as-vis3): New.
33588 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33589 available use -Av9d instead of -Av9a.
33590 * sysdeps/sparc/sparc64/Makefile: Likewise.
33591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33603 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33604 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33606 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33607 fzeros/fnegs to load 0x80000000 into a float register instead of
33609 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33611 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33615 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33616 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33617 ($(inst_includedir)/bits/syscall.h): Remove rule.
33618 ($(objpfx)bits/syscall.d): Include instead of
33619 $(objpfx)syscall-list.d.
33620 (generated): Change syscall-list.h and syscall-list.d to
33621 bits/syscall.h and bits/syscall.d.
33623 2012-03-14 Roland McGrath <roland@hack.frob.com>
33626 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33628 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33631 * math/s_csqrt.c: Include <float.h>.
33632 (__csqrt): Scale large or subnormal inputs.
33633 * math/s_csqrtf.c: Likewise.
33634 * math/s_csqrtl.c: Likewise.
33635 * math/libm-test.inc (csqrt_test): Add more tests.
33636 * sysdeps/i386/fpu/libm-test-ulps: Update.
33637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33640 * math/libm-test.inc (hypot_test): Add more tests.
33642 2012-03-13 David S. Miller <davem@davemloft.net>
33645 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33646 double-precision for the calculation instead of scaling.
33648 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33650 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33651 manipulate bits before adding and subtracting TWO52[sx].
33652 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33653 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33655 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33657 2012-03-13 David S. Miller <davem@davemloft.net>
33659 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33660 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33661 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33662 rtld-global-offsets.h
33663 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33665 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33668 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33670 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33671 'err' in the ifdef scope in which it is actually used.
33673 * nss/nss_db/db-init.c: Include string.h
33675 2012-03-12 David S. Miller <davem@davemloft.net>
33677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33678 masking out of the most significant byte of random value used.
33679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33680 Fix coding style in previous change.
33682 * sysdeps/unix/sysv/linux/kernel-features.h
33683 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33684 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33686 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33689 2012-03-11 David S. Miller <davem@davemloft.net>
33691 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33692 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33693 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33694 for 'resultvar' otherwise things get truncated on 64-bit.
33696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33697 Fix masking out of the most significant byte of random value used.
33699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33701 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33705 2012-03-09 David S. Miller <davem@davemloft.net>
33707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33708 variables with appropriate CPP guards.
33709 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33710 frame pointer, not the stack pointer. Correct layout comments. Fix test
33711 on resulting framesize and the management of the outregs buffer for pltexit.
33712 Preserve floating point return values across _dl_call_pltexit call.
33713 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33714 framesize and the management of the outregs buffer for pltexit.
33715 Preserve floating point return values across _dl_call_pltexit
33717 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33718 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33719 (print_exit): Fix format string for return register value.
33721 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33723 * sunrpc/Makefile (others): Add rpcgen.
33724 ($(objpfx)rpcgen): Remove special build rule and dependency on
33726 * sunrpc/rpcgen.c: New file.
33728 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33731 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33732 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33733 * sysdeps/i386/crti.S: Likewise.
33734 * sysdeps/i386/crtn.S: Likewise.
33735 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33736 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33737 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33738 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33739 * sysdeps/sh/crti.S: Likewise.
33740 * sysdeps/sh/crtn.S: Likewise.
33741 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33744 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33746 * locale/programs/locfile-kw.gperf: Likewise.
33747 * locale/programs/charmap-kw.h: Regenerated.
33748 * locale/programs/locfile-kw.h: Likewise.
33751 * intl/plural.y: Replace FSF snail mail address with URL.
33752 * intl/plural.c: Regenerated.
33754 2012-03-09 Richard Henderson <rth@twiddle.net>
33756 * include/math_private.h: Remove file.
33757 * math/math_private.h: Move file ...
33758 * sysdeps/generic/math_private.h: ... here.
33760 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33761 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33762 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33764 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33765 and <math_private.h>.
33766 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33767 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33768 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33769 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33770 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33774 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33775 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33777 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33780 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33781 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33782 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33787 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33788 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33812 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33824 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33825 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33829 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33830 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33831 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33832 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33833 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33834 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33835 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33836 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33837 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33838 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33840 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33845 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33850 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33853 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33854 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33855 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33856 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33857 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33860 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33861 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33862 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33863 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33864 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33865 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33866 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33867 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33868 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33869 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33870 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33871 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33872 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33873 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33874 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33875 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33876 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33877 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33878 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33879 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33880 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33881 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33883 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33884 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33885 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33886 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33887 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33889 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33890 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33891 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33893 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33894 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33895 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33896 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33897 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33898 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33899 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33900 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33901 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33902 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33903 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33904 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33905 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33907 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33908 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33909 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33910 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33911 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33912 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33913 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33914 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33915 * sysdeps/ieee754/k_standard.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33933 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33989 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33993 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34029 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34031 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34035 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34036 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34038 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34039 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34040 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34041 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34043 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34044 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34046 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34048 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34052 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34053 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34054 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34056 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34058 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34059 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34061 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34063 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34064 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34065 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34073 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34075 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34076 * sysdeps/ieee754/s_lib_version.c: Likewise.
34077 * sysdeps/ieee754/s_matherr.c: Likewise.
34078 * sysdeps/ieee754/s_signgam.c: Likewise.
34079 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34080 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34081 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34082 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34083 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34084 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34085 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34086 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34087 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34088 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34089 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34090 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34091 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34092 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34093 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34094 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34095 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34096 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34097 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34101 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34103 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34104 * sunrpc/rpc_main.c: Likewise.
34105 * sunrpc/rpc_svcout.c: Likewise.
34107 2012-03-09 David S. Miller <davem@davemloft.net>
34109 * include/math_private.h: New file.
34111 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34113 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34114 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34115 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34116 from <bits/socket_type.h>.
34117 (enum __socket_type): Don't define here.
34118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34120 bits/socket_type.h.
34123 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34124 checking __USE_GNU.
34126 * Makerules ($(inst_includedir)/%.h): New rule.
34127 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34128 (install-others): Remove variable setting.
34129 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34131 2012-03-08 Richard Henderson <rth@twiddle.net>
34133 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34134 from macro to inline function; merge with the
34135 !__LIBC_INTERNAL_MATH_INLINES version.
34136 (__ieee754_sqrtf): Likewise.
34138 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34139 to inline function.
34140 (__rintf, __floor, __floorf): Likewise.
34142 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34143 macro to inline function.
34144 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34146 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34147 not <math/math_private.h>.
34149 2012-03-08 David S. Miller <davem@davemloft.net>
34151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34153 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34155 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34157 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34159 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34160 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34162 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34164 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34165 be defined individually, they must be defined as a block. Define
34166 S for printing a string instead of hidint the different by using a
34167 macro for adding the 'l'.
34168 * stdio-common/tst-fphex-wide.c: Adjust.
34170 2012-03-07 Marek Polacek <polacek@redhat.com>
34172 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34174 2012-03-08 Marek Polacek <polacek@redhat.com>
34177 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34178 * stdio-common/tst-fphex.c: Define a few macros to make the
34179 test reusable. Use them.
34180 * stdio-common/tst-fphex-wide.c: New file.
34182 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34185 * manual/macros.texi (gnusystems): New macro.
34186 (nongnusystems): Likewise.
34187 (gnulinuxhurdsystems): Likewise.
34188 (gnuhurdsystems): Likewise..
34189 (gnulinuxsystems): Likewise.
34190 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34191 variants of the GNU system, not "GNU system".
34192 * manual/conf.texi: Likewise.
34193 * manual/errno.texi: Likewise. Update example of errno macro
34195 * manual/filesys.texi: Likewise.
34196 (getumask): Document as specific to GNU/Hurd.
34197 * manual/install.texi: Likewise. Reword some references to
34199 * manual/intro.texi: Likewise.
34200 * manual/io.texi: Likewise.
34201 (File Name Portability): Detail which constraints are inapplicable
34202 to all GNU systems and which are only inapplicable to GNU/Hurd.
34203 * manual/job.texi: Likewise.
34204 * manual/llio.texi: Likewise.
34205 (O_NOCTTY): Document as present on GNU/Linux.
34206 * manual/maint.texi: Likewise.
34207 * manual/memory.texi: Likewise.
34208 * manual/pattern.texi: Likewise.
34209 * manual/pipe.texi: Likewise.
34210 * manual/process.texi: Likewise.
34211 * manual/resource.texi: Likewise.
34212 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34214 * manual/setjmp.texi: Likewise.
34215 * manual/signal.texi: Likewise.
34216 * manual/startup.texi: Likewise.
34217 * manual/stdio.texi: Likewise.
34218 * manual/terminal.texi: Likewise.
34219 (ONLCR): Document as POSIX.
34220 (OXTABS): Document availability on GNU/Linux as XTABS.
34221 (ONOEOT): Document availability separately from other bits.
34222 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34223 * manual/time.texi: Likewise.
34224 * manual/users.texi: Likewise.
34225 * INSTALL: Regenerated.
34226 * sysdeps/gnu/errlist.c: Regenerated.
34228 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34229 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34230 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34232 * configure: Regenerated.
34234 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34236 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34237 default includes instead of AC_HEADER_CHECK.
34238 * sysdeps/i386/configure: Regenerated.
34241 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34242 * math/s_cacoshf.c (__cacoshf): Likewise.
34243 * math/s_cacoshl.c (__cacoshl): Likewise.
34244 * math/s_casinh.c (__casinh): Set signs of result from argument.
34245 * math/s_casinhf.c (__casinhf): Likewise.
34246 * math/s_casinhl.c (__casinhl): Likewise.
34247 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34248 (casinh_test): Add more tests.
34249 * sysdeps/i386/fpu/libm-test-ulps: Update.
34250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34252 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34254 * po/zh_TW.po: Update from translation team.
34256 * login/Makefile (distribute): Remove variable.
34257 * catgets/Makefile: Likewise.
34258 * mach/Makefile: Likewise.
34259 * malloc/Makefile: Likewise.
34260 * misc/Makefile: Likewise.
34261 * iconv/Makefile: Likewise.
34262 * nscd/Makefile: Likewise.
34263 * hurd/Makefile: Likewise.
34264 * manual/Makefile: Likewise.
34265 * locale/Makefile: Likewise.
34266 * intl/Makefile: Likewise.
34267 * conform/Makefile: Likewise.
34268 * nss/Makefile: Likewise.
34269 * time/Makefile: Likewise.
34270 * soft-fp/Makefile: Likewise.
34271 * dirent/Makefile: Likewise.
34272 * gmon/Makefile: Likewise.
34273 * po/Makefile: Likewise.
34274 * rt/Makefile: Likewise.
34275 * socket/Makefile: Likewise.
34276 * math/Makefile: Likewise.
34277 * signal/Makefile: Likewise.
34278 * debug/Makefile: Likewise.
34279 * elf/Makefile: Likewise.
34280 * timezone/Makefile: Likewise.
34281 * stdlib/Makefile: Likewise.
34282 * iconvdata/Makefile: Likewise.
34283 * sunrpc/Makefile: Likewise.
34284 * io/Makefile: Likewise.
34285 * argp/Makefile: Likewise.
34286 * inet/Makefile: Likewise.
34287 * hesiod/Makefile: Likewise.
34288 * grp/Makefile: Likewise.
34289 * csu/Makefile: Likewise.
34290 * wctype/Makefile: Likewise.
34291 * crypt/Makefile: Likewise.
34292 * libio/Makefile: Likewise.
34293 * string/Makefile: Likewise.
34294 * nis/Makefile: Likewise.
34295 * resolv/Makefile: Likewise.
34296 * stdio-common/Makefile: Likewise.
34297 * wcsmbs/Makefile: Likewise.
34298 * dlfcn/Makefile: Likewise.
34299 * posix/Makefile: Likewise.
34302 * timezone/Makefile: Don't install timezone files, just the programs
34305 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34307 * nss/databases.def: Add missing gshadow entry.
34309 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34311 2012-03-06 Marek Polacek <polacek@redhat.com>
34314 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34315 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34316 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34317 * stdio-common/tst-long-dbl-fphex.c: New file.
34319 2012-03-06 David S. Miller <davem@davemloft.net>
34321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34322 (set_obp_int): New function.
34323 (get_obp_int): New function.
34324 (__get_clockfreq_via_dev_openprom): Likewise.
34325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34326 Avoid unused variable warnings on 'val' and use builtin_expect.
34327 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34329 (INLINE_CLONE_SYSCALL): Likewise.
34331 2012-03-05 David S. Miller <davem@davemloft.net>
34333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34335 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34340 only for |x| >= 40.
34341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34343 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34346 Replace gettimeofday with __vdso_gettimeofday.
34348 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34349 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34350 __vdso_clock_gettime and __vdso_getcpu.
34352 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34353 time with __vdso_time.
34355 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34357 * manual/lang.texi (size_t): Note types to which size_t may be
34358 equivalent with the GNU C Library, but do not describe when
34359 differences between them are significant.
34361 2012-03-05 Andreas Jaeger <aj@suse.de>
34363 * sysdeps/i386/fpu/libm-test-ulps: Update.
34365 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34368 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34369 (__ieee754_pow): Save and restore rounding mode and use
34370 round-to-nearest for main computations.
34371 * math/libm-test.inc (pow_test_tonearest): New function.
34372 (pow_test_towardzero): Likewise.
34373 (pow_test_downward): Likewise.
34374 (pow_test_upward): Likewise.
34375 (main): Call the new functions.
34376 * sysdeps/i386/fpu/libm-test-ulps: Update.
34377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34380 * math/libm-test.inc (cosh_test_tonearest): New function.
34381 (cosh_test_towardzero): Likewise.
34382 (cosh_test_downward): Likewise.
34383 (cosh_test_upward): Likewise.
34384 (sinh_test_tonearest): Likewise.
34385 (sinh_test_towardzero): Likewise.
34386 (sinh_test_downward): Likewise.
34387 (sinh_test_upward): Likewise.
34388 (main): Call the new functions.
34389 * sysdeps/i386/fpu/libm-test-ulps: Update.
34390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34392 2012-03-05 Tom de Vries <tom@codesourcery.com>
34394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34395 default stack guard is set in last bytes.
34396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34398 2012-03-05 Kees Cook <keescook@chromium.org>
34400 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34403 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34404 possibly allocate from heap instead of stack.
34405 * stdio-common/bug-vfprintf-nargs.c: New file.
34406 * stdio-common/Makefile (tests): Add nargs overflow test.
34408 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34412 2012-03-03 Marek Polacek <polacek@redhat.com>
34414 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34415 * math/math_private.h: Likewise.
34416 * stdlib/tst-strtod.c: Likewise.
34417 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34418 * sysdeps/x86_64/bits/atomic.h: Likewise.
34420 2012-03-02 David S. Miller <davem@davemloft.net>
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34426 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34427 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34428 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34429 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34431 2012-03-02 Roland McGrath <roland@hack.frob.com>
34434 * manual/examples/README: New file, says the example source files
34435 can be used under GPL>=2.
34436 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34437 line containing just "*/".
34438 * manual/examples/add.c: Add copyright header (GPL>=2).
34439 * manual/examples/argp-ex1.c: Likewise.
34440 * manual/examples/argp-ex2.c: Likewise.
34441 * manual/examples/argp-ex3.c: Likewise.
34442 * manual/examples/argp-ex4.c: Likewise.
34443 * manual/examples/atexit.c: Likewise.
34444 * manual/examples/db.c: Likewise.
34445 * manual/examples/dir.c: Likewise.
34446 * manual/examples/dir2.c: Likewise.
34447 * manual/examples/execinfo.c: Likewise.
34448 * manual/examples/filecli.c: Likewise.
34449 * manual/examples/filesrv.c: Likewise.
34450 * manual/examples/fmtmsgexpl.c: Likewise.
34451 * manual/examples/genpass.c: Likewise.
34452 * manual/examples/inetcli.c: Likewise.
34453 * manual/examples/inetsrv.c: Likewise.
34454 * manual/examples/isockad.c: Likewise.
34455 * manual/examples/longopt.c: Likewise.
34456 * manual/examples/memopen.c: Likewise.
34457 * manual/examples/memstrm.c: Likewise.
34458 * manual/examples/mkfsock.c: Likewise.
34459 * manual/examples/mkisock.c: Likewise.
34460 * manual/examples/mygetpass.c: Likewise.
34461 * manual/examples/pipe.c: Likewise.
34462 * manual/examples/popen.c: Likewise.
34463 * manual/examples/rprintf.c: Likewise.
34464 * manual/examples/search.c: Likewise.
34465 * manual/examples/select.c: Likewise.
34466 * manual/examples/setjmp.c: Likewise.
34467 * manual/examples/sigh1.c: Likewise.
34468 * manual/examples/sigusr.c: Likewise.
34469 * manual/examples/stpcpy.c: Likewise.
34470 * manual/examples/strdupa.c: Likewise.
34471 * manual/examples/strftim.c: Likewise.
34472 * manual/examples/strncat.c: Likewise.
34473 * manual/examples/subopt.c: Likewise.
34474 * manual/examples/swapcontext.c: Likewise.
34475 * manual/examples/termios.c: Likewise.
34476 * manual/examples/testopt.c: Likewise.
34477 * manual/examples/testpass.c: Likewise.
34478 * manual/examples/timeval_subtract.c: Likewise.
34481 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34483 * manual/timeval_subtract.c.texi: ... here, new file.
34485 2012-03-02 David S. Miller <davem@davemloft.net>
34487 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34489 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34492 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34493 (__sin): Save and restore rounding mode and use round-to-nearest
34494 for all computations.
34495 (__cos): Save and restore rounding mode and use round-to-nearest
34496 for all computations.
34497 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34499 (tan): Save and restore rounding mode and use round-to-nearest for
34501 * math/libm-test.inc (cos_test_tonearest): New function.
34502 (cos_test_towardzero): Likewise.
34503 (cos_test_downward): Likewise.
34504 (cos_test_upward): Likewise.
34505 (sin_test_tonearest): Likewise.
34506 (sin_test_towardzero): Likewise.
34507 (sin_test_downward): Likewise.
34508 (sin_test_upward): Likewise.
34509 (tan_test_tonearest): Likewise.
34510 (tan_test_towardzero): Likewise.
34511 (tan_test_downward): Likewise.
34512 (tan_test_upward): Likewise.
34513 (main): Call the new functions.
34514 * sysdeps/i386/fpu/libm-test-ulps: Update.
34515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34518 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34519 small n, then large n, before computing and testing k+n.
34520 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34525 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34526 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34529 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34530 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34531 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34533 * math/libm-test.inc (scalbn_test): Add more tests.
34534 (scalbln_test): Likewise.
34536 * manual/filesys.texi (mode_t): Describe constraints on size and
34537 signedness, not exact equivalence to a particular type.
34539 (ino64_t): Likewise.
34541 (nlink_t): Likewise.
34542 (blkcnt_t): Likewise.
34543 (blkcnt64_t): Likewise.
34544 * manual/llio.texi (off_t): Likewise.
34547 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34548 (__ieee754_exp): Save and restore rounding mode and use
34549 round-to-nearest for all computations.
34550 * math/libm-test.inc (exp_test_tonearest): New function.
34551 (exp_test_towardzero): Likewise.
34552 (exp_test_downward): Likewise.
34553 (exp_test_upward): Likewise.
34554 (main): Call the new functions.
34555 * sysdeps/i386/fpu/libm-test-ulps: Update.
34556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34558 2012-03-01 Chris Demetriou <cgd@google.com>
34560 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34561 have predictable order.
34563 2012-03-01 David S. Miller <davem@davemloft.net>
34565 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34567 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34568 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34569 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34570 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34572 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34573 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34574 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34576 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34577 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34578 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34579 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34580 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34585 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34586 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34588 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34589 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34590 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34591 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34592 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34593 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34595 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34596 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34597 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34598 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34601 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34602 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34604 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34605 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34606 * sysdeps/sparc/elf/configure: Regenerated.
34608 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34610 * configure.in (AS, LD): Require binutils 2.20 or later.
34611 * configure: Regenerated.
34612 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34613 as required minimum version.
34614 * INSTALL: Regenerated.
34618 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34619 before squaring exponent.
34620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34621 bottom long double and 27 bits of top long double before squaring
34623 * math/libm-test.inc (erfc_test): Add more tests.
34624 * sysdeps/i386/fpu/libm-test-ulps: Update.
34625 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34628 2012-03-01 Kai Tietz <ktietz@redhat.com>
34630 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34631 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34632 containing bit-fields.
34633 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34634 * soft-fp/single.h (_FP_UNION_S): Likewise.
34635 * soft-fp/double.h (_FP_UNION_D): Likewise.
34637 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34640 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34641 not include ../strcmp.S.
34642 [USE_AS_STRNCASECMP_L]: Likewise.
34643 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34644 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34645 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34646 (__strncasecmp_l_ia32): Define as alias to
34647 __strncasecmp_l_nonascii.
34650 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34651 * sysdeps/i386/fpu/libm-test-ulps: Update.
34652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34654 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34657 2012-02-29 Jeff Law <law@redhat.com>
34659 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34660 out of bounds read.
34662 2012-02-29 Marek Polacek <polacek@redhat.com>
34665 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34666 * elf/Makefile: Add rules to run tst-unused-dep.out.
34668 2012-02-28 David S. Miller <davem@davemloft.net>
34670 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34671 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34672 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34674 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34675 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34677 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34679 * math/libm-test.inc (llround_test): Move one test from
34680 lround_test. Use TEST_f_L in moved test.
34681 (lround_test): Move misplaced test to llround_test. Add testcase
34684 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34686 * sysdeps/x86_64/fpu/e_expf.S: New file.
34687 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34689 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34692 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34693 of remain_len that may cause incomplete multi-byte character and
34695 * posix/bug-regex33.c: New file.
34696 * posix/Makefile (tests): Add bug-regex33.
34698 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34700 * manual/macros.texi: New file.
34701 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34702 * manual/libc.texinfo: Include macros.texi.
34703 * manual/creatute.texi: Likewise.
34704 * manual/install.texi: Likewise.
34705 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34706 @glibcadj{} in references to the GNU C Library.
34707 * manual/charset.texi: Likewise.
34708 * manual/conf.texi: Likewise.
34709 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34710 when not using those macros.
34711 * manual/creature.texi: Likewise.
34712 * manual/crypt.texi: Likewise.
34713 * manual/errno.texi: Likewise.
34714 * manual/filesys.texi: Likewise.
34715 * manual/header.texi: Likewise.
34716 * manual/install.texi: Likewise.
34717 * manual/intro.texi: Likewise.
34718 * manual/io.texi: Likewise.
34719 * manual/job.texi: Likewise.
34720 * manual/lang.texi: Likewise.
34721 * manual/libc.texiinfo: Likewise.
34722 * manual/llio.texi: Likewise.
34723 * manual/locale.texi: Likewise.
34724 * manual/maint.texi: Likewise.
34725 * manual/math.texi: Likewise.
34726 * manual/memory.texi: Likewise.
34727 * manual/message.texi: Likewise.
34728 * manual/nss.texi: Likewise.
34729 * manual/pattern.texi: Likewise.
34730 * manual/process.texi: Likewise.
34731 * manual/resource.texi: Likewise.
34732 * manual/search.texi: Likewise.
34733 * manual/setjmp.texi: Likewise.
34734 * manual/signal.texi: Likewise.
34735 * manual/socket.texi: Likewise.
34736 * manual/startup.texi: Likewise.
34737 * manual/stdio.texi: Likewise.
34738 * manual/string.texi: Likewise.
34739 * manual/sysinfo.texi: Likewise.
34740 * manual/syslog.texi: Likewise.
34741 * manual/terminal.texi: Likewise.
34742 * manual/time.texi: Likewise.
34743 * manual/users.texi: Likewise.
34744 * INSTALL: Regenerated.
34745 * NOTES: Regenerated.
34746 * sysdeps/gnu/errlist.c: Regenerated.
34748 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34750 * include/dirent.h: Include <dirstream.h> before
34753 2012-02-28 David S. Miller <davem@davemloft.net>
34755 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34756 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34757 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34758 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34760 2012-02-27 David S. Miller <davem@davemloft.net>
34762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34764 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34765 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34768 frame pointer instead of stack pointer relative arg slot.
34769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34770 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34771 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34773 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34776 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34778 2012-02-27 David S. Miller <davem@davemloft.net>
34780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34784 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34785 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34786 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34787 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34789 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34791 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34792 later. Allow versions 5-9.
34793 * configure: Regenerated.
34794 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34795 required minimum version and 4.6 as recommended version. Do not
34796 mention bugs in GCC 2.7 and 2.8.
34797 * INSTALL: Regenerated.
34799 2012-02-27 David S. Miller <davem@davemloft.net>
34801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34805 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34806 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34807 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34808 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34811 manipulate bits before adding and subtracting TWO112[sx].
34812 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34814 2012-02-27 Roland McGrath <roland@hack.frob.com>
34817 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34818 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34819 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34820 being in POSIX, because they are in 1003.1-2008.
34822 * rt/tst-aio.c: Include <fcntl.h>.
34823 * rt/tst-aio7.c: Likewise.
34824 * rt/tst-aio64.c: Likewise.
34826 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34828 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34830 * manual/install.texi (--with-headers): Describe headers as
34831 interface headers, not private headers.
34832 (Specific advice for GNU/Linux systems): Describe use of headers
34833 from "make headers_install", not private headers from older
34835 * INSTALL: Regenerated.
34836 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34838 * sysdeps/unix/sysv/linux/configure: Regenerated.
34840 * manual/llio.texi (fclean): Remove documentation.
34842 * manual/Makefile (libc-texi-generated): New variable. Include
34844 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34845 $(libc-texi-generated), not duplicated list of files.
34846 (version.texi, stamp-version): New rules.
34847 (realclean): Remove $(libc-texi-generated), not individual files
34848 from that list. Do not remove dir-add.texinfo.
34849 * manual/libc.texinfo: Comment out uses of edition numbers and
34850 references to printed manual. Remove last-updated dates.
34851 (EDITION): Comment out.
34853 (VERSION, UPDATED): Remove.
34854 (version.texi): Include.
34856 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34858 * sysdeps/posix/spawni.c: Include <signal.h>.
34859 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34860 * sysdeps/pthread/aio_fsync.c: Likewise.
34862 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34864 * conform/Makefile (tests): Run only when not cross-compiling and
34865 when fast-check is not defined.
34867 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34868 * conform/data/limits.h-data: Fixes for POSIX2008.
34869 * conform/run-conformtest.sh: Run all tests.
34870 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34872 * include/bits/dlfcn.h: Likewise.
34873 * include/langinfo.h: Likewise.
34874 * include/monetary.h: Likewise.
34875 * include/sys/poll.h: Likewise.
34877 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34879 * posix/spawn.h: Define __need_sigset_t.
34880 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34881 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34882 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34883 to get sigevent_t only.
34884 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34885 only for __USE_GNU.
34886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34887 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34888 process_vm_writev only for __USE_GNU.
34889 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34891 * conform/Makefile: For now ignore errors from run-conformtest.
34892 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34893 POSIX to avoid namespace pollution. Don't prepend headers.
34894 * conform/data/aio.h-data: Fixes for POSIX testing.
34895 * conform/data/fcntl.h-data: Likewise.
34896 * conform/data/glob.h-data: Likewise.
34897 * conform/data/grp.h-data: Likewise.
34898 * conform/data/pthread.h-data: Likewise.
34899 * conform/data/pwd.h-data: Likewise.
34900 * conform/data/signal.h-data: Likewise.
34901 * conform/data/spawn.h-data: Likewise.
34902 * conform/data/stdio.h-data: Likewise.
34903 * conform/data/stdlib.h-data: Likewise.
34904 * conform/data/stropts.h-data: Likewise.
34905 * conform/data/sys/mman.h-data: Likewise.
34906 * conform/data/sys/stat.h-data: Likewise.
34907 * conform/data/sys/types.h-data: Likewise.
34908 * conform/data/sys/wait.h-data: Likewise.
34909 * conform/data/time.h-data: Likewise.
34910 * conform/data/unistd.h-data: Likewise.
34911 * conform/data/utime.h-data: Likewise.
34913 * io/sys/stat.h: fchmod was always in POSIX.
34914 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34915 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34916 * rt/aio.h: Define __need_timespec before including <time.h>.
34917 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34918 struct. Add forward declaration of pthread_attr_t and use it in
34920 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34922 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34923 always remove CLK_TCK definition.
34925 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34927 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34929 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34931 * conform/run-conformtest.sh: New file.
34932 * conform/Makefile: Run run-conformtest for tests.
34933 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34936 * conform/data/uchar.h-data: New file.
34937 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34938 * conform/data/arpa/inet.h-data: Likewise.
34939 * conform/data/assert.h-data: Likewise.
34940 * conform/data/complex.h-data: Likewise.
34941 * conform/data/cpio.h-data: Likewise.
34942 * conform/data/ctype.h-data: Likewise.
34943 * conform/data/dirent.h-data: Likewise.
34944 * conform/data/dlfcn.h-data: Likewise.
34945 * conform/data/errno.h-data: Likewise.
34946 * conform/data/fcntl.h-data: Likewise.
34947 * conform/data/float.h-data: Likewise.
34948 * conform/data/fmtmsg.h-data: Likewise.
34949 * conform/data/fnmatch.h-data: Likewise.
34950 * conform/data/ftw.h-data: Likewise.
34951 * conform/data/glob.h-data: Likewise.
34952 * conform/data/grp.h-data: Likewise.
34953 * conform/data/iconv.h-data: Likewise.
34954 * conform/data/inttypes.h-data: Likewise.
34955 * conform/data/langinfo.h-data: Likewise.
34956 * conform/data/libgen.h-data: Likewise.
34957 * conform/data/limits.h-data: Likewise.
34958 * conform/data/locale.h-data: Likewise.
34959 * conform/data/math.h-data: Likewise.
34960 * conform/data/monetary.h-data: Likewise.
34961 * conform/data/mqueue.h-data: Likewise.
34962 * conform/data/ndbm.h-data: Likewise.
34963 * conform/data/net/if.h-data: Likewise.
34964 * conform/data/netdb.h-data: Likewise.
34965 * conform/data/netinet/in.h-data: Likewise.
34966 * conform/data/nl_types.h-data: Likewise.
34967 * conform/data/poll.h-data: Likewise.
34968 * conform/data/pthread.h-data: Likewise.
34969 * conform/data/pwd.h-data: Likewise.
34970 * conform/data/regex.h-data: Likewise.
34971 * conform/data/sched.h-data: Likewise.
34972 * conform/data/search.h-data: Likewise.
34973 * conform/data/semaphore.h-data: Likewise.
34974 * conform/data/setjmp.h-data: Likewise.
34975 * conform/data/signal.h-data: Likewise.
34976 * conform/data/spawn.h-data: Likewise.
34977 * conform/data/stdarg.h-data: Likewise.
34978 * conform/data/stdio.h-data: Likewise.
34979 * conform/data/stdlib.h-data: Likewise.
34980 * conform/data/string.h-data: Likewise.
34981 * conform/data/strings.h-data: Likewise.
34982 * conform/data/stropts.h-data: Likewise.
34983 * conform/data/sys/ipc.h-data: Likewise.
34984 * conform/data/sys/mman.h-data: Likewise.
34985 * conform/data/sys/msg.h-data: Likewise.
34986 * conform/data/sys/resource.h-data: Likewise.
34987 * conform/data/sys/select.h-data: Likewise.
34988 * conform/data/sys/sem.h-data: Likewise.
34989 * conform/data/sys/shm.h-data: Likewise.
34990 * conform/data/sys/socket.h-data: Likewise.
34991 * conform/data/sys/stat.h-data: Likewise.
34992 * conform/data/sys/statvfs.h-data: Likewise.
34993 * conform/data/sys/time.h-data: Likewise.
34994 * conform/data/sys/timeb.h-data: Likewise.
34995 * conform/data/sys/times.h-data: Likewise.
34996 * conform/data/sys/types.h-data: Likewise.
34997 * conform/data/sys/uio.h-data: Likewise.
34998 * conform/data/sys/un.h-data: Likewise.
34999 * conform/data/sys/utsname.h-data: Likewise.
35000 * conform/data/sys/wait.h-data: Likewise.
35001 * conform/data/syslog.h-data: Likewise.
35002 * conform/data/tar.h-data: Likewise.
35003 * conform/data/termios.h-data: Likewise.
35004 * conform/data/utime.h-data: Likewise.
35005 * conform/data/utmpx.h-data: Likewise.
35006 * conform/data/varargs.h-data: Likewise.
35007 * conform/data/wchar.h-data: Likewise.
35008 * conform/data/wctype.h-data: Likewise.
35009 * conform/data/wordexp.h-data: Likewise.
35011 * include/stropts.h: New file.
35012 * include/uchar.h: New file.
35013 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35014 * include/assert.h: Likewise.
35015 * include/ctype.h: Likewise.
35016 * include/dirent.h: Likewise.
35017 * include/dlfcn.h: Likewise.
35018 * include/fcntl.h: Likewise.
35019 * include/fnmatch.h: Likewise.
35020 * include/glob.h: Likewise.
35021 * include/grp.h: Likewise.
35022 * include/libio.h: Likewise.
35023 * include/locale.h: Likewise.
35024 * include/math.h: Likewise.
35025 * include/net/if.h: Likewise.
35026 * include/netdb.h: Likewise.
35027 * include/netinet/in.h: Likewise.
35028 * include/pthread.h: Likewise.
35029 * include/pwd.h: Likewise.
35030 * include/regex.h: Likewise.
35031 * include/sched.h: Likewise.
35032 * include/search.h: Likewise.
35033 * include/setjmp.h: Likewise.
35034 * include/signal.h: Likewise.
35035 * include/stdio.h: Likewise.
35036 * include/stdlib.h: Likewise.
35037 * include/string.h: Likewise.
35038 * include/sys/cdefs.h: Likewise.
35039 * include/sys/mman.h: Likewise.
35040 * include/sys/msg.h: Likewise.
35041 * include/sys/resource.h: Likewise.
35042 * include/sys/select.h: Likewise.
35043 * include/sys/socket.h: Likewise.
35044 * include/sys/stat.h: Likewise.
35045 * include/sys/statvfs.h: Likewise.
35046 * include/sys/time.h: Likewise.
35047 * include/sys/times.h: Likewise.
35048 * include/sys/uio.h: Likewise.
35049 * include/sys/utsname.h: Likewise.
35050 * include/sys/wait.h: Likewise.
35051 * include/termios.h: Likewise.
35052 * include/time.h: Likewise.
35053 * include/ulimit.h: Likewise.
35054 * include/unistd.h: Likewise.
35055 * include/utime.h: Likewise.
35056 * include/wchar.h: Likewise.
35057 * include/wctype.h: Likewise.
35058 * include/wordexp.h: Likewise.
35060 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35062 * time/time.h: TIME_UTC must be a macro.
35063 Make timespec_get available for ISO C11 only as well.
35065 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35067 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35068 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35070 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35072 * configure.in: Use -o not -a in test for unsupported multi-arch.
35074 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35076 * manual/texinfo.tex: Update to version 2012-01-19.16.
35078 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35080 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35082 2012-02-24 Roland McGrath <roland@hack.frob.com>
35085 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35086 * manual/fdl-1.3.texi: New file.
35087 * manual/fdl-1.1.texi: File removed.
35090 * manual/libc.texinfo (FDL_VERSION): New @set.
35091 Use it for mention of FDL in cover text.
35092 (Documentation License): Use it in @include file name.
35094 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35095 Roland McGrath <roland@hack.frob.com>
35098 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
35099 not LONG_LONG_MAX and LONG_LONG_MIN.
35100 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35101 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35103 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35105 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35109 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35110 manipulate bits before adding and subtracting TWO23[sx].
35111 * math/libm-test.inc (nearbyint_test): Add more tests.
35113 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35116 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35117 bits before adding and subtracting TWO23[sx].
35118 * math/libm-test.inc (rint_test): Add more tests.
35119 (rint_test_tonearest): Likewise.
35120 (rint_test_towardzero): Likewise.
35121 (rint_test_downward): Likewise.
35122 (rint_test_upward: Likewise.
35124 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35127 * include/stdc-predef.h: New file. Extracted from features.h.
35128 * include/features.h: Include stdc-predef.h.
35129 * Makefile (headers): Add stdc-predef.h.
35130 * CONFORMANCE (Compiler limitations): Update.
35132 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35134 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35136 2012-02-21 David S. Miller <davem@davemloft.net>
35138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35141 2012-02-20 David S. Miller <davem@davemloft.net>
35143 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35144 using a normal save/restore sequence, rather than allocating a
35145 dummy stack frame just to store a frame pointer and restore.
35146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35148 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35150 * manual/install.texi: Fix stray word in line-wrapped comment.
35152 2012-02-20 David S. Miller <davem@davemloft.net>
35154 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35155 both binutils and gcc support GOTDATA.
35157 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35158 "rd %pc" in the PIC register setup sequences.
35160 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35161 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35162 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35163 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35164 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35167 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35169 (SYSCALL_ERROR_HANDLER): Likewise.
35170 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35171 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35173 (SYSCALL_ERROR_HANDLER): Likewise.
35175 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35176 (HAVE_GCC_GOTDATA): New.
35177 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35178 relocation support in both binutils and gcc.
35179 * sysdeps/sparc/elf/configure: Regenerate.
35181 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35182 * sysdeps/sparc/sparc32/elf/configure: Delete.
35183 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35184 * sysdeps/sparc/sparc64/elf/configure: Delete.
35185 * sysdeps/sparc/elf/configure.in: New file.
35186 * sysdeps/sparc/elf/configure: Generate.
35188 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35189 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35190 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35191 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35192 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35194 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35196 * manual/install.texi: Do not mention specific glibc version
35198 * manual/libc.texinfo (VERSION, UPDATED): Update.
35199 (@copying): Use @copyright{} and range of years.
35201 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35204 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35205 [crti.S not in sysdirs] (generated): Do not append.
35206 [crti.S not in sysdirs] (omit-deps): Likewise.
35207 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35208 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35209 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35210 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35211 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35213 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35214 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35215 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35216 * csu/defs.awk: Remove file.
35217 * sysdeps/generic/initfini.c: Likewise.
35218 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35220 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35223 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35225 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35226 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35227 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35228 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35230 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35232 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35233 (__EPOLL_PACKED): Define to empty if not defined by
35235 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35239 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35241 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35242 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35243 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35244 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35246 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35250 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35252 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35255 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35259 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35261 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35262 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35264 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35266 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35267 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35269 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35271 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35274 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35276 * math/w_acos.c: Use non-signaling floating-point comparisons.
35277 * math/w_acosf.c: Likewise.
35278 * math/w_acosh.c: Likewise.
35279 * math/w_acoshf.c: Likewise.
35280 * math/w_acoshl.c: Likewise.
35281 * math/w_acosl.c: Likewise.
35282 * math/w_asin.c: Likewise.
35283 * math/w_asinf.c: Likewise.
35284 * math/w_asinl.c: Likewise.
35285 * math/w_atanh.c: Likewise.
35286 * math/w_atanhf.c: Likewise.
35287 * math/w_atanhl.c: Likewise.
35288 * math/w_exp2.c: Likewise.
35289 * math/w_exp2f.c: Likewise.
35290 * math/w_exp2l.c: Likewise.
35291 * math/w_j0.c: Likewise.
35292 * math/w_j0f.c: Likewise.
35293 * math/w_j0l.c: Likewise.
35294 * math/w_j1.c: Likewise.
35295 * math/w_j1f.c: Likewise.
35296 * math/w_j1l.c: Likewise.
35297 * math/w_jn.c: Likewise.
35298 * math/w_jnf.c: Likewise.
35299 * math/w_log.c: Likewise.
35300 * math/w_log10.c: Likewise.
35301 * math/w_log10f.c: Likewise.
35302 * math/w_log10l.c: Likewise.
35303 * math/w_log2.c: Likewise.
35304 * math/w_log2f.c: Likewise.
35305 * math/w_log2l.c: Likewise.
35306 * math/w_logf.c: Likewise.
35307 * math/w_logl.c: Likewise.
35308 * math/w_sqrt.c: Likewise.
35309 * math/w_sqrtf.c: Likewise.
35310 * math/w_sqrtl.c: Likewise.
35311 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35312 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35313 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35314 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35315 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35317 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35320 * manual/string.texi (strnlen): Use correct parameter name in
35321 equivalent expression.
35323 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35326 * manual/users.texi (seteuid): Consistently use neweuid for
35329 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35332 * manual/nss.texi (Services in the NSS configuration): Correct
35333 list of services in example configuration file.
35335 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35338 * manual/arith.texi: Remove statements about negative zero
35339 behaving identically to zero.
35341 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35344 * manual/install.texi: Do not document upgrading from libc5.
35346 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35349 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35351 2012-02-18 David S. Miller <davem@davemloft.net>
35353 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35354 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35355 %o7 across the call.
35356 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35359 SETUP_PIC_REG_LEAF.
35360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35361 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35362 * sysdeps/sparc/crtn.S: Likewise.
35364 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35366 * aout/Makefile: Remove.
35368 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35371 * manual/examples/argp-ex1.c (main): Format definition in GNU
35373 * manual/examples/argp-ex2.c (main): Likewise.
35374 * manual/examples/argp-ex3.c (main): Likewise.
35375 * manual/examples/argp-ex4.c (main): Likewise.
35376 * manual/examples/longopt.c (main): Use new-style prototype
35378 * manual/examples/strncat.c (main): Specify return type and use
35379 (void) for arguments.
35380 * manual/examples/subopt.c (main): Use char **argv argument.
35382 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35385 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35388 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35391 * manual/string.texi (strchr): Change when strchrnul is
35394 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35397 * manual/locale.texi (setlocale): Document LOCPATH.
35399 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35402 * manual/process.texi (execle): Move @dots{} before last argument.
35404 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35407 * manual/charset.texi (Generic Charset Conversion): Fix typo
35408 (LC_TYPE -> LC_CTYPE).
35410 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35413 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35414 (scalbnf): Likewise.
35415 (scalbnl): Likewise.
35416 (scalbln): Likewise.
35417 (scalblnf): Likewise.
35418 (scalblnl): Likewise.
35419 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35420 (vwarnx): Likewise.
35423 * manual/filesys.texi (telldir): Use braces around return type.
35424 * manual/llio.texi (mmap): Add space after comma.
35425 (mmap64): Likewise.
35426 * manual/math.texi (jn): Use @var{} on parameter names.
35432 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35434 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35436 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35437 (sched_get_priority_max): Likewise.
35438 * manual/signal.texi (sigvec): Add space after comma.
35439 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35441 (if_indextoname): Likewise.
35442 (if_freenameindex): Likewise.
35443 (sendto): Use ',' instead of '.' in prototype.
35444 * manual/startup.texi (syscall): Use @dots{} instead of literal
35446 * manual/stdio.texi (__fpending): Separate initial words of
35447 paragraph from @deftypefun line.
35448 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35450 (vsyslog): Use @var{} on parameter names.
35451 * manual/terminal.texi (stty): Use @var{} on parameter names.
35452 * manual/users.texi (getutmp): Use @var{} on parameter names.
35453 (getutmpx): Likewise.
35455 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35458 * manual/stdio.texi (fopen): Fix typos in description of
35461 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35464 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35465 get clock_id definition.
35467 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35470 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35471 (madvise): Cast every argument to void on its own.
35473 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35476 * manual/startup.texi (Exit Status): Fix typo.
35478 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35481 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35482 * manual/examples/argp-ex2.c: Likewise.
35483 * manual/examples/argp-ex3.c: Likewise.
35485 2012-02-16 Richard Henderson <rth@redhat.com>
35487 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35488 * sysdeps/s390/s390-32/initfini.c: Remove.
35489 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35490 * sysdeps/s390/s390-64/initfini.c: Remove.
35492 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35494 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35495 compiler output for sysdeps/generic/initfini.c.
35496 * sysdeps/sh/elf/initfini.c: Remove file.
35498 2012-02-16 David S. Miller <davem@davemloft.net>
35501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35503 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35504 * sysdeps/sparc/crti.S: New file.
35505 * sysdeps/sparc/crtn.S: New file.
35506 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35507 * sysdeps/sparc/sparc64/Makefile: Likewise.
35509 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35512 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35514 2012-02-15 Roland McGrath <roland@hack.frob.com>
35517 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35519 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35520 (write, read, close): Likewise.
35521 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35523 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35525 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35526 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35527 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35528 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35530 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35534 2012-02-14 Marek Polacek <polacek@redhat.com>
35536 * sysdeps/x86_64/crti.S: New file.
35537 * sysdeps/x86_64/crtn.S: New file.
35538 * sysdeps/x86_64/elf/initfini.c: Remove file.
35540 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35542 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35543 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35544 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35545 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35547 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35551 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35553 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35554 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35555 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35556 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35558 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35562 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35564 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35565 __feraiseexcept instead of feraiseexcept.
35567 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35568 nanosleep invocations.
35569 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35570 strings, and add error checking for a nanosleep invocations.
35572 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35574 Replace FSF snail mail address with URLs, as per GNU coding standards.
35575 Most of the snail mail addresses were wrong anyway, and omitting
35576 them makes the source code easier to maintain. Almost all of the
35577 changes are to license notices and to locale LC_IDENTIFICATION
35578 addresses, except for this one:
35579 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35580 not its snail mail address.
35582 2012-02-09 Richard Henderson <rth@twiddle.net>
35584 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35585 of kernel-features.h.
35587 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35589 2012-02-08 Marek Polacek <polacek@redhat.com>
35591 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35592 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35593 * sysdeps/gnu/_G_config.h: Likewise.
35594 * sysdeps/generic/_G_config.h: Likewise.
35596 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35598 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35602 * sysdeps/powerpc/powerpc32/crti.S: New file.
35603 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35604 * sysdeps/powerpc/powerpc64/crti.S: New file.
35605 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35607 * Makeconfig (have-initfini): Don't set.
35608 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35609 * configure.in (nopic_initfini): Don't substitute.
35610 * config.h.in (HAVE_INITFINI): Don't #undef.
35611 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35612 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35614 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35616 Support crti.S and crtn.S provided directly by architectures.
35617 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35618 [crti.S in sysdirs] (omit-deps): Likewise.
35619 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35620 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35621 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35622 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35623 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35624 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35625 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35626 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35627 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35628 compiler output for sysdeps/generic/initfini.c.
35629 * sysdeps/i386/elf/Makefile: Remove file.
35630 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35632 2012-02-07 Marek Polacek <polacek@redhat.com>
35634 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35635 * sysdeps/gnu/_G_config.h: Likewise.
35636 * sysdeps/mach/hurd/_G_config.h: Likewise.
35638 2012-02-07 Marek Polacek <polacek@redhat.com>
35640 * math/Makefile (tests): Add tst-CMPLX2.
35641 * math/tst-CMPLX2.c: New file.
35643 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35645 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35647 * math/libm-test.inc (jn_test): Add missing L suffix.
35649 2012-02-06 Marek Polacek <polacek@redhat.com>
35651 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35652 * sysdeps/i386/fpu/e_powf.S: Likewise.
35653 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35654 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35655 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35656 * sysdeps/i386/fpu/e_pow.S: Likewise.
35657 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35658 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35659 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35660 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35661 * sysdeps/i386/fpu/e_log2.S: Likewise.
35662 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35663 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35664 * sysdeps/i386/fpu/e_powl.S: Likewise.
35665 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35666 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35667 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35668 * sysdeps/i386/fpu/e_logl.S: Likewise.
35669 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35670 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35671 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35672 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35673 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35674 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35675 * sysdeps/i386/fpu/e_log.S: Likewise.
35676 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35677 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35678 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35679 * sysdeps/i386/fpu/e_logf.S: Likewise.
35680 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35681 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35682 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35683 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35684 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35685 * sysdeps/i386/fpu/e_log10.S: Likewise.
35686 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35688 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35689 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35690 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35691 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35692 * sysdeps/i386/asm-syntax.h: Likewise.
35693 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35694 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35695 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35696 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35697 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35698 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35699 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35700 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35701 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35702 * sysdeps/powerpc/sysdep.h: Likewise.
35703 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35704 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35706 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35709 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35711 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35713 * sysdeps/i386/sysdep.h: Include <features.h>.
35714 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35717 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35719 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35721 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35724 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35726 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35727 (SETUP_PIC_REG): Use GET_PC_THUNK.
35728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35731 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35733 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35734 for non-PIC compilation.
35735 (SETUP_PIC_REG): Add .p2align directive.
35736 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35737 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35738 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35739 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35740 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35741 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35742 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35744 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35745 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35746 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35747 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35748 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35749 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35750 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35751 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35752 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35753 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35754 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35755 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35756 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35758 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35759 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35760 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35762 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35763 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35764 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35765 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35766 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35768 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35769 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35771 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35774 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35775 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35776 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35778 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35780 * math/tst-CMPLX.c: Include <stdio.h>.
35782 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35784 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35786 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35787 * sysdeps/sparc/bits/mathdef.h: Likewise.
35789 2012-01-31 Marek Polacek <polacek@redhat.com>
35791 * libio/libio.h: Don't define _PARAMS.
35792 * locale/programs/config.h: Don't define PARAMS.
35793 * stdlib/strtol_l.c: Likewise.
35794 (__strtol_l): Remove PARAMS from the prototype.
35796 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35798 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35799 names. Just use the correct names. Remove unnecessary wrapper
35801 * malloc/arena.c: Likewise.
35802 * malloc/hooks.c: Likewise.
35804 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35805 ARENA_TEST says not to. Simplify test for creation of a new arena.
35806 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35808 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35810 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35812 (update_get_addr): New function.
35813 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35814 GET_ADDR_MODULE parameter.
35816 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35818 * crypt/cert.c: Remove __STDC__ conditionals.
35819 * crypt/crypt-entry.c: Likewise.
35820 * crypt/crypt_util.c: Likewise.
35821 * libio/filedoalloc.c: Likewise.
35822 * libio/fileops.c: Likewise.
35823 * libio/genops.c: Likewise.
35824 * libio/iofclose.c: Likewise.
35825 * libio/iofdopen.c: Likewise.
35826 * libio/iofopen.c: Likewise.
35827 * libio/iofopen64.c: Likewise.
35828 * libio/iogetdelim.c: Likewise.
35829 * libio/iopopen.c: Likewise.
35830 * libio/obprintf.c: Likewise.
35831 * libio/oldfileops.c: Likewise.
35832 * libio/oldiofclose.c: Likewise.
35833 * libio/oldiofdopen.c: Likewise.
35834 * libio/oldiofopen.c: Likewise.
35835 * libio/oldiopopen.c: Likewise.
35836 * libio/wfiledoalloc.c: Likewise.
35837 * libio/wgenops.c: Likewise.
35838 * locale/programs/xmalloc.c: Likewise.
35839 * misc/syslog.c: Likewise.
35840 * stdio-common/xbug.c: Likewise.
35841 * string/memchr.c: Likewise.
35842 * string/memcmp.c: Likewise.
35843 * string/memrchr.c: Likewise.
35844 * string/rawmemchr.c: Likewise.
35845 * sysdeps/posix/getcwd.c: Likewise.
35846 * time/strftime_l.c: Likewise.
35848 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35850 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35851 * config.make.in (config-cflags-sse2avx): Define.
35852 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35855 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35857 * scripts/config.guess: Update from upstream config git repository.
35858 * scripts/config.sub: Likewise.
35860 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35862 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35864 (R_TILEPRO_*, R_TILEGX_*): New macros.
35866 * scripts/firstversions.awk: Fix bug in version range handling.
35868 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35870 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35872 * include/sys/epoll.h: New file.
35873 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35876 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35878 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35879 Avoid unnecessary __WORDSIZE == 64 test.
35880 (fmaxf): Use VEX format if possible.
35885 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35886 * math/math_private.h: Remove libc_fegetround* and
35888 * sysdeps/i386/configure.in: Check for -msse2avx.
35889 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35890 also if SSE2AVX is defined.
35891 Remove libc_fegetround* and libc_fesetround*.
35892 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35893 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35897 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35898 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35899 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35902 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35904 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35906 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35908 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35910 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35913 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35915 * Makeconfig (libm): Define.
35916 * elf/Makefile: Add rules to build and run tst-relsort1.
35917 * elf/tst-relsort1.c: New file.
35918 * elf/tst-relsort1mod1.c: New file.
35919 * elf/tst-relsort1mod2.c: New file.
35921 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35923 * math/s_ldexp.c: Remove __STDC__ conditionals.
35924 * math/s_ldexpf.c: Likewise.
35925 * math/s_ldexpl.c: Likewise.
35926 * math/s_nextafter.c: Likewise.
35927 * math/s_nexttowardf.c: Likewise.
35928 * math/s_significand.c: Likewise.
35929 * math/s_significandf.c: Likewise.
35930 * math/s_significandl.c: Likewise.
35931 * math/w_jnl.c: Likewise.
35932 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35933 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35934 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35935 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35936 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35938 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35941 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35942 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35944 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35945 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35946 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35947 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35948 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35949 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35953 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35954 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35955 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35956 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35957 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35958 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35959 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35960 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35961 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35962 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35963 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35964 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35965 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35966 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35967 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35968 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35969 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35970 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35971 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35972 * sysdeps/ieee754/k_standard.c: Likewise.
35973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35974 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35977 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35978 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35979 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35983 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35985 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35989 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35991 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35992 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35995 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35996 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35998 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35999 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36005 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36006 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36009 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36011 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36012 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36013 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36015 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36016 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36017 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36022 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36023 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36030 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36033 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36034 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36035 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36041 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36047 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36048 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36052 * sysdeps/ieee754/s_matherr.c: Likewise.
36053 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36054 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36055 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36058 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36060 * crypt/md5.h: Remove __STDC__ conditionals.
36061 * libio/libioP.h: Likewise.
36062 * locale/programs/config.h: Likewise.
36063 * sysdeps/generic/sysdep.h: Likewise.
36064 * sysdeps/i386/asm-syntax.h: Likewise.
36065 * sysdeps/s390/asm-syntax.h: Likewise.
36066 * sysdeps/unix/sysdep.h: Likewise.
36067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36070 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36072 * libio/libio.h: Remove __STDC__ conditionals.
36073 * malloc/obstack.h: Likewise.
36074 * math/complex.h: Likewise.
36075 * math/math.h: Likewise.
36076 * sysdeps/generic/_G_config.h: Likewise.
36077 * sysdeps/gnu/_G_config.h: Likewise.
36078 * sysdeps/mach/hurd/_G_config.h: Likewise.
36079 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36080 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36081 * sysdeps/sparc/bits/mathdef.h: Likewise.
36083 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36087 Clean up HAS_* macros.
36088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36089 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36091 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36093 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36094 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36096 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36097 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36099 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36101 * elf/tst-unique3.cc (gets): Remove declaration.
36102 * elf/tst-unique3lib.cc (gets): Likewise.
36103 * elf/tst-unique3lib2.cc (gets): Likewise.
36104 * elf/tst-unique4.cc (gets): Likewise.
36106 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36108 * include/stdio.h: Add C++ protection. Add gets declarations and
36110 * debug/tst-chk1.c: Don't declare gets here.
36111 * stdio-common/tst-gets.c: Likewise.
36113 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36115 * posix/glob: Remove directory.
36117 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36119 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36121 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36123 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36124 of the non-standard EPFNOSUPPORT.
36126 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36128 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36129 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36130 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36132 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36134 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36136 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36138 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36140 * nscd/grpcache.c (cache_addgr): Likewise.
36141 * nscd/hstcache.c (cache_addhst): Likewise.
36142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36143 * nscd/pwdcache.c (cache_addpw): Likewise.
36144 * nscd/servicescache.c (cache_addserv): Likewise.
36146 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36148 * malloc/malloc.c: Various cleanups.
36149 * malloc/hooks.c: Likewise.
36151 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36152 * stdlib/bug-fmtmsg1.c: New file.
36154 * stdlib/fmtmsg.c (init): Add missing unlock.
36155 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36157 2012-01-12 Marek Polacek <polacek@redhat.com>
36159 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36162 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36164 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36165 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36166 macro to ensure uniqueness of label name.
36167 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36168 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36170 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36172 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36174 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36175 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36176 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36177 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36179 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36181 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36183 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36184 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36185 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36187 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36189 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36190 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36191 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36194 * math/bits/math-finite.h: Add ldexp support.
36196 2012-01-10 Marek Polacek <polacek@redhat.com>
36198 * locale/programs/localedef.h (show_archive_content): Add noreturn
36201 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36203 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36205 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36207 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36209 * io/Makefile (headers): Add bits/poll2.h.
36211 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36214 typo #include statement.
36216 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36218 * include/sys/cdefs.h: Define __attribute_alloc_size.
36219 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36220 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36221 * elf/pldd.c: Likewise.
36222 * iconv/iconv_charmap.c: Likewise.
36223 * iconv/iconvconfig.c: Likewise.
36224 * iconv/strtab.c: Likewise.
36225 * locale/programs/locale.c: Likewise.
36226 * locale/programs/localedef.h: Likewise.
36227 * locale/programs/simple-hash.c: Likewise.
36228 * nscd/nscd.h: Likewise.
36229 * nss/makedb.c: Likewise.
36230 * sysdeps/generic/ldconfig.h: Likewise.
36231 * locale/programs/localedef.c: Remove xmalloc prototype.
36232 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36234 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36236 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36239 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36241 * math/Makefile (tests): Add tst-CMPLX.
36242 * math/tst-CMPLX.c: New file.
36244 * math/complex.h (CMPLXL): Fix typo.
36246 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36247 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36249 * debug/tst-chk1.c: Add poll and ppoll tests.
36250 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36251 * include/sys/poll.h: Add hidden proto for ppoll.
36252 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36253 * sysdeps/mach/hurd/ppoll.c: Likewise.
36254 * io/ppoll.c: Likewise.
36255 * debug/poll_chk.c: New file.
36256 * debug/ppoll_chk.c: New file.
36257 * include/bits/poll2.h: New file.
36258 * io/bits/poll2.h: New file.
36261 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36263 * configure.in: static is always set to yes. Remove.
36264 * config.make.in: Don't set build-static.
36265 * Makeconfig: Remove use of build-static.
36266 * dlfcn/Makefile: Likewise.
36267 * elf/Makefile: Likewise.
36268 * math/Makefile: Likewise.
36269 * misc/Makefile: Likewise.
36270 * nptl/Makefile: Likewise.
36271 * sysdeps/mach/hurd/Makefile: Likewise.
36273 * configure.in: PWD_P is not used anymore.
36274 * config.make.in: Remove PWD_P entry.
36276 * configure.in: Remove last remnants of RANLIB.
36277 No need to check for signed size_t anymore.
36278 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36280 Remove __builtin_expect test because we require at least gcc 3.4.
36281 * aclocal.m4: Likewise.
36283 * wcsmbs/mbrtoc16.c: Implement using towc function.
36284 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36285 * wcsmbs/wcsmbsload.c: Likewise.
36286 * iconv/gconv_simple.c: Likewise.
36287 * iconv/gconv_int.h: Likewise.
36288 * iconv/gconv_builtin.h: Likewise.
36289 * iconv/iconv_prog.c: Remove CHAR16 handling.
36291 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36293 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36295 * configure.in: Remove --with-elf and --enable-bounded options.
36296 Dont set base_machine for ia64. More non-ELF conditions removed.
36297 Remove testing and setting of leading underscore information.
36298 * config.make.in (build-bounded): Set to no.
36299 * config.h.in: Remove NO_UNDERSCORES entry.
36300 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36302 * csu/start.c: Remove !NO_UNDERSCORE code.
36303 * locale/localeinfo.h: Likewise.
36304 * sysdeps/generic/machine-gmon.h: Likewise.
36305 * sysdeps/generic/sysdep.h: Likewise.
36306 * sysdeps/i386/sysdep.h: Likewise.
36307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36308 * sysdeps/mach/sysdep.h: Likewise.
36309 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36311 * sysdeps/sh/sysdep.h: Likewise.
36312 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36313 * sysdeps/unix/i386/sysdep.S: Likewise.
36314 * sysdeps/unix/sparc/start.c: Likewise.
36315 * sysdeps/unix/sparc/sysdep.S: Likewise.
36316 * sysdeps/unix/sparc/sysdep.h: Likewise.
36317 * sysdeps/unix/start.c: Likewise.
36318 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36319 * sysdeps/x86_64/sysdep.h: Likewise.
36321 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36324 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36326 * argp/argp-fmtstream.h: Use const instead __const.
36327 * argp/argp.h: Likewise.
36328 * assert/assert.h: Likewise.
36329 * bits/fenv.h: Likewise.
36330 * bits/sched.h: Likewise.
36331 * bits/sigset.h: Likewise.
36332 * bits/sigthread.h: Likewise.
36333 * catgets/nl_types.h: Likewise.
36334 * conform/data/pthread.h-data: Likewise.
36335 * crypt/crypt-private.h: Likewise.
36336 * crypt/crypt.h: Likewise.
36337 * crypt/crypt_util.c: Likewise.
36338 * ctype/ctype.h: Likewise.
36339 * debug/execinfo.h: Likewise.
36340 * debug/mbsnrtowcs_chk.c: Likewise.
36341 * debug/mbsrtowcs_chk.c: Likewise.
36342 * debug/wcsnrtombs_chk.c: Likewise.
36343 * debug/wcsrtombs_chk.c: Likewise.
36344 * debug/wcstombs_chk.c: Likewise.
36345 * dirent/dirent.h: Likewise.
36346 * dlfcn/dlfcn.h: Likewise.
36347 * elf/neededtest4.c: Likewise.
36348 * grp/grp.h: Likewise.
36349 * gshadow/gshadow.h: Likewise.
36350 * iconv/gconv.h: Likewise.
36351 * iconv/gconv_int.h: Likewise.
36352 * iconv/gconv_simple.c: Likewise.
36353 * iconv/iconv.h: Likewise.
36354 * iconv/loop.c: Likewise.
36355 * iconv/skeleton.c: Likewise.
36356 * include/aio.h: Likewise.
36357 * include/aliases.h: Likewise.
36358 * include/argz.h: Likewise.
36359 * include/arpa/inet.h: Likewise.
36360 * include/assert.h: Likewise.
36361 * include/dirent.h: Likewise.
36362 * include/dlfcn.h: Likewise.
36363 * include/execinfo.h: Likewise.
36364 * include/fcntl.h: Likewise.
36365 * include/fenv.h: Likewise.
36366 * include/glob.h: Likewise.
36367 * include/grp.h: Likewise.
36368 * include/libintl.h: Likewise.
36369 * include/mntent.h: Likewise.
36370 * include/netdb.h: Likewise.
36371 * include/pwd.h: Likewise.
36372 * include/rpc/netdb.h: Likewise.
36373 * include/sched.h: Likewise.
36374 * include/search.h: Likewise.
36375 * include/shadow.h: Likewise.
36376 * include/signal.h: Likewise.
36377 * include/stdio.h: Likewise.
36378 * include/stdlib.h: Likewise.
36379 * include/string.h: Likewise.
36380 * include/sys/socket.h: Likewise.
36381 * include/sys/stat.h: Likewise.
36382 * include/sys/statfs.h: Likewise.
36383 * include/sys/statvfs.h: Likewise.
36384 * include/sys/syslog.h: Likewise.
36385 * include/sys/time.h: Likewise.
36386 * include/sys/uio.h: Likewise.
36387 * include/time.h: Likewise.
36388 * include/unistd.h: Likewise.
36389 * include/utmp.h: Likewise.
36390 * include/wchar.h: Likewise.
36391 * include/wctype.h: Likewise.
36392 * inet/aliases.h: Likewise.
36393 * inet/arpa/inet.h: Likewise.
36394 * inet/netinet/ether.h: Likewise.
36395 * inet/netinet/in.h: Likewise.
36396 * intl/libintl.h: Likewise.
36397 * io/bits/fcntl2.h: Likewise.
36398 * io/fcntl.h: Likewise.
36399 * io/ftw.h: Likewise.
36400 * io/sys/poll.h: Likewise.
36401 * io/sys/stat.h: Likewise.
36402 * io/sys/statfs.h: Likewise.
36403 * io/sys/statvfs.h: Likewise.
36404 * io/utime.h: Likewise.
36405 * libio/bits/stdio.h: Likewise.
36406 * libio/bits/stdio2.h: Likewise.
36407 * libio/libio.h: Likewise.
36408 * libio/libioP.h: Likewise.
36409 * libio/stdio.h: Likewise.
36410 * locale/lc-ctype.c: Likewise.
36411 * locale/locale.h: Likewise.
36412 * login/utmp.h: Likewise.
36413 * malloc/arena.c: Likewise.
36414 * malloc/malloc.c: Likewise.
36415 * malloc/malloc.h: Likewise.
36416 * malloc/mcheck.c: Likewise.
36417 * malloc/mtrace.c: Likewise.
36418 * math/bits/mathcalls.h: Likewise.
36419 * math/fenv.h: Likewise.
36420 * math/math_private.h: Likewise.
36421 * misc/bits/error.h: Likewise.
36422 * misc/bits/syslog.h: Likewise.
36423 * misc/err.h: Likewise.
36424 * misc/error.h: Likewise.
36425 * misc/fstab.h: Likewise.
36426 * misc/mntent.h: Likewise.
36427 * misc/regexp.h: Likewise.
36428 * misc/search.h: Likewise.
36429 * misc/sgtty.h: Likewise.
36430 * misc/sys/mman.h: Likewise.
36431 * misc/sys/syslog.h: Likewise.
36432 * misc/sys/uio.h: Likewise.
36433 * misc/sys/xattr.h: Likewise.
36434 * misc/ttyent.h: Likewise.
36435 * nis/rpcsvc/ypclnt.h: Likewise.
36436 * nss/nss.h: Likewise.
36437 * posix/bits/unistd.h: Likewise.
36438 * posix/fnmatch.h: Likewise.
36439 * posix/glob.h: Likewise.
36440 * posix/sched.h: Likewise.
36441 * posix/spawn.h: Likewise.
36442 * posix/sys/wait.h: Likewise.
36443 * posix/unistd.h: Likewise.
36444 * posix/wordexp.h: Likewise.
36445 * pwd/pwd.h: Likewise.
36446 * resolv/netdb.h: Likewise.
36447 * resource/sys/resource.h: Likewise.
36448 * rt/aio.h: Likewise.
36449 * rt/bits/mqueue2.h: Likewise.
36450 * rt/mqueue.h: Likewise.
36451 * shadow/shadow.h: Likewise.
36452 * signal/signal.h: Likewise.
36453 * socket/send.c: Likewise.
36454 * socket/sendto.c: Likewise.
36455 * socket/sys/socket.h: Likewise.
36456 * stdio-common/printf.h: Likewise.
36457 * stdlib/bits/stdlib.h: Likewise.
36458 * stdlib/fmtmsg.h: Likewise.
36459 * stdlib/monetary.h: Likewise.
36460 * stdlib/stdlib.h: Likewise.
36461 * stdlib/ucontext.h: Likewise.
36462 * streams/stropts.h: Likewise.
36463 * string/argz.h: Likewise.
36464 * string/bits/string2.h: Likewise.
36465 * string/string.h: Likewise.
36466 * string/strings.h: Likewise.
36467 * sunrpc/rpc/auth.h: Likewise.
36468 * sunrpc/rpc/auth_des.h: Likewise.
36469 * sunrpc/rpc/clnt.h: Likewise.
36470 * sunrpc/rpc/netdb.h: Likewise.
36471 * sunrpc/rpc/pmap_clnt.h: Likewise.
36472 * sunrpc/rpc/xdr.h: Likewise.
36473 * sysdeps/generic/inttypes.h: Likewise.
36474 * sysdeps/generic/net/if.h: Likewise.
36475 * sysdeps/generic/sys/swap.h: Likewise.
36476 * sysdeps/gnu/net/if.h: Likewise.
36477 * sysdeps/gnu/utmpx.h: Likewise.
36478 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36479 * sysdeps/i386/i486/bits/string.h: Likewise.
36480 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36481 * sysdeps/s390/bits/string.h: Likewise.
36482 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36483 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36484 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36485 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36486 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36487 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36488 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36489 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36490 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36491 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36492 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36493 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36494 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36495 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36496 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36497 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36498 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36500 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36501 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36502 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36503 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36504 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36505 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36506 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36507 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36508 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36510 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36511 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36512 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36513 * sysvipc/sys/ipc.h: Likewise.
36514 * sysvipc/sys/msg.h: Likewise.
36515 * sysvipc/sys/sem.h: Likewise.
36516 * sysvipc/sys/shm.h: Likewise.
36517 * termios/termios.h: Likewise.
36518 * time/sys/time.h: Likewise.
36519 * time/time.h: Likewise.
36520 * wcsmbs/bits/wchar2.h: Likewise.
36521 * wcsmbs/uchar.h: Likewise.
36522 * wcsmbs/wchar.h: Likewise.
36523 * wctype/wctype.h: Likewise.
36526 * Makeconfig: Remove all but ELF support including AIX support.
36527 * Makerules: Likewise.
36528 * config.h.in: Likewise.
36529 * config.make.in: Likewise.
36530 * configure: Likewise.
36531 * configure.in: Likewise.
36532 * csu/Makefile: Likewise.
36533 * csu/version.c: Likewise.
36534 * debug/Makefile: Likewise.
36535 * dlfcn/Makefile: Likewise.
36536 * elf/Makefile: Likewise.
36537 * extra-lib.mk: Likewise.
36538 * iconv/Makefile: Likewise.
36539 * include/libc-symbols.h: Likewise.
36540 * include/shlib-compat.h: Likewise.
36541 * resolv/Makefile: Likewise.
36542 * resolv/res_libc.c: Likewise.
36543 * rt/Makefile: Likewise.
36544 * sysdeps/i386/asm-syntax.h: Likewise.
36545 * sysdeps/i386/sysdep.h: Likewise.
36546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36547 * sysdeps/mach/sysdep.h: Likewise.
36548 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36549 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36550 * sysdeps/s390/asm-syntax.h: Likewise.
36551 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36553 * sysdeps/sh/sysdep.h: Likewise.
36554 * sysdeps/unix/sparc/sysdep.h: Likewise.
36555 * sysdeps/wordsize-32/divdi3.c: Likewise.
36556 * sysdeps/x86_64/sysdep.h: Likewise.
36558 * argp/Versions: Remove _argp_unlock_xxx.
36561 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36562 * abilist/libBrokenLocale.abilist: Likewise.
36563 * abilist/libanl.abilist: Likewise.
36564 * abilist/libc.abilist: Likewise.
36565 * abilist/libcrypt.abilist: Likewise.
36566 * abilist/libdl.abilist: Likewise.
36567 * abilist/libm.abilist: Likewise.
36568 * abilist/libnsl.abilist: Likewise.
36569 * abilist/libpthread.abilist: Likewise.
36570 * abilist/libresolv.abilist: Likewise.
36571 * abilist/librt.abilist: Likewise.
36572 * abilist/libthread_db.abilist: Likewise.
36573 * abilist/libutil.abilist: Likewise.
36574 * abilist/libnss_db.abilist: New file.
36576 * scripts/abilist.awk: Add support for indirect functions.
36578 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36580 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36582 * shlib-versions: Remove entries for ports architectures.
36584 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36586 * elf/stackguard-macros.h: Remove support for IA-64.
36587 * elf/tst-auditmod1.c: Likewise.
36588 * sysdeps/generic/ldsodefs.h: Likewise.
36590 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36591 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36595 * configure.in: Remove --enable-omitfp support.
36597 * config.make.in: Likewise.
36598 * Makeconfig: Likewise.
36599 * manual/install.texi: Likewise.
36601 In case anyone cares, the IA-64 architecture could move to ports.
36602 * sysdeps/ia64/*: Removed.
36603 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36604 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36607 * configure.in: Remove entries for unsupported architectures.
36610 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36611 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36613 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36614 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36615 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36616 fall back to using wcrtomb.
36617 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36618 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36620 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36621 * wcsmbs/tst-c16c32-1.c: New file.
36623 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36626 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36628 * elf/tst-unique3.cc: Add explicit declaration of gets.
36629 * elf/tst-unique3lib.cc: Likewise.
36630 * elf/tst-unique3lib2.cc: Likewise.
36631 * elf/tst-unique4.cc: Likewise.
36633 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36635 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36638 * assert/assert.h (static_assert): Don't define for C++.
36639 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36640 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36642 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36644 * iconv/loop.c (single loop): Fix assertion in storing of
36647 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36649 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36651 * posix/getconf.c: Update copyright year.
36652 * nss/getent.c: Likewise.
36653 * nss/makedb.c: Likewise.
36654 * iconv/iconvconfig.c: Likewise.
36655 * iconv/iconv_prog.c: Likewise.
36656 * elf/ldconfig.c: Likewise.
36657 * elf/pldd.c: Likewise.
36658 * elf/sotruss.ksh: Likewise.
36659 * catgets/gencat.c: Likewise.
36660 * csu/version.c: Likewise.
36661 * elf/ldd.bash.in: Likewise.
36662 * elf/sprof.c (print_version): Likewise.
36663 * locale/programs/locale.c: Likewise.
36664 * locale/programs/localedef.c: Likewise.
36665 * login/programs/pt_chown.c: Likewise.
36666 * nscd/nscd.c (print_version): Likewise.
36667 * debug/xtrace.sh: Likewise.
36668 * malloc/memusage.sh: Likewise.
36669 * malloc/mtrace.pl: Likewise.
36670 * debug/catchsegv.sh: Likewise.
36672 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36674 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36677 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36680 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36681 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36683 * iconv/gconv_int.h: Likewise.
36684 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36685 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36686 from libc for GLIBC_2.16.
36687 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36688 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36689 * wcsmbs/uchar.h: Really define mbstate_t.
36690 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36691 * wcsmbs/c16rtomb.c: New file.
36692 * wcsmbs/mbrtoc16.c: New file.
36693 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36694 for C/POSIX locale.
36695 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36696 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36698 * wcsmbs/wchar.h: Add missing __restrict.
36700 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36703 * time/Makefile (routines): Add timespec_get.
36704 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36705 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36706 timespec for ISO C11.
36707 * time/timespec_get.c: New file.
36708 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36709 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36712 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36713 * stdlib/stdlib.h: Declare aligned_alloc.
36714 * Versions.def: Add GLIBC_2.16 for libc.
36715 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36718 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36721 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36725 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36728 * assert/assert.h (static_assert): Define.
36730 * version.h: Update for 2.16 development version.
36733 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36736 * version.h (RELEASE): Bump for 2.15 release.
36737 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36739 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36740 Patch by Marek Polacek <mpolacek@redhat.com>.
36742 * bits/byteswap.h: Protect long long constants with __extension__.
36743 * sysdeps/i386/bits/byteswap.h: Likewise.
36744 * sysdeps/ia64/bits/byteswap.h: Likewise.
36745 * sysdeps/s390/bits/byteswap.h: Likewise.
36746 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36748 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36752 destination buffer.
36753 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36755 2011-12-23 Marek Polacek <polacek@redhat.com>
36757 * elf/dl-addr.c (determine_info): Add inline keyword.
36758 * elf/tst-auditmod4b.c (check_avx): Likewise.
36759 * elf/tst-auditmod6b.c (check_avx): Likewise.
36760 * elf/tst-auditmod6c.c (check_avx): Likewise.
36761 * elf/tst-auditmod7b.c (check_avx): Likewise.
36763 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36765 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36768 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36771 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36772 processing for last bytes.
36774 2011-08-06 Bruno Haible <bruno@clisp.org>
36777 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36778 U+0385, not to U+1FEE.
36781 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36782 entry for U+00A5 U+0301.
36784 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36787 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36788 buffer for the output is too small.
36790 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36794 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36795 SSE flags if possible.
36797 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36801 processing for last bytes.
36803 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36805 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36806 (syscall-list-default-options, syscall-list-default-condition)
36807 (syscall-list-includes): Define.
36808 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36809 list of ABIs and options and #if conditions for each ABI. Do not
36810 handle common syscalls between ABIs specially.
36811 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36813 (syscall-list-variants, syscall-list-32bit-options)
36814 (syscall-list-32bit-condition, syscall-list-64bit-options)
36815 (syscall-list-64bit-condition): Define.
36816 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36817 (syscall-list-variants, syscall-list-32bit-options)
36818 (syscall-list-32bit-condition, syscall-list-64bit-options)
36819 (syscall-list-64bit-condition): Define.
36820 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36822 (syscall-list-variants, syscall-list-32bit-options)
36823 (syscall-list-32bit-condition, syscall-list-64bit-options)
36824 (syscall-list-64bit-condition): Define.
36825 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36827 (syscall-list-variants, syscall-list-32bit-options)
36828 (syscall-list-32bit-condition, syscall-list-64bit-options)
36829 (syscall-list-64bit-condition): Define.
36831 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36833 * locale/iso-639.def: Add brx entry.
36836 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36837 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36839 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36840 __feraiseexcept_renamed.
36842 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36845 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36846 EPOLLET with unsigned values.
36847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36850 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36851 to large cancellation.
36852 * math/s_cacoshf.c: Likewise.
36853 * math/s_cacoshl.c: Likewise.
36855 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36859 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36860 * math/s_cacoshf.c: Likewise.
36861 * math/s_cacoshl.c: Likewise.
36863 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36866 * iconv/gconv.h: Define __GCONV_SWAP.
36867 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36868 * iconvdata/utf-16.c: Likewise.
36869 * iconvdata/utf-32.c: Likewise.
36871 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36875 numerator after shifting it by one limb.
36877 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36879 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36880 under [__USE_EXTERN_INLINES].
36882 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36885 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36887 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36889 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36890 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36892 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36893 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36894 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36895 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36896 for strncasecmp/strncasecmp_l compilation.
36897 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36898 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36900 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36903 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36906 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36909 * time/tzfile.c (__tzfile_read): Check values from file header.
36911 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36913 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36914 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36915 * powerpc/powerpc32/dl-start.S: Likewise.
36916 * powerpc/powerpc32/elf/start.S: Likewise.
36917 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36918 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36919 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36920 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36921 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36922 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36923 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36924 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36925 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36926 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36927 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36928 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36929 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36930 * powerpc/powerpc32/memset.S: Likewise.
36931 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36932 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36933 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36934 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36935 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36936 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36937 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36938 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36939 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36940 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36941 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36945 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36947 * math/libm-test.inc: Added more nearbyint tests.
36948 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36950 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36953 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36955 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36958 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36960 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36961 Add wcscpy-ssse3 wcscpy-c.
36962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36963 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36964 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36965 * sysdeps/x86_64/wcschr.S: New file.
36966 * sysdeps/x86_64/wcsrchr.S: New file.
36967 * string/test-strcmp.c: Remove checking of wcscmp function for
36969 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36970 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36971 wcsrchr-sse2 wcsrchr-c.
36972 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36973 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36974 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36975 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36976 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36977 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36978 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36979 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36981 * wcsmbc/wcschr.c (WCSCHR): New macro.
36983 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36985 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36986 * wcsmbs/test-wcsrchr.c: New file.
36987 * string/test-strrchr.c: Add wcsrchr support.
36989 * wcsmbs/test-wcscpy.c: New file.
36990 * string/test-strcpy.c: Add wcscpy support.
36993 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36995 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36998 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37001 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37003 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37006 Minor optimizations.
37008 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37009 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37010 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37012 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37014 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37015 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37016 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37017 for gcc to avoid warnings.
37018 * inet/Makefile (tests): Add tst-checks.
37019 * inet/tst-checks.c: New file.
37021 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37024 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37027 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37028 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37030 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37032 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37034 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37037 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37039 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37041 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37042 conditional on GCC version.
37043 (__arch_compare_and_exchange_val_8_acq)
37044 (__arch_compare_and_exchange_val_16_acq)
37045 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37046 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37047 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37049 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37051 * sysdeps/sh/backtrace.c: New file.
37053 2011-12-02 Andreas Schwab <schwab@redhat.com>
37055 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37058 2011-12-01 Andreas Schwab <schwab@redhat.com>
37060 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37061 falling back to utime.
37063 2011-11-30 Andreas Schwab <schwab@redhat.com>
37065 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37066 expectations for float.
37068 2011-11-29 Andreas Schwab <schwab@redhat.com>
37070 * locale/weight.h (findidx): Add parameter len.
37071 * locale/weightwc.h (findidx): Likewise.
37072 * posix/fnmatch_loop.c (FCT): Adjust caller.
37073 * posix/regcomp.c (build_equiv_class): Likewise.
37074 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37075 * posix/regexec.c (check_node_accept_bytes): Likewise.
37076 * string/strcoll_l.c (STRCOLL): Likewise.
37077 * string/strxfrm_l.c (STRXFRM): Likewise.
37079 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37081 * Makefile.in: Remove CVSOPT handling.
37082 * configure.in: Remove use of AC_REVISION.
37083 * iconvdata/Makefile (distribute): No need to filter out CVS.
37084 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37087 2011-11-16 Andreas Schwab <schwab@redhat.com>
37089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37090 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37091 [USE_AS_STRNCASECMP_L]: Likewise.
37092 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37093 NO_TLS_DIRECT_SEG_REFS.
37094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37095 Fix argument offsets for non-PIC.
37096 [USE_AS_STRNCASECMP_L]: Likewise.
37097 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37098 NO_TLS_DIRECT_SEG_REFS.
37100 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37102 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37104 * locale/loadlocale.c (_nl_load_locale): Likewise.
37106 2011-11-15 Andreas Schwab <schwab@redhat.com>
37108 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37109 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37111 (SYSCALL_GETTIME): Set errno on error.
37113 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37114 count references to noai6ai_cached.
37116 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37118 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37120 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37121 FD_CLOEXEC for /proc/self/maps.
37123 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37124 FD_CLOEXEC for /proc/meminfo.
37126 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37129 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37130 FD_CLOEXEC for given file.
37132 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37134 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37135 FD_CLOEXEC for /etc/hosts.
37136 (_gethtent): Likewise.
37138 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37140 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37141 cancellation and set FD_CLOEXEC for /etc/netgroup.
37143 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37144 reading /etc/publickey.
37146 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37147 allow cancellation when reading /etc/group.
37149 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37151 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37153 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37154 when using data file.
37156 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37158 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37159 (write_nis_obj): Use "c" and "e" in fopen.
37161 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37163 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37165 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37167 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37169 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37172 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37174 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37176 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37178 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37179 file parsing and set FD_CLOEXEC.
37181 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37183 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37185 2011-11-14 Andreas Schwab <schwab@redhat.com>
37187 * malloc/arena.c (arena_get2): Don't call reused_arena when
37188 _int_new_arena failed.
37190 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37192 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37193 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37194 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37195 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37196 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37197 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37198 to compile strcasecmp and strncasecmp.
37199 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37200 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37204 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37206 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37207 locale-defines.sym to gen-as-const-headers.
37208 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37209 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37211 to compile strcasecmp and strncasecmp.
37212 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37213 strcasecmp_l and strncasecmp_l.
37214 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37215 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37216 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37217 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37218 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37219 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37220 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37221 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37222 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37223 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37224 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37226 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37228 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37229 result of SYSDEP_GETTIME_CPU to retval.
37230 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37231 parameter list to macro. Remove trailing semicolon. Adjust users.
37233 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37236 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37238 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37240 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37241 from unused variable.
37243 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37245 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37248 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37251 * sunrpc/rpc_prot.c (rejected): Fix case value.
37253 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37254 unsigned long long int to avoid warnings in shift.
37256 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37258 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37261 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37262 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37263 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37265 * nis/nis_table.c (nis_list): Use variable of correct type for
37266 result of __follow_path call.
37268 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37270 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37271 of math functions ceil, trunc, floor, round, and sqrt, when
37272 avaliable on the platform.
37273 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37275 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37276 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37277 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37279 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37281 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37282 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37284 2011-11-11 Roland McGrath <roland@hack.frob.com>
37286 * include/unistd.h: Fix __readlink return type.
37287 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37289 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37291 * stdlib/ucontext.h: Undo last change for makecontext.
37293 2011-11-11 Andreas Schwab <schwab@redhat.com>
37295 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37297 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37298 * setjmp/setjmp.h: Mark functions as non-leaf.
37299 * setjmp/bits/setjmp2.h: Likewise.
37300 * stdlib/ucontext.h: Likewise.
37302 2011-11-10 Andreas Schwab <schwab@redhat.com>
37304 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37305 (reused_arena): Don't check arena limit.
37306 (arena_get2): Atomically check arena limit.
37308 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37310 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37311 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37316 2011-11-07 Andreas Schwab <schwab@redhat.com>
37318 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37319 handler when locking.
37321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37322 Fix size of allocated buffer.
37324 2011-11-04 Andreas Schwab <schwab@redhat.com>
37327 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37328 declarations for long double functions.
37329 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37331 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37333 2011-11-03 Andreas Schwab <schwab@redhat.com>
37335 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37338 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37341 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37343 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37345 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37347 * include/alloca.h (stackinfo_alloca_round): Define.
37348 (extend_alloca): Use it.
37349 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37350 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37353 * scripts/check-local-headers.sh: Ignore libaudit.h.
37355 * nscd/Makefile (extra-objs): Make recursively expanded.
37357 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37359 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37362 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37363 * posix/tst-rfc3484-2.c: Likewise.
37364 * posix/tst-rfc3484-3.c: Likewise.
37366 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37368 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37370 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37371 process_vm_writev from libc using GLIBC_2.15 version.
37373 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37375 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37377 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37380 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37383 * nss/getent.c (initgroups_keys): Show error message in case no group
37386 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37387 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37388 __bump_nl_timestamp.
37389 * nscd/connections (nscd_init): When host database is served open
37390 netlink socket and request notification about configuration changes.
37391 (main_loop_poll): Track netlink file descriptor and bump timestamp
37392 in case data becomes available.
37393 (main_loop_epoll): Likewise.
37394 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37395 (database_pers_head): Add extra_data fileds.
37396 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37398 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37401 in6ai data, call __free_in6ai.
37402 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37403 Add -DHAVE_NETLINK.
37404 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37405 interface information. Reuse previous data if netlink timestamp
37407 (__bump_nl_timestamp): New function.
37408 (__free_in6ai): New function.
37410 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37412 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37413 close_not_cancel_no_status here.
37414 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37416 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37419 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37422 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37423 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37424 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37426 2011-07-03 Andreas Jaeger <aj@suse.de>
37429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37430 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37431 * math/libm-test.inc (sin_test): Add test case.
37433 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37436 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37437 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37439 * elf/chroot_canon.c (chroot_canon): Cleanups.
37441 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37444 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37445 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37447 * string/test-strchr.c: Make usable for strchrnul testing.
37448 * string/test-strchrnul.c: New file.
37449 * string/Makefile (strop-tests): Add strchrnul.
37451 * po/it.po: Update from translation team.
37452 * po/es.po: Likewise.
37454 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37457 the three constants needed as parameters. Drop the others.
37458 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37459 __m128i_strloadu_tolower.
37460 Create and initialize variable zero and use it in all the places
37461 where _mm_setzero_si128 was used.
37463 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37464 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37465 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37468 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37469 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37470 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37471 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37472 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37473 __mpranred, __mptan.
37474 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37475 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37476 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37477 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37478 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37479 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37482 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37484 2011-10-28 Andreas Schwab <schwab@redhat.com>
37486 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37487 redefine if SHARED.
37488 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37491 wide char related routines to wcsmbs subdir.
37493 2011-10-27 Andreas Schwab <schwab@redhat.com>
37496 * misc/sys/cdefs.h (__THROWNL): Define.
37497 * posix/unistd.h: Use __THREADNL instead of __THREAD
37498 for memory synchronization functions.
37500 2011-10-26 Roland McGrath <roland@hack.frob.com>
37503 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37505 * manual/stdio.texi (Obstack Streams): Node removed.
37507 2011-10-26 Andreas Schwab <schwab@redhat.com>
37509 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37511 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37513 * math/math_private.h (math_force_eval): Allow non-addressable
37515 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37517 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37519 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37520 file is not needed.
37522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37529 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37531 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37532 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37533 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37534 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37535 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37536 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37537 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37538 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37541 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37542 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37543 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37544 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37545 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37546 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37547 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37548 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37549 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37551 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37552 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37555 place. Use VEX encoding when compiling for AVX.
37557 2011-10-25 Andreas Schwab <schwab@redhat.com>
37559 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37560 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37562 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37564 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37566 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37567 useless if() expression.
37568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37579 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37580 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37581 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37582 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37583 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37585 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37586 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37588 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37590 2011-10-25 Andreas Schwab <schwab@redhat.com>
37592 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37594 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37596 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37598 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37599 .text section. Avoid duplicate constants.
37600 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37610 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37612 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37615 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37617 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37627 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37629 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37630 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37631 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37632 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37633 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37634 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37635 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37636 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37638 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37639 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37640 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37642 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37643 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37644 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37646 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37648 * sysdeps/x86_64/dla.h: Move to ...
37649 * sysdeps/x86_64/fpu/dla.h: ...here.
37650 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37651 situations. Use __builtin_fma only for gcc 4.6 and up.
37653 * config.make.in: Add have-mfma4 entry.
37654 * configure.in: Substitute libc_cv_cc_fma4.
37655 * math/Makefile (dbl-only-routines): Add sincostab.
37656 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37657 Use __sincostab not sincos.
37658 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37665 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37666 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37667 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37668 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37670 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37671 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37673 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37674 define aliases when function name is a macro.
37675 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37676 sysdeps/ieee754/dbl-64/sincos.tbl.
37677 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37678 fma4-enabled routines.
37679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37680 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37683 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37684 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37685 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37686 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37687 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37688 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37689 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37690 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37691 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37702 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37704 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37708 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37710 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37721 2011-10-24 Andreas Schwab <schwab@redhat.com>
37723 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37725 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37729 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37731 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37733 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37734 Remove unused variable magic_bits.
37735 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37737 * string/strnlen.c: Define and use STRNLEN macro.
37738 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37739 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37741 * wcsmbs/wcslen.c: Define and use WCSLEN.
37742 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37743 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37744 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37745 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37746 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37747 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37748 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37750 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37753 strnlen-sse2-no-bsf.
37754 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37756 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37757 Add strnlen support.
37758 (USE_AS_STRNLEN): New macro.
37759 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37760 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37761 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37762 * sysdeps/x86_64/wcslen.S: New file.
37764 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37767 XMM-moves are used for copying on small sizes.
37769 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37771 * wcsmbs/Makefile (strop-tests): Add wcschr.
37772 * wcsmbs/test-wcschr.c: New file.
37773 * string/test-strchr.c: Update.
37774 Add wcschr support.
37777 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37779 * wcsmbs/Makefile (strop-tests): Add wcslen.
37780 * wcsmbs/test-wcslen.c: New file.
37781 * string/test-strlen.c: Update.
37782 Add wcslen support.
37785 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37787 * po/it.po: Update from translation team.
37789 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37791 * sysdeps/x86_64/wcscmp.S: Update.
37792 Fix wrong comparison semantics.
37793 wcscmp shall use signed comparison not unsigned.
37794 Don't use substraction to avoid overflow bug.
37795 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37796 * wcsmbc/wcscmp.c: Likewise.
37797 * string/test-strcmp.c: Likewise.
37798 Add new tests to check cases with negative values.
37800 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37802 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37803 * sysdeps/x86_64/dla.h: ...here. New file.
37804 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37809 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37814 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37817 __ynl_finite aliases.
37819 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37823 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37825 [DLA_FMA] (EMULV): Use DLA_FMA.
37826 [DLA_FMA] (MUL12): Use EMULV.
37827 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37828 that are not needed.
37829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37833 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37835 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37837 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37839 * math/s_nan.c: Undef __nan.
37840 * math/s_nanf.c: Undef __nanf.
37841 * math/s_nanl.c: Undef __nanl.
37842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37845 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37847 * math/s_catan.c: Add branch predictions.
37848 * math/s_catanf.c: Likewise.
37849 * math/s_catanh.c: Likewise.
37850 * math/s_catanhf.c: Likewise.
37851 * math/s_catanhl.c: Likewise.
37852 * math/s_catanl.c: Likewise.
37853 * math/s_cexp.c: Likewise.
37854 * math/s_cexpf.c: Likewise.
37855 * math/s_cexpl.c: Likewise.
37856 * math/s_clog.c: Likewise.
37857 * math/s_clog10.c: Likewise.
37858 * math/s_clog10f.c: Likewise.
37859 * math/s_clog10l.c: Likewise.
37860 * math/s_clogf.c: Likewise.
37861 * math/s_clogl.c: Likewise.
37862 * math/s_csqrt.c: Likewise.
37863 * math/s_csqrtf.c: Likewise.
37864 * math/s_csqrtl.c: Likewise.
37865 * math/s_ctanf.c: Likewise.
37866 * math/s_ctanh.c: Likewise.
37867 * math/s_ctanhf.c: Likewise.
37868 * math/s_ctanhl.c: Likewise.
37869 * math/s_ctanl.c: Likewise.
37871 * math/math_private.h: Define __nan, __nanf, __nanl.
37872 * math/s_cacosh.c: Include <math_private.h>.
37873 * math/s_cacoshl.c: Likewise.
37874 * math/s_casinh.c: Likewise.
37875 * math/s_casinhf.c: Likewise.
37876 * math/s_casinhl.c: Likewise.
37877 * math/s_ccos.c: Rely entire on ccosh.
37878 * math/s_ccosf.c: Rely entire on ccoshf.
37879 * math/s_ccosl.c: Rely entirely on ccoshl.
37880 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37881 Remove tests for FE_INVALID.
37882 * math/s_ccoshf.c: Likewise.
37883 * math/s_ccoshl.c: Likewise.
37884 * math/s_csin.c: Likewise.
37885 * math/s_csinf.c: Likewise.
37886 * math/s_csinh.c Likewise.
37887 * math/s_csinhf.c: Likewise.
37888 * math/s_csinhl.c: Likewise.
37889 * math/s_csinl.c: Likewise.
37890 * math/s_ctan.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37892 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37893 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37895 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37898 compilation problems.
37900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37903 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37905 * sysdeps/i386/configure.in: Test for -mfma4 option.
37906 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37907 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37908 COMMON_CPUID_INDEX_80000001.
37909 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37910 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37911 use it if FMA3 is not supported.
37912 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37914 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37915 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37917 2011-10-20 Andreas Schwab <schwab@redhat.com>
37920 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37921 it would create a cycle with a link time dependency.
37923 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37925 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37927 * string/Makefile (strop-tests): Add rawmemchr.
37928 * string/test-rawmemchr.c: New file.
37930 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37932 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37933 when compiling str{,n}casecmp and when AVX is available. Hook up
37934 new optimized code in initializers.
37936 2011-10-19 Andreas Schwab <schwab@redhat.com>
37938 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37939 __feraiseexcept instead of feraiseexcept.
37941 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37943 * math/math_private.h: Define defaults for libc_fetestexcept and
37945 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37946 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37947 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37948 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37949 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37950 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37951 libc_fetestexcept and libc_feupdateenv.
37953 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37954 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37955 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37956 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37957 libc_feholdexcept_setround.
37959 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37960 Add s_nearbyint-c and s_nearbyintf-c.
37961 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37962 nearbyintf inlines.
37963 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37964 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37965 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37966 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37968 * math/math_private.h: Define defaults for libc_fegetround,
37969 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37970 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37971 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37972 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37973 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37974 standard functions.
37975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37976 Remove comments and hacks for old compiler versions.
37977 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37978 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37979 libc_feholdexceptl.
37981 2011-10-18 Andreas Schwab <schwab@redhat.com>
37983 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37984 (__feraiseexcept_renamed): Add __NTH.
37985 (feraiseexcept): Add __NTH. Rename local variables to fix
37986 namespace violations.
37988 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37990 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37992 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37994 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37995 recently added interfaces.
37996 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37998 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37999 about macro parameter expansion.
38001 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38002 __NO_MATH_INLINES is defined. Cleanups.
38004 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38005 and __floorf is target has SSE4.1.
38006 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38007 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38008 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38009 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38011 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38013 (floorf): Likewise.
38015 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38017 2011-10-17 Andreas Schwab <schwab@redhat.com>
38019 * misc/sys/cdefs.h: Fix last change.
38021 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38024 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38026 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38028 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38033 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38034 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38035 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38036 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38037 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38038 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38039 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38040 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38041 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38042 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38043 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38044 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38045 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38046 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38047 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38048 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38049 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38051 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38052 ceil, ceilf, floor, floorf.
38054 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38055 Perform IRELATIVE relocations last.
38057 * elf/do-rel.h: Add another parameter nrelative, replacing the
38058 local variable with the same name. Change name of the function
38059 to end in Rel or Rela (uppercase).
38060 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38061 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38062 elf_dynamic_do_##reloc function.
38064 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38066 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38067 is sufficient, at least on modern CPUs.
38069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38071 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38074 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38076 * math/bits/math-finite.h: Add entries for exp.
38077 * math/e_expl.c: Add __*_finite alias.
38078 * sysdeps/i386/fpu/e_exp.S: Likewise.
38079 * sysdeps/i386/fpu/e_expf.S: Likewise.
38080 * sysdeps/i386/fpu/e_expl.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38082 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38086 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38087 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38089 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38090 is sufficient, at least on modern CPUs.
38092 * ctype/ctype-info.c (__ctype_init): Define.
38093 * include/ctype.h (__ctype_init): Declare.
38094 (__ctype_b_loc): The variable is always initialized.
38095 (__ctype_toupper_loc): Likewise.
38096 (__ctype_tolower_loc): Likewise.
38097 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38098 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38100 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38102 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38104 * configure.in: Also look in $cxxmachine/include for C++ system
38107 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38109 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38110 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38111 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38112 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38114 (USE_AS_WMEMCMP): New macro.
38116 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38117 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38118 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38119 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38121 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38122 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38123 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38124 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38125 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38126 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38127 (USE_AS_WMEMCMP): New macro.
38128 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38129 * sysdeps/string/test-memcmp.c: Update.
38130 Fix simple_wmemcmp.
38132 * wcsmbs/wmemcmp.c: Update.
38133 (WMEMCMP): New macro.
38136 2011-10-12 Andreas Jaeger <aj@suse.de>
38139 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38141 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38143 * libio/iofwide.c (do_length): Avoid warning.
38145 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38147 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38149 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38151 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38152 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38153 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38154 * sysdeps/i386/i686/fpu/e_log.S: New file.
38155 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38156 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38158 * ctype/ctype.h: Add support for inlined isXXX functions when
38159 compiling C++ code.
38161 2011-10-14 Andreas Schwab <schwab@redhat.com>
38163 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38165 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38167 2011-10-13 Roland McGrath <roland@hack.frob.com>
38170 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38172 2011-10-13 Andreas Schwab <schwab@redhat.com>
38174 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38175 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38178 * sysdeps/x86_64/memrchr.S: Check for zero size.
38180 * string/stratcliff.c: Add memrchr tests.
38182 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38185 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38186 rawmemchr-sse2 rawmemchr-sse2-bsf.
38187 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38188 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38189 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38190 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38191 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38192 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38193 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38194 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38195 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38196 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38197 * string/memrchr.c (MEMRCHR): New macro.
38199 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38201 Add integration with gcc's -ffinite-math-only and optimize wrapper
38203 * Versions.def: Define GLIBC_2.15 version for libm.
38204 * math/Makefile (headers): Add bits/math-finite.h.
38205 * math/bits/math-finite.h: New file.
38206 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38207 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38208 * math/e_acoshl.c: Add __*_finite alias.
38209 * math/e_acosl.c: Likewise.
38210 * math/e_asinl.c: Likewise.
38211 * math/e_atan2l.c: Likewise.
38212 * math/e_atanhl.c: Likewise.
38213 * math/e_coshl.c: Likewise.
38214 * math/e_exp10.c: Likewise.
38215 * math/e_exp10f.c: Likewise.
38216 * math/e_exp10l.c: Likewise.
38217 * math/e_exp2l.c: Likewise.
38218 * math/e_fmodl.c: Likewise.
38219 * math/e_gammal_r.c: Likewise.
38220 * math/e_hypotl.c: Likewise.
38221 * math/e_j0l.c: Likewise.
38222 * math/e_j1l.c: Likewise.
38223 * math/e_jnl.c: Likewise.
38224 * math/e_lgammal_r.c: Likewise.
38225 * math/e_log10l.c: Likewise.
38226 * math/e_log2l.c: Likewise.
38227 * math/e_logl.c: Likewise.
38228 * math/e_powl.c: Likewise.
38229 * math/e_sinhl.c: Likewise.
38230 * math/e_sqrtl.c: Likewise.
38231 * math/e_scalb.c: Completely rewritten and optimized.
38232 * math/e_scalbf.c: Likewise.
38233 * math/e_scalbl.c: Likewise.
38234 * math/w_acos.c: Likewise.
38235 * math/w_acosf.c: Likewise.
38236 * math/w_acosl.c: Likewise.
38237 * math/w_acosh.c: Likewise.
38238 * math/w_acoshf.c: Likewise.
38239 * math/w_acoshl.c: Likewise.
38240 * math/w_asin.c: Likewise.
38241 * math/w_asinf.c: Likewise.
38242 * math/w_asinl.c: Likewise.
38243 * math/w_atan2.c: Likewise.
38244 * math/w_atan2f.c: Likewise.
38245 * math/w_atan2l.c: Likewise.
38246 * math/w_atanh.c: Likewise.
38247 * math/w_atanhf.c: Likewise.
38248 * math/w_atanhl.c: Likewise.
38249 * math/w_exp10.c: Likewise.
38250 * math/w_exp10f.c: Likewise.
38251 * math/w_exp10l.c: Likewise.
38252 * math/w_fmod.c: Likewise.
38253 * math/w_fmodf.c: Likewise.
38254 * math/w_fmodl.c: Likewise.
38255 * math/w_j0.c: Likewise.
38256 * math/w_j0f.c: Likewise.
38257 * math/w_j0l.c: Likewise.
38258 * math/w_j1.c: Likewise.
38259 * math/w_j1f.c: Likewise.
38260 * math/w_j1l.c: Likewise.
38261 * math/w_jn.c: Likewise.
38262 * math/w_jnf.c: Likewise.
38263 * math/w_log.c: Likewise.
38264 * math/w_logf.c: Likewise.
38265 * math/w_logl.c: Likewise.
38266 * math/w_log10.c: Likewise.
38267 * math/w_log10f.c: Likewise.
38268 * math/w_log10l.c: Likewise.
38269 * math/w_log2.c: Likewise.
38270 * math/w_log2f.c: Likewise.
38271 * math/w_log2l.c: Likewise.
38272 * math/w_pow.c: Likewise.
38273 * math/w_powf.c: Likewise.
38274 * math/w_powl.c: Likewise.
38275 * math/w_remainder.c: Likewise.
38276 * math/w_remainderf.c: Likewise.
38277 * math/w_remainderl.c: Likewise.
38278 * math/w_scalb.c: Likewise.
38279 * math/w_scalbf.c: Likewise.
38280 * math/w_scalbl.c: Likewise.
38281 * math/w_sqrt.c: Likewise.
38282 * math/w_sqrtf.c: Likewise.
38283 * math/w_sqrtl.c: Likewise.
38284 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38285 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38287 * math/math_private.h: Declare __kernel_standard_f.
38288 * math/w_cosh.c: Remove cruft and optimize a bit.
38289 * math/w_coshf.c: Likewise.
38290 * math/w_coshl.c: Likewise.
38291 * math/w_exp2.c: Likewise.
38292 * math/w_exp2f.c: Likewise.
38293 * math/w_exp2l.c: Likewise.
38294 * math/w_hypot.c: Likewise.
38295 * math/w_hypotf.c: Likewise.
38296 * math/w_hypotl.c: Likewise.
38297 * math/w_lgamma.c: Likewise.
38298 * math/w_lgamma_r.c: Likewise.
38299 * math/w_lgammaf.c: Likewise.
38300 * math/w_lgammaf_r.c: Likewise.
38301 * math/w_lgammal.c: Likewise.
38302 * math/w_lgammal_r.c: Likewise.
38303 * math/w_sinh.c: Likewise.
38304 * math/w_sinhf.c: Likewise.
38305 * math/w_sinhl.c: Likewise.
38306 * math/w_tgamma.c: Likewise.
38307 * math/w_tgammaf.c: Likewise.
38308 * math/w_tgammal.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38311 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38312 Minor optimizations. Pretty printing. Remove cruft.
38313 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38314 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38317 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38318 * sysdeps/i386/fpu/e_asin.S: Likewise.
38319 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38320 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38321 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38322 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38323 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38324 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38325 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38326 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38327 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38328 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38329 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38330 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38331 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38332 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38333 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38334 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38335 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38336 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38337 * sysdeps/i386/fpu/e_log.S: Likewise.
38338 * sysdeps/i386/fpu/e_log10.S: Likewise.
38339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38340 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38341 * sysdeps/i386/fpu/e_log2.S: Likewise.
38342 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38343 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38344 * sysdeps/i386/fpu/e_logf.S: Likewise.
38345 * sysdeps/i386/fpu/e_logl.S: Likewise.
38346 * sysdeps/i386/fpu/e_pow.S: Likewise.
38347 * sysdeps/i386/fpu/e_powf.S: Likewise.
38348 * sysdeps/i386/fpu/e_powl.S: Likewise.
38349 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38350 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38351 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38352 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38353 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38354 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38355 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38356 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38357 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38358 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38359 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38361 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38362 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38363 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38364 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38365 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38369 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38371 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38372 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38374 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38375 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38378 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38379 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38380 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38381 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38382 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38383 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38384 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38385 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38386 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38387 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38389 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38391 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38392 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38393 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38394 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38395 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38396 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38397 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38398 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38399 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38400 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38401 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38402 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38403 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38404 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38405 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38406 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38407 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38408 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38409 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38410 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38411 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38412 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38413 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38414 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38415 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38416 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38417 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38418 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38419 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38422 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38423 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38424 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38425 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38426 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38427 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38428 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38429 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38430 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38432 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38436 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38437 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38438 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38439 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38440 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38441 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38443 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38444 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38445 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38446 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38447 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38448 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38449 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38451 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38452 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38453 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38454 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38455 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38456 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38457 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38458 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38459 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38460 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38461 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38462 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38463 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38466 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38468 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38469 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38470 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38471 (__isnanf): Likewise.
38472 (__isinf_ns): Likewise.
38473 (__isinf_nsf): Likewise.
38474 (__finite): Likewise.
38475 (__finitef): Likewise.
38476 (__ieee754_sqrt): Define as macro.
38477 (__ieee754_sqrtf): Define as macro.
38478 (__ieee754_sqrtl): Define as macro.
38479 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38481 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38482 __FINITE_MATH_ONLY__ consistent.
38483 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38485 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38487 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38490 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38492 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38494 * po/ja.po: Update from translation team.
38496 2011-10-08 Roland McGrath <roland@hack.frob.com>
38498 * locale/programs/locarchive.c (prepare_address_space): New function.
38499 (create_archive, enlarge_archive, open_archive): Use it.
38501 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38502 inside [SHARED], where it is used.
38504 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38506 * nss/getent.c (netgroup_keys): Remove unused variable.
38507 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38509 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38511 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38512 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38514 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38515 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38516 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38517 * math/Makefile (libm-calls): Add s_isinf_ns.
38518 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38519 * math/multc3.c: Likewise.
38520 * math/s_casin.c: Likewise.
38521 * math/s_casinf.c: Likewise.
38522 * math/s_casinl.c: Likewise.
38523 * math/s_ccos.c: Likewise.
38524 * math/s_ccosf.c: Likewise.
38525 * math/s_ccosl.c: Likewise.
38526 * math/s_ctan.c: Likewise.
38527 * math/s_ctanf.c: Likewise.
38528 * math/s_ctanh.c: Likewise.
38529 * math/s_ctanhf.c: Likewise.
38530 * math/s_ctanhl.c: Likewise.
38531 * math/s_ctanl.c: Likewise.
38532 * math/w_fmod.c: Likewise.
38533 * math/w_fmodf.c: Likewise.
38534 * math/w_fmodl.c: Likewise.
38535 * math/w_remainder.c: Likewise.
38536 * math/w_remainderf.c: Likewise.
38537 * math/w_remainderl.c: Likewise.
38538 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38539 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38542 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38543 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38544 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38545 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38547 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38549 * stdio-common/printf_fphex.c: Likewise.
38550 * stdio-common/printf_size.c: Likewise.
38552 * math/e_exp10.c: Include math_private.h using <...> not "...".
38553 * math/e_exp10f.c: Likewise.
38554 * math/e_exp10l.c: Likewise.
38555 * math/e_exp2l.c: Likewise.
38556 * math/e_j0l.c: Likewise.
38557 * math/e_j1l.c: Likewise.
38558 * math/e_jnl.c: Likewise.
38559 * math/e_lgammal_r.c: Likewise.
38560 * math/e_rem_pio2l.c: Likewise.
38561 * math/e_scalb.c: Likewise.
38562 * math/e_scalbf.c: Likewise.
38563 * math/e_scalbl.c: Likewise.
38564 * math/k_cosl.c: Likewise.
38565 * math/k_sinl.c: Likewise.
38566 * math/k_tanl.c: Likewise.
38567 * math/s_cacoshf.c: Likewise.
38568 * math/s_catan.c: Likewise.
38569 * math/s_catanf.c: Likewise.
38570 * math/s_catanh.c: Likewise.
38571 * math/s_catanhf.c: Likewise.
38572 * math/s_catanhl.c: Likewise.
38573 * math/s_catanl.c: Likewise.
38574 * math/s_ccosh.c: Likewise.
38575 * math/s_ccoshf.c: Likewise.
38576 * math/s_ccoshl.c: Likewise.
38577 * math/s_cexp.c: Likewise.
38578 * math/s_cexpf.c: Likewise.
38579 * math/s_cexpl.c: Likewise.
38580 * math/s_clog.c: Likewise.
38581 * math/s_clog10.c: Likewise.
38582 * math/s_clog10f.c: Likewise.
38583 * math/s_clog10l.c: Likewise.
38584 * math/s_clogf.c: Likewise.
38585 * math/s_clogl.c: Likewise.
38586 * math/s_csin.c: Likewise.
38587 * math/s_csinf.c: Likewise.
38588 * math/s_csinh.c: Likewise.
38589 * math/s_csinhf.c: Likewise.
38590 * math/s_csinhl.c: Likewise.
38591 * math/s_csinl.c: Likewise.
38592 * math/s_csqrt.c: Likewise.
38593 * math/s_csqrtf.c: Likewise.
38594 * math/s_csqrtl.c: Likewise.
38595 * math/s_ctan.c: Likewise.
38596 * math/s_ctanf.c: Likewise.
38597 * math/s_ctanh.c: Likewise.
38598 * math/s_ctanhf.c: Likewise.
38599 * math/s_ctanhl.c: Likewise.
38600 * math/s_ctanl.c: Likewise.
38601 * math/s_ldexp.c: Likewise.
38602 * math/s_ldexpf.c: Likewise.
38603 * math/s_ldexpl.c: Likewise.
38604 * math/s_significand.c: Likewise.
38605 * math/s_significandf.c: Likewise.
38606 * math/s_significandl.c: Likewise.
38607 * math/w_acos.c: Likewise.
38608 * math/w_acosf.c: Likewise.
38609 * math/w_acosh.c: Likewise.
38610 * math/w_acoshf.c: Likewise.
38611 * math/w_acoshl.c: Likewise.
38612 * math/w_acosl.c: Likewise.
38613 * math/w_asin.c: Likewise.
38614 * math/w_asinf.c: Likewise.
38615 * math/w_asinl.c: Likewise.
38616 * math/w_atan2.c: Likewise.
38617 * math/w_atan2f.c: Likewise.
38618 * math/w_atan2l.c: Likewise.
38619 * math/w_atanh.c: Likewise.
38620 * math/w_atanhf.c: Likewise.
38621 * math/w_atanhl.c: Likewise.
38622 * math/w_cosh.c: Likewise.
38623 * math/w_coshf.c: Likewise.
38624 * math/w_coshl.c: Likewise.
38625 * math/w_dremf.c: Likewise.
38626 * math/w_exp10.c: Likewise.
38627 * math/w_exp10f.c: Likewise.
38628 * math/w_exp10l.c: Likewise.
38629 * math/w_exp2.c: Likewise.
38630 * math/w_exp2f.c: Likewise.
38631 * math/w_fmod.c: Likewise.
38632 * math/w_fmodf.c: Likewise.
38633 * math/w_fmodl.c: Likewise.
38634 * math/w_hypot.c: Likewise.
38635 * math/w_hypotf.c: Likewise.
38636 * math/w_hypotl.c: Likewise.
38637 * math/w_j0.c: Likewise.
38638 * math/w_j0f.c: Likewise.
38639 * math/w_j0l.c: Likewise.
38640 * math/w_j1.c: Likewise.
38641 * math/w_j1f.c: Likewise.
38642 * math/w_j1l.c: Likewise.
38643 * math/w_jn.c: Likewise.
38644 * math/w_jnf.c: Likewise.
38645 * math/w_jnl.c: Likewise.
38646 * math/w_lgamma.c: Likewise.
38647 * math/w_lgamma_r.c: Likewise.
38648 * math/w_lgammaf.c: Likewise.
38649 * math/w_lgammaf_r.c: Likewise.
38650 * math/w_lgammal.c: Likewise.
38651 * math/w_lgammal_r.c: Likewise.
38652 * math/w_log.c: Likewise.
38653 * math/w_log10.c: Likewise.
38654 * math/w_log10f.c: Likewise.
38655 * math/w_log10l.c: Likewise.
38656 * math/w_log2.c: Likewise.
38657 * math/w_log2f.c: Likewise.
38658 * math/w_log2l.c: Likewise.
38659 * math/w_logf.c: Likewise.
38660 * math/w_logl.c: Likewise.
38661 * math/w_pow.c: Likewise.
38662 * math/w_powf.c: Likewise.
38663 * math/w_powl.c: Likewise.
38664 * math/w_remainder.c: Likewise.
38665 * math/w_remainderf.c: Likewise.
38666 * math/w_remainderl.c: Likewise.
38667 * math/w_scalb.c: Likewise.
38668 * math/w_scalbf.c: Likewise.
38669 * math/w_scalbl.c: Likewise.
38670 * math/w_sinh.c: Likewise.
38671 * math/w_sinhf.c: Likewise.
38672 * math/w_sinhl.c: Likewise.
38673 * math/w_sqrt.c: Likewise.
38674 * math/w_sqrtf.c: Likewise.
38675 * math/w_sqrtl.c: Likewise.
38676 * math/w_tgamma.c: Likewise.
38677 * math/w_tgammaf.c: Likewise.
38678 * math/w_tgammal.c: Likewise.
38680 * po/ja.po: Update from translation team.
38682 2011-09-29 Andreas Jaeger <aj@suse.de>
38685 * sunrpc/netname.c (netname2host): Fix logic.
38689 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38691 * math/w_remainder.c (__remainder): Likewise.
38692 * math/w_remainderf.c (__remainderf): Likewise.
38693 * math/libm-test.inc (remainder_test): Add test cases.
38695 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38697 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38700 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38702 * string/test-memcmp.c: Avoid unncessary #defines.
38703 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38705 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38707 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38708 Use new sse2 version for core i3 - i7 as it's faster
38709 than sse42 version.
38710 (bit_Prefer_PMINUB_for_stringop): New.
38711 * sysdeps/x86_64/rawmemchr.S: Update.
38712 Replace with faster SSE2 version.
38713 * sysdeps/x86_64/memrchr.S: New file.
38714 * sysdeps/x86_64/memchr.S: Update.
38715 Replace with faster SSE2 version.
38717 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38719 * elf/dl-load.c (lose): Add cast to avoid warning.
38721 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38723 * po/ca.po: Update from translation team.
38725 * inet/getnetgrent_r.c: Hook up nscd.
38726 * nscd/Makefile (routines): Add nscd_netgroup.
38727 (nscd-modules): Add netgroupcache.
38728 (CFLAGS-netgroupcache.c): Define.
38729 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38730 (cache_search): Add const to second parameter.
38731 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38733 (dbs): Add netgrdb entry.
38734 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38735 (verify_persistent_db): Handle netgrdb.
38736 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38737 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38739 (netgroup_response_header): Define.
38740 (innetgroup_response_header): Define.
38741 (datahead): Add netgroup_response_header and innetgroup_response_header
38743 * nscd/nscd.conf: Add entries for netgroup cache.
38744 * nscd/nscd.h (dbtype): Add netgrdb.
38745 (_PATH_NSCD_NETGROUP_DB): Define.
38746 (netgroup_iov_disabled): Declare.
38747 (xmalloc, xcalloc, xrealloc): Move declarations here.
38748 (cache_search): Adjust prototype.
38749 Add netgroup-related prototypes.
38750 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38751 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38752 (__nscd_innetgr): Declare.
38753 * nscd/selinux.c (perms): Use access_vector_t as element type and
38754 add netgroup-related initializers.
38755 * nscd/netgroupcache.c: New file.
38756 * nscd/nscd_netgroup.c: New file.
38757 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38758 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38759 For four parameters use innetgr.
38760 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38761 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38762 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38763 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38765 * nscd/connections.c (register_traced_file): Don't register file
38766 for disabled databases.
38768 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38770 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38772 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38773 from tree and freeing node.
38775 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38777 * nss/nsswitch.c (__nss_database_lookup): Handle
38778 nss_parse_service_list out of memory case.
38780 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38782 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38783 out of memory case.
38785 2011-10-04 Andreas Schwab <schwab@redhat.com>
38787 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38788 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38790 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38791 elf_machine_rela, elf_machine_lazy_rel.
38792 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38793 (ELF_DYNAMIC_DO_REL): Likewise.
38794 (ELF_DYNAMIC_DO_RELA): Likewise.
38795 (ELF_DYNAMIC_RELOCATE): Likewise.
38796 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38797 to ELF_DYNAMIC_DO_REL.
38798 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38799 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38800 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38802 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38803 skip_ifunc, don't call ifunc function if non-zero.
38804 (elf_machine_rela): Likewise.
38805 (elf_machine_lazy_rel): Likewise.
38806 (elf_machine_lazy_rela): Likewise.
38807 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38808 (elf_machine_lazy_rel): Likewise.
38809 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38811 (elf_machine_lazy_rel): Likewise.
38812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38814 (elf_machine_lazy_rel): Likewise.
38815 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38816 (elf_machine_lazy_rel): Likewise.
38817 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38818 (elf_machine_lazy_rel): Likewise.
38819 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38820 (elf_machine_lazy_rel): Likewise.
38821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38822 (elf_machine_lazy_rel): Likewise.
38823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38824 (elf_machine_lazy_rel): Likewise.
38825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38826 (elf_machine_lazy_rel): Likewise.
38828 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38830 * nss/nss_files/files-init.c (_nss_files_init): Use static
38831 initialization for all the *_traced_file variables.
38833 2011-09-28 Andreas Schwab <schwab@redhat.com>
38835 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38837 2011-09-27 Roland McGrath <roland@hack.frob.com>
38840 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38842 2011-09-27 Andreas Schwab <schwab@redhat.com>
38844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38845 Reread the line before reparsing it.
38847 2011-09-26 Andreas Schwab <schwab@redhat.com>
38849 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38851 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38852 Maxim Kuvyrkov <maxim@codesourcery.com>
38853 Joseph Myers <joseph@codesourcery.com>
38855 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38856 if needed for __stack_chk_guard.
38858 2011-09-19 Roland McGrath <roland@hack.frob.com>
38860 * sysdeps/posix/spawni.c (script_execute): Always define it.
38861 It will be optimized away if unused.
38862 (maybe_script_execute): New function.
38863 (__spawni): Call it.
38865 * Makerules: Don't include tls.make.
38866 (config-tls): Always set to thread.
38867 * tls.make.c: File removed.
38869 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38871 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38872 * config.make.in (CPPFLAGS-config): New substituted variable.
38874 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38876 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38879 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38880 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38882 2011-09-15 Roland McGrath <roland@hack.frob.com>
38884 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38885 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38887 (CALL_FAIL): Likewise.
38888 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38889 (CALL_FAIL): Macro removed.
38890 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38892 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38894 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38895 for __FINITE_MATH_ONLY__ == 1.
38897 2011-09-15 Andreas Schwab <schwab@redhat.com>
38899 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38900 __ieee754_sqrt instead of sqrt.
38901 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38902 __ieee754_sqrtf instead of sqrtf.
38903 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38904 __floorf instead of floorf.
38905 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38906 __floorf, __truncf instead of floorf, truncf.
38908 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38910 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38912 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38913 __extern_always_inline.
38914 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38917 2011-09-14 Andreas Schwab <schwab@redhat.com>
38919 * elf/rtld.c (dl_main): Also relocate in dependency order when
38920 doing symbol dependency testing.
38922 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38925 Always define `refsym'.
38927 2011-09-13 Andreas Schwab <schwab@redhat.com>
38929 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38930 (__FD_ELT): Renamed from __FDELT.
38931 * misc/bits/select2.h (__FD_ELT): Likewise.
38932 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38933 __FD_MASK instead of __FDELT, __FDMASK.
38934 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38936 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38939 * elf/Makefile (gen-ldd): Fix pattern.
38941 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38942 (init_tls): Likewise.
38944 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38946 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38948 2011-09-12 Andreas Schwab <schwab@redhat.com>
38950 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38951 `struct cmsghdr *' instead of `void *'.
38952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38955 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38957 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38959 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38960 ldd_rewrite_script.
38962 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38964 * configure.in: Remove --with-tls option.
38965 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38966 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38967 out in case it is missing.
38968 * sysdeps/ia64/elf/configure.in: Likewise.
38969 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38970 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38971 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38972 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38973 * sysdeps/sh/elf/configure.in: Likewise.
38974 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38975 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38976 * sysdeps/x86_64/elf/configure.in: Likewise.
38977 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38978 * sysdeps/mach/hurd/tls.h: Likewise.
38981 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38984 * configure.in: Fix use of AC_INIT.
38986 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38988 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38990 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38992 * malloc/hooks.c: Likewise.
38995 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38996 variables statically.
38997 (narenas): Initialize.
38998 (list_lock): Initialize.
38999 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39000 initializtion of main_arena and list_lock. Small cleanups.
39001 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39002 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39003 Add initializers to main_arena and mp_.
39004 (malloc_state): Remove pagesize member. Change all users to use
39007 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39008 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39009 is always initialized.
39011 * malloc/malloc.c: Removed unused configurations and dead code.
39012 * malloc/arena.c: Likewise.
39013 * malloc/hooks.c: Likewise.
39014 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39016 * include/tls.h: Removed. USE___THREAD must always be defined.
39017 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39018 * elf/dl-libc.c: Likewise.
39019 * elf/dl-tsd.c: Likewise.
39020 * include/errno.h: Likewise.
39021 * include/netdb.h: Likewise.
39022 * include/resolv.h: Likewise.
39023 * inet/herrno-loc.c: Likewise.
39024 * inet/herrno.c: Likewise.
39025 * malloc/arena.c: Likewise.
39026 * malloc/hooks.c: Likewise.
39027 * malloc/malloc.c: Likewise.
39028 * resolv/res-state.c: Likewise.
39029 * resolv/res_libc.c: Likewise.
39030 * sysdeps/i386/dl-machine.h: Likewise.
39031 * sysdeps/ia64/dl-machine.h: Likewise.
39032 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39033 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39034 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39035 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39036 * sysdeps/sh/dl-machine.h: Likewise.
39037 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39038 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39039 * sysdeps/unix/i386/sysdep.S: Likewise.
39040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39041 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39042 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39043 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39046 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39050 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39051 * sysdeps/x86_64/dl-machine.h: Likewise.
39052 * tls.make.c: Likewise.
39054 * configure.in: Remove --with-__thread option. Make tests for
39055 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39056 tls_model attribute fail if no support is available. Remove
39058 * Makeconfig: Adjust for dropped configure option. All features are
39060 * Makerules: Likewise.
39061 * Versions.def: Likewise.
39062 * argp/argp-fmtstream.c: Likewise.
39063 * argp/argp-fmtstream.h: Likewise.
39064 * argp/argp-help.c: Likewise.
39065 * assert/assert.c: Likewise.
39066 * config.h.in: Likewise.
39067 * config.make.in: Likewise.
39068 * configure: Likewise.
39069 * configure.in: Likewise.
39070 * csu/Versions: Likewise.
39071 * csu/init.c: Likewise.
39072 * elf/tst-audit2.c: Likewise.
39073 * elf/tst-tls10.c: Likewise.
39074 * elf/tst-tls10.h: Likewise.
39075 * elf/tst-tls11.c: Likewise.
39076 * elf/tst-tls12.c: Likewise.
39077 * elf/tst-tls14.c: Likewise.
39078 * elf/tst-tlsmod11.c: Likewise.
39079 * elf/tst-tlsmod12.c: Likewise.
39080 * elf/tst-tlsmod13.c: Likewise.
39081 * elf/tst-tlsmod13a.c: Likewise.
39082 * elf/tst-tlsmod14a.c: Likewise.
39083 * elf/tst-tlsmod15b.c: Likewise.
39084 * elf/tst-tlsmod16a.c: Likewise.
39085 * elf/tst-tlsmod16b.c: Likewise.
39086 * elf/tst-tlsmod7.c: Likewise.
39087 * elf/tst-tlsmod8.c: Likewise.
39088 * elf/tst-tlsmod9.c: Likewise.
39089 * gmon/gmon.c: Likewise.
39090 * grp/fgetgrent_r.c: Likewise.
39091 * grp/putgrent.c: Likewise.
39092 * hurd/fopenport.c: Likewise.
39093 * include/libc-symbols.h: Likewise.
39094 * include/tls.h: Likewise.
39095 * intl/gettextP.h: Likewise.
39096 * intl/loadinfo.h: Likewise.
39097 * locale/global-locale.c: Likewise.
39098 * locale/localeinfo.h: Likewise.
39099 * mach/devstream.c: Likewise.
39100 * malloc/arena.c: Likewise.
39101 * malloc/set-freeres.c: Likewise.
39102 * misc/err.c: Likewise.
39103 * misc/getttyent.c: Likewise.
39104 * misc/mntent_r.c: Likewise.
39105 * posix/getopt.c: Likewise.
39106 * posix/wordexp.c: Likewise.
39107 * pwd/fgetpwent_r.c: Likewise.
39108 * resolv/Versions: Likewise.
39109 * resolv/res_hconf.c: Likewise.
39110 * shadow/fgetspent_r.c: Likewise.
39111 * shadow/putspent.c: Likewise.
39112 * stdio-common/printf_fphex.c: Likewise.
39113 * stdio-common/tmpfile.c: Likewise.
39114 * stdlib/abort.c: Likewise.
39115 * stdlib/fmtmsg.c: Likewise.
39116 * sunrpc/auth_unix.c: Likewise.
39117 * sunrpc/clnt_perr.c: Likewise.
39118 * sunrpc/clnt_tcp.c: Likewise.
39119 * sunrpc/clnt_udp.c: Likewise.
39120 * sunrpc/clnt_unix.c: Likewise.
39121 * sunrpc/openchild.c: Likewise.
39122 * sunrpc/svc_simple.c: Likewise.
39123 * sunrpc/svc_tcp.c: Likewise.
39124 * sunrpc/svc_udp.c: Likewise.
39125 * sunrpc/svc_unix.c: Likewise.
39126 * sunrpc/xdr.c: Likewise.
39127 * sunrpc/xdr_array.c: Likewise.
39128 * sunrpc/xdr_rec.c: Likewise.
39129 * sunrpc/xdr_ref.c: Likewise.
39130 * sunrpc/xdr_stdio.c: Likewise.
39132 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39134 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39136 2011-07-03 Andreas Jaeger <aj@suse.de>
39138 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39139 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39140 regenerate with gen-libm-tests.pl.
39142 2010-05-12 Petr Baudis <pasky@suse.cz>
39145 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39146 around j0() zero points by switching to j1().
39147 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39148 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39152 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39154 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39156 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39159 Patch in part by Pavel Roskin <proski@gnu.org>.
39162 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39164 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39165 Free memory block if necessary.
39168 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39169 be NULL. Don't lock in this case.
39171 2011-09-09 Roland McGrath <roland@hack.frob.com>
39173 * elf/elf.h (ELFOSABI_GNU): New macro.
39174 (ELFOSABI_LINUX): Define to that.
39176 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39178 * string/strncat.c (strncat): Undef the symbol in case it has been
39179 defined in bits/string.h.
39181 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39183 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39185 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39188 2011-08-17 Andreas Jaeger <aj@suse.de>
39190 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39192 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39193 Ian Lance Taylor <iant@google.com>
39195 * math/libm-test.inc (lround_test): New testcase.
39196 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39198 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39200 * Makefile: Remove support for automatic cvs check-ins.
39201 * Makerules: Likewise.
39202 * config.make.in: Likewise.
39203 * configure.in: Likewise.
39204 * intl/Makefile: Likewise.
39205 * locale/Makefile: Likewise.
39206 * po/Makefile: Likewise.
39207 * posix/Makefile: Likewise.
39208 * sysdeps/gnu/Makefile: Likewise.
39209 * sysdeps/mach/hurd/Makefile: Likewise.
39210 * sysdeps/sparc/sparc32/Makefile: Likewise.
39213 * posix/Makefile (bug-regex32-ENV): Define.
39214 Patch by John Stanley <jpsinthemix@verizon.net>.
39216 * misc/Makefile (headers): Add bits/select2.h.
39217 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39218 * misc/bits/select2.h: New file.
39219 * include/bits/select2.h: New file.
39220 * debug/Makefile (routines): Add fdelt_chk.
39221 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39222 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39224 * debug/fdelt_chk.c: New file.
39226 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39227 * wcsmbs/test-wmemcmp.c: Likewise.
39228 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39229 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39231 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39233 * string/Makefile (strop-tests): Add memcmp.
39234 * string/test-wmemcmp.c: New file.
39235 * string/test-memcmp.c: Add wmemcmp support.
39237 2011-09-08 Roland McGrath <roland@hack.frob.com>
39240 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39243 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39244 garbage value in a __mach_port_mod_refs call in the cases of the
39245 task-self and thread-self ports.
39247 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39249 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39251 2011-09-08 Andreas Schwab <schwab@redhat.com>
39253 * elf/dl-load.c (lose): Check for non-null L.
39255 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39257 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39259 * elf/dl-libc.c (dlerror_run): Pass back error code from
39263 * elf/dl-load.c (lose): Free l_origin if it is valid.
39265 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39267 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39268 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39270 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39271 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39272 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39274 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39276 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39277 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39278 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39279 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39280 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39281 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39282 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39283 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39284 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39285 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39287 2011-08-15 Alan Modra <amodra@gmail.com>
39290 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39291 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39292 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39293 ppc_mcount to static-only-routines.
39294 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39296 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39297 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39299 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39301 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39302 for finite and infinity parameters.
39304 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39307 and add nop instructions for throughput optimization.
39308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39310 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39312 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39313 aligned copy for power7 with vector-scalar instructions.
39314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39316 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39321 2011-09-07 Andreas Schwab <schwab@redhat.com>
39324 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39327 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39329 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39330 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39331 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39332 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39335 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39337 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39338 Forgot to demangle the pointer.
39340 * sysdeps/i386/sysdep.h: Define atom_text_section.
39341 * sysdeps/x86_64/sysdep.h: Likewise.
39342 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39343 section with atom_text_section.
39344 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39345 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39346 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39348 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39350 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39352 already be defined. Change to take two parameters and don't assign
39353 result to variable. Adjust all users.
39354 Define INTERNAL_GETTIME if not already defined.
39355 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39358 HAVE_CLOCK_GETTIME_VSYSCALL.
39359 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39362 gettimeofday vsyscall, just use time.
39364 2011-09-06 Andreas Schwab <schwab@redhat.com>
39366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39369 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39371 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39375 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39376 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39377 syscall if possible.
39379 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39381 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39382 e_ident. Don't pass to find_mapsXX.
39383 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39385 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39388 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39389 * sysdeps/x86_64/multiarch/strchr.S: Update.
39390 Check bit_slow_BSF bit.
39391 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39392 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39393 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39395 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39398 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39400 (tryshell): Define.
39401 (__spawni): Change last parameter to be flag. Test
39402 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39403 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39404 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39405 * posix/spawni.c: Likewise.
39406 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39407 * posix/spawnp.c: Likewise. Change normal version to use
39408 SPAWN_XFLAGS_USE_PATH.
39409 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39410 SPAWN_XFLAGS_TRY_SHELL.
39413 * posix/glob.h: Remove gcc 1.x support.
39416 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39418 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39421 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39423 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39424 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39425 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39426 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39428 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39430 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39432 * sysdeps/x86_64/wcscmp.S: New file.
39434 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39435 wcscmp-c wcscmp-sse2
39436 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39437 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39438 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39439 * wcsmbs/wcscmp.c: Allow renaming.
39441 2011-09-05 David S. Miller <davem@davemloft.net>
39443 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39444 stack slot, rather than the struct return pointer slot.
39445 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39446 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39448 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39450 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39452 * po/ja.po: Update from translation team.
39455 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39456 kernel in 64-bit binaries.
39458 2011-09-01 David S. Miller <davem@davemloft.net>
39460 * elf/elf.h (HWCAP_SPARC_*): Move to..
39461 * sysdeps/sparc/sysdep.h: this new file and add new values.
39462 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39463 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39464 _DL_HWCAP_COUNT to 24.
39465 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39467 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39468 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39469 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39471 instead of magic constants.
39472 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39474 2011-08-31 David S. Miller <davem@davemloft.net>
39476 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39478 Reimplement to do errno handling inline.
39479 (SYSCALL_ERROR_HANDLER): New macro.
39480 (__SYSCALL_STRING): Do not do errno handling in asm.
39481 (__CLONE_SYSCALL_STRING): Delete.
39482 (__INTERNAL_SYSCALL_STRING): Delete.
39483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39484 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39485 (PSEUDO): Reimplement to do errno handling inline.
39486 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39487 (SYSCALL_ERROR_HANDLER): New macro.
39488 (__SYSCALL_STRING): Do not do errno handling in asm.
39489 (__CLONE_SYSCALL_STRING): Delete.
39490 (__INTERNAL_SYSCALL_STRING): Delete.
39491 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39492 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39494 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39495 (inline_syscall*): Add 'err' argument.
39496 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39497 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39498 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39499 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39501 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39502 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39504 2011-08-30 Andreas Schwab <schwab@redhat.com>
39506 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39508 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39510 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39513 2011-08-24 David S. Miller <davem@davemloft.net>
39515 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39517 2011-08-24 Andreas Schwab <schwab@redhat.com>
39519 * elf/Makefile: Add rules to build and run unload8 test.
39520 * elf/unload8.c: New file.
39521 * elf/unload8mod1.c: New file.
39522 * elf/unload8mod1x.c: New file.
39523 * elf/unload8mod2.c: New file.
39524 * elf/unload8mod3.c: New file.
39526 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39529 2011-08-23 David S. Miller <davem@davemloft.net>
39531 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39532 subtract stack bias.
39533 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39534 %sp not %fp in calculations.
39535 (_JMPBUF_UNWINDS_ADJ): Likewise.
39537 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39538 (aio_suspend): Call it to force an exception region around the
39539 AIO_MISC_WAIT() invocation.
39541 2011-08-23 Andreas Schwab <schwab@redhat.com>
39543 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39546 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39548 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39550 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39551 and <dl-machine.h>.
39552 (Elf64_FuncDesc): Remove.
39554 2011-08-22 David S. Miller <davem@davemloft.net>
39556 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39557 sigaltstack check, add missing cfi directives.
39558 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39559 missing cfi directives, and sigaltstack handling.
39561 2011-08-16 Andreas Schwab <schwab@redhat.com>
39564 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39565 object is seen twice.
39566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39568 * elf/Makefile (distribute): Add tst-initorder2.c.
39569 (tests): Add tst-initorder2.
39570 (modules-names): Add tst-initorder2a tst-initorder2b
39571 tst-initorder2c tst-initorder2d. Add rules to build them.
39572 ($(objpfx)tst-initorder2.out): New rule.
39573 * elf/tst-initorder2.c: New file.
39574 * elf/tst-initorder2.exp: New file.
39576 2011-08-22 Andreas Schwab <schwab@redhat.com>
39578 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39580 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39581 dependencies back to end of function.
39583 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39584 $(elfobjdir)/ld.so.
39586 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39589 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39591 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39592 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39593 of __vdso_gettimeofday.
39594 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39595 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39597 (_libc_vdso_platform_setup): Remove initialization of
39598 __vdso_gettimeofday and __vdso_time.
39600 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39602 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39603 and fgetc_unlocked.
39604 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39607 * elf/dl-open.c (add_to_global): Report additions to the global scope
39608 for LD_DEBUG=scopes.
39609 (dl_open_worker): Also print scope of newly loaded dependencies.
39610 (_dl_show_scope): Indicate if there is no scope.
39613 * stdio-common/Makefile (tests): Add bug24.
39614 * stdio-common/bug24.c: New file.
39616 2011-08-19 Andreas Jaeger <aj@suse.de>
39619 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39620 non-existant file when using close-on-exec mode.
39622 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39625 the very first instruction.
39627 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39628 the CFI state in the end.
39629 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39630 inclusion of dl-trampoline.h.
39631 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39633 2011-08-19 Andreas Schwab <schwab@redhat.com>
39635 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39636 expectations for long double.
39638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39639 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39641 2011-08-14 David S. Miller <davem@davemloft.net>
39643 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39644 artificual limit depends upon the system page size.
39646 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39648 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39649 * resolv/Makefile: Define CFLAGS-libresolv.
39651 2011-08-17 Andreas Schwab <schwab@redhat.com>
39653 * nss/makedb.c (compute_tables): Make variables used in nested
39656 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39658 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39659 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39660 if buffer was too small.
39662 * elf/pldd.c (main): Attach to all threads in the process.
39663 Rewrite /proc handling to use *at functions.
39665 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39667 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39668 specifies first scope to show.
39669 (dl_open_worker): Update callers. Move printing scope of new
39670 object to before the relocation.
39671 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39672 * sysdeps/generic/ldsodefs.h: Update declaration.
39674 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39675 string for the scope number.
39677 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39679 * nscd/servicescache.c (cache_addserv): Make sure written is always
39682 2011-08-14 Roland McGrath <roland@hack.frob.com>
39684 * sysdeps/i386/i486/bits/atomic.h
39685 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39686 statement expression, so as to suppress "set but not used" warning.
39687 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39689 * string/strncat.c (STRNCAT): Use prototype definition.
39691 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39692 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39694 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39695 (localedef-modules): Add localedef.
39696 (locale-modules): Add locale.
39698 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39699 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39700 to avoid a warning.
39702 2011-08-14 David S. Miller <davem@davemloft.net>
39704 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39705 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39707 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39709 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39710 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39711 * elf/rtld.c (dl_main): Set l_name of vDSO.
39712 Call _dl_show_scope when DL_DEBUG_SCOPES.
39713 (process_dl_debug): Recognize scopes flag and also set it for all.
39714 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39715 Declare _dl_show_scope.
39717 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39718 (do_dlopen): Pass caller_dlopen to dl_open.
39719 (__libc_dlopen_mode): Initialize caller_dlopen.
39721 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39722 of libc. Make tolower call locale-independent. Optimize a bit by
39723 using isdigit instead of isalnum.
39724 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39726 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39728 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39729 was a dependency or dynamically loaded.
39731 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39733 * intl/l10nflist.c: Allow architecture-specific pop function.
39734 * sysdeps/x86_64/l10nflist.c: New file.
39736 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39739 2011-08-10 Andreas Schwab <schwab@redhat.com>
39741 * include/dirent.h: Add libc_hidden_proto for scandirat and
39742 scandirat64. Don't declare __scandirat64.
39743 * dirent/scandirat.c: Add libc_hidden_def.
39744 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39745 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39747 2011-08-10 David S. Miller <davem@davemloft.net>
39749 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39751 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39753 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39755 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39757 * Versions.def [libc]: Add GLIBC_2.15.
39758 * dirent/Makefile (routines): Add scandirat and scandirat64.
39759 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39761 * dirent/dirent.h: Declare scandirat and scandirat64.
39762 * dirent/scandirat.c: New file.
39763 * dirent/scandirat64.c: New file.
39764 * sysdeps/wordsize-64/scandirat.c: New file.
39765 * sysdeps/wordsize-64/scandirat64.c: New file.
39766 * dirent/opendir.c: Define opendirat.
39767 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39769 * dirent/scandir64.c: Adjust for scandir.c change.
39770 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39771 __scandirat64, and __scandir_cancel_handler.
39772 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39773 additional parameter and use openat instead of open (outside of ld.so).
39774 Add new __opendir as wrapper around __opendirat.
39775 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39776 here without requiring old scandirat implementation.
39778 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39780 * dirent/scandir.c (cancel_handler): Renamed to
39781 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39782 defined. Adjust users.
39783 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39784 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39786 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39788 * string/test-string.h (IMPL): Use __STRING to expand name and then
39791 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39794 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39796 * string/Makefile: Update.
39797 (strop-tests): Append strncat.
39798 * string/test-wcscmp.c: New file.
39799 New comprehensive test for wcscmp.
39800 * string/test-strcmp.c: Update.
39801 (WIDE): New define.
39803 2011-07-22 Andreas Schwab <schwab@redhat.com>
39805 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39808 2011-07-26 Andreas Schwab <schwab@redhat.com>
39810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39811 encoding to ACE if AI_IDN.
39813 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39816 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39818 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39820 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39821 Fix overflow bug in strncat.
39822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39824 * string/test-strncat.c: Update.
39825 Add new tests for checking overflow bugs.
39827 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39830 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39831 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39832 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39833 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39834 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39835 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39836 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39837 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39840 (USE_AS_STRCAT): Define.
39841 Add strcat and strncat support.
39842 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39844 2011-07-25 Andreas Schwab <schwab@redhat.com>
39846 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39847 __n bigger than INT_MAX+1.
39848 (__strncmp_g): Likewise.
39850 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39852 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39853 * libio/stido.h: Likewise.
39855 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39860 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39863 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39864 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39867 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39872 (_dl_x86_64_save_sse): Likewise.
39874 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39878 (_dl_x86_64_save_sse): Likewise.
39880 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39882 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39884 2011-07-21 Andreas Schwab <schwab@redhat.com>
39886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39888 (_dl_x86_64_save_sse): Use correct AVX check.
39890 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39892 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39893 bug in strncpy/strncat.
39894 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39896 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39898 * string/tester.c (test_strcat): Add tests for different alignments
39899 of source and destination.
39900 (test_strncat): Likewise.
39902 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39905 * posix/glob.c (glob): Check passed in values before using them in
39906 expressions to avoid some overflows.
39907 (glob_in_dir): Likewise.
39910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39911 check for AVX enablement so that we don't crash with old kernels and
39913 * elf/tst-audit4.c: Add same checks here.
39914 * elf/tst-audit6.c: Likewise.
39916 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39918 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39920 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39922 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39924 * po/cs.po: Update from translation team.
39925 * po/bg.po: Likewise.
39927 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39929 * misc/sys/cdefs.h: Add support for const attribute.
39930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39931 to gnu_dev_{major,minor,makedev} functions.
39933 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39935 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39937 2011-07-20 Andreas Schwab <schwab@redhat.com>
39939 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39942 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39945 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39946 register in order to avoid conflicts with the soft frame pointer
39947 being held in r11 when necessary.
39948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39949 (INTERNAL_VSYSCALL_NCS): Likewise.
39951 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39953 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39954 * elf/dl-fini.c (_dl_fini): Adjust caller.
39955 * elf/dl-close.c (_dl_close_worker): Likewise.
39956 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39958 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39960 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39961 "aux_cache->nlibs < 0".
39963 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39964 in the reload-count case.
39966 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39969 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39970 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39971 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39972 * sysdeps/x86_64/multiarch/strcat.S: New file.
39973 * sysdeps/x86_64/multiarch/strncat.S: New file.
39974 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39976 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39977 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39978 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39979 (USE_AS_STRCAT): Define.
39980 Add strcat and strncat support.
39981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39983 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39984 * string/strncat.c: Update.
39985 (USE_AS_STRNCAT): Define.
39986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39987 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39989 * sysdeps/x86_64/multiarch/init-arch.h
39990 (bit_Prefer_PMINUB_for_stringop): New.
39991 (index_Prefer_PMINUB_for_stringop): Likewise.
39992 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39993 bit_Prefer_PMINUB_for_stringop.
39995 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39997 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39999 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40000 of casting of buffer.
40001 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40002 buffer32 and buffer64.
40003 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40004 writes instead of casting of buffer.
40005 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40007 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40010 2011-07-19 Andreas Schwab <schwab@redhat.com>
40012 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40014 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40016 * nscd/nscd.c (termination_handler): Don't do anything for a database
40017 if it has not yet been initialized.
40019 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40021 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40023 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40025 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40027 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40029 * po/nl.po: Update from translation team.
40030 * po/sv.po: Likewise.
40032 2011-07-16 Roland McGrath <roland@hack.frob.com>
40034 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40035 now disallowed by GCC.
40037 * configure.in (use-default-link): Default to yes if a test -shared
40038 link meets our qualifications.
40039 * configure: Regenerated.
40041 * config.make.in (output-format): New variable.
40042 * configure.in: Check for ld --print-output-format support.
40043 * configure: Regenerated.
40044 * Makerules ($(common-objpfx)format.lds)
40045 [$(output-format) != unknown]: Just use $(output-format),
40046 instead of the linker-script munging.
40048 2011-07-14 Roland McGrath <roland@hack.frob.com>
40050 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40051 of $(common-objpfx)shlib.lds.
40052 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40054 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40055 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40057 * configure.in (-z relro check): Adjust test code to add a large
40058 writable data section after it.
40059 * configure: Regenerated.
40061 2011-07-11 Roland McGrath <roland@hack.frob.com>
40063 * configure.in (-z relro check): Fix test code to make the variable
40065 * configure: Regenerated.
40067 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40069 * nscd/nscd.h (struct traced_file): Define.
40070 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40071 elements. Add traced_files.
40072 (inotify_fd): Declare.
40073 (register_traced_file): Declare.
40074 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40075 (inotify_fd): Export.
40076 (resolv_conf_descr): Remove.
40077 (nscd_init): Move inotify descriptor creation to main.
40078 Don't register files for notification here.
40079 (register_traced_file): New function.
40080 (invalidate_cache): Don't use reset_res to determine whether to call
40081 res_init, go through the list of registered files.
40082 (main_loop_poll): The inotify descriptors are now stored in the
40083 structures for the traced files.
40084 (main_loop_epoll): Likewise
40085 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40086 to __nss_disable_nscd.
40087 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40088 for a database anymore. Check the records for all the registered
40090 * nss/Makefile (libnss_files-routines): Add files-init.
40091 (libnss_db-routines): Add db-init.
40092 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40093 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40094 * nss/nss_db/db-init.c: New file.
40095 * nss/nss_files/files-init.c: New file.
40096 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40097 __nss_lookup_function.
40098 (__nss_lookup_function): Call nss_load_library.
40099 (nss_load_all_libraries): New function.
40100 (__nss_disable_nscd): Take parameter with callback function for files
40101 to register. Set is_nscd. Load all the DSOs for the NSS modules
40102 used for the cached services.
40103 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40104 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40105 options for features to all the files in nscd.
40107 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40109 2011-07-10 Roland McGrath <roland@hack.frob.com>
40111 * csu/elf-init.c (__libc_csu_init): Comment typo.
40113 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40115 * po/pl.po: Update from translation team.
40116 * po/ja.po: Likewise.
40117 * po/ru.po: Likewise.
40118 * po/ko.po: Likewise.
40119 * po/fr.po: Likewise.
40121 2011-07-09 Roland McGrath <roland@hack.frob.com>
40123 * configure.in (.ctors/.dtors header and trailer check):
40124 Use an empirical test on a built program.
40125 * configure: Regenerated.
40127 * configure.in (-z relro check): Use an empirical test on a built DSO.
40128 Detect, but do not require, on ia64.
40129 * configure: Regenerated.
40131 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40132 Update tests that use readelf to use $READELF instead.
40133 * configure: Regenerated.
40135 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40137 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40138 if the result is not used.
40140 2011-07-05 Andreas Jaeger <aj@suse.de>
40143 * stdlib/tst-strtod.c: Add testcase.
40145 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40147 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40148 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40149 The latter has a higher limit. Take additional parameter to pass to
40151 (__pathconf): Pass file to __statfs_link_max.
40152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40154 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40158 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40159 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40161 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40162 (__statfs_filesize_max): Likewise.
40163 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40165 2011-07-05 Andreas Jaeger <aj@suse.de>
40167 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40169 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40171 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40173 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40176 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40178 * Makefile (strop-tests): Add strncat.
40179 * string/test-strncat.c: New file.
40181 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40183 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40185 2011-06-21 Andreas Jaeger <aj@suse.de>
40187 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40188 Copy rule from iconvdata/Makefile.
40190 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40193 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40194 but no long options are defined, just return 'W'.
40196 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40199 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40201 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40203 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40205 (innetgr): Likewise.
40207 2011-07-05 Roland McGrath <roland@hack.frob.com>
40209 * config.make.in (install_root): Default to $(DESTDIR).
40211 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40213 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40215 2011-07-02 Roland McGrath <roland@hack.frob.com>
40217 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40219 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40220 containing directory rather than embedding absolute directory names.
40222 * scripts/check-local-headers.sh: Rewritten using awk.
40223 Match by word, not by line. Print error messages for matches.
40224 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40226 * Makerules [shlib-lds-flags empty]:
40227 ($(common-objpfx)libc_pic.opts): New target.
40228 ($(common-objpfx)libc_pic.os.clean): New target.
40229 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40231 * config.make.in (OBJCOPY): New variable.
40232 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40233 * configure: Regenerated.
40235 * config.make.in (use-default-link): New variable.
40236 * configure.in (use_default_link): Grok --with-default-link to set it.
40237 * configure: Regenerated.
40238 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40239 (shlib-lds, shlib-lds-flags): Define to empty.
40241 * Makerules (shlib-lds): New variable.
40242 (shlib-lds-flags): New variable.
40243 (build-shlib, build-moduile, build-module-asneeded): Use it.
40244 ($(common-objpfx)libc.so): Use $(shlib-lds).
40245 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40246 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40248 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40249 DT_FLAGS/DT_FLAGS_1 with zero flags.
40251 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40252 linker script munging.
40254 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40256 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40258 * crypt/sha512.c (sha512_process_block): Perform total addition using
40259 128-bit if possible.
40260 (__sha512_finish_ctx): Likewise.
40261 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40263 * crypt/sha256.c (SWAP64): Define.
40264 (sha256_process_block): Perform total addition using 64-bit if
40266 (__sha256_finish_ctx): Likewise.
40268 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40270 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40272 * nscd/hstcache.c (cache_addhst): Likewise.
40273 * nscd/grpcache.c (cache_addgr): Likewise.
40274 * nscd/aicache.c (addhstaiX): Likewise
40275 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40277 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40279 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40281 * nscd/hstcache.c (cache_addhst): Likewise.
40282 * nscd/grpcache.c (cache_addgr): Likewise.
40283 * nscd/aicache.c (addhstaiX): Likewise
40285 2011-07-01 Andreas Schwab <schwab@redhat.com>
40287 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40288 domain only when needed.
40290 2011-06-30 Andreas Schwab <schwab@redhat.com>
40292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40293 is always restored.
40295 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40297 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40298 are re-adding the entry.
40299 * nscd/servicescache.c (cache_addserv): Likewise.
40301 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40303 * sysdeps/generic/dl-irel.h: fix protection against multiple
40305 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40307 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40310 * malloc/memusage.sh: Fix quoting in message.
40311 * debug/xtrace.sh: Likewise.
40313 * configure.in: Remove support for --experimental-malloc option, make
40315 * config.make.in: Likewise.
40316 * malloc/Makefile: Likewise.
40318 2011-06-27 Andreas Schwab <schwab@redhat.com>
40320 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40321 two-byte characters.
40323 2011-06-27 Roland McGrath <roland@hack.frob.com>
40325 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40326 AC_CACHE_CHECK invocation.
40327 * configure: Regenerated.
40329 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40331 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40334 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40335 bit from old_res_options.
40337 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40339 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40340 value type for setfct.
40342 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40345 __gettimeofday instead of gettimeofday.
40347 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40349 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40351 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40358 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40361 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40362 strcpy-sse2-unaligned strncpy-sse2-unaligned
40363 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40364 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40365 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40366 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40367 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40369 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40370 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40371 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40372 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40373 (STRCPY): Support SSE2 and SSSE3 versions.
40375 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40378 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40379 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40380 kernels which artificially limit size of requests.
40382 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40385 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40386 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40387 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40388 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40389 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40390 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40391 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40392 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40394 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40395 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40396 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40397 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40398 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40400 Enable unaligned load optimization for Intel Core i3, i5 and i7
40402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40404 (index_Fast_Unaligned_Load): Define.
40405 (HAS_FAST_UNALIGNED_LOAD): Define.
40407 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40409 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40411 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40414 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40415 until it is clear that the information is realy needed.
40416 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40418 2011-06-22 Andreas Schwab <schwab@redhat.com>
40420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40422 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40425 /sys/devices/system/cpu/online if it is usable.
40427 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40428 reading the information from the /proc filesystem to once a second.
40430 2011-06-21 Andreas Jaeger <aj@suse.de>
40432 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40433 NULL after inclusion of kernel headers.
40435 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40437 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40438 calls to internal_setent.
40441 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40442 addresses using gethostbyname4_r ignore IPv4 addresses.
40444 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40445 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40447 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40449 2011-06-20 David S. Miller <davem@davemloft.net>
40451 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40453 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40455 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40456 (elf_irel): Use it.
40457 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40458 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40459 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40460 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40461 * sysdeps/x86_64/dl-irel.h: Likewise.
40463 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40464 * elf/dl-sym.c: Likewise.
40466 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40468 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40469 need to dereference resplen2.
40471 2011-06-14 Andreas Schwab <schwab@redhat.com>
40473 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40475 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40477 * Makeconfig: Define vardbdir and inst_vardbdir.
40478 * nss/Makefile: Add rules to install db-Makefile.
40480 * nss/nss_db/db-XXX.c: Cleanup.
40482 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40483 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40485 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40486 * nss/makedb.c: Implement -g option to specify that value strings
40487 are generated and should not be added to table iterated over for
40489 * nss/nss_db/db-initgroups.c: New file.
40491 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40494 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40495 (internal_getgrouplist): Adjust to name change.
40496 Update use_initgroups_entry if this is not the first call.
40497 * nss/databases.def: Add initgroups entry.
40499 * nss/makedb.c (compute_tables): Check result of multiple hash table
40500 sizes to minimize maximum chain length.
40502 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40504 * Versions.def: Add entry for libnss_db.
40505 * shlib-versions: Likewise.
40506 * nss/Makefile: Add rules to build libnss_db.
40507 * nss/Versions: Add libnss_db information. Organize libnss_files
40509 * nss/db-Makefile: Add gshadow support. Change rules for the new
40510 makedb progra. Some minor improvements to generate smaller files.
40511 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40513 * nss/makedb.c: ...here.
40514 Improve database format to be smaller and require less memory at
40516 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40518 * nss/nss_db/db-netgrp.c: Likewise.
40519 * nss/nss_db/db-open.c: Likewise.
40520 * nss/nss_files/flies-XXX.x: Adjust comments.
40521 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40522 * nss/nss_files/files-grp.c: Likewise.
40523 * nss/nss_files/files-hosts.c: Likewise.
40524 * nss/nss_files/files-network.c: Likewise.
40525 * nss/nss_files/files-proto.c: Likewise.
40526 * nss/nss_files/files-pwd.c: Likewise.
40527 * nss/nss_files/files-rpc.c: Likewise.
40528 * nss/nss_files/files-service.c: Likewise.
40529 * nss/nss_files/files-sgrp.c: Likewise.
40530 * nss/nss_files/files-spwd.c: Likewise.
40531 * nss/nss_db/db-alias.c: Removed.
40532 * nss/nss_db/dummy-db.h: Removed.
40534 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40536 * nss/makedb.c: Rewritten to not use database library.
40537 * nss/Makefile: Update to build new makedb program.
40539 2011-06-14 Andreas Jaeger <aj@suse.de>
40541 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40542 memset declaration.
40544 2011-06-10 Andreas Schwab <schwab@redhat.com>
40546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40549 2011-06-10 Roland McGrath <roland@hack.frob.com>
40551 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40552 * elf/Makefile ($(objpfx)ld.so): Likewise.
40554 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40555 Don't list ld.so twice in dependencies.
40557 * posix/bug-regex31.c: Include <stdlib.h>.
40559 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40561 * nis/nss_compat/compat-spwd.c
40562 (getspent_next_nss_netgr): Remove unused variable.
40563 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40565 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40566 nonmembers" output to use the right array.
40568 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40570 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40572 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40573 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40574 * catgets/gencat.c (read_input_file): Likewise.
40575 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40577 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40578 variable definition inside #if's controlling its use.
40580 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40582 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40584 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40586 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40589 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40591 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40592 * configure: Regenerated.
40594 * Makerules: Revert last change.
40595 * elf/Makefile: Likewise.
40597 2011-06-09 Roland McGrath <roland@hack.frob.com>
40599 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40600 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40601 (reloc-link): Likewise.
40603 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40605 * elf/Makefile: Add rules to build pldd.
40606 * elf/pldd.c: New file.
40607 * elf/pldd-xx.c: New file.
40609 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40611 * version.h: Update for 2.15 development version.
40613 2011-06-07 David S. Miller <davem@davemloft.net>
40615 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40618 elf_machine_lazy_rel): Likewise.
40619 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40621 elf_machine_lazy_rel): Likewise.
40622 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40623 dl_hwcap via passed in argument.
40624 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40627 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40629 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40631 2011-06-06 Roland McGrath <roland@hack.frob.com>
40634 * manual/fdl-1.1.texi: New file, verbatim from:
40635 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40636 * manual/lgpl-2.1.texi: New file, verbatim from:
40637 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40638 * manual/Makefile (licenses): New variable, list those new file names.
40640 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40642 * manual/fdl.texi: File removed.
40643 * manual/lesser.texi: File removed.
40644 * manual/libc.texinfo (Copying, Documentation License):
40645 Use new @include file names, put @appendix directive before @include.
40647 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40650 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40651 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40652 (mq_open): Add __NTH.
40654 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40657 Assume Intel Core i3/i5/i7 processor if AVX is available.
40659 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40664 2011-05-31 Andreas Schwab <schwab@redhat.com>
40666 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40667 memory. Use alloca_account. Fix memory leak when retrying.
40669 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40671 * version.h (RELEASE): Bump for 2.14 release.
40672 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40674 * config.make.in (RANLIB): Remove entry.
40676 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40678 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40679 (libc.pot): Work around missing support for .ksh extension in xgettext.
40682 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40683 if both request failed.
40684 (send_dg): In case of server errors clear resplen or *resplen2.
40687 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40688 when there are multiple maps.
40689 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40690 (_dl_fini): Remove test here.
40692 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40694 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40697 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40698 bit from old_res_options.
40699 (gaih_inet): Likewise.
40702 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40705 * resolv/res_init.c (res_setoptions): Make the code more compact.
40708 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40712 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40714 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40717 * malloc/malloc.h: Declare malloc hook variables as volatile.
40719 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40723 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40724 raise in the comment.
40725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40727 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40729 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40732 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40733 grow the buffers more if it already has to be sufficient.
40734 (build_wcs_upper_buffer): Likewise.
40735 * posix/regexec.c (check_matching): Likewise.
40736 (clean_state_log_if_needed): Likewise.
40737 (extend_buffers): Don't enlarge buffers beyond size of the input
40739 Patches mostly by Emil Wojak <emil@wojak.eu>.
40740 * posix/bug-regex32.c: New file.
40741 * posix/Makefile (tests): Add bug-regex32.
40743 * locale/findlocale.c (_nl_find_locale): Return right away if
40744 _nl_explode_name failed.
40745 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40747 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40749 * debug/xtrace.sh: Unify messages.
40750 * malloc/memusage.sh: Likewise.
40753 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40754 time symbol from vDSO. Substitute with vsyscall if not available.
40755 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40758 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40759 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40760 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40761 Add sendmmsg and internal_sendmmsg.
40762 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40763 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40764 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40766 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40767 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40768 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40770 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40773 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40774 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40776 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40780 * iconvdata/Makefile (tests): Add bug-iconv9.
40781 * iconvdata/bug-iconv9.c: New file.
40783 2011-05-27 Andreas Schwab <schwab@redhat.com>
40786 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40788 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40791 (struct user_regs_struct): Change intcs field back to cs.
40793 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40795 * po/ja.po: Update from translation team.
40797 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40800 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40801 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40803 2011-05-20 Andreas Schwab <schwab@redhat.com>
40805 * stdlib/longlong.h: Update from GCC.
40807 2011-05-23 Andreas Schwab <schwab@redhat.com>
40809 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40811 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40812 Add parameter name.
40813 (__sysconf): Pass it down.
40815 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40818 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40820 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40821 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40822 add in in __libc_use_alloca calls. Adjust callers.
40823 (glob): Use malloc in some situations.
40825 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40826 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40829 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40831 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40832 and CLOCK_BOOTTIME_ALARM.
40835 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40838 * string/_strerror.c (__strerror_r): Print negative errors as signed
40842 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40843 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40844 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40846 * configure.in: Fix typo in redirection and correct removal of test
40847 files in two cases.
40850 * locale/setlocale.c (new_composite_name): Fix test to check for
40851 identical name of all categories.
40854 * libio/filedoalloc.c (local_isatty): New function.
40855 (_IO_file_doallocate): Use local_isatty.
40856 * stdio-common/perror.c (perror): In case a new stream is used
40857 forward the stream error.
40858 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40861 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40866 * include/alloca.h (extend_alloca_account): Define.
40869 * posix/regex.h: Fix comments with documentation of user-accessible
40870 fields after compilation and describe correct free'ing of pattern
40871 after re_compile_pattern.
40872 Patch by Reuben Thomas <rrt@sc3d.org>.
40874 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40876 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40877 and -mno-altivec to prevent the compiler from using Altivec and/or
40878 VSX instructions when the corresponding registers are not available.
40880 2011-05-19 Andreas Schwab <schwab@redhat.com>
40882 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40884 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40886 * libio/freopen.c (freopen): Use __dup2, not dup2.
40887 * libio/freopen64.c (freopen64): Likewise.
40889 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40892 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40893 * math/Makefile (tests): Add test-powl.
40894 (CFLAGS-test-powl.c): Define.
40895 * math/test-powl.c: New file.
40897 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40899 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40901 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40904 * iconvdata/gb18030.c: Update to GB18020-2005.
40906 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40908 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40909 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40910 Patch by Aharon Robbins <arnold@skeeve.com>.
40913 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40917 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40918 through underflows.
40921 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40922 point to strings before performing equality test for error_one_per_line
40926 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40930 (struct user_fpregs_struct): Avoid __uint*_t types.
40933 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40934 symbol info. Use it instead of calling _dl_addr locally.
40935 (lock_and_info): New function.
40936 (tr_freehook): Call lock_and_info and pass symbol info as additional
40937 parameter to tr_where.
40938 (tr_mallochook): Likewise.
40939 (tr_reallochook): Likewise.
40940 (tr_memalignhook): Likewise.
40942 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40943 used and couldn't be at all thread-safe.
40945 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40947 * libio/freopen.c (freopen): Don't close old file descriptor
40948 before the new one is opened. Instead dup the new file descriptor
40949 to the old one after the new stream is created.
40950 * libio/freopen64.c (freopen64): Likewise.
40951 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40952 * libio/fileops.c (_IO_new_file_close_it): Handle new
40953 _IO_FLAGS2_NOCLOSE flag.
40954 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40955 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40956 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40957 _IO_FLAGS2_NOCLOSE flag.
40958 * include/unistd.h: Add hidden_proto for dup3.
40959 Define __have_dup3.
40960 * io/dup3.c: Define hidden symbol.
40961 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40964 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40965 when an incomplete long option is used.
40966 * posix/tst-getopt_long1.c: New file.
40967 * posix/Makefile (tests): Add tst-getopt_long1.
40970 * scripts/config.guess: Update from autoconf-2.68.
40971 * scripts/config.sub: Likewise.
40974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40976 (has_cpuclock): ...this. New function.
40977 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40978 macro here based on has_cpuclock code.
40981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40982 First byte (not low byte) is now always NUL.
40983 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40986 Use non-cancelable interfaces.
40989 * locale/iso-639.def: Add entry for Sorani.
40992 * include/stdlib.h: Move include protection to the right place.
40993 Define abort_msg_s. Declare __abort_msg with it.
40994 * stdlib/abort.c (__abort_msg): Adjust type.
40995 * assert/assert.c (__assert_fail_base): New function. Majority
40996 of code from __assert_fail. Allocate memory for __abort_msg with
40998 (__assert_fail): Now call __assert_fail_base.
40999 * assert/assert-perr.c: Remove bulk of implementation. Use
41000 __assert_fail_base.
41001 * include/assert.hL Declare __assert_fail_base.
41002 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41004 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41006 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41010 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41011 until all modules are registered in the DTV.
41012 * elf/Makefile: Add rules to build and run tst-tls19.
41013 * elf/tst-tls19.c: New file.
41014 * elf/tst-tls19mod1.c: New file.
41015 * elf/tst-tls19mod2.c: New file.
41016 * elf/tst-tls19mod3.c: New file.
41017 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41020 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41024 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41025 two-byte sequence errors.
41026 * iconvdata/Makefile (tests): Add bug-iconv8.
41027 * iconvdata/bug-iconv8.c: New file.
41030 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41033 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41036 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41037 (dummy_getcfa): New function.
41038 (init): Get _Unwind_GetCFA address, use dummy if not found.
41039 (backtrace_helper): In recursion check, also check whether CFA changes.
41040 (__backtrace): Completely initialize arg.
41042 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41043 storing incomplete byte sequence in state object. Avoid testing for
41044 guaranteed too small input if we know there is enough data available.
41046 2011-05-11 Andreas Schwab <schwab@redhat.com>
41048 * Makeconfig (+link-pie): Indent.
41049 * Rules (binaries-pie): Define if $(have-fpie) and
41051 (binaries-shared): Also filter out $(binaries-pie).
41052 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41053 * nscd/Makefile (others-pie): Add nscd.
41054 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41055 ($(objpfx)nscd): Remove command override.
41056 * login/Makefile (others-pie): Add pt_chown.
41057 ($(objpfx)pt_chown): Remove command override.
41058 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41059 remove command overrides.
41061 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41063 * libio/tst_putwc.c: Fix error messages.
41066 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41067 currently writing and seek to current position when not.
41068 * libio/Makefile (tests): Add bug-fclose1.
41069 * libio/bug-fclose1.c: New file.
41071 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41074 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41075 don't set DF_1_NODELETE here.
41076 (do_lookup_x): When entering new entry test for copy relocation
41077 and if necessary set DF_1_NODELETE flag.
41078 * elf/tst-unique4.cc: New file.
41079 * elf/tst-unique4.h: New file.
41080 * elf/tst-unique4lib.cc: New file.
41081 * elf/Makefile: Add rules to build and run tst-unique4.
41082 Patch by Piotr Bury <pbury@goahead.com>.
41084 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41087 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41090 * misc/mntent_r.c (addmntent): Flush the stream after the output
41093 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41094 (is_trusted_path_normalize): Skip initial colon. Append slash
41095 to empty buffer. Duplicate is_trusted_path code but allow
41096 constructed patch to be prefix.
41097 (is_dst): Allow $ORIGIN followed by /.
41098 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41099 Correct testing of result of is_trusted_path_normalize
41100 (decompose_rpath): Fix warning.
41102 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41105 * grp/initgroups.c (internal_getgrouplist): When we found the service
41106 list through the initgroups entry in nsswitch.conf do not always
41107 continue on a successful lookup. Don't always use the
41108 __nss_group_database value if it is set.
41109 * nss/nsswitch.conf (initgroups): Change action for successful db
41110 lookup to continue for compatibility.
41112 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41115 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41117 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41119 * iconvdata/tst-tables.sh: Likewise.
41120 * iconvdata/cp770.c: New file.
41121 * iconvdata/cp771.c: New file.
41122 * iconvdata/cp772.c: New file.
41123 * iconvdata/cp773.c: New file.
41124 * iconvdata/cp774.c: New file.
41125 * iconvdata/testdata/CP770: New file.
41126 * iconvdata/testdata/CP770..UTF8: New file.
41127 * iconvdata/testdata/CP771: New file.
41128 * iconvdata/testdata/CP771..UTF8: New file.
41129 * iconvdata/testdata/CP772: New file.
41130 * iconvdata/testdata/CP772..UTF8: New file.
41131 * iconvdata/testdata/CP773: New file.
41132 * iconvdata/testdata/CP773..UTF8: New file.
41133 * iconvdata/testdata/CP774: New file.
41134 * iconvdata/testdata/CP774..UTF8: New file.
41136 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41138 * iconvdata/gen-8bit-gap.sh: Likewise.
41139 * iconvdata/gen-8bit.sh: Likewise.
41141 * locale/iso-639.def: Add ary entry.
41144 * locale/C-translit.h.in: Add U20A1 transliteration.
41147 * locale/iso-639.def: Add wae entry.
41148 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41151 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41155 * locale/C-translit.h.in: Add entry for U20B9.
41156 Patch by pravin.d.s@gmail.com.
41158 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41161 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41162 ENAMETOOLONG use generic getcwd.
41163 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41164 in rtld. Use *stat64.
41165 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41166 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41167 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41168 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41169 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41170 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41171 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41172 __fstatat64 macros.
41173 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41174 * dirent/rewinddir.c: Add libc_hidden_def.
41175 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41176 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41178 * include/dirent.h (__alloc_dir): Add flags parameter.
41179 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41180 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41182 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41183 from fdopendir if O_CLOEXEC is already set.
41185 2011-03-15 Alan Modra <amodra@gmail.com>
41187 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41188 l_tls_firstbyte_offset non-zero. Save padding offset in
41189 l_tls_firstbyte_offset for later use.
41190 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41191 freeing static tls block.
41193 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41195 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41196 where #ifdef was intended. The intent is to prevent ARG_MAX from
41197 being defined by the kernel headers.
41199 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41202 * resolv/resolv.h: Define RES_NOTLDQUERY.
41203 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41204 no-tld-query and set RES_NOTLDQUERY.
41205 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41206 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41207 modern BIND to search name as TLD unless forbidden.
41209 2011-05-07 Petr Baudis <pasky@suse.cz>
41210 Ulrich Drepper <drepper@gmail.com>
41213 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41214 (is_trusted_path): ...to here.
41215 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41216 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41217 using is_trusted_path_normalize() in setuid scripts.
41219 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41221 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41222 __BEGIN/__END_DECLS.
41224 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41226 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41227 NSS_STATUS_NOTFOUND if no record was found.
41229 2011-05-05 Andreas Schwab <schwab@redhat.com>
41231 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41232 (headers-not-in-tirpc): Remove rpc/netdb.h
41233 * resolv/netdb.h: Revert last change.
41235 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41237 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41238 circular dependency between libgcc.a and libc.a.
41240 2011-05-05 Andreas Schwab <schwab@redhat.com>
41242 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41243 * nis/Makefile: Don't install rpcsvc/*.
41244 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41245 instead of <rpc/types.h>.
41246 (MAXHOSTNAMELEN): Define.
41248 2011-05-03 Andreas Schwab <schwab@redhat.com>
41250 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41252 2011-04-28 Maciej Babinski <mbabinski@google.com>
41255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41256 gethostbyname4_r when IPv6 results are possible.
41258 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41261 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41262 _PC_PIPE_BUF handling.
41264 2011-04-30 Bruno Haible <bruno@clisp.org>
41267 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41268 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41270 * inet/getnameinfo.c (getnameinfo): Likewise.
41272 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41274 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41275 to groups setting in database lookup.
41276 * nss/nsswitch.conf: Add initgroups entry.
41278 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41281 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41283 Patch by Eric Blake <eblake@redhat.com>.
41285 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41287 * sunrpc/Makefile (need-export-routines): Add svc_run.
41288 (routines): Remove svc_run.
41289 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41290 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41291 * sunrpc/svc_run.c (svc_run): Likewise.
41292 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41294 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41297 problem in reallocation in last patch.
41299 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41301 * sunrpc/Makefile: Move inclusion of Rules.
41303 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41305 * nss/nss_files/files-initgroups.c: New file.
41306 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41307 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41308 _nss_files_initgroups_dyn.
41310 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41312 * elf/elf.h (R_ARM_IRELATIVE): Define.
41314 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41316 * po/ru.po: Update from translation team.
41318 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41320 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41323 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41326 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41327 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41332 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41334 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41336 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41338 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41340 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41343 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41345 * stdlib/bug-getcontext.c: New file.
41346 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41348 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41350 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41351 instructions into .machine "z9-109".
41352 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41353 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41355 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41357 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41358 between environment variables and auxiliary vector.
41360 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41362 * Makefile: Add rules to build linkobj/libc.so.
41363 * include/libc-symbols.h: Define libc_hidden_nolink.
41364 * include/rpc/auth.h: Mark functions which are to be hidden.
41365 * include/rpc/auth_des.h: Likewise.
41366 * include/rpc/auth_unix.h: Likewise.
41367 * include/rpc/clnt.h: Likewise.
41368 * include/rpc/des_crypt.h: Likewise.
41369 * include/rpc/key_prot.h: Likewise.
41370 * include/rpc/pmap_clnt.h: Likewise.
41371 * include/rpc/pmap_prot.h: Likewise.
41372 * include/rpc/pmap_rmt.h: Likewise.
41373 * include/rpc/rpc_msg.h: Likewise.
41374 * include/rpc/svc.h: Likewise.
41375 * include/rpc/svc_auth.h: Likewise.
41376 * include/rpc/xdr.h: Likewise.
41377 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41378 * nss/Makefile: Likewise.
41379 * sunrpc/Makefile: Don't install headers. Build library with normal
41380 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41381 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41382 for the compat linking library. Remove use of INTDEF/INTUSE.
41383 * sunrpc/auth_none.c: Likewise.
41384 * sunrpc/auth_unix.c: Likewise.
41385 * sunrpc/authdes_prot.c: Likewise.
41386 * sunrpc/authuxprot.c: Likewise.
41387 * sunrpc/clnt_gen.c: Likewise.
41388 * sunrpc/clnt_perr.c: Likewise.
41389 * sunrpc/clnt_raw.c: Likewise.
41390 * sunrpc/clnt_simp.c: Likewise.
41391 * sunrpc/clnt_tcp.c: Likewise.
41392 * sunrpc/clnt_udp.c: Likewise.
41393 * sunrpc/clnt_unix.c: Likewise.
41394 * sunrpc/des_crypt.c: Likewise.
41395 * sunrpc/des_soft.c: Likewise.
41396 * sunrpc/get_myaddr.c: Likewise.
41397 * sunrpc/key_call.c: Likewise.
41398 * sunrpc/key_prot.c: Likewise.
41399 * sunrpc/netname.c: Likewise.
41400 * sunrpc/pm_getmaps.c: Likewise.
41401 * sunrpc/pm_getport.c: Likewise.
41402 * sunrpc/pmap_clnt.c: Likewise.
41403 * sunrpc/pmap_prot.c: Likewise.
41404 * sunrpc/pmap_prot2.c: Likewise.
41405 * sunrpc/pmap_rmt.c: Likewise.
41406 * sunrpc/publickey.c: Likewise.
41407 * sunrpc/rpc_cmsg.c: Likewise.
41408 * sunrpc/rpc_common.c: Likewise.
41409 * sunrpc/rpc_dtable.c: Likewise.
41410 * sunrpc/rpc_prot.c: Likewise.
41411 * sunrpc/rpc_thread.c: Likewise.
41412 * sunrpc/rtime.c: Likewise.
41413 * sunrpc/svc.c: Likewise.
41414 * sunrpc/svc_auth.c: Likewise.
41415 * sunrpc/svc_authux.c: Likewise.
41416 * sunrpc/svc_raw.c: Likewise.
41417 * sunrpc/svc_run.c: Likewise.
41418 * sunrpc/svc_simple.c: Likewise.
41419 * sunrpc/svc_tcp.c: Likewise.
41420 * sunrpc/svc_udp.c: Likewise.
41421 * sunrpc/svc_unix.c: Likewise.
41422 * sunrpc/svcauth_des.c: Likewise.
41423 * sunrpc/xcrypt.c: Likewise.
41424 * sunrpc/xdr.c: Likewise.
41425 * sunrpc/xdr_array.c: Likewise.
41426 * sunrpc/xdr_float.c: Likewise.
41427 * sunrpc/xdr_intXX_t.c: Likewise.
41428 * sunrpc/xdr_mem.c: Likewise.
41429 * sunrpc/xdr_rec.c: Likewise.
41430 * sunrpc/xdr_ref.c: Likewise.
41431 * sunrpc/xdr_sizeof.c: Likewise.
41432 * sunrpc/xdr_stdio.c: Likewise.
41434 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41437 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41438 * sysdeps/ia64/dl-tls.h: Likewise.
41439 * sysdeps/powerpc/dl-tls.h: Likewise.
41440 * sysdeps/s390/dl-tls.h: Likewise.
41441 * sysdeps/sh/dl-tls.h: Likewise.
41442 * sysdeps/sparc/dl-tls.h: Likewise.
41443 * sysdeps/x86_64/dl-tls.h: Likewise.
41444 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41446 2011-03-14 Andreas Schwab <schwab@redhat.com>
41448 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41449 rpath element also skip the following colon.
41450 (expand_dynamic_string_token): Add is_path parameter and pass
41451 down to DL_DST_REQUIRED and _dl_dst_substitute.
41452 (decompose_rpath): Call expand_dynamic_string_token with
41453 non-zero is_path. Ignore empty rpaths.
41454 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41457 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41462 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41465 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41466 Patch by Filipe David Manana <fdmanana@apache.org>.
41468 2011-04-07 Andreas Schwab <schwab@redhat.com>
41470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41471 Maintain aligned stack.
41472 (CHECK_RSP): Remove unused macro.
41474 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41476 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41477 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41479 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41481 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41483 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41485 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41488 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41489 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41490 * sysdeps/x86_64/memmove.c: New file.
41491 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41492 (memcpy): Renamed to ...
41493 (__new_memcpy): This.
41494 (memcpy): Provide GLIBC_2_14 memcpy.
41495 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41496 (memcpy): Provide GLIBC_2_2_5 memcpy.
41498 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41501 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41503 2011-03-30 Andreas Schwab <schwab@redhat.com>
41505 * misc/syncfs.c: New file.
41506 * misc/Makefile (routines): Add syncfs.
41507 * posix/unistd.h: Declare syncfs.
41508 * sysdeps/unix/syscalls.list: Add syncfs.
41510 2011-04-01 Andreas Schwab <schwab@redhat.com>
41512 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41514 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41519 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41520 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41522 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41525 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41528 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41532 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41533 sync_file_range.c with -fexceptions.
41534 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41535 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41536 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41537 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41538 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41539 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41540 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41541 sync_file_range as cancellation point
41542 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41543 now a wrapper around __call_sync_file_range with cancellation handling.
41544 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41545 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41546 function name to __call_sync_file_range.
41547 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41548 Add call_sync_file_range.
41550 2011-04-01 Andreas Schwab <schwab@redhat.com>
41552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41555 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41557 * iconv/iconv.h: Fix typo in comment.
41558 * io/fcntl.h: Likewise.
41559 * libio/stdio.h: Likewise.
41560 * posix/spawn.h: Likewise.
41561 * posix/unistd.h: Likewise.
41562 * stdlib/stdlib.h: Likewise.
41563 * time/time.h: Likewise.
41564 * wcsmbs/wchar.h: Likewise.
41566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41567 open_by_handle): Add.
41568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41569 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41570 Augment a few comments.
41571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41576 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41579 * io/fcntl.h (AT_EMPTY_PATH): Define.
41581 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41583 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41584 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41585 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41587 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41588 * Versions.def: Add GLIBC_2.14.
41589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41592 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41594 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41596 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41598 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41601 * string/test-strncmp.c (do_page_test): New function.
41602 (check2): Likewise.
41603 (test_main): Call check2.
41604 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41606 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41609 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41610 Handle cache information in CPU leaf 4.
41611 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41613 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41616 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41617 character representation.
41618 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41620 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41622 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41623 END(__isnan) to END(__isnanf) to match function entry point/label
41624 EALIGN(__isnanf,...).
41626 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41628 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41630 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41633 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41634 copy from the symbol referenced in the relocation to initialize the
41636 Patch by Piotr Bury <pbury@goahead.com>.
41637 * elf/Makefile: Add rules to build and tst-unique3.
41638 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41639 * elf/tst-unique3.cc: New file.
41640 * elf/tst-unique3.h: New file.
41641 * elf/tst-unique3lib.cc: New file.
41642 * elf/tst-unique3lib2.cc: New file.
41644 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41646 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41648 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41649 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41652 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41654 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41655 to-be-loaded object along a path to loader is ld.so.
41657 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41658 Ulrich Drepper <drepper@gmail.com>
41660 * sysdeps/x86_64/memset.S: After aligning destination, code
41661 branches to different locations depending on the value of
41662 misalignment, when multiarch is enabled. Fix this.
41664 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41666 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41667 Set _x86_64_preferred_memory_instruction for AMD processsors.
41668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41669 Set bit_Prefer_SSE_for_memop for AMD processors.
41671 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41673 * libio/fmemopen.c (fmemopen): Optimize a bit.
41675 2011-03-03 Andreas Schwab <schwab@redhat.com>
41677 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41679 2011-03-03 Roland McGrath <roland@redhat.com>
41681 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41683 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41685 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41686 __bzero_ultra1 instead of __memset_ultra1.
41688 2011-02-23 Andreas Schwab <schwab@redhat.com>
41689 Ulrich Drepper <drepper@gmail.com>
41692 * include/link.h (struct link_map): Add l_orig_initfini.
41693 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41694 returning unsuccessfully.
41695 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41696 close of a file loaded at startup, restore the original l_initfini
41698 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41699 list, store the pointer.
41700 * elf/Makefile ($(objpfx)noload-mem): New rule.
41701 (noload-ENV): Define.
41702 (tests): Add $(objpfx)noload-mem.
41703 * elf/noload.c: Include <memcheck.h>.
41704 (main): Call mtrace. Close all opened handles.
41706 2011-02-17 Andreas Schwab <schwab@redhat.com>
41709 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41710 dependencies are missing.
41712 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41714 Fix __if_freereq crash: Unlike the generic version which uses free,
41716 * sysdeps/mach/hurd/ifreq.h: New file.
41718 2011-01-27 Petr Baudis <pasky@suse.cz>
41719 Ulrich Drepper <drepper@gmail.com>
41722 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41723 to extend_alloca().
41724 * stdio-common/bug23.c: New file.
41725 * stdio-common/Makefile (tests): Add bug23.
41727 2010-09-28 Andreas Schwab <schwab@redhat.com>
41728 Ulrich Drepper <drepper@gmail.com>
41731 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41732 before performing relro protection. At old place add assertion
41733 to make sure nothing changed.
41735 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41736 Glauber de Oliveira Costa <glommer@gmail.com>
41738 * elf/elf.h: Add new ARM TLS relocs.
41740 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41743 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41745 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41747 * sysdeps/wordsize-64/tst-writev.c: New file.
41749 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41751 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41752 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41753 insns in _dl_start to prevent a TOC reference before relocs are
41756 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41759 * Makeconfig: Remove RANLIB definition.
41760 * Makerules: Don't use RANLIB.
41761 * aclocal.m4: Remove ranlib test.
41762 * configure.in: No need to check for ranlib.
41763 * elf/rtld-Rules: Don't use RANLIB.
41765 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41767 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41769 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41770 inclusion protection macro.
41772 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41773 SIGRTMIN and SIGRTMAX and print information in that case only when
41774 SIGRTMIN is defined.
41776 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41778 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41779 arginfo fn returning -1.
41781 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41782 and thousands string is zero terminated.
41784 2011-02-03 Andreas Schwab <schwab@redhat.com>
41786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41787 sysdeps/unix/sysv/linux/bits/socket.h.
41789 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41791 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41792 (__CPU_COUNT): Remove old macros.
41793 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41794 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41795 (__CPU_ALLOC, __CPU_FREE): Add macros.
41796 (__sched_cpualloc, __sched_cpufree): Add declarations.
41798 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41800 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41801 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41802 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41803 (readdhstai): Return value of addhstaiX call.
41804 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41805 (addgrbyX): Return value returned by cache_addgr.
41806 (readdgrbyname): Return value returned by addgrbyX.
41807 (readdgrbygid): Likewise.
41808 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41809 (addpwbyX): Return value returned by cache_addpw.
41810 (readdpwbyname): Return value returned by addhstbyX.
41811 (readdpwbyuid): Likewise.
41812 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41813 (addservbyX): Return value returned by cache_addserv.
41814 (readdservbyname): Return value returned by addservbyX:
41815 (readdservbyport): Likewise.
41816 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41817 (addhstbyX): Return value returned by cache_addhst.
41818 (readdhstbyname): Return value returned by addhstbyX.
41819 (readdhstbyaddr): Likewise.
41820 (readdhstbynamev6): Likewise.
41821 (readdhstbyaddrv6): Likewise.
41822 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41823 (readdinitgroups): Return value returned by addinitgroupsX.
41824 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41825 (prune_cache): Keep track of timeout value of re-added entries.
41826 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41827 * nscd/nscd.h: Adjust prototypes of readd* functions.
41829 2011-02-04 Roland McGrath <roland@redhat.com>
41831 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41832 (nis_stats): Likewise.
41833 * nis/nis_modify.c (nis_modify): Likewise.
41834 * nis/nis_remove.c (nis_remove): Likewise.
41835 * nis/nis_add.c (nis_add): Likewise.
41837 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41839 * posix/fnmatch_loop.c: Add some consts.
41841 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41843 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41846 * config.make.in (config-cflags-novzeroupper): Define.
41847 * configure.in: Substitute libc_cv_cc_novzeroupper.
41848 * elf/Makefile (AVX-CFLAGS): Define.
41849 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41850 (CFLAGS-tst-auditmod4a.c): Likewise.
41851 (CFLAGS-tst-auditmod4b.c): Likewise.
41852 (CFLAGS-tst-auditmod6b.c): Likewise.
41853 (CFLAGS-tst-auditmod6c.c): Likewise.
41854 (CFLAGS-tst-auditmod7b.c): Likewise.
41855 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41857 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41859 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41860 function to the callback.
41861 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41863 2011-02-02 Andreas Schwab <schwab@redhat.com>
41865 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41868 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41871 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41873 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41875 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41878 * elf/Makefile: Add rules to build and run new test.
41879 * elf/tst-initorder.c: New file.
41880 * elf/tst-initorder.exp: New file.
41881 * elf/tst-initordera1.c: New file.
41882 * elf/tst-initordera2.c: New file.
41883 * elf/tst-initordera3.c: New file.
41884 * elf/tst-initordera4.c: New file.
41885 * elf/tst-initorderb1.c: New file.
41886 * elf/tst-initorderb2.c: New file.
41887 * elf/tst-order-a1.c: New file.
41888 * elf/tst-order-a2.c: New file.
41889 * elf/tst-order-a3.c: New file.
41890 * elf/tst-order-a4.c: New file.
41891 * elf/tst-order-b1.c: New file.
41892 * elf/tst-order-b2.c: New file.
41893 * elf/tst-order-main.c: New file.
41894 New test case by George Gensure <werkt0@gmail.com>.
41896 2010-10-01 Andreas Schwab <schwab@redhat.com>
41898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41899 decoding ACE if AI_CANONIDN.
41901 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41903 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41905 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41907 * version.h (RELEASE): Bump for 2.13 release.
41908 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41910 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41914 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41915 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41917 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41921 * posix/getconf.c: Update copyright year.
41922 * catgets/gencat.c: Likewise.
41923 * csu/version.c: Likewise.
41924 * debug/catchsegv.sh: Likewise.
41925 * debug/xtrace.sh: Likewise.
41926 * elf/ldconfig.c: Likewise.
41927 * elf/ldd.bash.in: Likewise.
41928 * elf/sprof.c (print_version): Likewise.
41929 * iconv/iconv_prog.c: Likewise.
41930 * iconv/iconvconfig.c: Likewise.
41931 * locale/programs/locale.c: Likewise.
41932 * locale/programs/localedef.c: Likewise.
41933 * malloc/memusage.sh: Likewise.
41934 * malloc/mtrace.pl: Likewise.
41935 * nscd/nscd.c (print_version): Likewise.
41936 * nss/getent.c: Likewise.
41938 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41939 PF_CAIF, and PF_ALG.
41940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41942 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41944 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41945 (modules-names): Use them.
41946 (ifunc-test-modules, ifunc-pie-tests): Define.
41947 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41948 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41949 (test-extras): Likewise.
41950 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41951 $(compile-command.c).
41952 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41953 (all-built-dso): Define.
41954 (check-textrel.out, check-execstack.out): Depend on it.
41956 * configure.in: Don't override --enable-multi-arch.
41958 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41961 * nscd/hstcache.c (tryagain): Define.
41962 (cache_addhst): Return tryagain not notfound for temporary errors.
41963 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41966 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41969 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41970 to make the syscall.
41971 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41974 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41975 and fall back to matching as normal character if the string ends before
41976 the matching ']' is found. This is what POSIX requires.
41977 * posix/testfnm.c: Adjust test result.
41978 * posix/globtest.sh: Adjust test result. Add new test.
41979 * posix/tst-fnmatch.input: Likewise.
41980 * posix/tst-fnmatch2.c: Add new test.
41982 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41984 * elf/Makefile (check-execstack): Revert last change. Depend on
41986 (check-execstack.h): New target.
41987 (generated): Add check-execstack.h.
41988 * elf/check-execstack.c: Include "check-execstack.h".
41989 (main): Revert last change.
41990 (handle_file): Return zero if GNU_STACK is absent and
41991 DEFAULT_STACK_PERMS doesn't include PF_X.
41993 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41995 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41996 in child fails because the descriptor is already closed.
41997 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41998 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41999 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42002 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42006 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42007 temporary buffer used to handle multi lookups locally.
42008 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42010 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42012 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42015 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42017 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42018 alignment for SSE2.
42020 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42023 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42024 characters. When rounding increased number of integer digits recompute
42026 * stdio-common/tst-grouping.c: New file.
42027 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42029 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42031 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42032 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42034 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42036 * bits/select.h: Likewise.
42038 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42040 * po/ja.po: Update from translation team.
42042 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42045 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42046 implementation just like for lxstat, fxstatat, et al.
42048 2010-12-27 Jim Meyering <meyering@redhat.com>
42051 * posix/regexec.c (build_trtable): Return failure indication upon
42052 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42054 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42057 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42058 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42059 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42060 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42063 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42066 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42067 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42069 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42071 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42072 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42073 script has SORT_BY_INIT_PRIORITY.
42074 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42075 NO_CTORS_DTORS_SECTIONS is defined.
42076 * elf/soinit.c: Likewise.
42077 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42078 NO_CTORS_DTORS_SECTIONS is defined.
42079 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42080 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42081 * sysdeps/sh/init-first.c: Likewise.
42082 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42084 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42086 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42087 always use the slow path.
42089 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42091 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42092 similar rule which adds the sysdep directories to the header search in
42093 order to pick up the correct platform stackinfo.h.
42094 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42095 perform test if it is, otherwise return successfully without testing.
42096 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42097 DEFAULT_STACK_PERMS define in stackinfo.h.
42098 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42099 defined in stackinfo.h.
42100 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42101 DEFAULT_STACK_PERMS defined in stackinfo.h.
42102 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42103 * sysdeps/ia64/stackinfo.h: Likewise.
42104 * sysdeps/s390/stackinfo.h: Likewise.
42105 * sysdeps/sh/stackinfo.h: Likewise.
42106 * sysdeps/sparc/stackinfo.h: Likewise.
42107 * sysdeps/x86_64/stackinfo.h: Likewise.
42108 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42109 PF_X for powerpc64. Retain PF_X for powerpc32.
42111 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42113 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42115 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42116 GETDENTS_64BIT_ALIGNED.
42118 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42120 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42122 2010-12-10 Andreas Schwab <schwab@redhat.com>
42124 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42127 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42128 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42130 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42131 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42133 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42136 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42139 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42141 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42143 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42145 * po/it.po: Update from translation team.
42147 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42152 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42154 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42156 2010-11-24 Andreas Schwab <schwab@redhat.com>
42158 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42160 (gaih_getanswer_slice): Likewise.
42162 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42166 2010-05-31 Petr Baudis <pasky@suse.cz>
42169 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42170 silently even in the chroot mode.
42172 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42174 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42175 last patch a bit. Pretty printing
42177 2010-05-31 Petr Baudis <pasky@suse.cz>
42180 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42181 initialization of skip_initgroups_dyn.
42183 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42185 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42186 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42188 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42190 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42192 2010-11-11 Andreas Schwab <schwab@redhat.com>
42194 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42195 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42196 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42197 ($(objpfx)tst-fnmatch-mem): New rule.
42198 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42199 * posix/tst-fnmatch.c (main): Call mtrace.
42201 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42204 Support Intel processor model 6 and model 0x2c.
42206 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42208 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42211 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42214 * string/test-strncasecmp.c (check_result): New function.
42215 (do_one_test): Use it.
42216 (check1): New function.
42217 (test_main): Use it.
42218 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42219 Support strcasecmp and strncasecmp.
42221 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42224 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42225 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42227 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42229 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42233 * sysdeps/x86_64/multiarch/bzero.S: New file.
42234 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42235 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42236 * sysdeps/x86_64/multiarch/memset.S: New file.
42237 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42239 Set bit_Prefer_SSE_for_memop for Intel processors.
42240 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42242 (index_Prefer_SSE_for_memop): Define.
42243 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42245 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42247 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42248 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42250 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42253 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42254 (__x86_64_raw_data_cache_size_half): Likewise.
42255 (__x86_64_raw_shared_cache_size): Likewise.
42256 (__x86_64_raw_shared_cache_size_half): Likewise.
42258 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42259 (__x86_64_raw_data_cache_size_half): Likewise.
42260 (__x86_64_raw_shared_cache_size): Likewise.
42261 (__x86_64_raw_shared_cache_size_half): Likewise.
42262 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42263 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42264 and __x86_64_raw_shared_cache_size_half. Round
42265 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42266 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42267 to multiple of 256 bytes.
42269 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42272 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42273 of inacessible symlinks. Verify result of symlink before returning it.
42274 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42275 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42277 2010-10-28 Erich Ritz <erichritz@gmail.com>
42279 * math/math.h (isinf): Fix typo in comment.
42281 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42283 * po/da.po: Update from translation team.
42285 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42287 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42288 is added to the list.
42290 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42291 Ulrich Drepper <drepper@gmail.com>
42293 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42294 the global list here. Move code to...
42295 (_dl_add_to_namespace_list): ...here. New function.
42296 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42297 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42298 * elf/dl-load.c (lose): Don't remove the element from the list.
42299 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42300 (_dl_map_object): Likewise.
42302 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42305 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42306 into all bytes of SSE register.
42307 Patch by Richard Li <richardpku@gmail.com>.
42309 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42312 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42315 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42317 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42318 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42319 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42320 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42325 2010-10-22 Andreas Schwab <schwab@redhat.com>
42327 * include/dlfcn.h (__RTLD_SECURE): Define.
42328 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42329 mode & __RTLD_SECURE instead.
42330 (open_path): Rename preloaded parameter to secure.
42331 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42332 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42333 * elf/dl-deps.c (openaux): Likewise.
42334 * elf/rtld.c (struct map_args): Remove is_preloaded.
42335 (map_doit): Don't use it.
42336 (dl_main): Likewise.
42337 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42338 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42340 2010-09-09 Andreas Schwab <schwab@redhat.com>
42342 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42343 (sysd-rules-targets): Remove duplicates.
42344 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42345 rtld-%.$o dependency.
42347 2010-10-18 Andreas Schwab <schwab@redhat.com>
42349 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42350 _dl_map_object do it.
42352 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42354 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42355 fast fma builtins, define the macros in the C99 standard.
42356 (FP_FAST_FMAF): Likewise.
42357 (FP_FAST_FMAL): Likewise.
42358 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42360 * bits/mathdef.h: Update copyright year.
42361 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42363 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42365 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42366 builtins, define the macros in the C99 standard.
42367 (FP_FAST_FMAF): Likewise.
42368 (FP_FAST_FMAL): Likewise.
42369 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42371 (FP_FAST_FMAF): Likewise.
42373 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42376 * math/libm-test.inc (fma_test): Some new testcases.
42377 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42378 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42379 y and infinite z. Do multiplication by C already in long double.
42380 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42382 y and infinite z. Do bitwise or of inexact bit into u.d.
42383 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42384 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42385 * sysdeps/i386/fpu/s_fma.S: Removed.
42386 * sysdeps/i386/fpu/s_fmal.S: Removed.
42388 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42391 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42393 computation is not scheduled after fetestexcept. Fix value
42394 of minimum denormal long double.
42396 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42399 * math/libm-test.inc (fma_test): Add some more tests.
42400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42403 2010-10-15 Andreas Schwab <schwab@redhat.com>
42405 * scripts/data/localplt-s390-linux-gnu.data: New file.
42406 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42408 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42411 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42412 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42414 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42416 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42418 if one of x and y is very large and the other is subnormal.
42419 * sysdeps/s390/fpu/s_fmaf.c: New file.
42420 * sysdeps/s390/fpu/s_fma.c: New file.
42421 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42422 * sysdeps/powerpc/fpu/s_fma.S: New file.
42423 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42424 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42425 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42427 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42430 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42433 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42434 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42435 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42436 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42437 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42438 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42440 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42443 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42444 * posix/bug-regex31.input: Add test case.
42446 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42448 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42449 * posix/bug-regex31.input: New file.
42452 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42453 (parse_sub_exp): Fix last change, use postorder.
42455 * posix/bug-regex31.c: New file.
42456 * posix/Makefile: Add rules to build and run bug-regex31.
42458 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42461 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42464 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42465 to have entries in sys_siglist.
42468 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42471 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42474 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42475 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42476 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42477 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42478 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42479 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42480 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42481 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42482 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42483 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42484 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42485 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42486 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42487 * math/ftestexcept.c (fetestexcept): Likewise.
42488 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42489 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42490 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42491 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42492 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42493 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42494 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42496 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42499 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42502 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42504 * string/bug-strstr1.c: New file.
42505 * string/Makefile: Add rules to build and run bug-strstr1.
42507 2010-10-05 Eric Blake <eblake@redhat.com>
42510 * string/str-two-way.h (two_way_long_needle): Always clear memory
42511 when skipping input due to the shift table.
42513 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42516 * malloc/mcheck.c: Handle large requests.
42519 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42520 for strncmp and strncasecmp.
42521 * string/stratcliff.c: Add tests for strcmp and strncmp.
42522 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42524 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42526 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42529 2010-09-30 Andreas Jaeger <aj@suse.de>
42531 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42532 (CGROUP_SUPER_MAGIC): Define.
42533 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42534 Handle btrfs and cgroup file systems.
42535 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42538 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42540 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42541 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42543 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42546 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42547 trying to locate the ELF header.
42549 2010-09-27 Andreas Schwab <schwab@redhat.com>
42552 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42553 Mask out sign-bit copies when constructing f_fsid.
42555 2010-09-24 Petr Baudis <pasky@suse.cz>
42557 * debug/stack_chk_fail_local.c: Add missing licence exception.
42558 * debug/warning-nop.c: Likewise.
42560 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42562 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42563 implementing getdents64 using getdents syscall, set d_type if
42564 __ASSUME_GETDENTS32_D_TYPE.
42566 2010-09-16 Andreas Schwab <schwab@redhat.com>
42568 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42569 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42571 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42574 * posix/unistd.h: Undo change of feature selection for ftruncate from
42577 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42579 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42582 2010-09-20 Andreas Schwab <schwab@redhat.com>
42584 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42586 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42588 2010-09-14 Andreas Schwab <schwab@redhat.com>
42590 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42591 variables after CHECK_SP call.
42592 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42594 2010-09-13 Andreas Schwab <schwab@redhat.com>
42595 Ulrich Drepper <drepper@redhat.com>
42597 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42598 re-relocationg ld.so.
42599 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42600 _dl_init_paths call.
42601 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42604 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42606 * resolv/res_init.c (__res_vinit): Count the default server we added.
42608 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42609 Ulrich Drepper <drepper@redhat.com>
42612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42613 (____longjmp_chk): Use %ebx for saving value across system call.
42616 2010-09-06 Andreas Schwab <schwab@redhat.com>
42618 * manual/Makefile: Don't mix pattern rules with normal rules.
42620 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42622 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42624 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42625 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42626 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42627 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42631 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42634 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42635 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42637 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42639 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42640 * sysdeps/x86_64/addmul_1.S: Likewise.
42641 * sysdeps/x86_64/lshift.S: Likewise.
42642 * sysdeps/x86_64/mul_1.S: Likewise.
42643 * sysdeps/x86_64/rshift.S: Likewise.
42644 * sysdeps/x86_64/sub_n.S: Likewise.
42645 * sysdeps/x86_64/submul_1.S: Likewise.
42647 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42649 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42650 Define __sched_param instead of SCHED_* and sched_param when
42651 <bits/sched.h> is included with __need_schedparam defined.
42652 * bits/sched.h [__need_schedparam]
42653 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42654 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42655 (__defined_schedparam): Define to 1.
42656 (__sched_param): New structure, identical to sched_param.
42657 (__need_schedparam): Undefine.
42659 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42662 (epoll_create1): Declare.
42664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42666 2010-08-31 Andreas Schwab <schwab@redhat.com>
42669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42670 shifting retval into place.
42672 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42674 * nis/rpcsvc/nis.h: Update copyright notice.
42675 * nis/rpcsvc/nis.x: Likewise.
42676 * nis/rpcsvc/nis_callback.h: Likewise.
42677 * nis/rpcsvc/nis_callback.x: Likewise.
42678 * nis/rpcsvc/nis_object.x: Likewise.
42679 * nis/rpcsvc/nis_tags.h: Likewise.
42680 * nis/rpcsvc/yp.h: Likewise.
42681 * nis/rpcsvc/yp.x: Likewise.
42682 * nis/rpcsvc/ypupd.h: Likewise.
42683 * nis/yp_xdr.c: Likewise.
42684 * nis/ypupdate_xdr.c: Likewise.
42686 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42687 mainly the body of pmap_getport. Add parameters to specify timeouts.
42688 (pmap_getport): Use __libc_rpc_getport.
42689 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42690 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42691 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42693 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42698 2010-08-27 Roland McGrath <roland@redhat.com>
42700 * sysdeps/i386/i686/multiarch/Makefile
42701 (CFLAGS-varshift.c): New variable.
42703 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42705 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42706 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42708 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42710 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42712 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42714 * sysdeps/x86_64/strlen.S: Unroll the loop.
42715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42716 strlen-sse2 strlen-sse2-bsf.
42717 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42718 __strlen_no_bsf if bit_Slow_BSF is set.
42719 (__strlen_sse42): Removed.
42720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42721 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42723 2010-08-25 Roland McGrath <roland@redhat.com>
42725 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42726 * sysdeps/x86_64/multiarch/varshift.c: New file.
42727 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42728 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42729 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42730 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42732 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42735 strlen-sse2 strlen-sse2-bsf.
42736 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42737 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42738 (__strlen_sse2): Removed.
42739 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42742 bit_Slow_BSF for Atom.
42743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42744 (index_Slow_BSF): Define.
42745 (HAS_SLOW_BSF): Define.
42747 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42750 * resolv/res_init.c (__res_vinit): When no server address at all
42751 is given default to loopback.
42753 2010-08-24 Roland McGrath <roland@redhat.com>
42755 * configure.in: Remove config-name.h generation.
42756 * configure: Regenerated.
42757 * config-name.in: File removed.
42758 * scripts/config-uname.sh: New file.
42759 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42760 ($(objdir)config-name.h): New target.
42762 * sunrpc/rpc_parse.h: Avoid nested comment.
42764 2010-08-24 Richard Henderson <rth@redhat.com>
42765 Ulrich Drepper <drepper@redhat.com>
42766 H.J. Lu <hongjiu.lu@intel.com>
42768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42770 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42771 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42772 _mm_alignr_epi8 with _mm_loadu_si128.
42773 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42774 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42775 (__m128i_shift_right): Removed.
42776 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42777 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42778 * sysdeps/x86_64/multiarch/varshift.h: New file.
42779 * sysdeps/x86_64/multiarch/varshift.S: New file.
42781 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42783 * configure.in: Move assembler checks to before sysdep dir checking.
42785 2010-08-20 Petr Baudis <pasky@suse.cz>
42787 * LICENSES: Sync the sunrpc license.
42789 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42791 * sunrpc/auth_des.c: Update copyright notice once again.
42792 * sunrpc/auth_none.c: Likewise.
42793 * sunrpc/auth_unix.c: Likewise.
42794 * sunrpc/authdes_prot.c: Likewise.
42795 * sunrpc/authuxprot.c: Likewise.
42796 * sunrpc/bindrsvprt.c: Likewise.
42797 * sunrpc/clnt_gen.c: Likewise.
42798 * sunrpc/clnt_perr.c: Likewise.
42799 * sunrpc/clnt_raw.c: Likewise.
42800 * sunrpc/clnt_simp.c: Likewise.
42801 * sunrpc/clnt_tcp.c: Likewise.
42802 * sunrpc/clnt_udp.c: Likewise.
42803 * sunrpc/clnt_unix.c: Likewise.
42804 * sunrpc/des_crypt.c: Likewise.
42805 * sunrpc/des_soft.c: Likewise.
42806 * sunrpc/get_myaddr.c: Likewise.
42807 * sunrpc/getrpcport.c: Likewise.
42808 * sunrpc/key_call.c: Likewise.
42809 * sunrpc/key_prot.c: Likewise.
42810 * sunrpc/openchild.c: Likewise.
42811 * sunrpc/pm_getmaps.c: Likewise.
42812 * sunrpc/pm_getport.c: Likewise.
42813 * sunrpc/pmap_clnt.c: Likewise.
42814 * sunrpc/pmap_prot.c: Likewise.
42815 * sunrpc/pmap_prot2.c: Likewise.
42816 * sunrpc/pmap_rmt.c: Likewise.
42817 * sunrpc/rpc/auth.h: Likewise.
42818 * sunrpc/rpc/auth_unix.h: Likewise.
42819 * sunrpc/rpc/clnt.h: Likewise.
42820 * sunrpc/rpc/des_crypt.h: Likewise.
42821 * sunrpc/rpc/key_prot.h: Likewise.
42822 * sunrpc/rpc/netdb.h: Likewise.
42823 * sunrpc/rpc/pmap_clnt.h: Likewise.
42824 * sunrpc/rpc/pmap_prot.h: Likewise.
42825 * sunrpc/rpc/pmap_rmt.h: Likewise.
42826 * sunrpc/rpc/rpc.h: Likewise.
42827 * sunrpc/rpc/rpc_des.h: Likewise.
42828 * sunrpc/rpc/rpc_msg.h: Likewise.
42829 * sunrpc/rpc/svc.h: Likewise.
42830 * sunrpc/rpc/svc_auth.h: Likewise.
42831 * sunrpc/rpc/types.h: Likewise.
42832 * sunrpc/rpc/xdr.h: Likewise.
42833 * sunrpc/rpc_clntout.c: Likewise.
42834 * sunrpc/rpc_cmsg.c: Likewise.
42835 * sunrpc/rpc_common.c: Likewise.
42836 * sunrpc/rpc_cout.c: Likewise.
42837 * sunrpc/rpc_dtable.c: Likewise.
42838 * sunrpc/rpc_hout.c: Likewise.
42839 * sunrpc/rpc_main.c: Likewise.
42840 * sunrpc/rpc_parse.c: Likewise.
42841 * sunrpc/rpc_parse.h: Likewise.
42842 * sunrpc/rpc_prot.c: Likewise.
42843 * sunrpc/rpc_sample.c: Likewise.
42844 * sunrpc/rpc_scan.c: Likewise.
42845 * sunrpc/rpc_scan.h: Likewise.
42846 * sunrpc/rpc_svcout.c: Likewise.
42847 * sunrpc/rpc_tblout.c: Likewise.
42848 * sunrpc/rpc_util.c: Likewise.
42849 * sunrpc/rpc_util.h: Likewise.
42850 * sunrpc/rpcinfo.c: Likewise.
42851 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42852 * sunrpc/rpcsvc/key_prot.x: Likewise.
42853 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42854 * sunrpc/rpcsvc/mount.x: Likewise.
42855 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42856 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42857 * sunrpc/rpcsvc/rex.x: Likewise.
42858 * sunrpc/rpcsvc/rstat.x: Likewise.
42859 * sunrpc/rpcsvc/rusers.x: Likewise.
42860 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42861 * sunrpc/rpcsvc/spray.x: Likewise.
42862 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42863 * sunrpc/rtime.c: Likewise.
42864 * sunrpc/svc.c: Likewise.
42865 * sunrpc/svc_auth.c: Likewise.
42866 * sunrpc/svc_authux.c: Likewise.
42867 * sunrpc/svc_raw.c: Likewise.
42868 * sunrpc/svc_run.c: Likewise.
42869 * sunrpc/svc_simple.c: Likewise.
42870 * sunrpc/svc_tcp.c: Likewise.
42871 * sunrpc/svc_udp.c: Likewise.
42872 * sunrpc/svc_unix.c: Likewise.
42873 * sunrpc/svcauth_des.c: Likewise.
42874 * sunrpc/xcrypt.c: Likewise.
42875 * sunrpc/xdr.c: Likewise.
42876 * sunrpc/xdr_array.c: Likewise.
42877 * sunrpc/xdr_float.c: Likewise.
42878 * sunrpc/xdr_mem.c: Likewise.
42879 * sunrpc/xdr_rec.c: Likewise.
42880 * sunrpc/xdr_ref.c: Likewise.
42881 * sunrpc/xdr_sizeof.c: Likewise.
42882 * sunrpc/xdr_stdio.c: Likewise.
42884 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42887 2010-08-19 Andreas Schwab <schwab@redhat.com>
42889 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42891 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42893 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42895 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42896 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42897 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42898 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42900 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42902 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42903 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42904 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42905 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42906 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42908 2010-07-26 Anton Blanchard <anton@samba.org>
42910 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42911 * malloc/arena.c (heap_trim): Likewise.
42913 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42915 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42918 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42920 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42922 * sysdeps/i386/elf/Makefile: New file.
42924 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42926 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42927 from fanotify_init.
42928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42929 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42931 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42933 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42935 * sysdeps/multiarch/strcmp.S: Likewise.
42937 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42939 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42940 strncase_l-nonascii.
42941 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42942 Add strncase_l-ssse3.
42943 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42944 * sysdeps/x86_64/strcmp.S: Likewise.
42945 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42946 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42947 * sysdeps/x86_64/strncase.S: New file.
42948 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42949 * sysdeps/x86_64/strncase_l.S: New file.
42950 * string/Makefile (strop-tests): Add strncasecmp.
42951 * string/test-strncasecmp.c: New file.
42953 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42956 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42957 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42959 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42961 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42963 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42965 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42966 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42967 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42969 2010-05-01 Alan Modra <amodra@gmail.com>
42971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42972 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42973 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42974 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42975 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42976 tidying. Don't tail-call __sigjmp_save for static lib.
42977 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42979 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42980 (CALL_MCOUNT): Add eh info, and nop after bl.
42981 (TAIL_CALL_SYSCALL_ERROR): New macro.
42982 (PSEUDO_RET): Use it.
42983 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42984 Correct save location of integer regs and cr.
42985 (_dl_profile_resolve): Correct cr save location. Delete nops
42986 after bl when SHARED. Reduce cfi size a little by better
42987 placement of cfi directives.
42988 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42989 make a stack frame. Instead use parm save area as a temp.
42990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42991 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42993 Don't make a stack frame for parent, use parm save area.
42994 Increase child stack frame to 112 bytes. Don't save unused reg,
42995 and adjust reg usage. Set up cfi on error recovery and
42996 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42998 (__makecontext): Add dummy nop after jump to exit.
42999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43000 Use correct parm save area and cr save, reduce stack frame.
43001 Correct cfi for possible PSEUDO_RET frame setup.
43002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43003 Branch to local label emitted by PSEUDO_RET rather than
43006 2010-08-12 Andreas Schwab <schwab@redhat.com>
43009 * locale/programs/locale.c (print_assignment): New function.
43010 (show_locale_vars): Use it.
43012 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43014 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43016 (struct statfs64): Likewise.
43017 (_STATFS_F_FLAGS): Define.
43018 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43019 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43020 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43021 (ST_VALID): Define locally.
43022 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43023 __statvfs_getflags, use the provided value.
43024 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43025 __ASSUME_STATFS_F_FLAGS.
43027 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43029 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43030 Add sys/fanotify.h.
43031 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43032 fanotify_mask for GLIBC_2.13.
43033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43034 fanotify_init and fanotify_mark.
43035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43036 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43038 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43040 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43041 prlimit64 for GLIBC_2.13.
43042 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43047 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43048 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43052 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43055 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43056 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43058 * nss/Makefile: Add rules to build and run tst-nss-test1.
43059 * shlib-versions: Add entry for libnss_test1.
43060 * nss/nss_test1.c: New file.
43061 * nss/tst-nss-test1.c: New file.
43063 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43064 (__nss_configure_lookup): Set appropriate entry in
43065 __nss_configure_lookup to true.
43066 * nss/nsswitch.h: Define enum with indeces of databases in
43067 databases and __nss_database_custom arrays. Declare
43068 __nss_database_custom.
43069 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43070 to avoid using nscd when custom rules are installed.
43071 * nss/getXXbyYY_r.c: Likewise.
43072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43074 * nss/nss_files/files-parse.c: Whitespace fixes.
43076 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43079 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43080 * posix/fnmatch_loop.c: Likewise.
43082 2010-07-17 Andi Kleen <ak@linux.intel.com>
43084 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43085 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43086 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43087 * Versions.def [GLIBC_2.13]: Add.
43089 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43091 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43092 Also fail if tpwd after pwuid call is NULL.
43094 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43096 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43097 when converting to ms.
43099 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43101 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43102 EOPNOTSUPP errors with ENOTTY.
43103 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43104 EOPNOTSUPP errors with ENOTTY.
43106 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43108 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43109 Add strcasecmp_l-ssse3.
43110 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43112 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43113 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43114 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43116 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43118 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43120 * string/Makefile (strop-tests): Add strcasecmp.
43121 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43122 strcasecmp_l-nonascii.
43123 (gen-as-const-headers): Add locale-defines.sym.
43124 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43125 * sysdeps/x86_64/strcasecmp.S: New file.
43126 * sysdeps/x86_64/strcasecmp_l.S: New file.
43127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43128 * sysdeps/x86_64/locale-defines.sym: New file.
43129 * string/test-strcasecmp.c: New file.
43131 * string/test-strcasestr.c: Test both ends of the range of characters.
43132 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43134 2010-07-29 Roland McGrath <roland@redhat.com>
43137 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43139 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43141 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43144 2010-07-27 Andreas Schwab <schwab@redhat.com>
43146 * manual/memory.texi (Malloc Tunable Parameters): Document
43149 2010-07-26 Roland McGrath <roland@redhat.com>
43152 * configure.in (-fgnu89-inline check): Set and substitute
43153 gnu89_inline, not libc_cv_gnu89_inline.
43154 * configure: Regenerated.
43155 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43157 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43159 * string/test-strnlen.c: New file.
43160 * string/Makefile (strop-tests): Add strnlen.
43161 * string/tester.c (test_strnlen): Add a few more test cases.
43162 * string/tst-strlen.c: Better error reporting.
43164 * sysdeps/x86_64/strnlen.S: New file.
43166 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43168 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43169 lower-latency instructions.
43171 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43173 * string/test-strcasestr.c: New file.
43174 * string/test-strstr.c: New file.
43175 * string/Makefile (strop-tests): Add strstr and strcasestr.
43176 * string/str-two-way.h: Don't undefine MAX.
43177 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43179 2010-07-21 Andreas Schwab <schwab@redhat.com>
43181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43182 strcasestr-nonascii.
43183 (CFLAGS-strcasestr-nonascii.c): Define.
43184 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43186 Remove unused attribute.
43188 2010-07-20 Roland McGrath <roland@redhat.com>
43190 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43191 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43192 ld.so.cache was broken. With it, there is no way to disable dsocaps
43193 like LD_HWCAP_MASK can disable hwcaps.
43195 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43197 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43199 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43201 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43202 call in strcasestr.
43203 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43204 __strcasestr_sse42_nonascii.
43205 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43206 strcasestr-nonascii.c.
43207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43209 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43211 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43212 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43213 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43216 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43221 2010-07-06 Andreas Schwab <schwab@redhat.com>
43224 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43227 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43229 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43230 _PC_PIPE_BUF using F_GETPIPE_SZ.
43232 2010-07-05 Roland McGrath <roland@redhat.com>
43234 * manual/arith.texi (Rounding Functions): Fix rint description
43235 implicit in round description.
43237 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43239 * elf/Makefile: Fix linking for a few tests to make recent linker
43242 2010-06-30 Andreas Schwab <schwab@redhat.com>
43244 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43245 $(common-objpfx)libc_nonshared.a.
43247 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43249 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43250 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43251 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43252 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43253 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43254 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43255 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43256 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43271 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43272 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43273 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43274 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43275 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43276 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43277 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43278 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43279 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43280 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43281 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43282 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43298 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43300 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43301 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43302 * string/memmove.c (memmove): Renamed to ...
43303 (MEMMOVE): ...this. Default to memmove.
43304 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43305 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43308 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43309 mempcpy-ssse3-back memmove-ssse3-back.
43310 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43311 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43312 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43313 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43314 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43315 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43316 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43317 * sysdeps/x86_64/multiarch/memmove.c: New file.
43318 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43319 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43320 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43321 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43322 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43323 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43325 (index_Fast_Copy_Backward): Define.
43326 (HAS_ARCH_FEATURE): Define.
43327 (HAS_FAST_REP_STRING): Define.
43328 (HAS_FAST_COPY_BACKWARD): Define.
43330 2010-06-21 Andreas Schwab <schwab@redhat.com>
43332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43333 Restore proper fallback handling.
43335 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43338 * posix/group_member.c (__group_member): Correct checking loop.
43340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43341 OOM in getpwuid_r correctly. Return error number when the caller
43342 should return, otherwise -1.
43343 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43344 call returning > 0 value.
43345 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43347 2010-06-07 Andreas Schwab <schwab@redhat.com>
43349 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43350 libc_nonshared.a from targets in modules-names.
43352 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43354 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43357 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43359 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43360 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43361 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43362 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43364 2010-06-02 Andreas Schwab <schwab@redhat.com>
43366 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43368 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43370 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43379 2010-06-14 Roland McGrath <roland@redhat.com>
43381 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43383 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43385 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43386 __REDIRECT followed by __THROW.
43387 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43388 * posix/getopt.h (getopt): Likewise.
43390 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43392 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43393 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43394 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43396 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43397 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43399 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43401 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43403 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43407 Properly check family and model.
43409 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43411 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43413 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43415 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43417 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43419 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43422 2010-05-19 Andreas Schwab <schwab@redhat.com>
43424 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43427 2010-05-21 Andreas Schwab <schwab@redhat.com>
43429 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43430 and internal_recvmmsg.
43431 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43432 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43433 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43434 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43436 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43437 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43438 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43440 2010-05-20 Andreas Schwab <schwab@redhat.com>
43442 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43444 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43446 POWER7 optimizations.
43447 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43448 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43450 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43452 * version.h: Update for 2.13 development version.
43454 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43456 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43457 exceptions. Return 0.
43459 2010-05-07 Roland McGrath <roland@redhat.com>
43461 * elf/ldconfig.c (main): Add a const.
43463 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43465 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43466 (args_options): Add no-idn option.
43467 (ahosts_keys_int): Add idn_flags to ai_flags.
43468 (parse_option): Handle 'i' option to clear idn_flags.
43470 * malloc/malloc.c (_int_free): Possible race in the most recently
43471 added check. Only act on the data if no current modification
43474 See ChangeLog.17 for earlier changes.